Skip to content

Commit

Permalink
Update interfaces/dom.idl (#21171)
Browse files Browse the repository at this point in the history
  • Loading branch information
autofoolip authored and stephenmcgruer committed Jan 15, 2020
1 parent 7a622eb commit cda9952
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interfaces/dom.idl
Expand Up @@ -52,7 +52,7 @@ interface CustomEvent : Event {

readonly attribute any detail;

void initCustomEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any detail = null);
void initCustomEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any detail = null); // historical
};

dictionary CustomEventInit : EventInit {
Expand Down Expand Up @@ -289,7 +289,7 @@ interface Document : Node {
[NewObject] Attr createAttribute(DOMString localName);
[NewObject] Attr createAttributeNS(DOMString? namespace, DOMString qualifiedName);

[NewObject] Event createEvent(DOMString interface);
[NewObject] Event createEvent(DOMString interface); // historical

[NewObject] Range createRange();

Expand Down

0 comments on commit cda9952

Please sign in to comment.