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

RESOLVED FIXED in Firefox 61

Status

()

enhancement
P4
normal
RESOLVED FIXED
Last year
4 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla61
Points:
---

Firefox Tracking Flags

(firefox61 fixed)

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: Last year
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.