- From: Simon Pieters <simonp@opera.com>
- Date: Mon, 12 Mar 2012 08:24:41 +0100
- To: "Anne van Kesteren" <annevk@opera.com>, "Cameron McCormack" <cam@mcc.id.au>
- Cc: "Marcos Caceres" <w3c@marcosc.com>, public-script-coord@w3.org, "Boris Zbarsky" <bzbarsky@mit.edu>
On Mon, 12 Mar 2012 01:27:19 +0100, Cameron McCormack <cam@mcc.id.au> wrote: > callback ErrorEventHandlerCallback = any (Event event, DOMString > source, unsigned long lineno, unsigned long column); > typedef [TreatNonCallableAsNull] ErrorEventHandlerCallback? > ErrorEventHandler; > [TreatNonCallableAsNull] > callback ErrorEventHandler = any (Event event, DOMString source, > unsigned long lineno, unsigned long column); window.onerror gets invoked with a DOMString as the first argument. However, if an error event is fired on or bubbles up to window, there will only be one argument, an Event (or something that inherits from Event). -- Simon Pieters Opera Software
Received on Monday, 12 March 2012 07:25:32 UTC