Closed
Bug 1179548
Opened 9 years ago
Closed 9 years ago
test_privateBrowsing.html leaves windows behind
Categories
(Core :: DOM: Service Workers, defect)
Core
DOM: Service Workers
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file, 1 obsolete file)
1.81 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8628571 -
Flags: review?(amarchesini)
Comment 2•9 years ago
|
||
Comment on attachment 8628571 [details] [diff] [review]
Close the windows opened in private browsing worker tests
Review of attachment 8628571 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/workers/test/serviceworkers/test_privateBrowsing.html
@@ +64,1 @@
> SimpleTest.finish();
the error is that here we call SimpleTest.finish() but we should call: runTest() instead.
If you see, when there are not steps to do, we close the windows.
::: dom/workers/test/test_sharedWorker_privateBrowsing.html
@@ +69,5 @@
> var sharedWorker3 = new wP.content.SharedWorker('sharedWorker_privateBrowsing.js');
> sharedWorker3.port.onmessage = function(event) {
> is(event.data, 2, "Only 2 sharedworker expected in the private window");
> + wN.close();
> + wP.close();
same here.
Attachment #8628571 -
Flags: review?(amarchesini) → review-
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8628571 -
Attachment is obsolete: true
Attachment #8628786 -
Flags: review?(amarchesini)
Updated•9 years ago
|
Attachment #8628786 -
Flags: review?(amarchesini) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•