[webkit-changes] [WebKit/WebKit] f84001: [Service Workers] Add WPT coverage for calling upd...

Ryan Reno noreply at github.com
Fri Nov 4 11:46:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f84001c6aea236241ab6b4f5dd696737d02ad34e
      https://github.com/WebKit/WebKit/commit/f84001c6aea236241ab6b4f5dd696737d02ad34e
  Author: Ryan Reno <rreno at apple.com>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-import-scripts.https-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-import-scripts.https.html
    A LayoutTests/platform/gtk/imported/w3c/web-platform-tests/service-workers/service-worker/update-import-scripts.https-expected.txt

  Log Message:
  -----------
  [Service Workers] Add WPT coverage for calling update() on a ServiceWorkerRegistration with cross-origin importScripts
https://bugs.webkit.org/show_bug.cgi?id=247390
rdar://101885464

Reviewed by Brent Fulgham.

Cross-origin importScripts is covered with
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/import-scripts-cross-origin.https.html
though that test does not cover the case where ServiceWorkerRegistration.update() is called. Further, the update-import-scripts
tests do not cover the cross-origin case either. This patch adds that missing coverage.

* LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-import-scripts.https-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-import-scripts.https.html:
* LayoutTests/platform/gtk/imported/w3c/web-platform-tests/service-workers/service-worker/update-import-scripts.https-expected.txt: Added

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




More information about the webkit-changes mailing list