W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

Re: Forbid constants on [noInterfaceObject] interfaces

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 31 Jul 2013 10:13:39 -0700
Message-ID: <51F945C3.7080703@mit.edu>
To: David Bruant <bruant.d@gmail.com>
CC: "public-script-coord@w3.org" <public-script-coord@w3.org>
On 7/31/13 9:43 AM, David Bruant wrote:
> given how they promote the feature [1] (see code snippets in the
> article, it has both "PERSISTENT" and window.TEMPORARY), I doubt this is
> a bug.

It's a bug if merely having [NoInterfaceObject] on an interface causes 
its constants to end up on the global.  That's just not what the spec 
says to do.  If Chrome's binding generator has this behavior, it should 
be fixed.

If, on the other hand, Chrome just unilaterally added some constants on 
Window... well, that's really unfortunate, but not a WebIDL issue.

> Worse, I doubt this can be changed.

Again, that just seems like something for the Window spec and bug 
reports to Chrome and other UAs, not an issue with WebIDL per se.

Received on Wednesday, 31 July 2013 17:14:10 UTC

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