Closed
Bug 1306458
Opened 8 years ago
Closed 3 years ago
Figure out how to make gOpenPopupSpamCount work with multiple content processes
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
firefox52 | --- | wontfix |
People
(Reporter: bzbarsky, Unassigned)
References
Details
(Whiteboard: [e10s-multi:M2])
And in particular, with window.open() calls that involve opening the window in a new process. Which process's open popup spam count should the window count against? Or both? Or should this count be maintained in the chrome process in general? Note that the count needs to be decremented when the popup window is closed, which is what makes for part of the fun.
Updated•8 years ago
|
Priority: -- → P2
Comment 2•8 years ago
|
||
Yeah, this should live in the parent, and IMO it is not critical for this counter to be precise, i.e. if there's a chance for a race between processes or what not, that's ok for this one.
Updated•8 years ago
|
Whiteboard: [e10s-multi:?]
Updated•8 years ago
|
Whiteboard: [e10s-multi:?] → [e10s-multi:M2]
Updated•7 years ago
|
Blocks: e10s-multi-beta
Updated•7 years ago
|
Comment 3•7 years ago
|
||
(In reply to Boris Zbarsky [:bz] (still a bit busy) from comment #0) > And in particular, with window.open() calls that involve opening the window > in a new process. > > Which process's open popup spam count should the window count against? Or > both? Or should this count be maintained in the chrome process in general? > > Note that the count needs to be decremented when the popup window is closed, > which is what makes for part of the fun. I'm a bit confused about what is the scenario we're worrying about here, window.open should always open the new window in same process to avoid using a CPOW for the opener, no?
Flags: needinfo?(bzbarsky)
Reporter | ||
Comment 4•7 years ago
|
||
> window.open should always open the new window in same process to avoid using a CPOW for the opener
Not when "noopener" is used. Right now we'd still do that same-process, but we want to move away from that.
Also, I recall mystor working on some stuff for opening stuff in a new process for webasm/games (again, without an opener link). Not sure whether that's still planning to use window.open.
Flags: needinfo?(bzbarsky)
Comment 5•7 years ago
|
||
Nope, the large allocation work isn't using window.open anymore. :)
Comment 6•7 years ago
|
||
Mass wontfix for bugs affecting firefox 52.
Comment 7•6 years ago
|
||
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
Comment 8•3 years ago
|
||
There has been some changes in bug 1588720, is this still a thing?
Comment 9•3 years ago
|
||
(In reply to Jens Stutte [:jstutte] from comment #8)
There has been some changes in bug 1588720, is this still a thing?
I think we can close this one given that now popup spam count works with multiple content processes and gOpenPopupSpamCount has been removed.
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(echen)
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•