Closed
Bug 1755091
Opened 2 years ago
Closed 2 years ago
[wpt-sync] Sync PR 32825 - Fetch: add tests for Response.json
Categories
(Core :: DOM: Networking, task, P4)
Core
DOM: Networking
Tracking
()
RESOLVED
FIXED
102 Branch
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 32825 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/32825
Details from upstream follow.
Luca Casonato <hello@lcas.dev> wrote:
Fetch: add tests for Response.json
Spec change: https://github.com/whatwg/fetch/pull/1392
DO NOT MERGE
Assignee | ||
Updated•2 years ago
|
Component: web-platform-tests → DOM: Networking
Product: Testing → Core
Assignee | ||
Updated•2 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=a34d6badde0fc0b059ed096cad0382f2108d05f3
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests and 13 subtests
Status Summary
Firefox
OK
: 4
PASS
: 20
FAIL
: 32
Chrome
OK
: 4
PASS
: 20
FAIL
: 32
Safari
OK
: 4
PASS
: 20
FAIL
: 32
Links
Details
New Tests That Don't Pass
- /fetch/api/response/response-static-json.any.worker.html [wpt.fyi]
- Check response returned by static json() with init undefined:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"status":400}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"statusText":"foo"}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"headers":{}}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"headers":{"content-type":"foo/bar"}}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"headers":{"x-foo":"bar"}}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check static json() encodes JSON objects correctly:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check static json() propagates JSON serializer errors:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Check response returned by static json() with init undefined:
- /fetch/api/response/response-static-json.any.html [wpt.fyi]
- Check response returned by static json() with init undefined:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"status":400}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"statusText":"foo"}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"headers":{}}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"headers":{"content-type":"foo/bar"}}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"headers":{"x-foo":"bar"}}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check static json() encodes JSON objects correctly:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check static json() propagates JSON serializer errors:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Check response returned by static json() with init undefined:
- /fetch/api/response/response-static-json.any.serviceworker.html [wpt.fyi]
- Check response returned by static json() with init undefined:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"status":400}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"statusText":"foo"}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"headers":{}}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"headers":{"content-type":"foo/bar"}}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"headers":{"x-foo":"bar"}}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check static json() encodes JSON objects correctly:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check static json() propagates JSON serializer errors:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Check response returned by static json() with init undefined:
- /fetch/api/response/response-static-json.any.sharedworker.html [wpt.fyi]
- Check response returned by static json() with init undefined:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"status":400}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"statusText":"foo"}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"headers":{}}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"headers":{"content-type":"foo/bar"}}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check response returned by static json() with init {"headers":{"x-foo":"bar"}}:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check static json() encodes JSON objects correctly:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Check static json() propagates JSON serializer errors:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Check response returned by static json() with init undefined:
Assignee | ||
Updated•2 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/83891639237e [wpt PR 32825] - Fetch: add tests for Response.json, a=testonly https://hg.mozilla.org/integration/autoland/rev/6de1e024566d [wpt PR 32825] - Update wpt metadata, a=testonly
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/83891639237e
https://hg.mozilla.org/mozilla-central/rev/6de1e024566d
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•