Closed Bug 1502784 Opened Last year Closed 11 months ago

[wpt-sync] Sync PR 13755 - ServiceWorker: Add new WPT tests to make sure to update a registration with different script type and identical script content.

Categories

(Core :: DOM: Service Workers, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13755 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/13755
Details from upstream follow.

Asami Doi <asamidoi@google.com> wrote:
>  ServiceWorker: Add new WPT tests to make sure to update a registration with different script type and identical script content.
>  
>  These tests check that a registration is updated correctly with
>  different script type. At first Service Worker is register as
>  classic script type, then it is re-registered as module script type,
>  and vice versa. A main script is idential.
>  
>  Bug: 824647
>  Change-Id: I2a3f87da1013f84c6e9495f362899dfe6ab97b45
>  Reviewed-on: https://chromium-review.googlesource.com/1298822
>  WPT-Export-Revision: 21df6edd08bcb9c3e5756ad1f5b51a65ccd9b877
PR 13755 applied with additional changes from upstream: f7f9cb8d3d6076d840d28af8f0c8fe15c7200cff
Component: web-platform-tests → DOM: Service Workers
Product: Testing → Core
Ran 1 tests and 7 subtests
OK     : 1
PASS   : 1
FAIL   : 6

New tests that have failures or other problems:
/service-workers/service-worker/update-registration-with-type.https.html
    Update the registration with a different script type (classic => module) and with a same main script.: FAIL
    Update the registration with a different script type (classic => module) and with a same main script. Expect evaluation failed.: FAIL
    Update the registration with a different script type (classic => module).: FAIL
    Update the registration with a different script type (module => classic) and with a same main script.: FAIL
    Update the registration with a different script type (module => classic) and with a same main script. Expect evaluation failed.: FAIL
    Update the registration with a different script type (module => classic).: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a02d1c15aaed
[wpt PR 13755] - ServiceWorker: Add new WPT tests to make sure to update a registration with different script type and identical script content., a=testonly
https://hg.mozilla.org/mozilla-central/rev/a02d1c15aaed
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.