Closed Bug 1147046 Opened 11 years ago Closed 4 years ago

Tools under layout use gBrowser.contentDocument and/or gBrowser.contentWindow, which don't exist in e10s browsers

Categories

(Core :: Layout, defect, P3)

x86
macOS
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
e10s + ---

People

(Reporter: mconley, Unassigned, Mentored)

References

Details

(Whiteboard: [unsafe-cpow-usage])

Bug 1144149 will add contentDocumentAsCPOW and contentWindowAsCPOW shortcuts to gBrowser. When that happens, layout/tools/layout-debug/ui/content/layoutdebug.js and layout/tools/recording/recording.js should be updated to use those instead.
Are these tools that we still use Bas? If so, how important is that we make them work in e10s?
Flags: needinfo?(bas)
(In reply to Bill McCloskey (:billm) from comment #1) > Are these tools that we still use Bas? If so, how important is that we make > them work in e10s? I don't know layout-debug. As for recording I'd say for now it's not too important as its result shouldn't differ too much with, or without e10s. So if it is to be used for diagnostic purposes e10s could be switched off. In general the tool is not of critical importance anyway.
Flags: needinfo?(bas)
I use layout-debug occasionally; I suspect others like dholbert and mats and other people who work on layout may as well. The things it does can also be done from gdb (although it's harder to get the right object to start from) or by inserting calls to the various dumping functions in the code, but that's slower.
If layout-debug is the Layout Debugger, then I definitely use it.
tracking-e10s: m8+ → ---
Whiteboard: [unsafe-cpow-usage]
tracking-e10s: --- → ?
Mentor: mrbkap
The good news is that I'm pretty sure these tools will end up getting the add-on shims, so they'll probably continue to work for at least a while, even though unsafe CPOWs in browser code have been outlawed.
Priority: -- → P3

CPOWs have been removed.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.