Open
Bug 1205847
Opened 6 years ago
Updated 5 years ago
We need a regression test that launches Firefox and fails if any exceptions are logged
Categories
(Testing :: General, defect)
Testing
General
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: vladan, Unassigned)
Details
I ran Firefox against a new profile (created by "mach run") and saw 5 different exceptions logged to stdout and the Browser Console: * bug 1205819 * bug 1205827 * bug 1205833 * bug 1205837 * bug 1205840 Do we have enough test coverage of Firefox first-run?
Reporter | ||
Comment 1•6 years ago
|
||
Tests not failing on exceptions/error messages is the bigger problem, new profiles are just a good way to suss out such errors
Summary: We need a regression test that runs Firefox against a fresh profile and fails if any exceptions are logged → We need a regression test that launches Firefox and fails if any exceptions are logged
Reporter | ||
Comment 2•6 years ago
|
||
< RyanVM> vladan: maybe related - bug 910614 < RyanVM> vladan: and hanging off that - bug 920191 < vladan> RyanVM: thanks. interesting angle about errors not getting propagated to onerror handlers < RyanVM> sadly, we've seen real bugs missed care of bug 920191
Comment 3•5 years ago
|
||
Ted / Chris: any idea what, if any, framework would be best for this? (Feel free to pass on needinfos, I'm not entirely sure where best to start...)
Flags: needinfo?(ted)
Flags: needinfo?(cmanchester)
Product: Firefox → Testing
Comment 4•5 years ago
|
||
I think we ought to be able to do this with the Marionette harness, but I'm not 100% sure. I don't think any of our other harnesses really offer anything close to this.
Flags: needinfo?(ted)
Comment 5•5 years ago
|
||
Right, Marionette is probably our only harness that can launch the browser as part of a test.
Flags: needinfo?(cmanchester)
You need to log in
before you can comment on or make changes to this bug.
Description
•