Title: [231788] trunk/LayoutTests
Revision
231788
Author
you...@apple.com
Date
2018-05-14 22:31:49 -0700 (Mon, 14 May 2018)

Log Message

imported/w3c/web-platform-tests/fetch/api/response/response-stream-disturbed-6.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=185549

Reviewed by Chris Dumez.

LayoutTests/imported/w3c:

Catch any potential rejected promise.

* web-platform-tests/fetch/api/response/response-stream-disturbed-6.html:

LayoutTests:

* TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (231787 => 231788)


--- trunk/LayoutTests/ChangeLog	2018-05-15 05:27:29 UTC (rev 231787)
+++ trunk/LayoutTests/ChangeLog	2018-05-15 05:31:49 UTC (rev 231788)
@@ -1,3 +1,12 @@
+2018-05-14  Youenn Fablet  <you...@apple.com>
+
+        imported/w3c/web-platform-tests/fetch/api/response/response-stream-disturbed-6.html is flaky
+        https://bugs.webkit.org/show_bug.cgi?id=185549
+
+        Reviewed by Chris Dumez.
+
+        * TestExpectations:
+
 2018-05-14  Wenson Hsieh  <wenson_hs...@apple.com>
 
         [Extra zoom mode] Google search results are excessively zoomed in

Modified: trunk/LayoutTests/TestExpectations (231787 => 231788)


--- trunk/LayoutTests/TestExpectations	2018-05-15 05:27:29 UTC (rev 231787)
+++ trunk/LayoutTests/TestExpectations	2018-05-15 05:31:49 UTC (rev 231788)
@@ -656,7 +656,6 @@
 
 webkit.org/b/178241 imported/w3c/web-platform-tests/fetch/api/basic/integrity.html [ Pass Failure ]
 webkit.org/b/178241 imported/w3c/web-platform-tests/fetch/api/basic/integrity-worker.html [ Pass Failure ]
-imported/w3c/web-platform-tests/fetch/api/response/response-stream-disturbed-6.html [ Pass Failure ]
 
 imported/w3c/web-platform-tests/fetch/http-cache/partial.html [ Failure ]
 webkit.org/b/159724 imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-post-upload.htm [ Failure Pass ]

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (231787 => 231788)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2018-05-15 05:27:29 UTC (rev 231787)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2018-05-15 05:31:49 UTC (rev 231788)
@@ -1,5 +1,16 @@
 2018-05-14  Youenn Fablet  <you...@apple.com>
 
+        imported/w3c/web-platform-tests/fetch/api/response/response-stream-disturbed-6.html is flaky
+        https://bugs.webkit.org/show_bug.cgi?id=185549
+
+        Reviewed by Chris Dumez.
+
+        Catch any potential rejected promise.
+
+        * web-platform-tests/fetch/api/response/response-stream-disturbed-6.html:
+
+2018-05-14  Youenn Fablet  <you...@apple.com>
+
         Enable service-worker/navigation-redirect-body.https.html and service-worker/postmessage.https.html
         https://bugs.webkit.org/show_bug.cgi?id=185605
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-stream-disturbed-6.html (231787 => 231788)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-stream-disturbed-6.html	2018-05-15 05:27:29 UTC (rev 231787)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-stream-disturbed-6.html	2018-05-15 05:31:49 UTC (rev 231788)
@@ -65,7 +65,7 @@
   const reader = stream.getReader();
   assert_false(response.bodyUsed, "After getting a reader");
 
-  reader.read();
+  reader.read().then(() => { }, () => { });
   assert_true(response.bodyUsed, "After calling stream.read()");
 }, "An errored stream on which read() has been called");
 
@@ -81,7 +81,7 @@
   const reader = stream.getReader();
   assert_false(response.bodyUsed, "After getting a reader");
 
-  reader.cancel();
+  reader.cancel().then(() => { }, () => { });
   assert_true(response.bodyUsed, "After calling stream.cancel()");
 }, "An errored stream on which cancel() has been called");
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to