mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 420425 correction, untangled patches.
This commit is contained in:
parent
24751a58e2
commit
ab06027eb0
@ -1092,8 +1092,8 @@ nsDocShell::ValidateOrigin(nsIDocShellTreeItem* aOriginTreeItem,
|
||||
innerTargetURI = NS_GetInnermostURI(targetURI);
|
||||
|
||||
return innerOriginURI && innerTargetURI &&
|
||||
NS_SUCCEEDED(originURI->SchemeIs("file", &originIsFile)) &&
|
||||
NS_SUCCEEDED(targetURI->SchemeIs("file", &targetIsFile)) &&
|
||||
NS_SUCCEEDED(innerOriginURI->SchemeIs("file", &originIsFile)) &&
|
||||
NS_SUCCEEDED(innerTargetURI->SchemeIs("file", &targetIsFile)) &&
|
||||
originIsFile && targetIsFile;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user