Changeset 210538 in webkit
- Timestamp:
- Jan 9, 2017 11:02:20 PM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r210537 r210538 1 2017-01-09 Ryosuke Niwa <rniwa@webkit.org> 2 3 Add an iOS test for tapping on a text node assigned to a slot 4 https://bugs.webkit.org/show_bug.cgi?id=166877 5 6 Reviewed by Andy Estes. 7 8 Add a test for tapping on a text node assigned to a slot. 9 touchstart event must be fired on a parent of the slot with a touch event handler. 10 11 * TestExpectations: 12 * fast/shadow-dom/touch-event-on-text-assigned-to-slot-expected.txt: Added. 13 * fast/shadow-dom/touch-event-on-text-assigned-to-slot.html: Added. 14 * resources/ui-helper.js: 15 (window.UIHelper.tapAt): Added. 16 1 17 2017-01-09 Yusuke Suzuki <utatane.tea@gmail.com> 2 18 -
trunk/LayoutTests/TestExpectations
r210147 r210538 33 33 media/controls/ipad [ Skip ] 34 34 fast/text-autosizing [ Skip ] 35 36 fast/shadow-dom/touch-event-on-text-assigned-to-slot.html [ Skip ] 35 37 36 38 fast/forms/attributed-strings.html [ Skip ] -
trunk/LayoutTests/platform/ios-simulator/TestExpectations
r210491 r210538 142 142 fast/events/touch [ Skip ] 143 143 fast/shadow-dom/touch-event-ios.html [ Skip ] 144 fast/shadow-dom/touch-event-on-text-assigned-to-slot.html [ Skip ] 144 145 http/tests/quicklook/at-import-stylesheet-blocked.html [ Skip ] 145 146 http/tests/quicklook/base-url-blocked.html [ Skip ] -
trunk/LayoutTests/resources/ui-helper.js
r209833 r210538 9 9 { 10 10 return window.testRunner.isWebKit2; 11 } 12 13 static tapAt(x, y) 14 { 15 console.assert(this.isIOS()); 16 17 if (!this.isWebKit2()) { 18 eventSender.addTouchPoint(x, y); 19 eventSender.touchStart(); 20 eventSender.releaseTouchPoint(0); 21 eventSender.touchEnd(); 22 return Promise.resolve(); 23 } 24 25 return new Promise((resolve) => { 26 testRunner.runUIScript(` 27 uiController.singleTapAtPoint(${x}, ${y}, function() { 28 uiController.uiScriptComplete('Done'); 29 });`, resolve); 30 }); 11 31 } 12 32
Note: See TracChangeset
for help on using the changeset viewer.