Closed
Bug 968563
Opened 11 years ago
Closed 11 years ago
E10S support for window.console API (console.log doesn't work in content processes)
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 965860
Tracking | Status | |
---|---|---|
e10s | + | --- |
People
(Reporter: Gavin, Unassigned)
References
Details
Right now the console API in content processes ends up reporting messages to the content processes' console service, which doesn't reach the parent process/UI in any way.
We could either:
- have console.log in content processes use the message manager, and arrange to not have a console service in the child processes
- have the console service handle sending all messages to the parent
Reporter | ||
Comment 1•11 years ago
|
||
I was wrong about the console service being involved - console.* messages are sent directly to the UI observers via the observer service, and so the solution needed here is console.*-specific.
(Bill pointed out that ContentChild already has a ConsoleListener that forwards messages to the parent.)
Comment 2•11 years ago
|
||
I'm rewriting the Console API in C++ unifying the different implementations we have.
If you have needs about how to fix issue for e10s, let me know.
Comment 3•11 years ago
|
||
(In reply to Andrea Marchesini (:baku) from comment #2)
> I'm rewriting the Console API in C++ unifying the different implementations
> we have.
This is happening in bug 965860.
Updated•11 years ago
|
tracking-e10s:
--- → +
Thanks Andrea. The rewrite seemed to have fixed this. I just tested, and console.log works as far as I can see. It looks like the message gets passed up through the remote debug protocol.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•