-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow integrity attribute on rel=preload links #4699
Conversation
This is a document conformance change, so I don't think we usually require tests for this (although @sideshowbarker has been maintaining conformance checker tests). That said, if there are no tests for integrity="" on rel=preload yet, then we should indeed do those ASAP... |
@domfarolino so yeah, looking at the processing model @domenic is correct and HTML already enforces |
Ah, actually |
What are the next steps for getting this merged? Tests are WIP (branch here), and will land before Chrome's implementation, but not currently a blocker for the spec as Domenic and Anne have mentioned. The change seems pretty non-controversial. Currently it is technically blocking Blink's Intent to Implement and Ship, so I'm wondering if there's anything else I can do here? |
Ah, just realized I never made the |
I think we were being a little over-strict by using your document conformance change pull request as an opportunity to ask you to do processing-model tests. I agree processing-model tests should not be a document-conformance-PR blocker. But, hey, you did the tests anyway :). The WIP branch is good enough for me. I'll merge this now! |
heads-up @whatwg/documentation |
Documentation need recorded at https://trello.com/c/6YAMGL3B/132-html-link-element-fx-68 |
This PR "allows" the
integrity
attribute to be used by<link rel=preload>
s. Previously, theintegrity
attribute would only be considered for<link rel=stylesheet>
s, by spec. Link preloads, in this specification, use the default fetch and process the linked resource algorithm, so this should be the only change left.I am fine with adding support to
modulepreload
too, but I think that should be a separate PR, since this is tightly coupled with the consensus we have from the preload folks.Corresponding w3c/preload PR & issue: w3c/preload#127 & w3c/preload#137
/cc @kinu @nyaxt @yutakahirano
/semantics.html ( diff )