Changeset 53058 in webkit
- Timestamp:
- Jan 10, 2010 7:41:02 PM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r53056 r53058 1 2010-01-10 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 http/tests/messaging/cross-domain-message-event-dispatch.html failed on Gtk Linux 64-Bit Debug Bot 6 https://bugs.webkit.org/show_bug.cgi?id=33458 7 8 Fix flakey test. If the machine is very slow, then more than 10ms 9 might have elapsed between registering the timeout and calling 10 postMessage. We can't be sure which order they will be called in. 11 Re-ordering the call guarantees the arrival order, even if it reduces 12 our coverage slightly. 13 14 * http/tests/messaging/cross-domain-message-event-dispatch.html: 15 1 16 2010-01-10 Adam Barth <abarth@webkit.org> 2 17 -
trunk/LayoutTests/http/tests/messaging/cross-domain-message-event-dispatch.html
r33006 r53058 23 23 24 24 // The setTimeout handlers will get called after the 25 // event listeners, because setTimeout has a minimum wait time 26 // of 10ms while postMessage has no minimum wait time. 25 // event listeners. 27 26 postMessage("Message1", "*"); 27 postMessage("Message2", "*"); 28 postMessage("Message3", "*"); 28 29 setTimeout("log('setTimeout1')", 0); 29 postMessage("Message2", "*");30 30 setTimeout("log('setTimeout2')", 0); 31 postMessage("Message3", "*");32 31 setTimeout(done, 0); 33 32 log("Events queued");
Note: See TracChangeset
for help on using the changeset viewer.