Changeset 66695 in webkit
- Timestamp:
- Sep 2, 2010 5:01:28 PM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r66694 r66695 1 2010-09-02 James Robinson <jamesr@chromium.org> 2 3 Reviewed by Darin Adler. 4 https://bugs.webkit.org/show_bug.cgi?id=37830 5 6 Fix an ordering issue in this test. The isSuccessfullyParsed 7 function is not defined until the onload event, so avoid running 8 the script body until this point. 9 10 * fast/events/touch/script-tests/send-oncancel-event.js: 11 (window.onload): 12 1 13 2010-09-02 Tony Chang <tony@chromium.org> 2 14 -
trunk/LayoutTests/fast/events/touch/script-tests/send-oncancel-event.js
r58058 r66695 21 21 window.layoutTestController.waitUntilDone(); 22 22 23 if (window.eventSender) { 24 document.addEventListener("touchcancel", touchcancelHandler, false); 25 eventSender.addTouchPoint(touchX, touchY); 26 eventSender.touchStart(); 27 eventSender.cancelTouchPoint(0); 28 eventSender.touchCancel(); 29 } else 30 debug("This test requires DumpRenderTree."); 23 window.onload = function() { 24 if (window.eventSender) { 25 document.addEventListener("touchcancel", touchcancelHandler, false); 26 eventSender.addTouchPoint(touchX, touchY); 27 eventSender.touchStart(); 28 eventSender.cancelTouchPoint(0); 29 eventSender.touchCancel(); 30 } else 31 debug("This test requires DumpRenderTree."); 32 } 31 33 32 34 var successfullyParsed = true;
Note: See TracChangeset
for help on using the changeset viewer.