W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2012

[whatwg] Add crossorigin attribute to SCRIPT tags

From: Robert Kieffer <broofa@fb.com>
Date: Thu, 1 Mar 2012 00:01:38 +0000
Message-ID: <CB73FC6C.11B43%broofa@fb.com>
For reasons documented in
https://bugzilla.mozilla.org/show_bug.cgi?id=696301, I?d like to propose
that support for the ?crossorigin? attribute be added to SCRIPT tags.

tl;dr - When applied to window.onerror information, the same-origin policy
makes it near-impossible to host script resources on a CDN, while
simultaneously using window.onerror to gather information about JS errors.

(fwiw, this issue also appears in
Received on Wednesday, 29 February 2012 16:01:38 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:40 UTC