Closed
Bug 1222562
Opened 9 years ago
Closed 9 years ago
Fix dom/workers/test/test_xhr_parameters.html and test_tcpsocket_enabled_with_perm.html to work with e10s
Categories
(Core :: DOM: Workers, defect)
Core
DOM: Workers
Tracking
()
RESOLVED
FIXED
mozilla45
People
(Reporter: mccr8, Assigned: mccr8)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
(deleted),
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
It uses SpecialPowers.addPermission() instead of SpecialPowers.pushPermissions().
Assignee | ||
Comment 1•9 years ago
|
||
test_tcpsocket_enabled_with_perm.html has the same problem, and they are both simple fixes.
Summary: Fix dom/workers/test/test_xhr_parameters.html to work with e10s → Fix dom/workers/test/test_xhr_parameters.html and test_tcpsocket_enabled_with_perm.html to work with e10s
Updated•9 years ago
|
Blocks: e10s-tests
tracking-e10s:
--- → +
Assignee | ||
Comment 2•9 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=002fe94dc8fe
Attachment #8685467 -
Flags: review?(mrbkap)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8685468 -
Flags: review?(mrbkap)
Assignee | ||
Comment 4•9 years ago
|
||
This test passes with e10s. The other two do not.
Attachment #8685469 -
Flags: review?(mrbkap)
Comment 5•9 years ago
|
||
Comment on attachment 8685467 [details] [diff] [review] part 1 - Fix use of addPermission in test_tcpsocket_enabled_with_perm.html and test_xhr_parameters.html. Review of attachment 8685467 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/network/tests/test_tcpsocket_enabled_with_perm.html @@ +17,5 @@ > the tcp-socket permission has been granted. > **/ > SimpleTest.waitForExplicitFinish(); > +SpecialPowers.pushPrefEnv({"set": [['dom.mozTCPSocket.enabled', true]]}, function() { > + SpecialPowers.pushPermissions([{type: "tcp-socket", allow: true, context: document}], runTest); }); Nit: I'd indent this as: SpecialPowers.pushprefEnv(..., function() { SpecialPowers.pushPermissions(...); });
Attachment #8685467 -
Flags: review?(mrbkap) → review+
Updated•9 years ago
|
Attachment #8685468 -
Flags: review?(mrbkap) → review+
Updated•9 years ago
|
Attachment #8685469 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Blake Kaplan (:mrbkap) (please use needinfo!) from comment #5) > Nit: I'd indent this as: Oh yeah, that's less weird. Fixed.
https://hg.mozilla.org/integration/mozilla-inbound/rev/0a2ab9e74af2 https://hg.mozilla.org/integration/mozilla-inbound/rev/4796c2145d33 https://hg.mozilla.org/integration/mozilla-inbound/rev/e915959648c4
Comment 8•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0a2ab9e74af2 https://hg.mozilla.org/mozilla-central/rev/4796c2145d33 https://hg.mozilla.org/mozilla-central/rev/e915959648c4
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in
before you can comment on or make changes to this bug.
Description
•