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)
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)
Comment 2•11 years ago
|
||
(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.
Comment 4•11 years ago
|
||
If layout-debug is the Layout Debugger, then I definitely use it.
Updated•11 years ago
|
| Reporter | ||
Updated•10 years ago
|
tracking-e10s:
m8+ → ---
Whiteboard: [unsafe-cpow-usage]
| Reporter | ||
Updated•10 years ago
|
tracking-e10s:
--- → ?
Updated•10 years ago
|
Mentor: mrbkap
| Reporter | ||
Comment 5•10 years ago
|
||
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.
Updated•10 years ago
|
Priority: -- → P3
Comment 6•4 years ago
|
||
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.
Description
•