html icon indicating copy to clipboard operation
html copied to clipboard

Add external <script type=speculationrules>

Open vickiez opened this issue 3 months ago • 0 comments

Add external

Allows a speculation rules script element to have a src pointing to a file of speculation rules, enabling developers to easily reuse a set of speculation rules across HTML documents.

https://github.com/WICG/nav-speculation/issues/348

Spec changes:


  • [ ] At least two implementers are interested (and none opposed):
  • [ ] Tests are written and can be reviewed and commented upon at:
  • [ ] Implementation bugs are filed:
    • Chromium: https://issues.chromium.org/issues/40170951
    • Gecko: …
    • WebKit: …
    • Deno (only for timers, structured clone, base64 utils, channel messaging, module resolution, web workers, and web storage): …
    • Node.js (only for timers, structured clone, base64 utils, channel messaging, and module resolution): …
  • [ ] Corresponding HTML AAM & ARIA in HTML issues & PRs:
  • [ ] MDN issue is filed: …
  • [ ] The top of this comment includes a clear commit message to use.

(See WHATWG Working Mode: Changes for more details.)


/scripting.html ( diff ) /speculative-loading.html ( diff ) /webappapis.html ( diff )

vickiez avatar Sep 24 '25 21:09 vickiez