Closed
Bug 1307918
Opened 8 years ago
Closed 5 years ago
Split old console pageError tests into backend and frontend unit tests
Categories
(DevTools :: Console, enhancement, P2)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: linclark, Unassigned)
References
Details
Originally posted by:linclark
see https://github.com/devtools-html/gecko-dev/issues/230
Currently pageErrors are tested with integration tests. We can convert these into unit tests.
The backend test would still be a mochitest. It should load the test page and ensure the correct packet is sent, comparing to a stub packet.
The frontend can then use that stub in a mocha test.
Tests to convert (list in progress):
- [ ] browser_webconsole_bug_737873_mixedcontent.js
- [ ] browser_webconsole_trackingprotection_errors.js
- [ ] browser_webconsole_bug_770099_violation.js
- [ ] browser_webconsole_bug_762593_insecure_passwords_web_console_warning.js
- [ ] browser_webconsole_bug_762593_insecure_passwords_about_blank_web_console_warning.js
- [ ] browser_bug1045902_console_csp_ignore_reflected_xss_message.js
Reporter | ||
Updated•8 years ago
|
Priority: -- → P2
Whiteboard: new-console
Updated•8 years ago
|
Updated•8 years ago
|
Priority: P2 → P3
Whiteboard: [new-console] → [reserve-new-console]
Updated•8 years ago
|
Whiteboard: [reserve-new-console] → [reserve-console-html]
Updated•7 years ago
|
Priority: P3 → P4
Updated•7 years ago
|
Flags: qe-verify-
Priority: P4 → P2
Whiteboard: [reserve-console-html] → [newconsole-mvp]
Updated•7 years ago
|
Whiteboard: [newconsole-mvp]
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 1•5 years ago
|
||
we do have unit tests for errors now
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•