Closed
Bug 1220748
Opened 8 years ago
Closed 7 years ago
Enable browser_permissionsPromptDeny.js in e10s
Categories
(Core :: Storage: IndexedDB, defect)
Core
Storage: IndexedDB
Tracking
()
RESOLVED
FIXED
mozilla47
People
(Reporter: mccr8, Assigned: florian)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
9.37 KB,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
This test current fails in e10s on this line: gBrowser.selectedBrowser.docShell.QueryInterface(Ci.nsILoadContext).usePrivateBrowsing = true; With this error: "TypeError: gBrowser.selectedBrowser.docShell is null" I don't know if this is the best way to do this, but I found a place in browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js that sets usePrivateBrowsing by doing ContentTask.spawn (in the function setUsePrivateBrowsing). The main drawback is that the test will have to be reworked to use generators.
Updated•8 years ago
|
Blocks: e10s-tests
tracking-e10s:
--- → +
Assignee | ||
Comment 1•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=903e81ff84a8
Assignee | ||
Comment 2•7 years ago
|
||
Try seems green (I haven't seen Windows results yet as there's currently about 2000 pending test jobs on that platform). I'm disappointed that I had to use a different code path for e10s and non-e10s to get the test to pass. If I use the ContentTask to set usePrivateBrowsing to true on non-e10s, my message event listener never gets triggered, despite the window.parent.postMessage function being called. I haven't been able to figure out why. Still seems better than having this test disabled on e10s though :).
Attachment #8723630 -
Flags: review?(felipc)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → florian
Status: NEW → ASSIGNED
Comment 3•7 years ago
|
||
Comment on attachment 8723630 [details] [diff] [review] Patch Review of attachment 8723630 [details] [diff] [review]: ----------------------------------------------------------------- indeed, that's strange.. oh well, having the test running is always better
Attachment #8723630 -
Flags: review?(felipc) → review+
Assignee | ||
Comment 4•7 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/008d7f4d10bf9694b2dc3bdd3568575e22cdbf6a Bug 1220748 - Enable browser_permissionsPromptDeny.js in e10s, r=felipe.
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/008d7f4d10bf
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•