Closed Bug 1452287 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 10323 - Handle the case when MANIFEST.json is invalid JSON

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 10323 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/10323
Details from upstream follow.

fergald <fergald@gmail.com> wrote:
>  Handle the case when MANIFEST.json is invalid JSON
>  
>  I don't know how I got into this situation (probably hit ctrl-C at the wrong time) but I did and it was unclear how to get out. It presents as a ValueError with no useful info.
>  
>  Update the code to handle ValueError to log a warning and cause a full regen of the manifest.
>  
>  Also reported in https://crbug.com/822041
>  
>  
>
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/60be40ffa07b
[wpt PR 10323] - Handle the case when MANIFEST.json is invalid JSON, a=testonly
https://hg.mozilla.org/mozilla-central/rev/60be40ffa07b
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.