Title: [244725] trunk/LayoutTests/imported/w3c
Revision
244725
Author
[email protected]
Date
2019-04-28 12:06:01 -0700 (Sun, 28 Apr 2019)

Log Message

Fix imported/w3c/web-platform-tests/fetch/api/request/request-keepalive.html assert_throws call
https://bugs.webkit.org/show_bug.cgi?id=197338

Reviewed by Darin Adler.

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (244724 => 244725)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2019-04-28 19:02:39 UTC (rev 244724)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2019-04-28 19:06:01 UTC (rev 244725)
@@ -1,3 +1,11 @@
+2019-04-28  Youenn Fablet  <[email protected]>
+
+        Fix imported/w3c/web-platform-tests/fetch/api/request/request-keepalive.html assert_throws call
+        https://bugs.webkit.org/show_bug.cgi?id=197338
+
+        Reviewed by Darin Adler.
+
+
 2019-04-26  Youenn Fablet  <[email protected]>
 
         Use normal loading path for ping loads
@@ -6,6 +14,7 @@
         Reviewed by Alex Christensen.
 
         * web-platform-tests/beacon/headers/header-content-type-expected.txt:
+        * web-platform-tests/fetch/api/request/request-keepalive-expected.txt:
 
 2019-04-26  Youenn Fablet  <[email protected]>
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-keepalive-expected.txt (244724 => 244725)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-keepalive-expected.txt	2019-04-28 19:02:39 UTC (rev 244724)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-keepalive-expected.txt	2019-04-28 19:06:01 UTC (rev 244725)
@@ -1,4 +1,4 @@
 
 PASS keepalive flag 
-FAIL keepalive flag with stream body Test bug: unrecognized DOMException code "TypeError" passed to assert_throws()
+PASS keepalive flag with stream body 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-keepalive.html (244724 => 244725)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-keepalive.html	2019-04-28 19:02:39 UTC (rev 244724)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-keepalive.html	2019-04-28 19:06:01 UTC (rev 244725)
@@ -21,7 +21,7 @@
 
 test(() => {
   const init = {method: 'POST', keepalive: true, body: new ReadableStream()};
-  assert_throws('TypeError', () => {new Request('/', init)});
+  assert_throws(new TypeError(), () => {new Request('/', init)});
 }, 'keepalive flag with stream body');
 </script>
 </body>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to