Closed Bug 1515989 Opened Last year Closed Last year

Fix test_scopes.html in parent-intercept mode

Categories

(Core :: DOM: Service Workers, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: mrbkap, Assigned: mrbkap)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This test uses the service worker manager in the child process (via the test-only interface ServiceWorkerContainer.getScopeForUrl). I would have liked to get rid of that interface in favor of using SpecialPowers directly, but with the difference between parent intercept and non-parent-intercept, things started getting a bit convoluted. Once we get rid of non-parent-intercept, we should just get rid of that API.
I would have loved to get rid of ServiceWorkerContainer.getScopeForUrl in
favor of just doing things in the chrome script, but it's a pain to make it
work in both the parent-intercept and non- cases. Once we get rid of
non-parent-intercept, we should just remove this test-only API.
Pushed by mrbkap@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e5e8ced1e070
Fix this test to use the service worker manager in the parent. r=asuth
https://hg.mozilla.org/mozilla-central/rev/e5e8ced1e070
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.