Changeset 53055 in webkit
- Timestamp:
- Jan 10, 2010 4:38:16 PM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r53048 r53055 1 2010-01-10 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Nikolas Zimmermann. 4 5 http/tests/security/xss-DENIED-window-open-javascript-url.html timed out on Windows Debug Bot 6 https://bugs.webkit.org/show_bug.cgi?id=33349 7 8 Previously we were using JavaScript URLs to return to the main event 9 loop, but that is potentially unreliable because there can be only one 10 scheduled redirect in flight per frame. Let's try using setTimeout 11 instead. Notice that there isn't a race condition here because the 12 event loop will always dispatch the actions in the proper order. 13 14 * http/tests/security/xss-DENIED-window-open-javascript-url.html: 15 1 16 2010-01-09 Daniel Bates <dbates@webkit.org> 2 17 -
trunk/LayoutTests/http/tests/security/xss-DENIED-window-open-javascript-url.html
r52401 r53055 8 8 } 9 9 function runTest() { 10 // Schedule a return to the main event loop so that the javascript: URL 11 // has a chance to run. 12 setTimeout(done, 0); 10 13 window.open("javascript:alert('FAIL')", "tg"); 11 window.open("javascript:done()", "_self");12 14 } 13 15 function done() {
Note: See TracChangeset
for help on using the changeset viewer.