Closed Bug 1493620 Opened 6 years ago Closed 5 years ago

Stop forcing the creation of about:blank in windowless browsers used from ExtensionParent.jsm

Categories

(WebExtensions :: General, defect, P2)

defect

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: Gijs, Assigned: zombie)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxperf:p2])

Attachments

(1 file)

(You could also potentially fix this via bug 1381707) When creating a windowless parent process browser (to host a doc that has a remote XUL browser to host the child process content), we: 1) create the windowless browser 2) somehow trigger the initial about:blank load (I haven't investigated this in depth) 3) force creating another one with the system principal ( https://searchfox.org/mozilla-central/rev/0640ea80fbc8d48f8b197cd363e2535c95a15eb3/toolkit/components/extensions/ExtensionParent.jsm#1113 ). 4) immediately load a chrome: URI with a system principal triggering principal. I think esp. now that we explicitly pass system principal for the latter, I'd expect us to be able to just remove the aboutblank creation. We may also be able to remove (2), but I'm not sure without investigating further.
Whiteboard: [fxperf] → [fxperf:p2]
Priority: -- → P2
Flags: needinfo?(tomica)
Assignee: nobody → tomica
Status: NEW → ASSIGNED
Pushed by tjovanovic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bc7d78baa8dd Skip forcing about:blank in windowless browsers for background pages r=rpl,kmag
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: