W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

[DOMCore] argument name "interface" in Document.createEvent()

From: David Flanagan <dflanagan@mozilla.com>
Date: Wed, 15 Jun 2011 00:04:02 -0700
Message-ID: <4DF85962.6040708@mozilla.com>
To: www-dom@w3.org
The Document.createEvent() method is specified with an argument named 
"interface". When mechanically translated into JavaScript, this causes a 
syntax error, since "interface" is a reserved word in JavaScript.  (And 
presumably in WebIDL, as well).

How about changing it to eventInterfaceName?

Received on Wednesday, 15 June 2011 07:04:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:17 UTC