[Webkit-unassigned] [Bug 33349] http/tests/security/xss-DENIED-window-open-javascript-url.html timed out on Windows Debug Bot

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 11 00:35:07 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=33349


Daniel Bates <dbates at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #46229|0                           |1
        is obsolete|                            |
  Attachment #46263|                            |review?
               Flag|                            |




--- Comment #11 from Daniel Bates <dbates at webkit.org>  2010-01-11 00:35:06 PST ---
Created an attachment (id=46263)
 --> (https://bugs.webkit.org/attachment.cgi?id=46263)
Patch

Here is my attempt.

We can remove the use of layoutTestController.waitUntilDone() and instead test
whether the parent of the newly opened window is equal to the current window.
If so, then the test passed.

Notice, since this is a JavaScript URL, the parent of the newly opened window
will be about:blank, if successful. And about:blank is different from the
current window. Hence, we say the test fails when the parent of the newly
opened window is not equal to the current window.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list