Closed Bug 1653760 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24656 - Python 3: Use byte type for content

Categories

(Core :: DOM: Networking, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ziran Sun <zsun@igalia.com> wrote:

Python 3: Use byte type for content

in Python 3, strings are unicode. For non-ASCII characters it prepends
0xc2 for range[0x80, 0xbf] and 0xc3 for range[0xc0, 0xff]. This fix
is to use byte type for content to support both Python2 and Python 3.

Component: web-platform-tests → DOM: Networking
Product: Testing → Core

CI Results

Ran 12 Firefox configurations based on mozilla-central

Total 2 tests and 3 subtests

Status Summary

Firefox

OK : 2
PASS: 10

Links

Gecko CI (Treeherder)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a7747f25870f
[wpt PR 24656] - Python 3: Use byte type for content, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Regressions: 1655212
You need to log in before you can comment on or make changes to this bug.