Title: [250938] trunk/LayoutTests
Revision
250938
Author
[email protected]
Date
2019-10-09 15:46:39 -0700 (Wed, 09 Oct 2019)

Log Message

Layout test fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html is a flaky failure on Internal iOS testers
https://bugs.webkit.org/show_bug.cgi?id=202770
<rdar://51715312>

Reviewed by Megan Gardner.

Remove the touchmove listeners after firing once, because we can't
tell exactly how many we'll get for a drag.

* fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (250937 => 250938)


--- trunk/LayoutTests/ChangeLog	2019-10-09 22:38:56 UTC (rev 250937)
+++ trunk/LayoutTests/ChangeLog	2019-10-09 22:46:39 UTC (rev 250938)
@@ -1,3 +1,16 @@
+2019-10-09  Dean Jackson  <[email protected]>
+
+        Layout test fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html is a flaky failure on Internal iOS testers
+        https://bugs.webkit.org/show_bug.cgi?id=202770
+        <rdar://51715312>
+
+        Reviewed by Megan Gardner.
+
+        Remove the touchmove listeners after firing once, because we can't
+        tell exactly how many we'll get for a drag.
+
+        * fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html:
+
 2019-10-09  Sihui Liu  <[email protected]>
 
         IndexedDB: include size of index records in size estimate of put/add task

Modified: trunk/LayoutTests/fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html (250937 => 250938)


--- trunk/LayoutTests/fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html	2019-10-09 22:38:56 UTC (rev 250937)
+++ trunk/LayoutTests/fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html	2019-10-09 22:46:39 UTC (rev 250938)
@@ -25,7 +25,7 @@
     window.addEventListener("touchmove", function(event) {
         event.preventDefault();
         output += `touchmove on window - cancelable: ${event.cancelable} defaultPrevented: ${event.defaultPrevented} <br>`;
-    }, { "passive": false });
+    }, { "passive": false, "once": true });
 
     window.addEventListener("touchend", function(event) {
         event.preventDefault();
@@ -40,7 +40,7 @@
     document.addEventListener("touchmove", function(event) {
         event.preventDefault();
         output += `touchmove on document - cancelable: ${event.cancelable} defaultPrevented: ${event.defaultPrevented} <br>`;
-    }, { "passive": false });
+    }, { "passive": false, "once": true });
 
     document.addEventListener("touchend", function(event) {
         event.preventDefault();
@@ -55,7 +55,7 @@
     document.documentElement.addEventListener("touchmove", function(event) {
         event.preventDefault();
         output += `touchmove on documentElement - cancelable: ${event.cancelable} defaultPrevented: ${event.defaultPrevented} <br>`;
-    }, { "passive": false });
+    }, { "passive": false, "once": true });
 
     document.documentElement.addEventListener("touchend", function(event) {
         event.preventDefault();
@@ -72,7 +72,7 @@
     body.addEventListener("touchmove", function(event) {
         event.preventDefault();
         output += `touchmove on body - cancelable: ${event.cancelable} defaultPrevented: ${event.defaultPrevented} <br>`;
-    }, { "passive": false });
+    }, { "passive": false, "once": true });
 
     body.addEventListener("touchend", function(event) {
         event.preventDefault();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to