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

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

From: Simon Pieters <simonp@opera.com>
Date: Mon, 11 Mar 2013 11:50:31 +0100
To: "Oliver Hunt" <oliver@apple.com>, "Elliott Sprehn" <esprehn@chromium.org>
Message-ID: <op.wtr22h1aidj3kv@simons-macbook-pro.local>
Cc: whatwg@lists.whatwg.org, nathan.f77@gmail.com, Garrett Smith <dhtmlkitchen@gmail.com>
On Tue, 05 Feb 2013 08:20:27 +0100, Elliott Sprehn <esprehn@chromium.org>  
wrote:

> On Mon, Feb 4, 2013 at 5:44 PM, Oliver Hunt <oliver@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
Received on Monday, 11 March 2013 10:51:21 GMT

This archive was generated by hypermail 2.3.1 : Monday, 11 March 2013 10:51:21 GMT