Closed Bug 1927941 Opened 6 days ago Closed 5 days ago

[wpt-sync] Sync PR 48868 - Shared Storage: Support saved queries in selectURL

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox134 fixed)

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Camillia Smith Barnes <cammie@chromium.org> wrote:

Shared Storage: Support saved queries in selectURL

We add support for saved queries, keyed by
(data_origin, script_url, operation_name, query_name).

When a named query is first invoked, the per page budgets are charged
as usual, the index result is stored for later in case the query is
reused from the same page.

On query reuse, the previously calculated and stored index result
will be used to select the URL at that index in the current list, and
the per page budgets will not be re-charged.

When the page is destroyed, all associated saved queries are also
destroyed.

See explainer update at
https://github.com/WICG/shared-storage/pull/176
and spec updates at
https://github.com/WICG/shared-storage/pull/188
https://github.com/WICG/shared-storage/pull/202

Bug: 367440966
Change-Id: I89fd7e65cd14c9d60d6ac53906f95593a2259a37
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5868889
Reviewed-by: Ken Buchanan \<kenrb@chromium.org>
Reviewed-by: Yao Xiao \<yaoxia@chromium.org>
Commit-Queue: Cammie Smith Barnes \<cammie@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1375507}

Attached file Notable wpt changes
# CI Results Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 90 tests and 1 subtests ## Status Summary ### Firefox `OK` : 14[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] 56[GitHub] `PASS` : 10 `FAIL` : 39[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] 145[GitHub] `TIMEOUT`: 2[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] 70[GitHub] `ERROR` : 6 `NOTRUN` : 10 ### Chrome `OK` : 33 `PASS` : 22 `FAIL` : 48 `TIMEOUT`: 121 `ERROR` : 4 `NOTRUN` : 69 ### Safari `OK` : 56 `PASS` : 10 `FAIL` : 145 `TIMEOUT`: 71 `ERROR` : 5 `NOTRUN` : 10 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=1a2e7795b7339857388acead2ac12bf23ccb0837) [GitHub PR Head](https://wpt.fyi/results/?sha=7c4551ae4d632dad4b9e66a4b2a68de590f572a5&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=7c4551ae4d632dad4b9e66a4b2a68de590f572a5&label=pr_base) ## Details (See attachment for full changes)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/be7ca250d630 [wpt PR 48868] - Shared Storage: Support saved queries in selectURL, a=testonly https://hg.mozilla.org/integration/autoland/rev/a08dd1d30f2e [wpt PR 48868] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: