Console messages timestamps are not printed in saved file
Categories
(DevTools :: Console, defect)
Tracking
(firefox-esr102 unaffected, firefox111 wontfix, firefox112 verified, firefox113 verified)
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox111 | --- | wontfix |
| firefox112 | --- | verified |
| firefox113 | --- | verified |
People
(Reporter: anmolkuchhal003, Assigned: nchevobbe)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
|
5.77 MB,
video/mp4
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Steps to reproduce:
- Enable Timestamps and Log Persistence on the console window
- Save the file as .txt
Actual results:
The timestamps do not show up
Expected results:
The file should show timestamps present as it was enabled
Comment 1•2 years ago
•
|
||
Hello,
Thank you for reporting this.
I reproduced de issue on MacOS12, Win 11 and Ubuntu 22 and with Fx versions: 111.0.1 (64-bit), 112.0b6 (64-bit) and Nightly 113.0a1 (2023-03-23)
with the following steps:
- Launch Firefox
- R-click on the page and select Inspect.
- Go to the Console tab
- Click on the Console Settings button and make sure “Show Timestamps” and “Persist Logs” options are checked.
- In the same Fx tab, in the address bar, go to https://utest.com/
- In the Console tab, R-click anywhere on the displayed messages and select “Save all Messages to file”
- Save the file.
- Open the file and observ its content.
It does not reproduce in Fx versions: 102.9.0esr, 110.0a1 (2022-12-12).
Regression range
Last known good: 111.0a1 (2023-02-05)
First known bad: 111.0a1 (2023-02-06)
pushlog_url: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=d8601249f1eb8c52c742b0c19c9ca0fa8f2e31fe&tochange=b06e825a4d8137434a1524b1ef7049f85cdc60d1
Additional notes
On the message:
R-click ->Copy Message -> both the message and the timestamp are copied
R-click ->Copy all Messages ->only the messages is copied
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
:nchevobbe looks like this was regressed by Bug 1814855?
Could you take a look?
It's too late for 111, but if there's anything we can do for 112?
| Assignee | ||
Comment 3•2 years ago
|
||
Sure, looks like the container query added in Bug 1814855 is causing this
| Assignee | ||
Comment 4•2 years ago
|
||
The media query we introduced not long ago to hide
timestamp on narrow output was also effective for
the element we use for the export (as it has a width
of 0), which means timestamp wouldn't be included
in the export.
Updated•2 years ago
|
Comment 6•2 years ago
|
||
| bugherder | ||
Comment 7•2 years ago
|
||
The patch landed in nightly and beta is affected.
:nchevobbe, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox112towontfix.
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 8•2 years ago
|
||
Comment on attachment 9325502 [details]
Bug 1823610 - [devtools] Don't hide timestamp when exporting console messages. r=#devtools-reviewers.
Beta/Release Uplift Approval Request
- User impact if declined: timestamps missing from webconsole exported message
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): devtools only, one-liner CSS change covered by mochitest
- String changes made/needed:
- Is Android affected?: No
Comment 9•2 years ago
|
||
Comment on attachment 9325502 [details]
Bug 1823610 - [devtools] Don't hide timestamp when exporting console messages. r=#devtools-reviewers.
Approved for 112.0b9
Comment 10•2 years ago
|
||
| bugherder uplift | ||
Updated•2 years ago
|
Comment 11•2 years ago
•
|
||
Verified - fixed on MacOS 12, Win 11 and Ubuntu 18 in Fx versions 112.0b9 and latest Nightly 113.0a1 (2023-03-30).
Description
•