Closed Bug 1487249 Opened 6 years ago Closed 6 years ago

Add a PWindowGlobal actor corresponding to a single window global

Categories

(Core :: DOM: Core & HTML, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(3 files, 1 obsolete file)

This can be used as a base actor for per-frame cross-process communication.
Would it be for Window (inner) or for WindowProxy (outer) or something else?
These actors continue to use the ThreadLink link backend, which should handle this situation well.
Attached file Bug 1487249 - Part 2: Add a missing 'const' to URIUtils.h (obsolete) (deleted) —
It seems when I added that code earlier, I missed this const. Depends on D4620
This will be useful as a basis for asynchronous actors which would like to exist both when crossing the process boundary (managed by PContent), and when displaying an in-process window. Depends on D4621
This actor can be used for communicating with individual frames, without depending on walking the tree in the content process. This is not yet complete. No tests have been written for it, the WindowGlobalParent objects need to be exposed to chrome JS, and a form of JS actors should be installed under them. In addition, BrowsingContextChrome objects should be updated to allow access to the current WindowGlobalParent in that context. Depends on D4622
Comment on attachment 9005068 [details] Bug 1487249 - Part 2: Add a missing 'const' to URIUtils.h Andrew McCreight (busy) [:mccr8] has approved the revision.
Attachment #9005068 - Flags: review+
Priority: -- → P2
Comment on attachment 9005070 [details] Bug 1487249 - Part 3: Add the WindowGlobal actor representing a single window global Boris Zbarsky [:bzbarsky, bz on IRC] has approved the revision.
Attachment #9005070 - Flags: review+
Comment on attachment 9005069 [details] Bug 1487249 - Part 2: Add a new PInProcess actor to manage intra-thread actors Andrew McCreight [:mccr8] has approved the revision.
Attachment #9005069 - Flags: review+
Attachment #9005067 - Attachment description: Bug 1487249 - Part 1: Allow MessageChannel objects to be created within a thread, r=mccr8 → Bug 1487249 - Part 1: Allow MessageChannel objects to be created within a thread
Attachment #9005068 - Attachment description: Bug 1487249 - Part 2: Add a missing 'const' to URIUtils.h, r=mccr8 → Bug 1487249 - Part 2: Add a missing 'const' to URIUtils.h
Attachment #9005069 - Attachment description: Bug 1487249 - Part 3: Add a new PInProcess actor to manage intra-thread actors, r=mccr8 → Bug 1487249 - Part 3: Add a new PInProcess actor to manage intra-thread actors
Attachment #9005070 - Attachment description: Bug 1487249 - Part 4: Add the WindowGlobal actor representing a single window global, r=bzbarsky → Bug 1487249 - Part 4: Add the WindowGlobal actor representing a single window global
Attachment #9005068 - Attachment is obsolete: true
Comment on attachment 9005067 [details] Bug 1487249 - Part 1: Allow MessageChannel objects to be created within a thread Andrew McCreight [:mccr8] has approved the revision.
Attachment #9005067 - Flags: review+
Attachment #9005069 - Attachment description: Bug 1487249 - Part 3: Add a new PInProcess actor to manage intra-thread actors → Bug 1487249 - Part 2: Add a new PInProcess actor to manage intra-thread actors
Attachment #9005070 - Attachment description: Bug 1487249 - Part 4: Add the WindowGlobal actor representing a single window global → Bug 1487249 - Part 3: Add the WindowGlobal actor representing a single window global
Pushed by nika@thelayzells.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/176131b18cb4 Part 1: Allow MessageChannel objects to be created within a thread, r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/8caf55928df2 Part 2: Add a new PInProcess actor to manage intra-thread actors, r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/160a1dbe0be5 Part 3: Add the WindowGlobal actor representing a single window global, r=bzbarsky
Depends on: 1509362
Pushed by nika@thelayzells.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/3cd10aba9130 Part 1: Allow MessageChannel objects to be created within a thread, r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/0190d4ffa54f Part 2: Add a new PInProcess actor to manage intra-thread actors, r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/c60fa11538db Part 3: Add the WindowGlobal actor representing a single window global, r=bzbarsky
Flags: needinfo?(nika)
Depends on: 1511237
Pushed by nika@thelayzells.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a6604d042a96 Part 1: Allow MessageChannel objects to be created within a thread, r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/ba592aebdba2 Part 2: Add a new PInProcess actor to manage intra-thread actors, r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/7a1bb48d843f Part 3: Add the WindowGlobal actor representing a single window global, r=bzbarsky
Flags: needinfo?(nika)
Depends on: 1512085
Pushed by nika@thelayzells.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8976adedb5cb Part 1: Allow MessageChannel objects to be created within a thread, r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/222e2bcb25df Part 2: Add a new PInProcess actor to manage intra-thread actors, r=mccr8 https://hg.mozilla.org/integration/mozilla-inbound/rev/20554da7b303 Part 3: Add the WindowGlobal actor representing a single window global, r=bzbarsky
Flags: needinfo?(nika)
Depends on: 1512358
Depends on: 1512520
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: