Closed Bug 1471245 Opened 6 years ago Closed 6 years ago

Replace openNewTabAndToolbox by openNewTabAndConsole in webconsole tests

Categories

(DevTools :: Console, enhancement, P3)

enhancement

Tracking

(firefox64 fixed)

RESOLVED FIXED
Firefox 64
Tracking Status
firefox64 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

usually we need the hud, which we get from the toolbox using 

```js
const hud = toolbox.getCurrentPanel().hud;
```

We should always use openNewTabAndConsole, and then add an access to the toolbox in hud if we need it toolbox access in the test.

See https://searchfox.org/mozilla-central/search?q=toolbox.getCurrentPanel().hud&case=false&regexp=false&path=devtools%2Fclient%2Fwebconsole%2F to see all hug retrieval through toolbox that might be changed.
Priority: -- → P3
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
This is done in all the tests that don't need an explicit
reference to the toolbox.
Comment on attachment 9009614 [details]
Bug 1471245 - Replace openNewTabAndToolbox by openNewTabAndConsole in webconsole tests; r=bgrins.

Brian Grinstead [:bgrins] has approved the revision.
Attachment #9009614 - Flags: review+
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2aa3365b87b1
Replace openNewTabAndToolbox by openNewTabAndConsole in webconsole tests; r=bgrins.
https://hg.mozilla.org/mozilla-central/rev/2aa3365b87b1
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: