v150 · Performance
Speculation Inspector
Press the button to call the real performance.getSpeculations() and inspect the object it returns — the page's preconnects, preloads, navigations, and navigationDestinationURL. This page ships two real preload links, so an enabled implementation has something to report.
performance.getSpeculations: checking…
Live result
Press the button to read this page's speculations.
Documented return shape
reference — not a live result// One call returns everything the page speculatively loaded:
const s = performance.getSpeculations();
s.preconnects; // [{ origin, crossorigin, earlyhint }]
s.preloads; // [{ url, as, crossorigin, earlyhint, used }] used = timestamp | null
s.navigations; // [{ type, url, tags, eagerness }] type: prefetch | prerender | prerender-until-script
s.navigationDestinationURL; // same-origin destination when exposed, else null (exposure shape is provisional in the explainer)
see also
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗