Closed Bug 1992211 Opened 4 months ago Closed 3 months ago

[wpt-sync] Sync PR 55123 - Implement `fetchLater`

Categories

(Core :: DOM: Networking, task, P4)

task

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Tim van der Lippe <tvanderlippe@gmail.com> wrote:

Implement fetchLater

Allows fetches to be deferred, only in a secure context. It does not yet implement quota computation, since we don't have a concept of document quota yet.

Also update the fetch/api/idlharness test to run in a secure context, since this API is only available there.

Positive Mozilla position: https://github.com/mozilla/standards-positions/issues/703
Positive WebKit position: https://github.com/WebKit/standards-positions/issues/85

Closes whatwg/fetch#1858
Reviewed in servo/servo#39547

Component: web-platform-tests → DOM: Networking
Product: Testing → Core
Attached file Notable wpt changes
# CI Results Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 551 tests ## Status Summary ### Firefox `OK` : 5[GitHub] 508[Gecko-windows11-32-24h2-debug] 515[Gecko-linux2404-64-debug, Gecko-windows11-64-24h2-debug] 522[Gecko-android-em-14-x86_64-debug-geckoview] 529[Gecko-windows11-64-24h2-opt] 530[Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-opt] 532[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] `PASS` : 4[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 575[GitHub] 6832[Gecko-windows11-32-24h2-debug] 6879[Gecko-windows11-64-24h2-debug] 7024[Gecko-android-em-14-x86_64-debug-geckoview] 7104[Gecko-linux2404-64-debug] 7138[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 7155[Gecko-windows11-32-24h2-opt] 7157[Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-opt] `FAIL` : 65[GitHub] 492[Gecko-windows11-32-24h2-debug] 504[Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug] 508[Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-opt] 510[Gecko-linux2404-64-debug] 513[Gecko-android-em-14-x86_64-debug-geckoview] 515[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] `TIMEOUT`: 1[Gecko-windows11-32-24h2-debug] 2[Gecko-android-em-14-x86_64-debug-geckoview] `ERROR` : 2[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 3[Gecko-linux2404-64-debug] 4[Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug] 5[Gecko-linux2404-64-opt] 6[Gecko-windows11-32-24h2-debug, Gecko-windows11-64-24h2-opt] `NOTRUN` : 2 ### Chrome `OK` : 5 `PASS` : 631 `FAIL` : 9 ### Safari `OK` : 5 `PASS` : 583 `FAIL` : 57 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=1211503132eb1fc0192779a804b4914c2dc32a4c) [GitHub PR Head](https://wpt.fyi/results/?sha=42cec49d67a63f6222665f2d65de0428156ca045&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=42cec49d67a63f6222665f2d65de0428156ca045&label=pr_base) ## Details ### Firefox-only Failures * [/fetch/api/idlharness.https.any.html](https://wpt.live/fetch/api/idlharness.https.any.html) [[wpt.fyi](https://wpt.fyi/results/fetch/api/idlharness.https.any.html)] * Request interface: attribute body: `FAIL` * Request interface: new Request('about:blank') must inherit property "body" with the proper type: `FAIL` * [/fetch/api/idlharness.https.any.sharedworker.html](https://wpt.live/fetch/api/idlharness.https.any.sharedworker.html) [[wpt.fyi](https://wpt.fyi/results/fetch/api/idlharness.https.any.sharedworker.html)] * Request interface: attribute body: `FAIL` * Request interface: new Request('about:blank') must inherit property "body" with the proper type: `FAIL` * [/fetch/api/idlharness.https.any.serviceworker.html](https://wpt.live/fetch/api/idlharness.https.any.serviceworker.html) [[wpt.fyi](https://wpt.fyi/results/fetch/api/idlharness.https.any.serviceworker.html)] * Request interface: attribute body: `FAIL` * Request interface: new Request('about:blank') must inherit property "body" with the proper type: `FAIL` * [/fetch/api/idlharness.https.any.worker.html](https://wpt.live/fetch/api/idlharness.https.any.worker.html) [[wpt.fyi](https://wpt.fyi/results/fetch/api/idlharness.https.any.worker.html)] * Request interface: attribute body: `FAIL` * Request interface: new Request('about:blank') must inherit property "body" with the proper type: `FAIL` (See attachment for full changes)
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: