Closed Bug 1577767 Opened 1 year ago Closed 11 months ago

logMessage does not send messages to content process when there are no console listeners attached to the parent

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(firefox71 fixed)

RESOLVED FIXED
Firefox 71
Tracking Status
firefox71 --- fixed

People

(Reporter: pbz, Assigned: pbz)

References

Details

Attachments

(1 file)

In Bug 1559167 I've implemented support for logging from parent to content process.

When a message is sent from parent to content process via logMessage and the Browser Toolbox is not open (=> no console listeners attached to the parent) the message is not logged in the destination console.

Pushed by pzuhlcke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fee72f003ea2
Call maybeForwardScriptError independently of parent process listeners state. r=baku
Pushed by pzuhlcke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4868454a0f7e
Call maybeForwardScriptError independently of parent process listeners state. r=baku
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
Flags: needinfo?(pbz)
You need to log in before you can comment on or make changes to this bug.