Closed
Bug 1066822
Opened 10 years ago
Closed 10 years ago
ServiceWorker registration, update and install algorithms fixes
Categories
(Core :: DOM: Workers, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1113555
People
(Reporter: nsm, Unassigned)
Details
Attachments
(1 file)
(deleted),
application/x-zip-compressed
|
Details |
The [[Install]] algorithm in particular has changed significantly, and [[Update]] now returns the promise returned by [[Install]]. This needs an overhaul.
Comment 1•10 years ago
|
||
Test case for updatefound.
Expected output in the console:
1
2
wfu
wfu-setup
wfu-done
wfu-updatefound
3
Actual output on Firefox maple 35.0a1 2014-10-06
1
2
wfu
wfu-setup
wfu-done
Comment 2•10 years ago
|
||
Hi Nikhil,
I was looking into the reason why our Blink SW test suite had such a low pass rate (*) on Firefox.
I think this is because updatefound is not triggered, we rely on this for a lot of the tests. So we end up waiting for ever and asserts are never reached.
See attached test case.
There is at least one more class of issues. I will see if I can find out what's going on.
*: https://docs.google.com/a/chromium.org/spreadsheets/d/1d0nh5sz2tyuBQCzKFtvEuBP0JcaQw8EuFcxSCbmRpYs/edit#gid=1800943783
Comment 3•10 years ago
|
||
Maybe Firefox is so fast at sending the updatefound event that we are not seeing it before we have a chance to setup the listener? I'll try to find a way to modify our tests to avoid this potential gotcha.
Reporter | ||
Comment 4•10 years ago
|
||
The test passes for me as described in comment 1 on mozilla-central.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•