2010-08-02 Rajiv Makhijani <rajivmakhijani@chromium.org>
Reviewed by Adam Barth.
Committed by Dirk Pranke.
Added missing "if (window.layoutTestController)" check.
Removed expectation for test case that should now pass with this bugfix.
https://bugs.webkit.org/show_bug.cgi?id=38705
* http/tests/security/sandbox-inherit-to-initial-document-2.html:
* platform/chromium/test_expectations.txt:
2010-08-02 Rajiv Makhijani <rajivmakhijani@chromium.org>
Reviewed by Adam Barth.
Committed by Dirk Pranke.
Bug 38705 - [v8] chromium fails http/tests/sandbox-inherit-to-initial-document-2
https://bugs.webkit.org/show_bug.cgi?id=38705
WebCore::V8Proxy::retrieve(Frame* frame) calls WebCore::ScriptController::canExecuteScripts
and returns 0 if canExecuteScripts is false. It should return the proxy regardless
of whether the frame can execute scripts.
* bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::retrieve): Removed canExecuteScripts check.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64525
268f45cc-cd09-0410-ab3c-
d52691b4dbfc