Open
Bug 1811973
Opened 1 year ago
Updated 1 year ago
httpsOnly in test_installation_simple.html doesn't test what it thinks it does
Categories
(Core :: DOM: Service Workers, defect, P3)
Core
DOM: Service Workers
Tracking
()
NEW
People
(Reporter: jmarshall, Unassigned)
Details
In https://searchfox.org/mozilla-central/rev/c5eeb9f4fcfe52b028e7774054444f2982feccc3/dom/serviceworkers/test/test_installation_simple.html#42, httpsOnly attempts to test that service worker registration fails when dom.serviceWorkers.testing.enabled is set to false. But the test succeeds (i.e. registration fails) because the service worker file is not found. If dom.serviceWorkers.testing.enabled is changed to true, the test still passes. If the path to the service worker is corrected (remove the leading slash), the service worker is successfully registered (causing the test to fail) regardless of how dom.serviceWorkers.testing.enabled is set.
Updated•1 year ago
|
Severity: -- → S3
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•