[whatwg] Exposing EventTarget to JavaScript

Kristof Zelechovski giecrilj at stegny.2a.pl
Fri Apr 24 10:17:30 PDT 2009


As a reminder, the syntax {new Option()} (Netscape DOM) is deprecated to the
syntax {document.createElement("OPTION")} (W3C DOM).  The requested syntax
{new Event()} would be inconsistent with that design decision.  OTOH, the
syntax {new XMLHTTPRequest()} has already been adopted, perhaps because
{document.createXMLHTTPRequest()} would be too specific?
A bit confused,
Chris





More information about the whatwg mailing list