Bug 1414317 - Add [CEReactions] to document.createElement and document.createElementNS; r=smaug
authorEdgar Chen <echen@mozilla.com>
Sat, 04 Nov 2017 00:32:05 +0800
changeset 443620 46ebff3824d4abf7b8233ad3e5c491b7dad7f1bb
parent 443619 a156ab11569b74871f52e2e7024af0efbc182f0c
child 443621 5ed21ce36c1ba7918b8163a14c692b382eb4d95b
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1414317
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1414317 - Add [CEReactions] to document.createElement and document.createElementNS; r=smaug Per https://github.com/w3c/webcomponents/issues/570. MozReview-Commit-ID: 610lZlF6QXg
dom/webidl/Document.webidl
--- a/dom/webidl/Document.webidl
+++ b/dom/webidl/Document.webidl
@@ -50,19 +50,19 @@ interface Document : Node {
   HTMLCollection getElementsByTagName(DOMString localName);
   [Pure, Throws]
   HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);
   [Pure]
   HTMLCollection getElementsByClassName(DOMString classNames);
   [Pure]
   Element? getElementById(DOMString elementId);
 
-  [NewObject, Throws]
+  [CEReactions, NewObject, Throws]
   Element createElement(DOMString localName, optional (ElementCreationOptions or DOMString) options);
-  [NewObject, Throws]
+  [CEReactions, NewObject, Throws]
   Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional (ElementCreationOptions or DOMString) options);
   [NewObject]
   DocumentFragment createDocumentFragment();
   [NewObject]
   Text createTextNode(DOMString data);
   [NewObject]
   Comment createComment(DOMString data);
   [NewObject, Throws]