Closed Bug 1408931 Opened 3 years ago Closed 3 years ago

Enable browser_webconsole_csp_ignore_reflected_xss_message.js in the new console frontend

Categories

(DevTools :: Console, enhancement, P1)

enhancement

Tracking

(firefox59 fixed)

RESOLVED FIXED
Firefox 59
Tracking Status
firefox59 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

(Whiteboard: [newconsole-mvp])

Attachments

(1 file)

No description provided.
Blocks: 1400847
Priority: P3 → P2
Whiteboard: [newconsole-mvp]
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Comment on attachment 8930832 [details]
Bug 1408931 - Enable browser_webconsole_csp_ignore_reflected_xss_message.js in the new console frontend; .

https://reviewboard.mozilla.org/r/201928/#review207366

::: devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_csp_ignore_reflected_xss_message.js:25
(Diff revision 1)
> +add_task(async function () {
> +  const hud = await openNewTabAndConsole(TEST_URI);
> +  await loadDocument(TEST_FILE);
>  
> -var hud = undefined;
> -
> +  await waitFor(() => findMessage(hud, EXPECTED_RESULT, ".message.warn"));
> +  ok(true,  `CSP logs displayed in console when using "reflected-xss" directive`);

eslint failure here (2 spaces)
Attachment #8930832 - Flags: review?(jdescottes) → review+
Priority: P2 → P1
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/81a1024cd97a
Enable browser_webconsole_csp_ignore_reflected_xss_message.js in the new console frontend; r=jdescottes.
https://hg.mozilla.org/mozilla-central/rev/81a1024cd97a
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.