Re: Error Object, Stack, and Parking Garages

On 8/11/11, Boris Zbarsky <> wrote:
> On 8/12/11 12:12 AM, Garrett Smith wrote:
>> When a script/DOM error occurs, the callback fires. The callback can
>> access the callstack, message, and error from the error event.
> Subject to security restrictions when cross-origin scripts are involved,
> just like the onerror handler is, yes?

Such that given a site on, you have <script src="//"></script>?

If so, would it be safe to generate a content-type error: "script
error from Wrong content-type." - ?

Received on Saturday, 13 August 2011 03:15:10 UTC