Open
Bug 1383688
Opened 8 years ago
Updated 3 years ago
Console clears when a link with the [download] attribute is clicked
Categories
(DevTools :: Console, defect, P3)
Tracking
(firefox57 wontfix)
NEW
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: belst, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.65 MB,
video/webm
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Steps to reproduce:
Logging stuff with console.log and clicking programatically on an a tag with a download attribute.
See attached video of the problem.
Related Code which has the 2 logs after the click: https://hastebin.com/edonafated.ts
Actual results:
Download dialog opens and developer console clears (Browser console doesn't)
Expected results:
Developer console should not clear
Comment 1•8 years ago
|
||
Hello belst, thank you for reporting.
I guess we follow the same pattern as when we don't have a `download` attribute, the page "navigates" and thus the logs are cleared.
As a workaround, you can check the "Enable persistent logs" in the settings panel (under the "Common Preferences" label).
This seems a bit unintuitive. Since a download doesn't really "navigate" it should keep the logs imo.
Comment 3•8 years ago
|
||
(In reply to belst from comment #2)
> This seems a bit unintuitive. Since a download doesn't really "navigate" it
> should keep the logs imo.
Yes, you're totally right.
We should see if we can get the information in the packet that the "navigation" is in fact only a download (or add it if we don't).
Thanks for reporting again, it's useful for us :)
Updated•8 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Updated•8 years ago
|
status-firefox57:
--- → wontfix
Summary: Developer Console Clears when a download Dialog opens → Console clears when a link with the [download] attribute is clicked
Updated•7 years ago
|
Product: Firefox → DevTools
Comment 5•5 years ago
|
||
This isn't a console issue only, the netmonitor suffers from the same issue as well.
Let's move that on the devtools level and think of a solution.
That could be something to take into account while working on Bug 1632141.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•