Don't show cached messages from private window in the browser console
Categories
(DevTools :: Console, defect, P2)
Tracking
(Fission Milestone:M7, firefox-esr78 unaffected, firefox85 unaffected, firefox86 unaffected, firefox87 wontfix, firefox88 fixed)
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox85 | --- | unaffected |
firefox86 | --- | unaffected |
firefox87 | --- | wontfix |
firefox88 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Regression)
Details
(Keywords: regression, Whiteboard: dt-fission-m3-mvp)
Attachments
(2 files)
This only occurs when devtools.browsertoolbox.fission
is true, as we connect directly to the frame target, and don't exclude private messages from the server.
browser_console_webconsole_private_browsing.js
should have prevented the regression,
but in the test we check way to early to see if the messages are here, so we don't see that they actually get rendered later.
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Set release status flags based on info from the regressing bug 1642599
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
First, this patch fixes the existing test that was flawed, checking if messages
weren't displayed too early, so messages didn't have the time to be rendered.
When checking later, we can see that the messages were displayed when they shouldn't have been.
We can't build a server-only solution here, as the browser console will consume
messages from frame targets, and we don't have a way to check if a given target
is consumed from the browser console/browser toolbox.
What we do is add a new isCachedMessage
property on css, error and console messages
resources, so we can check it on the client alongside the private
one.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Tracking DevTools Post-M8 bugs for Fission MVP milestone. They don't block the Fission Release channel experiment, but we would like them to be completed before we roll out Fission by default.
Assignee | ||
Comment 4•4 years ago
|
||
This property indicates if the resources was existing before we started watching
for this type of resource.
We add some test cases in the various message resources to check the value of the
property.
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8dcb37229312
https://hg.mozilla.org/mozilla-central/rev/d30ecc76411c
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Description
•