This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The 7.4 Fetching Import section states "All imports ... must be loaded using the fetching algorithm with request's origin set to the origin of the master docment [SIC], the mode to CORS and the omit credentials mode to CORS." Why is the <link> crossOrigin attribute[1] not respected here? This would allow non-anonymous imports, for example. [1] http://www.w3.org/html/wg/drafts/html/master/single-page.html#attr-link-media
This seems a reasonable addition.
...but turns out this is a bit tricky. That's because cross-origin handling for imports is different from other resources. We have to touch the definition of CORS setting attribute [1] so that referring side can override the value of omitted case. [1] http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#cors-settings-attribute
Moved to https://github.com/w3c/webcomponents/issues/216