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

[clipboard] typo in WebIDL

From: Dominique Hazael-Massieux <dom@hazael-massieux.fr>
Date: Wed, 18 Sep 2013 10:52:50 +0200
Message-ID: <1379494370.3439.13.camel@cumulustier>
To: public-webapps@w3.org
Hi,

While parsing en-masse some of the IDLs in JavaScript APIs out there, I
stumbled upon an incorrect IDL in
http://dev.w3.org/2006/webapi/clipops/clipops.html#dictionary-clipboardeventinit-members

Dictionary members are not declared with the "attribute" keyword.

So
        dictionary ClipboardEventInit : EventInit {
            attribute DOMString data;
            attribute DOMString dataType;
        };
should read instead
        dictionary ClipboardEventInit : EventInit {
            DOMString data;
            DOMString dataType;
        };
        
HTH,

Dom
Received on Wednesday, 18 September 2013 08:53:32 UTC

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