Closed Bug 1451598 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 10326 - Add tests to check that the User-Agent header is set for XHR requests

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Behind The Math <info@behindthemath.io> wrote:
>  Add tests to check that the User-Agent header is set for XHR requests
>  
>  The spec for [HTTP-network-or-cache fetch](https://fetch.spec.whatwg.org/#http-network-or-cache-fetch)  (Step 11) specifies that the `User-Agent` header should be set by the user agent. These tests check that this header exists.
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 2 tests and 2 subtests
OK     : 2
PASS   : 2
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b41dda248276
[wpt PR 10326] - Add tests to check that the User-Agent header is set for XHR requests, a=testonly
https://hg.mozilla.org/mozilla-central/rev/b41dda248276
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.