Closed
Bug 1405652
Opened 7 years ago
Closed 7 years ago
Migrate browser_webconsole_view_source.js to the new frontend
Categories
(DevTools :: Console, enhancement, P1)
DevTools
Console
Tracking
(firefox57 wontfix, firefox58 fixed)
RESOLVED
FIXED
Firefox 58
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Priority: -- → P3
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Priority: P3 → P1
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8920486 [details] Bug 1405652 - Enable browser_webconsole_view_source.js in new console frontend; . https://reviewboard.mozilla.org/r/191488/#review196814 ::: devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_view_source.js:32 (Diff revision 1) > - let tab = yield onTabOpen; > ok(true, "the view source tab was opened in response to clicking the location node"); > - gBrowser.removeTab(tab); > }); > + > +async function waitForTabLoad() { I think `BrowserTestUtils.waitForNewTab(gBrowser, null, true)` can replace this function: https://searchfox.org/mozilla-central/source/testing/mochitest/BrowserTestUtils/BrowserTestUtils.jsm?from=BrowserTestUtils.jsm#391
Attachment #8920486 -
Flags: review?(bgrinstead) → review+
Assignee | ||
Comment 3•7 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #2) > Comment on attachment 8920486 [details] > Bug 1405652 - Enable browser_webconsole_view_source.js in new console > frontend; . > > https://reviewboard.mozilla.org/r/191488/#review196814 > > ::: > devtools/client/webconsole/new-console-output/test/mochitest/ > browser_webconsole_view_source.js:32 > (Diff revision 1) > > - let tab = yield onTabOpen; > > ok(true, "the view source tab was opened in response to clicking the location node"); > > - gBrowser.removeTab(tab); > > }); > > + > > +async function waitForTabLoad() { > > I think `BrowserTestUtils.waitForNewTab(gBrowser, null, true)` can replace > this function: > https://searchfox.org/mozilla-central/source/testing/mochitest/ > BrowserTestUtils/BrowserTestUtils.jsm?from=BrowserTestUtils.jsm#391 works like a charm, thanks !
Comment hidden (mozreview-request) |
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/810825b3ce19 Enable browser_webconsole_view_source.js in new console frontend; r=bgrins.
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/810825b3ce19
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•