Closed Bug 1440351 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 9633 - Fix #9481: fix invalid output during environment initialization

Categories

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

enhancement

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

Details

(Whiteboard: [wptsync downstream])

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

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

Yash Agarwal wrote:
>  Fix #9481: fix invalid output during environment initialization
>  
>  Earlier the logger was emitting an empty JSON file for errors during
>  environment initialization. Now the mozlog shutdown() method is called
>  if the environment initialization fails to ensure that the generated report
>  file contains valid JSON object. The suite_end() method functionality
>  has been moved to the shutdown function to avoid redundancy.
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e0d431e95775
[wpt PR 9633] - Fix #9481: fix invalid output during environment initialization, a=testonly
https://hg.mozilla.org/mozilla-central/rev/e0d431e95775
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.