Closed Bug 1127393 Opened 11 years ago Closed 7 years ago

Reduce bad usage of contentWindowAsCPOW and contentDocumentAsCPOW

Categories

(Firefox :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 64
Tracking Status
e10s - ---
firefox64 --- fixed

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
tracking-e10s: --- → ?
Whiteboard: meta
Keywords: meta
Whiteboard: meta
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?
(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!
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
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Assignee: nobody → agaynor
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: