summaryrefslogtreecommitdiffstats
path: root/webkit/port
diff options
context:
space:
mode:
authorager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-08 07:40:31 +0000
committerager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-08 07:40:31 +0000
commite8da0a6b014434b1588c19052608f51cb94b5fa2 (patch)
tree40d734df95da24692a0e07ef81762c5055cdc74b /webkit/port
parent344128dc6d961ef925071050cd360c09c7310488 (diff)
downloadchromium_src-e8da0a6b014434b1588c19052608f51cb94b5fa2.zip
chromium_src-e8da0a6b014434b1588c19052608f51cb94b5fa2.tar.gz
chromium_src-e8da0a6b014434b1588c19052608f51cb94b5fa2.tar.bz2
Follow http://trac.webkit.org/changeset/34506 and pass the active
document to document.open. This fixes 5 layout tests in http/tests/security/aboutBlank. Review URL: http://codereview.chromium.org/6337 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r--webkit/port/bindings/v8/v8_custom.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/port/bindings/v8/v8_custom.cpp b/webkit/port/bindings/v8/v8_custom.cpp
index ac11660..c83cf25 100644
--- a/webkit/port/bindings/v8/v8_custom.cpp
+++ b/webkit/port/bindings/v8/v8_custom.cpp
@@ -2648,7 +2648,8 @@ CALLBACK_FUNC_DECL(HTMLDocumentOpen) {
}
}
- imp->open();
+ Frame* frame = V8Proxy::retrieveActiveFrame();
+ imp->open(frame->document());
return v8::Undefined();
}