Closed Bug 1597905 Opened 5 years ago Closed 5 years ago

Use clearOutput helper in console test

Categories

(DevTools :: Console, task, P1)

task

Tracking

(firefox72 fixed)

RESOLVED FIXED
Firefox 72
Tracking Status
firefox72 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

(Whiteboard: dt-fission-m1)

Attachments

(1 file)

Some test directly call hud.ui.clearOutput instead of the clearOutput helper, which is a bit safer as it waits for a given event to be emitted.
In Bug 1579090 I plan to listen to another event when fronts need to be released.

The helper function waits for an event to be dispatched,
which adds extra safety.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d46b22aba8b8
Replace usage of webConsoleUI.clearOutput to head.js clearOutput in tests. r=jdescottes.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72
Whiteboard: dt-fission → dt-fission dt-fission-m1
Whiteboard: dt-fission dt-fission-m1 → dt-fission-m1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: