Closed
Bug 1127393
Opened 11 years ago
Closed 7 years ago
Reduce bad usage of contentWindowAsCPOW and contentDocumentAsCPOW
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
Firefox 64
People
(Reporter: mconley, Assigned: Alex_Gaynor)
References
Details
(Keywords: meta)
Attachments
(1 file)
There are portions of the codebase that use the contentWindowAsCPOW and contentDocumentAsCPOW properties on a <xul:browser> (remote or not)[1].
We should examine each point we use one of these properties, and see what happens to the CPOW - tracing whether or not we store them, and figuring out how much traffic goes across them during their lifetime. If we can identify some bad offenders, we should then find a way of not using CPOWs for those cases.
[1]: These properties are explicitly CPOWs in the remote browser case
| Reporter | ||
Updated•11 years ago
|
tracking-e10s:
--- → ?
| Reporter | ||
Updated•11 years ago
|
Whiteboard: meta
| Reporter | ||
Updated•10 years ago
|
Updated•10 years ago
|
Updated•10 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
I'm not super familiar with this part of the codebase (I ended up here while looking for something else :-)). It looks like contentWindowAsCPOW and contentDocumentAsCPOW are now unused, and there's just a pair of helper functions in browser/base/content/tabbrowser.js and toolkit/content/widgets/editor.js that are now unused left. Is that right? Should I send a patch removing them?
| Reporter | ||
Comment 2•7 years ago
|
||
(In reply to Alex Gaynor [:Alex_Gaynor] from comment #1)
> I'm not super familiar with this part of the codebase (I ended up here while
> looking for something else :-)). It looks like contentWindowAsCPOW and
> contentDocumentAsCPOW are now unused, and there's just a pair of helper
> functions in browser/base/content/tabbrowser.js and
> toolkit/content/widgets/editor.js that are now unused left. Is that right?
> Should I send a patch removing them?
Oh, leftovers. Yes, please!
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/b94a2aa50ef2
removed three now-unused helper functions for handling the window and document as CPOWs; r=mconley
Keywords: checkin-needed
Comment 5•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Updated•7 years ago
|
Assignee: nobody → agaynor
You need to log in
before you can comment on or make changes to this bug.
Description
•