[whatwg] Proposal: Add window.getLastError (or modify invocation arguments of window.onerror)

Simon Pieters simonp at opera.com
Mon Mar 11 03:50:31 PDT 2013


On Tue, 05 Feb 2013 08:20:27 +0100, Elliott Sprehn <esprehn at chromium.org>  
wrote:

> On Mon, Feb 4, 2013 at 5:44 PM, Oliver Hunt <oliver at apple.com> wrote:
>
>> ...
>> That's tricky - what is your "stack trace"?  You can very easily end up
>> leaking private information across frames.
>>
>>
> window.onerror is triggered across non-same origin frames?

Yes, but always with these arguments:

"Script error.", "", 0, 0

-- 
Simon Pieters
Opera Software


More information about the whatwg mailing list