Closed Bug 1557118 Opened 5 years ago Closed 5 years ago

Support group in registerWindowActor

Categories

(Core :: DOM: Content Processes, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: enndeakin, Assigned: enndeakin)

References

Details

Attachments

(2 files)

This is used by some actors defined in BrowserGlue.

The priority flag is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)
Flags: needinfo?(jmathies)
Priority: -- → P3
See Also: → 1595124
Blocks: 1610141

Bug 1610141 describes one case where this is needed. There are others I've found while porting some actors.

Legacy actors support a group flag which limits the actors from being applied to browser elements that don't have a matching 'messagemanagergroup'. Some specific groups that need to be distinguished:

  • 'browsers' - the main browser elements in the window
  • 'sidebar' - content loaded in a sidebar. Some actors should not apply here that would apply in other places.
  • 'extensions' - content loaded in an extension.
  • 'test' - the findbar, for example, is currently tested within some chrome tests that embed <browser type="content">. The actor would need to be created here.
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Blocks: 1608347
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/986051b690e9 add support for filtering actor creation based on the messagemanagergroup attribute set on browser elements, r=farre
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bb7b5139b10b test to check filtering actor creation based on the messagemanagergroup attribute, r=farre
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76

Is there a metabug to audit the existing actors that were converted and might benefit from having this property added? The page style actor from bug 1595370 is definitely one, but I bet there are others.

Flags: needinfo?(enndeakin)
Depends on: 1635131
Flags: needinfo?(enndeakin)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: