W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

Re: Interaction of dictionaries and platform objects is a bit weird

From: Ojan Vafai <ojan@chromium.org>
Date: Mon, 22 Oct 2012 22:26:32 -0700
Message-ID: <CANMdWTukui440LtwVVpg648Wt=2=P06Biz-GU03vsgg5-ToCKw@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: "public-script-coord@w3.org" <public-script-coord@w3.org>
On Mon, Oct 22, 2012 at 8:06 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 10/22/12 9:18 PM, Ojan Vafai wrote:
>> A somewhat related issue is that there's no way for a developer to know
>> whether the object being passed in is a dictionary or an object that is
>> actually held onto.
> Well, short of looking at the IDL for the method they're calling and then
> following the link to the definition of the identifier used for the
> argument in that idl to see whether it's a dictionary or a callback
> interface, right?

Right. I don't think web developers should be expected to find the spec and
understand the subtleties of webidl. I suppose documentation like MDN can
fill this gap fairly well though. Maybe it's not that big of a deal.
Received on Tuesday, 23 October 2012 05:27:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:07 UTC