Closed
Bug 1389501
Opened 7 years ago
Closed 2 years ago
Firefox Dev Edition 56.0b1 (64-bit): console.log() no longer allows CSS styles to highlight messages in Browser Console if called from WebExtension add-ons.
Categories
(DevTools :: Console, defect, P3)
Tracking
(firefox57 wontfix)
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: tom.mai78101, Unassigned)
Details
Attachments
(1 file)
35.32 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170628075643 Steps to reproduce: I use the following JavaScript code: console.log("(shoptoolbar.js) %cHello world from background script.", "background-color: #bdcc8b; color: #433475;"); In the extension add-on background script to display "Hello world" in the Browser Console, highlighted with the specified color. Then I compare the results with the same code by typing into the Browser Console directly using the following code: console.log("(shoptoolbar.js) %cHello world Browser Console.", "background-color: #bdcc8b; color: #433475;"); Actual results: The console log messages sent from the extension add-on is not colored. The console log messages entered in from the Browser Console works normally. Expected results: All log messages, no matter if sent from extension add-ons or entered into the Browser Console, should all be colored.
Updated•7 years ago
|
Component: Untriaged → Developer Tools: Console
Reporter | ||
Updated•7 years ago
|
Summary: console.log() no longer allows CSS styles to highlight messages in Browser Console → console.log() no longer allows CSS styles to highlight messages in Browser Console if called from WebExtension add-ons.
Reporter | ||
Updated•7 years ago
|
Summary: console.log() no longer allows CSS styles to highlight messages in Browser Console if called from WebExtension add-ons. → Firefox Dev Edition 56.0b1 (64-bit): console.log() no longer allows CSS styles to highlight messages in Browser Console if called from WebExtension add-ons.
Reporter | ||
Comment 1•7 years ago
|
||
The actual user agent is: "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0" I'm just reporting the bug via Firefox stable version.
Comment 2•7 years ago
|
||
Thanks for the report - we should be styling messages the same regardless of the source
status-firefox57:
--- → wontfix
Priority: -- → P3
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 3•2 years ago
|
||
Not sure when this was fixed, but it seems to work okay for me now
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•