Closed
Bug 1533048
Opened 5 years ago
Closed 5 years ago
Improve error messages when parsing wpt manifests fails
Categories
(Testing :: web-platform-tests, defect)
Tracking
(firefox70 fixed)
RESOLVED
FIXED
mozilla70
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: jgraham, Assigned: jgraham)
Details
Attachments
(1 file)
The error messages often aren't very good and in particular don't always tell you which file has the problem, which makes debugging rather complex.
Assignee | ||
Comment 1•5 years ago
|
||
Currently we don't always give a useful message and in particular don't always include
the file and line number of the place where the exception occured in order to give a
clue about where the error might be.
To fix this, if we get an error that isn't a ParseError, wrap it in a ParseError to give the
file and line. Also improve one error message.
Comment 2•5 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jgraham, could you have a look please?
Flags: needinfo?(james)
Assignee | ||
Updated•5 years ago
|
Flags: needinfo?(james)
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/autoland/rev/4b13ce92cd30 Improve wpt expectation ini error messages, r=ato
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/18176 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Comment 6•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Updated•5 years ago
|
Assignee: nobody → james
Upstream PR merged
You need to log in
before you can comment on or make changes to this bug.
Description
•