-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=69777 Patch by Sergey Glazunov <serg.glazunov@gmail.com> on 2011-10-10 Reviewed by Adam Barth. Source/WebCore: Test: http/tests/security/xss-DENIED-synchronous-frame-load-in-javascript-url.html * bindings/ScriptControllerBase.cpp: (WebCore::ScriptController::executeIfJavaScriptURL): * loader/DocumentWriter.cpp: (WebCore::DocumentWriter::replaceDocument): (WebCore::DocumentWriter::begin): * loader/DocumentWriter.h: Source/WebKit/chromium: * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::loadJavaScriptURL): LayoutTests: * http/tests/security/xss-DENIED-synchronous-frame-load-in-javascript-url-expected.txt: Added. * http/tests/security/xss-DENIED-synchronous-frame-load-in-javascript-url.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
82380d32