Title: [295736] trunk/LayoutTests
Revision
295736
Author
[email protected]
Date
2022-06-22 10:23:25 -0700 (Wed, 22 Jun 2022)

Log Message

[ WK2 ] Layout Test http/wpt/service-workers/update-service-worker.https.html is a flaky Timeout
https://bugs.webkit.org/show_bug.cgi?id=187766
rdar://problem/59459120

Patch by Youenn Fablet <[email protected]> on 2022-06-22
Reviewed by Darin Adler.

Make sure scope is fine with script URL.

* LayoutTests/http/wpt/service-workers/update-service-worker.https.html:
* LayoutTests/platform/wk2/TestExpectations:

Canonical link: https://commits.webkit.org/251741@main

Modified Paths

Diff

Modified: trunk/LayoutTests/http/wpt/service-workers/update-service-worker.https.html (295735 => 295736)


--- trunk/LayoutTests/http/wpt/service-workers/update-service-worker.https.html	2022-06-22 17:13:56 UTC (rev 295735)
+++ trunk/LayoutTests/http/wpt/service-workers/update-service-worker.https.html	2022-06-22 17:23:25 UTC (rev 295736)
@@ -10,10 +10,10 @@
 var registration;
 var iframe;
 promise_test(async (test) => {
-    registration = await navigator.serviceWorker.getRegistration("resources");
+    registration = await navigator.serviceWorker.getRegistration("resources/");
     if (registration)
         await registration.unregister();
-    registration = await navigator.serviceWorker.register("resources/update-worker.py", { scope : "resources" });
+    registration = await navigator.serviceWorker.register("resources/update-worker.py", { scope : "resources/" });
     activeWorker = registration.active;
     if (activeWorker)
         return;

Modified: trunk/LayoutTests/platform/wk2/TestExpectations (295735 => 295736)


--- trunk/LayoutTests/platform/wk2/TestExpectations	2022-06-22 17:13:56 UTC (rev 295735)
+++ trunk/LayoutTests/platform/wk2/TestExpectations	2022-06-22 17:23:25 UTC (rev 295736)
@@ -847,8 +847,6 @@
 
 webkit.org/b/186406 compositing/iframes/display-none-subframe.html [ Pass Failure ]
 
-webkit.org/b/187766 http/wpt/service-workers/update-service-worker.https.html [ Pass Failure Timeout ]
-
 # Newly imported test that is flaky on WebKit2 only.
 imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.html [ Pass Failure ]
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to