diff options
-rw-r--r-- | components/script/dom/webidls/Element.webidl | 2 | ||||
-rw-r--r-- | tests/wpt/metadata/custom-elements/reactions/Element.html.ini | 6 |
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 - |