Closed
Bug 1629133
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 22858 - Python 3: Add key "Content-Type" check for python 3 in webdriver test
Categories
(Testing :: geckodriver, task, P4)
Testing
geckodriver
Tracking
(firefox77 fixed)
RESOLVED
FIXED
mozilla77
| Tracking | Status | |
|---|---|---|
| firefox77 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 22858 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22858
Details from upstream follow.
Ziran Sun <zsun@igalia.com> wrote:
Python 3: Add key "Content-Type" check for python 3 in webdriver test
In webdriver getheaders() API of http response returns lowercase key
"content-type" in python 2 and capitalized key "Content-Type" in python 3.
This probably is caused by different http libraries used. Python 2 uses
httplib and python 3 uses http.client for http connection.
| Assignee | ||
Updated•6 years ago
|
Component: web-platform-tests → geckodriver
| Assignee | ||
Comment 1•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=8e0d094fdc32ad78936ae8e488fcac1f479b132c
| Assignee | ||
Comment 2•6 years ago
|
||
Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/284a376b6715
[wpt PR 22858] - Python 3: Add key "Content-Type" check for python 3 in webdriver test, a=testonly
Comment 4•6 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•