- From: Anne van Kesteren <annevk@opera.com>
- Date: Mon, 28 May 2012 16:39:11 +0200
- To: "public-device-apis@w3.org" <public-device-apis@w3.org>, anssi.kostiainen@nokia.com, "Marcos Caceres" <marcosscaceres@gmail.com>
On Mon, 28 May 2012 13:25:42 +0200, Marcos Caceres <marcosscaceres@gmail.com> wrote: > While on other event handlers idl attributes (e.g., onload, onclick, > etc.), the following works just fine: > > window.onload = {handleEvent: function(e){console.log(e)}} > window.onclick = {handleEvent: function(e){console.log(e)}} "[J]ust fine" is an overstatement. It works in Chrome (which is a bug) and it does not work in Opera and Firefox. -- Anne van Kesteren http://annevankesteren.nl/
Received on Monday, 28 May 2012 14:39:50 UTC