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

Re: [whatwg] Spec for handling runtime script errors doesn't seem to match reality

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 12 Nov 2012 16:17:28 -0800
Message-ID: <50A19198.8040606@mit.edu>
To: whatwg@lists.whatwg.org
Cc: "olli@pettay.fi" <olli@pettay.fi>
On 11/12/12 11:48 AM, Boris Zbarsky wrote:
> So I did a bit more experimenting, and at first glance when the function
> runs, even though the function's global is actually window A the "this"
> object seems to be set to window B... _That_'s not specced anywhere
> either, afaict.

And in fact what the spec said was both ambiguous and not matching reality.

I filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=19947 about the 
"this" issue.  Still looking into what IE does in terms of which onerror 
handler is called.

Received on Tuesday, 13 November 2012 00:18:00 UTC

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