Closed
Bug 1437847
Opened 8 years ago
Closed 8 years ago
Enable browser_console_error_source_click.js in new frontend
Categories
(DevTools :: Console, enhancement, P1)
DevTools
Console
Tracking
(firefox60 fixed)
RESOLVED
FIXED
Firefox 60
| Tracking | Status | |
|---|---|---|
| firefox60 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: miker)
References
Details
(Whiteboard: [newconsole-mvp])
Attachments
(1 file)
No description provided.
| Reporter | ||
Updated•8 years ago
|
Has Regression Range: --- → irrelevant
Has STR: --- → irrelevant
Priority: -- → P2
Whiteboard: [newconsole-mvp]
Updated•8 years ago
|
Severity: normal → enhancement
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
OS: Unspecified → All
Priority: P2 → P1
Hardware: Unspecified → All
| Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8954745 [details]
Bug 1437847 - Enable browser_console_error_source_click.js in new frontend
https://reviewboard.mozilla.org/r/223882/#review230186
Thanks Mike, looks good! Just one small comment + a nit.
::: devtools/client/webconsole/new-console-output/test/mochitest/browser_console_error_source_click.js:22
(Diff revision 1)
> -
> - yield loadTab(TEST_URI);
> - let hud = yield HUDService.toggleBrowserConsole();
> ok(hud, "browser console opened");
>
> + setFilterState(hud, {
setFilterState is async, could we add await here? Also add a small info right before to explain what this is doing.
::: devtools/client/webconsole/new-console-output/test/mochitest/browser_console_error_source_click.js:50
(Diff revision 1)
> - let viewSourceCalled = false;
> +async function waitForMessageAndViewSource(hud, message) {
> + let msg = await waitFor(() => findMessage(hud, message));
> + ok(msg, `Message found: "${message}"`);
>
> - let viewSource = hud.viewSource;
> - hud.viewSource = () => {
> + let locationNode = msg.querySelector(".message-location .frame-link-source");
> + ok(locationNode, "location node");
nit: could use a clearer assert message? "Message location link element found" ?
Attachment #8954745 -
Flags: review?(jdescottes) → review+
| Comment hidden (mozreview-request) |
Pushed by mratcliffe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ce41e79ade93
Enable browser_console_error_source_click.js in new frontend r=jdescottes
Comment 5•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•