W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [DOMCore] fire and dispatch

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 1 Mar 2011 00:59:59 -0800
Message-ID: <AANLkTik8RYsODkbj2BaXbtxpyro1Q5-VJqP9g-BXmBFG@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: Anne van Kesteren <annevk@opera.com>, Aaron Boodman <aa@chromium.org>, Garrett Smith <dhtmlkitchen@gmail.com>, WebApps WG <public-webapps@w3.org>
On Tue, Mar 1, 2011 at 12:48 AM, Ojan Vafai <ojan@chromium.org> wrote:
> On Tue, Mar 1, 2011 at 7:23 PM, Anne van Kesteren <annevk@opera.com> wrote:
>>
>> On Tue, 01 Mar 2011 09:00:27 +0100, Garrett Smith <dhtmlkitchen@gmail.com>
>> wrote:
>>>
>>> Mouse.click(document.body, {clientX : 10});
>>
>> Yeah, that would be simpler. However, we do not really have this pattern
>> anywhere in browser APIs and I believe last time we played with objects (for
>> namespace support querySelector or some such) it was deemed problematic.
>
> The Chromium extension APIs use this pattern and I think it's gone over well
> in that space. For example,
> see chrome.contextMenus.create at http://code.google.com/chrome/extensions/contextMenus.html.
> I don't see a problem with beginning to introduce this into web APIs, but it
> would be a departure from existing APIs.

We're also using it in IndexedDB, though I don't think this has gotten
into the spec drafts yet. But it is in the firefox implementation and
I *think* in the chrome implementation.

/ Jonas
Received on Tuesday, 1 March 2011 09:01:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT