Closed
Bug 1623928
Opened 4 years ago
Closed 4 years ago
Error messages in Policies.jsm not showing up on console unless "Show Content Messages" is checked
Categories
(DevTools :: Console, defect, P2)
DevTools
Console
Tracking
(firefox76 fixed)
RESOLVED
FIXED
Firefox 76
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: mkaply, Assigned: edenchuang)
References
Details
Attachments
(1 file)
If you place some error messages in Policies.jsm like here:
They do not show up unless you turn on content messages.
I don't believe this JSM file is running in content, so the messages should work.
Alternatively, show content messages should be the default on nightly at least for development.
Updated•4 years ago
|
Component: General → Console
Product: Firefox → DevTools
Comment 1•4 years ago
|
||
Eden, any idea what's left here? I would have expected this to work...
:mkaply, are you using Cu.reportError
, or throw
, or something else?
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → echuang
Status: NEW → ASSIGNED
Assignee | ||
Updated•4 years ago
|
Flags: needinfo?(echuang)
Updated•4 years ago
|
Priority: -- → P2
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d7627863bd49 Cu.reportError with 0 innerWindowID should be from chrome context r=baku
Comment 5•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76
You need to log in
before you can comment on or make changes to this bug.
Description
•