Closed
Bug 1011663
Opened 11 years ago
Closed 9 years ago
[e10s] Make CPOWs inspectable
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(e10s+)
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
e10s | + | --- |
People
(Reporter: ally, Unassigned)
References
(Blocks 1 open bug)
Details
In multiprocess firefox, Cross Process Object Wrappers (CPOWs) are used in a number of places. I have noticed that some cpows properties are opaque to the browser toolbox.
- It would be awesome to see what those objects contain
- It would be awesome if background color or something changed to visually indicate that this object is a CPOW
- It would be awesome if I could also attach a debugger to the child/content process. Currently it only attaches to the chrome/parent process
We'll be pushing addon developers to update their code for multiprocess firefox and I'd love for our tools to make it easier to puzzle out what's going on
Comment 1•11 years ago
|
||
I totally agree, making developers aware that they are using CPOWs is a good idea.
>- It would be awesome if I could also attach a debugger to the child/content process. Currently it only > attaches to the chrome/parent process
I opened bug 1011677 for that, because it's a bit different from the rest.
Comment 2•11 years ago
|
||
What kind of properties are opaque? How can I tell from chrome JS that a debuggee object is a CPOW without running debuggee code? I read that CPOWs for DOM objects have a remote="true" attribute, but what about plain JS objects?
We don't have a way to distinguish CPOWs from normal objects right now, but it sounds like we definitely need something for that. (CPOWs for DOM objects don't have a remote="true" attribute. That's only true for the <xul:browser> element, which is not a CPOW.)
I don't know why properties don't show up though.
Updated•11 years ago
|
Updated•11 years ago
|
Blocks: old-e10s-m2
Bug 1014993 should make this easier. It exposes Cu.isCrossProcessWrapper to test if something is a CPOW.
Depends on: 1014993
Updated•10 years ago
|
No longer blocks: old-e10s-m2
Updated•10 years ago
|
Summary: debug, detect & color code CPOWs when debugging e10s code. → Make CPOWs inspectable
Updated•10 years ago
|
Depends on: dbg-inspect
Updated•10 years ago
|
Blocks: dbg-inspect
No longer depends on: dbg-inspect
Updated•10 years ago
|
Whiteboard: [e10s-m7]
Updated•10 years ago
|
Whiteboard: [e10s-m7] → [e10s-m6]
Updated•10 years ago
|
Whiteboard: [e10s-m6] → [e10s-m7]
Updated•10 years ago
|
Summary: Make CPOWs inspectable → [e10s] Make CPOWs inspectable
Comment 7•9 years ago
|
||
This is a new feature, it shouldn't block e10s.
Comment 8•9 years ago
|
||
Removing [e10s-m7] flag. We're agreed that this shouldn't block e10s
Whiteboard: [e10s-m7]
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Comment 9•9 years ago
|
||
I'm curious why this was resolved as wontfix? Is it no longer necessary to inspect CPOWS?
Flags: needinfo?(blassey.bugs)
Comment 10•9 years ago
|
||
(In reply to Eddy Bruel [:ejpbruel] from comment #9)
> I'm curious why this was resolved as wontfix? Is it no longer necessary to
> inspect CPOWS?
CPOWs are disallowed in browser code and eventually will be in add-on code, so implementing inspection of them doesn't seem to be worth the effort. However, if someone wants to work on this we can reopen it and prioritize it very low.
Flags: needinfo?(blassey.bugs)
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•