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

[whatwg] Support for <script crossorigin>

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 28 Aug 2012 14:08:24 -0400
Message-ID: <503D0918.1010203@mit.edu>
To: whatwg <whatwg@whatwg.org>
Both Gecko and WebKit support <script crossorigin> and allow it to 
affect whether window.onerror reports are sanitized for cross-site 
scripts.  This allows window.onerror to apply usefully to scripts from a 
CDN.

There was mention of this on this list a while ago, but the spec still 
doesn't say anything about it.  Should it?

I believe there's both an attribute and an IDL property here.

-Boris
Received on Tuesday, 28 August 2012 18:08:56 UTC

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