Index: Source/WebCore/page/DOMWindow.cpp |
=================================================================== |
--- Source/WebCore/page/DOMWindow.cpp (revision 91164) |
+++ Source/WebCore/page/DOMWindow.cpp (working copy) |
@@ -1806,7 +1806,7 @@ |
if (!activeFrame->loader()->shouldAllowNavigation(targetFrame)) |
return 0; |
- if (isInsecureScriptAccess(activeWindow, urlString)) |
+ if (targetFrame->domWindow()->isInsecureScriptAccess(activeWindow, urlString)) |
return targetFrame->domWindow(); |
if (urlString.isEmpty()) |