Closed Bug 1694952 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27778 - XMLHttpRequest: response stream errors

Categories

(Core :: DOM: Service Workers, task, P4)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Anne van Kesteren <annevk@annevk.nl>' wrote:

XMLHttpRequest: response stream errors

For https://github.com/whatwg/xhr/issues/314.

It seems Chrome does not throw exceptions here at all...

Component: web-platform-tests → DOM: Service Workers
Product: Testing → Core

CI Results

Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 3 tests and 2 subtests

Status Summary

Firefox

OK : 3
PASS: 2
FAIL: 3

Chrome

OK : 3
PASS: 4
FAIL: 1

Safari

OK : 3
PASS: 4
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/xhr/response-body-errors.any.html
Asynchronous XMLHttpRequest should clear response on bad chunk: FAIL
/xhr/response-body-errors.any.worker.html
Synchronous XMLHttpRequest should throw on bad chunk: FAIL
Asynchronous XMLHttpRequest should clear response on bad chunk: FAIL

New Tests That Don't Pass

/xhr/response-body-errors.any.html
Asynchronous XMLHttpRequest should clear response on bad chunk: FAIL (Chrome: PASS, Safari: PASS)
/xhr/response-body-errors.any.worker.html
Synchronous XMLHttpRequest should throw on bad chunk: FAIL (Chrome: PASS, Safari: PASS)
Asynchronous XMLHttpRequest should clear response on bad chunk: FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5ff73d61dcf3
[wpt PR 27778] - XMLHttpRequest: response stream errors, a=testonly
https://hg.mozilla.org/integration/autoland/rev/d9bb8d0b36ab
[wpt PR 27778] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.