Closed Bug 1499009 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 13515 - Fix processing of double Content-DPR values and add Content-DPR WPT tests

Categories

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

enhancement

Tracking

(firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13515 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/13515 Details from upstream follow. Yoav Weiss <yoav@yoav.ws> wrote: > Fix processing of double Content-DPR values and add Content-DPR WPT tests > > When processing multiple Content-DPR headers, the current logic parses > all of them as a single float, and understandably, fails in that task. > That means that if a server is adding multiple headers (due to > configuration error), none of them will be effective, contrary to the RFC. > > This PR fixes that, copies over relevant tests from internal layout tests > to WPT, and adds a test for that issue specifically. > > BUG=895245 > > Change-Id: I72b570ad4b1e4db9a2bb03be9d8fb1e3799b902b > > Reviewed-on: https://chromium-review.googlesource.com/1280266 > WPT-Export-Revision: 8202a0bd095f003cddc7ae73c12a3ecd5ab6ac2b
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/4d58b8e38161 [wpt PR 13515] - Fix processing of double Content-DPR values and add Content-DPR WPT tests, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/1bbc45a2c48d [wpt PR 13515] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.