Commit Graph
118 Commits
Author SHA1 Message Date
jugglinmike c721185a38 Bug 2008307 [wpt PR 56953] - Map HTTP-related tests to web-features, a=testonly
Automatic update from web-platform-tests
Map HTTP-related tests to web-features (#56953)

--

wpt-commits: 66e8b37110159be6159b58461c6514d1942c9322
wpt-pr: 56953
2026-01-27 08:12:09 +00:00
Stalgia Grigg ad03dde281 Bug 2005644 [wpt PR 56696] - Map private-network-access web-feature, a=testonly
Automatic update from web-platform-tests
Map `private-network-access` web-feature (#56696)

Feature: `private-network-access`
Reference: https://github.com/web-platform-dx/web-features/blob/main/features/private-network-access.yml

This feature has been superseded and is discouraged. There is a single test that tests the legacy headers.

Notable exclusions

1. `fetch/local-network-access/*`
   - These tests cover the newer "Local Network Access" feature which supersedes Private Network Access. They are already mapped to `local-network-access`.

Co-authored-by: Chris Cuellar <[email protected]>
--

wpt-commits: abba6fad03c1be4937ca989df70fb265d9b726c8
wpt-pr: 56696
2026-01-23 14:42:14 +00:00
Chris Cuellar cecb9eab3a Bug 2008985 [wpt PR 56551] - classifies "fetch" and "fetch-later" web features, a=testonly
Automatic update from web-platform-tests
classifies "fetch" and "fetch-later" web features (#56551)

--

wpt-commits: 928847746471199e194adf0e756390dbbbfcd9a4
wpt-pr: 56551
2026-01-09 23:27:14 +00:00
Howard Edwards 0cf36aca73 Bug 2007076 [wpt PR 56140] - Map "early-data" web-feature, a=testonly
Automatic update from web-platform-tests
Map "early-data" web-feature (#56140)

--

wpt-commits: 0d96a7ca42cee67aef8be12b8ff374eb974b01d3
wpt-pr: 56140
2025-12-21 06:39:19 +00:00
Nandu ef20e5c91b Bug 1957303 [wpt PR 51709] - Create WEB_FEATURES.yml for fetch-request-streams, a=testonly
Automatic update from web-platform-tests
Create WEB_FEATURES.yml for fetch-request-streams (#51709)

--

wpt-commits: c7a2d7377848045991e8a4da6e954fda9e55ccef
wpt-pr: 51709
2025-04-07 12:28:45 +00:00
Kagami Sascha Rosylight ee4d846761 Bug 1941210 - Strongly grab FetchStreamReader while waiting for writing r=smaug
Nothing strongly grabs ReadableStream nor FetchStreamReader while waiting for nsIAsyncOutputStream to respond. mAsyncWaitReader should now strongly grab the reader until the output stream responds.

Differential Revision: https://phabricator.services.mozilla.com/D234031
2025-01-14 19:24:05 +00:00
smayya cb31b82898 Bug 1901761 - extend keepalive.any.js for workers. r=edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D220017
2024-09-24 17:10:04 +00:00
Butkovits Atila 47fc85341d Backed out 5 changesets (bug 1906952, bug 1914632, bug 1901761) for causing bustage at RefPtr.h. CLOSED TREE
Backed out changeset 4dadc74e5e51 (bug 1906952)
Backed out changeset 0689a41fae4c (bug 1914632)
Backed out changeset 1f93aaf15cf6 (bug 1914632)
Backed out changeset 37dbae4a6310 (bug 1914632)
Backed out changeset 177540310817 (bug 1901761)
2024-09-24 17:21:15 +03:00
smayya 20785a3727 Bug 1901761 - extend keepalive.any.js for workers. r=edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D220017
2024-09-24 11:30:21 +00:00
sunil mayya d1b7adfe67 Bug 1871376 - enable keepalive tests. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D206509
2024-06-13 06:27:18 +00:00
Iulian Moraru bc68aef5bf Backed out 3 changesets (bug 1871377, bug 1871376) for causing multiple failures on FetchChild.cpp.
Backed out changeset f40672b20c47 (bug 1871377)
Backed out changeset 39c159dbb3c6 (bug 1871376)
Backed out changeset a1120bbddda2 (bug 1871376)
2024-06-12 07:25:56 +03:00
sunil mayya 70ba04d551 Bug 1871376 - enable keepalive tests. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D206509
2024-06-11 17:44:20 +00:00
Anne van Kesteren df2730cca5 Bug 1896860 [wpt PR 46278] - Fetch: make non-Float16Array support a test instead of a harness fail, a=testonly
Automatic update from web-platform-tests
Fetch: make non-Float16Array support a test instead of a harness fail

--

wpt-commits: b9130061b3b79f060e268757ef22d68212d1027a
wpt-pr: 46278
2024-05-23 10:00:41 +00:00
Kevin Gibbons 400c4255e3 Bug 1889292 [wpt PR 45483] - update tests which are generic across all TypedArrays for Float16Array, a=testonly
Automatic update from web-platform-tests
Update tests which are generic across all TypedArrays for Float16Array

For https://github.com/whatwg/webidl/pull/1398.
--

wpt-commits: 5aa50dd4151b5bc1d04d5505366c6e27df30af5b
wpt-pr: 45483
2024-04-15 08:50:13 +00:00
Yoichi Osato 7eb7b36371 Bug 1885065 [wpt PR 45075] - Reapply "Reapply "ReadableStream should be cancelled on aborting fetch streaming upload"", a=testonly
Automatic update from web-platform-tests
Reapply "Reapply "ReadableStream should be cancelled on aborting fetch streaming upload""

This reverts commit 826c3cab0db8660bf355979664daa9475d855cef.

This CL reapplies the CL fixing the ci test failure:
https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20Tests%20(dbg)(1)/119114/test-results?sortby=&groupby=
(see the diff from Patchset#1)

TEST: third_party/blink/tools/run_wpt_tests.py --release -p chrome external/wpt/webdriver/tests/bidi/network/

Fixed: 40071725
Change-Id: I021c29e016bef9f3ef7c980fa038a13bdd9a0369
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5363997
Commit-Queue: Yoichi Osato <[email protected]>
Reviewed-by: Adam Rice <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1272576}

--

wpt-commits: 5abfea3260af2a20a69606743d87b56fbc478315
wpt-pr: 45075
2024-03-15 12:24:49 +00:00
Yoichi Osato 5e3429348f Bug 1884812 [wpt PR 45016] - Revert "Reapply "ReadableStream should be cancelled on aborting fetch streaming upload"", a=testonly
Automatic update from web-platform-tests
Revert "Reapply "ReadableStream should be cancelled on aborting fetch streaming upload""

This reverts commit 9b6dfd300f3e867054f36c067d4db6d2f055e195.

Reason for revert: ci failure:
https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20Tests%20(dbg)(1)/119114/test-results?sortby=&groupby=

Original change's description:
> Reapply "ReadableStream should be cancelled on aborting fetch streaming upload"
>
> This reverts commit 80d8034488638d62c98d39f1e3b0d229f0f95948.
>
> This CL reapplies the CL fixing the ci test failure:
> https://ci.chromium.org/ui/p/chromium/builders/findit/test-single-revision/15511/overview
> (see the diff from Patchset#1)
>
> Fixed: 40071725
> Change-Id: Iff847a32a5d5cc0da01343e97bc0f63eab4780cd
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5348005
> Reviewed-by: Adam Rice <[email protected]>
> Commit-Queue: Adam Rice <[email protected]>
> Auto-Submit: Yoichi Osato <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#1270046}

Bug: 40071725
Fixed: 328787040
Change-Id: I8a777dd4896fa95bf7e30346f285ec511c555617
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5358674
Commit-Queue: Adam Rice <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>
Reviewed-by: Adam Rice <[email protected]>
Auto-Submit: Yoichi Osato <[email protected]>
Reviewed-by: Yoichi Osato <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1270818}

--

wpt-commits: c607c1163571c11082072e2071d7d91b269358f5
wpt-pr: 45016
2024-03-14 08:39:37 +00:00
Yoichi Osato d8a7d98b56 Bug 1884774 [wpt PR 44997] - Reapply "ReadableStream should be cancelled on aborting fetch streaming upload", a=testonly
Automatic update from web-platform-tests
Reapply "ReadableStream should be cancelled on aborting fetch streaming upload"

This reverts commit 80d8034488638d62c98d39f1e3b0d229f0f95948.

This CL reapplies the CL fixing the ci test failure:
https://ci.chromium.org/ui/p/chromium/builders/findit/test-single-revision/15511/overview
(see the diff from Patchset#1)

Fixed: 40071725
Change-Id: Iff847a32a5d5cc0da01343e97bc0f63eab4780cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5348005
Reviewed-by: Adam Rice <[email protected]>
Commit-Queue: Adam Rice <[email protected]>
Auto-Submit: Yoichi Osato <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1270046}

--

wpt-commits: 0afe5891f7419db2381196fe4b0072ad925f3d6f
wpt-pr: 44997
2024-03-14 08:39:17 +00:00
[email protected] d789dae759 Bug 1883887 [wpt PR 44941] - Revert "ReadableStream should be cancelled on aborting fetch streaming upload", a=testonly
Automatic update from web-platform-tests
Revert "ReadableStream should be cancelled on aborting fetch streaming upload"

This reverts commit 72c256e647e213f06a70665482ec436decd33757.

Reason for revert:
LUCI Bisection has identified this change as the cause of a test failure. See the analysis: https://ci.chromium.org/ui/p/chromium/bisection/test-analysis/b/6221281127038976

Sample build with failed test: https://ci.chromium.org/b/8754333606783318225
Affected test(s):
[ninja://:chrome_wpt_tests/external/wpt/webdriver/tests/bidi/network/response_completed/response_completed_status.py](https://ci.chromium.org/ui/test/chromium/ninja:%2F%2F:chrome_wpt_tests%2Fexternal%2Fwpt%2Fwebdriver%2Ftests%2Fbidi%2Fnetwork%2Fresponse_completed%2Fresponse_completed_status.py?q=VHash%3A1b1e9c5537be9730)

If this is a false positive, please report it at http://b.corp.google.com/createIssue?component=1199205&description=Analysis%3A+https%3A%2F%2Fci.chromium.org%2Fui%2Fp%2Fchromium%2Fbisection%2Ftest-analysis%2Fb%2F6221281127038976&format=PLAIN&priority=P3&title=Wrongly+blamed+https%3A%2F%2Fchromium-review.googlesource.com%2Fc%2Fchromium%2Fsrc%2F%2B%2F5261357&type=BUG

Original change's description:
> ReadableStream should be cancelled on aborting fetch streaming upload
>
> Following https://fetch.spec.whatwg.org/#abort-fetch, this CL
> lets FetchManager cancels the body ReadableStream with error.
> This also fixes fetch itself rejects with the error as well.
>
> Fixed: 40071725
> Change-Id: Iaed204b1facd1ef94047cd5342ad3eb1ce6aa260
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5261357
> Reviewed-by: Adam Rice <[email protected]>
> Commit-Queue: Yoichi Osato <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#1268209}
>

Change-Id: Ib293f3b5d1d01dea113e385435b4b9c3c3a62ed5
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5346409
Commit-Queue: Cathy Li <[email protected]>
Reviewed-by: Cathy Li <[email protected]>
Owners-Override: Cathy Li <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1268784}

--

wpt-commits: c98799955aed3ebb0c8f42ee8e755414c2ddb9b0
wpt-pr: 44941
2024-03-14 08:38:28 +00:00
Blink WPT Bot 9a1c4721b3 Bug 1882697 [wpt PR 44847] - ReadableStream should be cancelled on aborting fetch streaming upload, a=testonly
Automatic update from web-platform-tests
ReadableStream should be cancelled on aborting fetch streaming upload (#44847)

Following https://fetch.spec.whatwg.org/#abort-fetch, this CL
lets FetchManager cancels the body ReadableStream with error.
This also fixes fetch itself rejects with the error as well.

Fixed: 40071725
Change-Id: Iaed204b1facd1ef94047cd5342ad3eb1ce6aa260
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5261357
Reviewed-by: Adam Rice <[email protected]>
Commit-Queue: Yoichi Osato <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1268209}

Co-authored-by: Yoichi Osato <[email protected]>
--

wpt-commits: 5e9955028082d111b566d19c4f72b06d07737dd1
wpt-pr: 44847
2024-03-14 08:38:27 +00:00
Blink WPT Bot 2bd70d5047 Bug 1874526 [wpt PR 43984] - [wptrunner] Do not include testharness{,report}.js twice, a=testonly
Automatic update from web-platform-tests
[wptrunner] Do not include `testharness{,report}.js` twice (#43984)

Injecting `<script src="/resources/testharness{,report}.js">` is an
implicit behavior of `wptserve` for `.js` files [0].

Including `testharnessreport.js` twice for `content_shell` appears
benign, but causes issues for the default WebDriver testharness
implementation. Exporting this change will enable useful coverage for
such browsers.

A follow-up PR upstream will have `wpt lint` ban such duplicate scripts.

[0]: https://github.com/web-platform-tests/wpt/blob/9e0d5be/tools/serve/serve.py#L273-L451

Bug: 1518022
Change-Id: I7a6e344c82bbaa33adfa578feeb966fa92f08040
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5195267
Commit-Queue: Jonathan Lee <[email protected]>
Reviewed-by: Weizhong Xia <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1247652}

Co-authored-by: Jonathan Lee <[email protected]>
--

wpt-commits: f66439a5ca42e416c30740cb25a7a72f3dda6d54
wpt-pr: 43984
2024-01-20 10:35:41 +00:00
Jonathan Hao 4820f24e01 Bug 1854232 [wpt PR 42054] - [Private Network Access] Separate PNA header WPTs out as tentative, a=testonly
Automatic update from web-platform-tests
[Private Network Access] Separate PNA header WPTs out as tentative

As pointed out in [1], PNA WPTs should be separated out as tentative.

[1] https://github.com/WICG/private-network-access/issues/113

Bug: 1484509
Change-Id: I3c41c54eaf6e58504fa8fa7bfec45ce5002b1c3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4874806
Auto-Submit: Jonathan Hao <[email protected]>
Reviewed-by: Yifan Luo <[email protected]>
Commit-Queue: Yifan Luo <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1198876}

--

wpt-commits: 54fce811de2b2ac94fcc149de3a5b6a2b94574e5
wpt-pr: 42054
2023-09-28 14:58:07 +00:00
Anne van Kesteren 29f3feee73 Bug 1852390 [wpt PR 41894] - Fetch: ensure UTF-8 is used for the URL parser, a=testonly
Automatic update from web-platform-tests
Fetch: ensure UTF-8 is used for the URL parser

--

wpt-commits: 0fd6e2d5194081a13d8dee729a0c289d3b6b09af
wpt-pr: 41894
2023-09-28 14:56:13 +00:00
Dan Robertson e4fa8f0723 Bug 1848743 [wpt PR 41461] - invalid blob type should be equivalent to an empty type, a=testonly
Automatic update from web-platform-tests
invalid blob type should be equivalent to an empty type (#41461)

A Blob with a type that is a non-parsable MIME type should result in
a empty content-type.
--

wpt-commits: 133ffd879d2af04649778b5a9c6255e238dcfe4a
wpt-pr: 41461
2023-09-13 11:37:23 +00:00
Ming-Ying Chung 595b3f7495 Bug 1836427 [wpt PR 40355] - [keepalive-migration] Add more WPTs to cover CORS-related fetch keepalive behaviors, a=testonly
Automatic update from web-platform-tests
[keepalive-migration] Add more WPTs to cover CORS-related fetch keepalive behaviors

Bug: 1356128
Change-Id: I99fc85c78a629585b8bb6e40469ade58111ecea8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4583750
Reviewed-by: Kenichi Ishibashi <[email protected]>
Commit-Queue: Ming-Ying Chung <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1154273}

--

wpt-commits: b19fbfd70cf403c5a71a7cb7465b652c00d780c2
wpt-pr: 40355
2023-06-13 07:15:54 +00:00
Frederik Braun daa81426e9 Bug 1830292 - base64url parser in SRI r=tschuster,ckerschb
Tests have shown that web pages use base64url encoded integrity
metadata when using SRI, as other browsers are already supporting it.
To align cross-browser behavior, we'll support base64url and base64
in parallel and update the tests from wpt at the same time.

Differential Revision: https://phabricator.services.mozilla.com/D178147
2023-05-23 14:26:47 +00:00
Ming-Ying Chung 40a4810c91 Bug 1826349 [wpt PR 39364] - [keepalive-migration] Add basic in-browser redirect logic, a=testonly
Automatic update from web-platform-tests
[keepalive-migration] Add basic in-browser redirect logic

## Context

When a renderer is alive, a keepalive redirect request goes through a
series of checks & modifications scattering around 7 methods [1] before
calling `mojom::URLLoader::FollowRedirect()`. When the renderer dies,
redirect needs to be handled in browser.

## Changes

This CL adds logic to directly follow redirect in browser. It also
adds checks to verify safe target & Content-Security-Policy (CSP).

For CSP: `KeepAliveURLLoader` and
`KeepAliveURLLoaderFactory::FactoryContext` both maintain a refptr to
`content::PolicyContainerHost` to let `PolicyCcontainerHost` outlives
its RFHI.

[1]: https://docs.google.com/document/d/1ZzxMMBvpqn8VZBZKnb7Go8TWjnrGcXuLS_USwVVRUvY/edit#heading=h.6uwqtijf7dvd

Bug: 1356128
Change-Id: I16c42a3174379c03f80286499d893e40142f1857
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4383884
Code-Coverage: Findit <[email protected]>
Commit-Queue: Ming-Ying Chung <[email protected]>
Reviewed-by: Takashi Toyoshima <[email protected]>
Reviewed-by: Rakina Zata Amni <[email protected]>
Reviewed-by: Arthur Sonzogni <[email protected]>
Reviewed-by: Kenichi Ishibashi <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1131056}

--

wpt-commits: b651a8812595c7c90354cf0e1fe916388c1f1e49
wpt-pr: 39364
2023-04-18 09:11:07 +00:00
Kenichi Ishibashi fa7d975778 Bug 1824722 [wpt PR 39212] - fetch: Add a test for SRI check with null body status, a=testonly
Automatic update from web-platform-tests
fetch: Add a test for SRI check with null body status

a fetch with SRI metadata should abort when the response has a
null body status, per step 22.2 of [1].

[1] https://fetch.spec.whatwg.org/#main-fetch

Bug: 1427319
Change-Id: I4635c77639589ce17fa4cd215a65792a7c330494
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4369033
Commit-Queue: Kenichi Ishibashi <[email protected]>
Reviewed-by: Adam Rice <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1122899}

--

wpt-commits: 62293ebf20600d4d27c6b6b77df94b49fae18e54
wpt-pr: 39212
2023-04-12 11:21:55 +00:00
Ming-Ying Chung 6cdf66424f Bug 1822543 [wpt PR 39012] - Refactor fetch keepalive-related WPT tests and add a basic one., a=testonly
Automatic update from web-platform-tests
Refactor fetch keepalive-related WPT tests and add a basic one.

Bug: 1356128
Change-Id: I279af0c91db27158f3836eb554853e853a5e5d06
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4340429
Commit-Queue: Ming-Ying Chung <[email protected]>
Reviewed-by: Kenichi Ishibashi <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1118488}

--

wpt-commits: 37bb8d987c28d9e435e5f1e2f24df1d42eeb6f62
wpt-pr: 39012
2023-03-29 12:51:58 +00:00
Jonathan Hao eca4691d9c Bug 1804516 [wpt PR 37382] - Make Access-Control-Request-Private-Network a forbidden header, a=testonly
Automatic update from web-platform-tests
Make Access-Control-Request-Private-Network a forbidden header

Spec: https://wicg.github.io/private-network-access/#forbidden-header-names.

Bug: 1368527
Change-Id: Id47a68dfbd2ddafa676b6617dcdd3cc94f459f7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4084910
Commit-Queue: Jonathan Hao <[email protected]>
Reviewed-by: Finnur Thorarinsson <[email protected]>
Reviewed-by: Bence Béky <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1080897}

--

wpt-commits: fb888b971d298f7dc1e64f008c80c3f659c0a5f7
wpt-pr: 37382
2022-12-12 11:38:45 +00:00
Dan Robertson be25081274 Bug 1796812 [wpt PR 36594] - fetch: fix blob.slice tests content-length assert, a=testonly
Automatic update from web-platform-tests
Fetch: fix blob.slice tests content-length assert

The content-length checks in the fetch blob.slice tests are not valid. Add content to the input blob to ensure that blob.slice does not sniff the content-type and fix the content-length check.
--

wpt-commits: 2d7b8179f353a4257e17e03bbc9a5250dcdad0c2
wpt-pr: 36594
2022-11-07 10:54:05 +00:00
sunil mayya 43122b0d9e Bug 1790311 - update WPT tests for request headers in XHR/Fetch. r=necko-reviewers,valentin
Depends on D157729

Differential Revision: https://phabricator.services.mozilla.com/D158257
2022-10-25 09:50:08 +00:00
Cristian Tuns e79c621ece Backed out changeset 4b82c5a227c7 (bug 1790311) for causing lint failures CLOSED TREE 2022-10-25 03:58:48 -04:00
sunil mayya 226f15954f Bug 1790311 - update WPT tests for request headers in XHR/Fetch. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D158257
2022-10-25 07:09:54 +00:00
Dan Robertson bc7a22f7b6 Bug 1793535 [wpt PR 36243] - Blob fetch with no type has an empty content type, a=testonly
Automatic update from web-platform-tests
Fetch: blob without type should have an empty Content-Type header

--

wpt-commits: 11d77695ed512d00b12b8c9f96a222782a744ddd
wpt-pr: 36243
2022-10-21 10:38:09 +00:00
Jake Archibald be1455051c Bug 1792178 [wpt PR 36048] - Request upload: test synchronous feature detect, a=testonly
Automatic update from web-platform-tests
Request upload: test synchronous feature detect

For https://github.com/whatwg/fetch/pull/1493.
--

wpt-commits: 9841e79d6f1301738125a2fbfbc6992c7b8ae366
wpt-pr: 36048
2022-10-12 11:08:15 +00:00
Norisz Fay 3a7109d26f Backed out 2 changesets (bug 1771423) for causing webcompat regressions CLOSED TREE
Backed out changeset c1d1be434427 (bug 1771423)
Backed out changeset 2b7d886f374f (bug 1771423)
2022-09-13 16:26:16 +03:00
Dan Robertson 44dce5054b Bug 1771423 - Add test for fetching empty blobs. r=kershaw,smaug
Differential Revision: https://phabricator.services.mozilla.com/D147568
2022-08-15 13:52:11 +00:00
Yutaka Hirano 47b9f24811 Bug 1777916 [wpt PR 34686] - Introduce RequestInit.duplex, a=testonly
Automatic update from web-platform-tests
Introduce RequestInit.duplex

This implements https://github.com/whatwg/fetch/pull/1457.

Bug: 1337696
Change-Id: I3fcf6f484dc922f5a875ed658adad33631d55115
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3740889
Commit-Queue: Yutaka Hirano <[email protected]>
Reviewed-by: Yoichi Osato <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1020764}

--

wpt-commits: 341bf2487ba47b9810a4dfa97752ffe57fa6894f
wpt-pr: 34686
2022-07-08 15:00:06 +00:00
Yutaka Hirano b339922185 Bug 1777917 [wpt PR 34687] - Disallow streaming upload on HTTP/1.1, a=testonly
Automatic update from web-platform-tests
Disallow streaming upload on HTTP/1.1

We decided not to allow the streaming upload feature on HTTP/1.1. Remove
the feature, and move tests accordingly.

See also: https://github.com/whatwg/fetch/issues/966

Bug: 688906
Change-Id: I4e616469aad2378495ad81ba9034ca034f8ab1b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3734308
Commit-Queue: Yutaka Hirano <[email protected]>
Reviewed-by: Sam McNally <[email protected]>
Reviewed-by: Yoichi Osato <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1020706}

--

wpt-commits: 86181156e33f7951394257ce678e998dd71a1b94
wpt-pr: 34687
2022-07-08 15:00:04 +00:00
Yutaka Hirano 0034125ea5 Bug 1775067 [wpt PR 34496] - Add tests for RequestInit.duplex, a=testonly
Automatic update from web-platform-tests
Fetch: tests for RequestInit's duplex

See https://github.com/whatwg/fetch/pull/1457 for context.
--

wpt-commits: a9b73f530b73d237b0512968715104c96631c22a
wpt-pr: 34496
2022-07-05 08:35:56 +00:00
Yutaka Hirano 89b0672732 Bug 1774120 [wpt PR 34418] - Fix streaming upload tests, a=testonly
Automatic update from web-platform-tests
Fix streaming upload tests

 - Streaming upload is disabled on HTTP/1.1. Move some tests to the
   h2 file.
 - Explicitly test that streaming upload is blocked on HTTP/1.1.

421 handling hasn't been implemented yet.

Also fix the implementation which blocked CORS requests unintentionally.

Change-Id: I8da8ea411ae6d55e2d7dfddc34f3da529651aa7f
Bug: 1234368
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3699531
Commit-Queue: Yutaka Hirano <[email protected]>
Reviewed-by: Yoichi Osato <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1014859}

--

wpt-commits: d387101095115f28446dbf2da77fb64dea697815
wpt-pr: 34418
2022-06-22 09:22:18 +00:00
Dan Robertson d36f78d8db Bug 1771256 [wpt PR 34213] - fetch: add tests for data and about:blank with a range request, a=testonly
Automatic update from web-platform-tests
Fetch: add tests for data: and about:blank with a range request

See https://github.com/whatwg/fetch/issues/1070 for context.
--

wpt-commits: 333c51b8d345b00b05854d9774b56bc95098f1c3
wpt-pr: 34213
2022-06-09 08:27:11 +00:00
Dan Robertson ad50b8dc63 Bug 1767903 [wpt PR 33941] - fetch: add test for fetch of empty blob, a=testonly
Automatic update from web-platform-tests
Fetch: add test for fetch of empty blob

Add test for fetch of a blob: URL without a backing blob.
--

wpt-commits: 23e7602b7784c758397308183f414bb99e0c622b
wpt-pr: 33941
2022-05-17 16:14:54 +00:00
Luca Casonato 5e213338e8 Bug 1754967 [wpt PR 32813] - Fetch: Response.body sometimes should be null, a=testonly
Automatic update from web-platform-tests
Fetch: Response.body should be null for some network responses (#32813)

--

wpt-commits: 0cc0ea7fadbcc2e1b534c49abdd17a19932d244f
wpt-pr: 32813
2022-03-07 14:49:28 +00:00
Anne van Kesteren 64a1e8aac1 Bug 1483486 [wpt PR 12490] - XHR: statusText when using H2, a=testonly
Automatic update from web-platform-tests
Fetch/XHR: statusText when using H2

Fixes #7274.
--

wpt-commits: 343538f38ce65dc0d0b446e00cc7f4eb38d4705e
wpt-pr: 12490
2021-10-05 12:49:14 +00:00
Jake Archibald 5c647e64b5 Bug 1723104 [wpt PR 29849] - Add tests for streaming upload feature detects, a=testonly
Automatic update from web-platform-tests
Add tests for streaming upload feature detects (#29849)

Discussed in https://github.com/whatwg/fetch/issues/1275
--

wpt-commits: fe6e8e875bc09f5f37bb610c81a698ee53c71739
wpt-pr: 29849
2021-08-06 09:42:34 +00:00
Luca Casonato 258e88bd56 Bug 1721076 [wpt PR 29698] - fetch: resp body shouldn't buffer if content-type is missing, a=testonly
Automatic update from web-platform-tests
Fetch: resp body shouldn't buffer if content-type is missing

--

wpt-commits: 6165b734019bc0b1fb91868f348ec7fc58543f99
wpt-pr: 29698
2021-07-29 10:45:21 +00:00
Luca Casonato cb1c9fa683 Bug 1715143 [wpt PR 29240] - fix: make fetch/api/ strict mode compatible, a=testonly
Automatic update from web-platform-tests
fix: make fetch/api/ strict mode compatible (#29240)

Co-authored-by: Philip Jägenstedt <[email protected]>
--

wpt-commits: 32407bdc0af28c317ee4f0a673f08090c5f4ecc0
wpt-pr: 29240
2021-06-15 05:08:37 +00:00
Yoichi Osato 6a1e0f0f01 Bug 1700847 [wpt PR 28236] - HTTP/2fy request-upload test around streaming, a=testonly
Automatic update from web-platform-tests
Have fetch streaming upload tests to run with HTTP/2 (#28236)

Move the test cases to request-upload.h2.any.js.

Whether we want to support streaming upload for HTTP/1.1 is
being discussed, and we may end up adding similar tests for
HTTP/1.1 later.
--

wpt-commits: 0573c1bd843d06def127be06833985b083213ada
wpt-pr: 28236
2021-04-24 15:47:21 +00:00
Yoichi Osato c75f8637eb Bug 1697728 [wpt PR 28020] - Add fetch test on HTTP 425 response., a=testonly
Automatic update from web-platform-tests
Add fetch test for HTTP 425 response

--

wpt-commits: 64a182a8939c07212846c32fa95cea80e67d1c5a
wpt-pr: 28020
2021-04-23 22:15:33 +00:00