Issue Bug Rejected

#76944Subrequest-integrity should also add cross-origin header

Tim Riemenschneider 07/05/16, 16:03 updated 09/07/16, 16:20

Description

In Feature #66698 the integrity-property was added to PAGE.includeJS (and similar).

However (at least with newer chrome-versions) with this the resources are not loaded anymore, because a crossorigin attribute is required together with integrity, the error-log displays:
integrity-attr-needs-cross-origin-attr.png

Hacking the Pagerenderer solves this, see attached patch, which simpy adds ‘crossorigin=“anonymous”’. However even better would be to make that configurable.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.