Closed
Bug 1133805
Opened 10 years ago
Closed 10 years ago
Fix and re-enable test_unregister.html, test_workerUpdate.html and test_workerUnregister.html
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: nsm, Assigned: nsm)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → nsm.nikhil
Assignee | ||
Updated•10 years ago
|
Summary: Fix and re-enable test_unregister.html and test_workerUnregister.html → Fix and re-enable test_unregister.html, test_workerUpdate.html and test_workerUnregister.html
Comment 1•10 years ago
|
||
test_workerUpdate was hitting intermittent asserts too in addition to the timeouts.
https://treeherder.mozilla.org/logviewer.html#?job_id=6697595&repo=mozilla-inbound
Updated•10 years ago
|
Assignee | ||
Comment 2•10 years ago
|
||
It is quite possible that the fix is a simple undefined error. I'm awaiting several try runs that may fix both these intermittents.
Assignee | ||
Comment 3•10 years ago
|
||
Based on my try runs this 'a is undefined' error due to non-existent registration seems to be causing all the intermittents. I'm not sure why a JS error was doing that, but the results seem to speak for themselves
https://treeherder.mozilla.org/#/jobs?repo=try&revision=2e061f64f46a
Attachment #8566425 -
Flags: review?(amarchesini)
Comment 4•10 years ago
|
||
Comment on attachment 8566425 [details] [diff] [review]
Fix SW intermittents
Review of attachment 8566425 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/workers/test/serviceworkers/simpleregister/index.html
@@ -36,5 @@
> }
> });
>
> - navigator.serviceWorker.getRegistration('http://mochi.test:8888/with_star/*')
> - .then(function(a) {
but in theory this should work, correct? So we have some kind of bug somewhere... right?
Attachment #8566425 -
Flags: review?(amarchesini)
Assignee | ||
Comment 5•10 years ago
|
||
There is no longer any registration call for with_star scope. Which means 'a' is undefined.
Assignee | ||
Comment 6•10 years ago
|
||
Ugh, actually ignore this. I just realized the try push had the tests disabled :(
Updated•10 years ago
|
Attachment #8566425 -
Flags: review+
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8572798 -
Flags: review?(amarchesini)
Assignee | ||
Updated•10 years ago
|
Attachment #8566425 -
Attachment is obsolete: true
Comment 8•10 years ago
|
||
Comment on attachment 8572798 [details] [diff] [review]
Enable worker update and unregister tests
Review of attachment 8572798 [details] [diff] [review]:
-----------------------------------------------------------------
if green on try!
Attachment #8572798 -
Flags: review?(amarchesini) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Assignee | ||
Comment 10•10 years ago
|
||
Comment 11•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•