Closed
Bug 1506707
Opened 6 years ago
Closed 6 years ago
Keep track of duplicate console messages in the client
Categories
(Core Graveyard :: Web Replay, defect)
Core Graveyard
Web Replay
Tracking
(firefox65 fixed)
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: bhackett1024, Assigned: bhackett1024)
References
Details
Attachments
(1 file)
3.88 KB,
patch
|
nchevobbe
:
review+
|
Details | Diff | Splinter Review |
Currently, the devtools server keeps track of which messages have been sent to the client already, via isDuplicateReplayingMessage. This causes problems when using a page without the console open, however. The server will be active and send the messages to the client, which ignores them. If the console is then opened, it will ask for all the messages sent up the current point, but the server won't send any of them because they have already been sent before. I think the simplest solution here is to remove all filtering from the server, and have the client ignore duplicate messages when updating its Redux state, per the attached patch.
Attachment #9024578 -
Flags: review?(nchevobbe)
Comment 1•6 years ago
|
||
Comment on attachment 9024578 [details] [diff] [review] patch Review of attachment 9024578 [details] [diff] [review]: ----------------------------------------------------------------- That looks like a nice solution, thanks Brian! Do we already have a test to check that we don't show duplicate messages? If not, would it be hard to add one?
Attachment #9024578 -
Flags: review?(nchevobbe) → review+
Assignee | ||
Comment 2•6 years ago
|
||
(In reply to Nicolas Chevobbe from comment #1) > Comment on attachment 9024578 [details] [diff] [review] > patch > > Review of attachment 9024578 [details] [diff] [review]: > ----------------------------------------------------------------- > > That looks like a nice solution, thanks Brian! > Do we already have a test to check that we don't show duplicate messages? If > not, would it be hard to add one? We don't, but I'll try to write one soon.
Pushed by bhackett@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/45d797322196 Keep track of duplicate console messages in the client, r=nchevobbe.
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/45d797322196
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•