aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConnor Brewster <connor.brewster@eagles.oc.edu>2017-08-18 13:59:53 -0500
committerConnor Brewster <connor.brewster@eagles.oc.edu>2017-08-18 13:59:53 -0500
commit9c6292f29403dbb2b4c5eb7affb9375160184465 (patch)
tree17befe939babe954284e2c6ec7ea30a3097b082d
parentf6a42ed9c17d0586860ead8a2e0663deb8d9621c (diff)
downloadservo-9c6292f29403dbb2b4c5eb7affb9375160184465.tar.gz
servo-9c6292f29403dbb2b4c5eb7affb9375160184465.zip
Annotate insertAdjacentHTML with CEReactions
-rw-r--r--components/script/dom/webidls/Element.webidl2
-rw-r--r--tests/wpt/metadata/custom-elements/reactions/Element.html.ini6
2 files changed, 1 insertions, 7 deletions
diff --git a/components/script/dom/webidls/Element.webidl b/components/script/dom/webidls/Element.webidl
index 76aebda7e13..5233bcf2cc9 100644
--- a/components/script/dom/webidls/Element.webidl
+++ b/components/script/dom/webidls/Element.webidl
@@ -77,7 +77,7 @@ interface Element : Node {
Element? insertAdjacentElement(DOMString where_, Element element); // historical
[Throws]
void insertAdjacentText(DOMString where_, DOMString data);
- [Throws]
+ [CEReactions, Throws]
void insertAdjacentHTML(DOMString position, DOMString html);
};
diff --git a/tests/wpt/metadata/custom-elements/reactions/Element.html.ini b/tests/wpt/metadata/custom-elements/reactions/Element.html.ini
index 6efc95e4d19..89e0c322ef1 100644
--- a/tests/wpt/metadata/custom-elements/reactions/Element.html.ini
+++ b/tests/wpt/metadata/custom-elements/reactions/Element.html.ini
@@ -6,9 +6,3 @@
[slot on Element must enqueue an attributeChanged reaction when replacing an existing attribute]
expected: FAIL
- [insertAdjacentHTML on Element must enqueue a connected reaction for a newly constructed custom element]
- expected: FAIL
-
- [insertAdjacentHTML on Element must enqueue a attributeChanged reaction for a newly constructed custom element]
- expected: FAIL
-