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

[whatwg] Add crossorigin attribute to SCRIPT tags

From: Pablo Flouret <pablof@motorola.com>
Date: Fri, 16 Mar 2012 18:13:44 -0700
Message-ID: <op.wbai06teblozfe@berserk.local>
Bump?

Gecko's patch seems to have landed and there's a patch for webkit waiting  
for review [1].

I believe the consensus in the bugs is for it to work just like it does  
for img.

Any thoughts?

Cheers,

/pf

[1] https://bugs.webkit.org/show_bug.cgi?id=81438 (just for the  
crossorigin attribute, the error sanitation part of robert's feature  
request is still pending).

On Wed, 29 Feb 2012 16:01:38 -0800, Robert Kieffer <broofa at fb.com> wrote:

> 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
> https://bugs.webkit.org/show_bug.cgi?id=70574)
>


-- 
pablo flouret
motorola | webkit / browser team
Received on Friday, 16 March 2012 18:13:44 UTC

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