Closed Bug 1511386 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 14307 - Fix Headers mutation with "request-no-cors" guard

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yutaka Hirano <yhirano@chromium.org> wrote:
>  Fix Headers mutation with "request-no-cors" guard
>  
>  https://github.com/whatwg/fetch/pull/833
>  
>  Bug: 905677
>  Change-Id: Ie4141c2b900931ef88e7734cb152b6d28955999f
>  Reviewed-on: https://chromium-review.googlesource.com/1352075
>  WPT-Export-Revision: df15525041bed26c2c020dc6758994a310f31051
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 22 subtests
OK     : 1
PASS   : 15
FAIL   : 7

New tests that have failures or other problems:
/fetch/api/headers/headers-no-cors.window.html
    "no-cors" Headers object cannot have accept set to , sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss: FAIL
    "no-cors" Headers object cannot have accept-language set to , sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss: FAIL
    "no-cors" Headers object cannot have content-language set to , sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/974f5647c57f
[wpt PR 14307] - Fix Headers mutation with "request-no-cors" guard, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/1c6849a2f768
[wpt PR 14307] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.