Closed
Bug 1655838
Opened 4 years ago
Closed 4 years ago
Error "no localization found for [undefined]" when a blocked request is displayed in the console
Categories
(DevTools :: Console, defect, P3)
DevTools
Console
Tracking
(firefox81 fixed)
RESOLVED
FIXED
81 Branch
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
Details
Attachments
(1 file)
STRs:
- block any request in the netmonitor
- show requests in the console
- trigger the blocked request
An error will be logged : no localization found for [undefined]
For blocked requests, we create a MessageIcon component with no "level", but level is a mandatory property and is used to call l10n's getStr:
Component created at:
https://searchfox.org/mozilla-central/rev/d9f92154813fbd4a528453c33886dc3a74f27abb/devtools/client/webconsole/components/Output/Message.js#183
Error is logged at:
https://searchfox.org/mozilla-central/rev/d9f92154813fbd4a528453c33886dc3a74f27abb/devtools/shared/l10n.js#130
The error is simply logged. Might be nice to still provide a level, since it's mandatory, but this shouldn't impact the behavior of the console.
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/176ff21be520 Set ERROR level for blocked request messages in Webconsole r=nchevobbe
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox81:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•