[webkit-dev] WebIDL implementation plans (was: Re: Multiple inheritance in the DOM)
Glenn Adams
glenn at skynav.com
Fri Jan 25 11:28:13 PST 2013
On Fri, Jan 25, 2013 at 10:14 AM, Adam Barth <abarth at webkit.org> wrote:
> There's no experiment that you can run using web content to detect
> whether we implement WebIDL. All you can detect is whether we
> implement particular specifications that use WebIDL. We can just
> simply not implement the specifications that require COM-like
> implementations and we can continue to lead a happy life.
>
Speaking of implementing WebIDL (in the context of a spec that normatively
requires its support, e.g., CSSOM), what is your position on whether WK
will/should support the following? In the test at [1], neither of these are
currently supported, or at least don't yield expected results.
WebIDL 4.4.1 [2] states:
The interface object for a given non-callback
interface<http://dev.w3.org/2006/webapi/WebIDL/#dfn-interface> is
a function object<http://dev.w3.org/2006/webapi/WebIDL/#dfn-function-object>
.
WebIDL 4.4.3 [3] states:
If the [NoInterfaceObject]<http://dev.w3.org/2006/webapi/WebIDL/#NoInterfaceObject>
extended
attribute was not specified on the interface, then the interface prototype
object must also have a property named “constructor” with attributes
{ [[Writable]]:true, [[Enumerable]]: false, [[Configurable]]: true } whose
value is a reference to the interface object for the interface.
[1]
http://hg.csswg.org/test/raw-file/3d8f9c12b1c8/contributors/gadams/incoming/cssom/cssstylerule-interface.xht
[2] http://dev.w3.org/2006/webapi/WebIDL/#interface-object
[3] http://dev.w3.org/2006/webapi/WebIDL/#interface-prototype-object
Regards,
Glenn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130125/13d305bd/attachment-0001.html>
More information about the webkit-dev
mailing list