Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index 7db8dacf32c39f5d4ed28b8214325df0a961e253..07300d64e4fe273895d46672128e44639695c387 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -293,8 +293,7 @@ void LocalFrame::printNavigationErrorMessage(const Frame& targetFrame, const cha |
const LocalFrame& targetLocalFrame = toLocalFrameTemporary(targetFrame); |
String message = "Unsafe JavaScript attempt to initiate navigation for frame with URL '" + targetLocalFrame.document()->url().string() + "' from frame with URL '" + document()->url().string() + "'. " + reason + "\n"; |
- // FIXME: should we print to the console of the document performing the navigation instead? |
- targetLocalFrame.localDOMWindow()->printErrorMessage(message); |
+ localDOMWindow()->printErrorMessage(message); |
} |
bool LocalFrame::isLoadingAsChild() const |