Closed Bug 1620964 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 22139 - Fix manifest writing in python3

Categories

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

task

Tracking

(firefox76 fixed)

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Sergio Villar Senin <svillar@igalia.com> wrote:

Fix manifest writing in python3

The main problem is that the json module cannot process binary data. That was not a problem in python2 where binary==str but it was causing issues in python3. The data causing issues were the file hashes. From now on the hashes are converted to str when converting data to json.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b2faa06cd912
[wpt PR 22139] - Fix manifest writing in python3, a=testonly
Test result changes from PR not available.
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.