Closed Bug 2071485 Opened 2 months ago Closed 1 month ago

Speculation rules prefetch is not used for navigation when the prefetch is still in flight

Categories

(Core :: Networking, defect, P3)

defect

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: acreskey, Assigned: acreskey)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [necko-triaged][fxpe])

Attachments

(1 external file, 1 obsolete file)

When a navigation starts while a matching speculation rules prefetch is still ongoing, the navigation should wait for it to complete (up to a timeout) and be served from the prefetch record, per https://wicg.github.io/nav-speculation/prefetch.html#wait-for-a-matching-prefetch-record

Affected WPTs:

  • speculation-rules/prefetch/navigation-timing-requestStart-responseStart.https.html?include=waitingForResponse
  • speculation-rules/prefetch/navigation-timing-requestStart-responseStart.https.html?include=waitingForRedirect

Depends on Bug 2070841 since the slow executor responds with Cache-Control: no-store.

Blocks: 2037091
No longer blocks: 2037104
Depends on: 2073257
Attachment #9645232 - Attachment is obsolete: true
Attachment #9645279 - Attachment description: WIP: Bug 2071485 - WIP: Wait for an in-flight speculation rules prefetch before opening the navigation channel r?#necko-reviewers,sunil,avandolder,sning → Bug 2071485 - Wait for an in-flight speculation rules prefetch before opening the navigation channel r?#necko-reviewers,sunil,avandolder,sning
Blocks: 2076681
Blocks: 2080083
Blocks: 2080290
Pushed by acreskey@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6b751cd3b25d https://hg.mozilla.org/integration/autoland/rev/eaa2b5eee8f7 Wait for an in-flight speculation rules prefetch before opening the navigation channel r=necko-reviewers,sunil
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
Duplicate of this bug: 2076767
QA Whiteboard: [qa-triage-done-c161/b160]
See Also: → 2087644
See Also: → 2087664
See Also: → 2097452
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: