mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix a bug that prevents NPAPI plugins from retrieving cookies. b=526462 r=roc
This commit is contained in:
parent
42694ea646
commit
a4b1dd24fa
@ -2432,9 +2432,9 @@ _getvalueforurl(NPP instance, NPNURLVariable variable, const char *url,
|
||||
}
|
||||
|
||||
nsXPIDLCString cookieStr;
|
||||
if (NS_FAILED(cookieService->GetCookieString(uri, nsnull,
|
||||
getter_Copies(cookieStr))) ||
|
||||
!cookieStr) {
|
||||
nsresult cookieReturn = cookieService->GetCookieString(uri, nsnull,
|
||||
getter_Copies(cookieStr));
|
||||
if (NS_FAILED(cookieReturn) || !cookieStr) {
|
||||
return NPERR_GENERIC_ERROR;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user