[wpt-sync] Sync PR 48868 - Shared Storage: Support saved queries in selectURL
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox134 fixed)
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
138.36 KB,
text/plain
|
Details |
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/202Bug: 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}
Assignee | ||
Comment 1•6 days ago
|
||
Assignee | ||
Comment 2•6 days ago
|
||
Comment 4•5 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/be7ca250d630
https://hg.mozilla.org/mozilla-central/rev/a08dd1d30f2e
Description
•