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:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@250938 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 24e246a..5274a53 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,16 @@
+2019-10-09  Dean Jackson  <dino@apple.com>
+
+        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  <sihui_liu@apple.com>
 
         IndexedDB: include size of index records in size estimate of put/add task
diff --git a/LayoutTests/fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html b/LayoutTests/fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html
index eaa5cb7..940301d 100644
--- a/LayoutTests/fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html
+++ b/LayoutTests/fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html
@@ -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();