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

Re: XMLDocument and Document.location and WebIDL spec don't play nice together

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 11 Dec 2012 21:55:07 -0500
Message-ID: <50C7F20B.4030500@mit.edu>
To: Cameron McCormack <cam@mcc.id.au>
CC: "public-script-coord@w3.org" <public-script-coord@w3.org>, Anne van Kesteren <annevk@annevk.nl>
On 12/11/12 9:37 PM, Cameron McCormack wrote:
> But since it's probably not a good idea anyway to be overriding IDL
> attributes on inheriting interfaces, I don't see a real problem with
> lifting the restriction.  I've replaced the restriction with a
> requirement that inheriting interfaces don't declare an attribute with
> the same identifier:
>
> http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.589;r2=1.590;f=h

Thanks!

I think the new restriction should probably be:

   If an interface inherits from another interface that has an
   [Unforgeable]-annotated attribute, then it and all its consequential
   interfaces MUST NOT have an attribute with the same identifier.

Does that make sense?

-Boris
Received on Wednesday, 12 December 2012 02:55:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:08 UTC