Closed
Bug 1438542
Opened 6 years ago
Closed 6 years ago
logStringMessage() does not work after the Browser Console is opened
Categories
(DevTools :: Console, defect, P1)
DevTools
Console
Tracking
(firefox60 fixed)
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: miker, Assigned: nchevobbe)
References
Details
(Whiteboard: [newconsole-mvp])
Attachments
(2 files)
2.20 KB,
patch
|
Details | Diff | Splinter Review | |
59 bytes,
text/x-review-board-request
|
miker
:
review+
|
Details |
This used to work with the old frontend: ``` hud = await HUDService.toggleBrowserConsole(); Services.console.logStringMessage("test2"); await waitFor(() => findMessage(hud, "test2")); ``` It times out waiting for "test 2", which isn't actually displayed in the Browser Console. Logging the message and then opening the console works just fine: ``` Services.console.logStringMessage("test2"); hud = await HUDService.toggleBrowserConsole(); await waitFor(() => findMessage(hud, "test2")); ```
Reporter | ||
Updated•6 years ago
|
Has Regression Range: --- → no
Has STR: --- → no
Reporter | ||
Comment 1•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Has STR: no → yes
Reporter | ||
Comment 2•6 years ago
|
||
The string is logged to e.g. bash but is not logged in the browser console.
Reporter | ||
Updated•6 years ago
|
Comment hidden (mozreview-request) |
Reporter | ||
Updated•6 years ago
|
Assignee: mratcliffe → nchevobbe
Reporter | ||
Comment 4•6 years ago
|
||
mozreview-review |
Comment on attachment 8952143 [details] Bug 1438542 - Fix rendering of non-cached message issued from logStringMessage; . https://reviewboard.mozilla.org/r/221374/#review227220
Attachment #8952143 -
Flags: review?(mratcliffe) → review+
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/58cf8ba79e97 Fix rendering of non-cached message issued from logStringMessage; r=miker.
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/58cf8ba79e97
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•