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

zaheer ahmad zaheer.mot at gmail.com
Tue Jun 8 11:53:15 PDT 2010

Sorry for the shortcuts -
CTS - Android Compatibility Test Suite -

SS - JSC (default webkit Javascript engine)

Appreciate any feedback or pointers on the issue.


On Tue, Jun 8, 2010 at 2:27 PM, zaheer ahmad <zaheer.mot at gmail.com> wrote:
> 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