Closed
Bug 1249438
Opened 9 years ago
Closed 9 years ago
write a test for ServiceWorkerRegistrar::RegisterServiceWorker() that exercises duplicate entries
Categories
(Core :: DOM: Service Workers, defect)
Tracking
()
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: bkelly, Assigned: bkelly)
References
Details
(Whiteboard: btpp-active)
Attachments
(3 files)
(deleted),
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
It seems we don't have one because we didn't catch the regression I introduced in bug 1246319 P1 and then fixed in bug 1246319 comment 31.
Updated•9 years ago
|
Whiteboard: btpp-active
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8735580 -
Flags: review?(amarchesini)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8735581 -
Flags: review?(amarchesini)
Assignee | ||
Comment 3•9 years ago
|
||
It was a bit more work to write the test than I expected. I had to first expose the RegisterServiceWorker() logic to the test in P1 and then update gtests from there.
This new test case catches the error introduced in bug 1246319.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=0499fb010513
Attachment #8735583 -
Flags: review?(amarchesini)
Updated•9 years ago
|
Attachment #8735580 -
Flags: review?(amarchesini) → review+
Updated•9 years ago
|
Attachment #8735581 -
Flags: review?(amarchesini) → review+
Updated•9 years ago
|
Attachment #8735583 -
Flags: review?(amarchesini) → review+
Comment 5•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/580604cd40cb
https://hg.mozilla.org/mozilla-central/rev/af6b4f4f55cb
https://hg.mozilla.org/mozilla-central/rev/8b7a2b89ff39
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in
before you can comment on or make changes to this bug.
Description
•