[webkit-help] V8 vs SS binding behavior for window.open

zaheer ahmad zaheer.mot at gmail.com
Tue Jun 8 01:57:50 PDT 2010


hi,

Iam running the following CTS test on android with V8/SS -
http://android.git.kernel.org/?p=platform/cts.git;a=blob;f=tests/tests/webkit/src/android/webkit/cts/WebChromeClientTest.java.
The sub-test "testWindows" passes with SS and fails with V8. The
reason it fails with V8 is that V8 bindings check for the new window
frame to have javascript enabled (which would not be by default since
settings are not inherited by a child window) and return undefined for
the window.open call. It works fine on SS, since the bindings dont do
this check.

It appears to me that the V8 behavior is correct (ie. the embedder
should explicitly set the javascript flag on the child window), and if
so, it would require a fix in the CTS case to set javascript on the
child window.

Inputs?

Thanks,
Zaheer


More information about the webkit-help mailing list