Title: [289424] trunk/LayoutTests/imported/w3c
Revision
289424
Author
[email protected]
Date
2022-02-08 13:40:09 -0800 (Tue, 08 Feb 2022)

Log Message

Resync workers/modules/shared-worker-import-meta.html from upstream WPT
https://bugs.webkit.org/show_bug.cgi?id=236302

Reviewed by Yusuke Suzuki.

Resync workers/modules/shared-worker-import-meta.html from upstream WPT after https://github.com/web-platform-tests/wpt/pull/32704.

* web-platform-tests/workers/modules/shared-worker-import-meta-expected.txt:
* web-platform-tests/workers/modules/shared-worker-import-meta.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (289423 => 289424)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2022-02-08 21:33:24 UTC (rev 289423)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2022-02-08 21:40:09 UTC (rev 289424)
@@ -1,3 +1,15 @@
+2022-02-08  Chris Dumez  <[email protected]>
+
+        Resync workers/modules/shared-worker-import-meta.html from upstream WPT
+        https://bugs.webkit.org/show_bug.cgi?id=236302
+
+        Reviewed by Yusuke Suzuki.
+
+        Resync workers/modules/shared-worker-import-meta.html from upstream WPT after https://github.com/web-platform-tests/wpt/pull/32704.
+
+        * web-platform-tests/workers/modules/shared-worker-import-meta-expected.txt:
+        * web-platform-tests/workers/modules/shared-worker-import-meta.html:
+
 2022-02-08  Jon Lee  <[email protected]>
 
         Unreviewed gardening.

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/workers/modules/shared-worker-import-meta-expected.txt (289423 => 289424)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/workers/modules/shared-worker-import-meta-expected.txt	2022-02-08 21:33:24 UTC (rev 289423)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/workers/modules/shared-worker-import-meta-expected.txt	2022-02-08 21:40:09 UTC (rev 289424)
@@ -1,5 +1,5 @@
 
 PASS Test import.meta.url on the top-level module script.
 PASS Test import.meta.url on the imported module script.
-FAIL Test import.meta.url on the imported module script with a fragment. assert_true: expected true got false
+PASS Test import.meta.url on the imported module script with a fragment.
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/workers/modules/shared-worker-import-meta.html (289423 => 289424)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/workers/modules/shared-worker-import-meta.html	2022-02-08 21:33:24 UTC (rev 289423)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/workers/modules/shared-worker-import-meta.html	2022-02-08 21:40:09 UTC (rev 289424)
@@ -43,7 +43,7 @@
         worker.port.postMessage('./' + script_url + '#1');
         return new Promise(resolve => worker.port._onmessage_ = resolve);
       })
-      .then(msg_event => assert_true(msg_event.data.endsWith(script_url)));
+      .then(msg_event => assert_true(msg_event.data.endsWith(script_url + "#1")));
 }, 'Test import.meta.url on the imported module script with a fragment.');
 
 </script>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to