You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SRI: re-introduce the distinction between empty and invalid metadata
This commit reintroduces a distinction that used to exist in the spec
prior to 930ec20 (see #86 and #119).
As [discussed on the list](https://lists.w3.org/Archives/Public/public-webappsec/2015Aug/0006.html),
it helps developers catch mistakes by failing closed on CORS errors
when the `integrity` attribute is non-empty (an indication that the
developer meant to use SRI).
Prior to this commit, `integrity` attributes which consists of only
invalid metadata would fail open (silently load).
0 commit comments