Changeset 249072 in webkit
- Timestamp:
- Aug 23, 2019, 3:54:48 PM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
fast/events/ios/key-command-delete-to-end-of-paragraph.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r249066 r249072 1 2019-08-23 Tim Horton <timothy_horton@apple.com> 2 3 REGRESSION (r248974): fast/events/ios/key-command-delete-to-end-of-paragraph.html is timing out on iOS 4 https://bugs.webkit.org/show_bug.cgi?id=201091 5 <rdar://problem/54647731> 6 7 Reviewed by Megan Gardner. 8 9 * fast/events/ios/key-command-delete-to-end-of-paragraph.html: 10 The test as-written doesn't actually wait for the tap to complete before 11 continuing on with the test - it starts immediately when the focus event 12 fires. This results in the selection being changed by the single click 13 handler *after* focusing the field. 14 15 Rewrite the test to await completion of the tap before moving forward 16 instead of waiting for focus. 17 1 18 2019-08-23 Chris Dumez <cdumez@apple.com> 2 19 -
trunk/LayoutTests/fast/events/ios/key-command-delete-to-end-of-paragraph.html
r241284 r249072 36 36 } 37 37 38 function runTest()38 async function runTest() 39 39 { 40 40 if (!window.testRunner) … … 49 49 UIHelper.keyDown("k", ["ctrlKey"]); 50 50 } 51 testElement.addEventListener("focus", handleFocus, { once: true }); 52 if (window.testRunner) 53 UIHelper.activateElement(testElement); 51 52 if (window.testRunner) { 53 await UIHelper.activateElement(testElement); 54 handleFocus(); 55 } else 56 testElement.addEventListener("focus", handleFocus, { once: true }); 54 57 } 55 58
Note:
See TracChangeset
for help on using the changeset viewer.