mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 05:44:10 +00:00
bug 420425 correction, untangled patches.
This commit is contained in:
parent
222b84400c
commit
654cba6c1f
@ -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…
x
Reference in New Issue
Block a user