Skip to content
Permalink
Browse files
[ WK2 ] Layout Test http/wpt/service-workers/update-service-worker.ht…
…tps.html is a flaky Timeout

https://bugs.webkit.org/show_bug.cgi?id=187766
rdar://problem/59459120

Patch by Youenn Fablet <youennf@gmail.com> 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
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
youennf authored and webkit-commit-queue committed Jun 22, 2022
1 parent 9aee8cb commit 84d3422
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
@@ -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;
@@ -847,8 +847,6 @@ webkit.org/b/183140 fast/selectors/querySelector-window-inactive.html

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 ]

0 comments on commit 84d3422

Please sign in to comment.