Skip to content
Browse files

Auto merge of #18382 - servo:jdm-patch-1, r=cbrewster

Add CEReactions to element creation APIs.

This addresses whatwg/dom#506.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because they will exist upstream in the future.

<!-- Reviewable:start -->
This change is [<img src="" height="34" align="absmiddle" alt="Reviewable"/>](
<!-- Reviewable:end -->
  • Loading branch information...
bors-servo committed Sep 6, 2017
2 parents 9802214 + 90ff099 commit 4ada03febf2ecdae8220f174a80d22a49a232c5f
Showing with 2 additions and 2 deletions.
  1. +2 −2 components/script/dom/webidls/Document.webidl
@@ -32,9 +32,9 @@ interface Document : Node {
HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString qualifiedName);
HTMLCollection getElementsByClassName(DOMString classNames);

[NewObject, Throws]
[CEReactions, NewObject, Throws]
Element createElement(DOMString localName, optional ElementCreationOptions options);
[NewObject, Throws]
[CEReactions, NewObject, Throws]
Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional ElementCreationOptions options);
DocumentFragment createDocumentFragment();

0 comments on commit 4ada03f

Please sign in to comment.
You can’t perform that action at this time.