Closed
Bug 1601688
Opened 4 years ago
Closed 4 years ago
If an event is only needed in tests, only emit it when in test
Categories
(DevTools :: Console, task, P1)
DevTools
Console
Tracking
(firefox74 fixed)
RESOLVED
FIXED
Firefox 74
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
we saw in the past that emitting events could add some overhead, so let's try to not emit them when it's not needed
Assignee | ||
Comment 1•4 years ago
|
||
The tests are now using mutation observer to check
when the dom is updated instead.
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D57499
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9aa05612f10f Don't rely on new-messages event in webconsole DAMP tests. r=ochameau. https://hg.mozilla.org/integration/autoland/rev/27cec4c76272 Use emitForTests when events are only used in tests. r=Honza.
Comment 4•4 years ago
|
||
Backed out 2 changesets (bug 1601688) for causing node-devtools failures.
Backout revision https://hg.mozilla.org/integration/autoland/rev/40f3654a935a8d60a0faa1faa5e29440a054dd8b
Failure log https://treeherder.mozilla.org/logviewer.html#?job_id=284203983&repo=autoland
Nicolas can you please take a look?
Flags: needinfo?(nchevobbe)
Assignee | ||
Comment 5•4 years ago
|
||
Sorry about that, I'll provide a fix in the next minutes
Flags: needinfo?(nchevobbe)
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1f6d5888aa5d Don't rely on new-messages event in webconsole DAMP tests. r=ochameau.
Comment 7•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3438f1628cb7 Use emitForTests when events are only used in tests. r=Honza.
Comment 9•4 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•