Index: LayoutTests/fast/dom/HTMLElement/insertAdjacentHTML-errors-expected.txt |
diff --git a/LayoutTests/fast/dom/HTMLElement/insertAdjacentHTML-errors-expected.txt b/LayoutTests/fast/dom/HTMLElement/insertAdjacentHTML-errors-expected.txt |
index 566ddfb1996351030901523027dd16de2fa26f4a..a67117123f29b3548e4657abfc09c92095dc7958 100644 |
--- a/LayoutTests/fast/dom/HTMLElement/insertAdjacentHTML-errors-expected.txt |
+++ b/LayoutTests/fast/dom/HTMLElement/insertAdjacentHTML-errors-expected.txt |
@@ -3,8 +3,8 @@ Test insertAdjacentHTML exceptions to make sure they match HTML5 |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS div.insertAdjacentHTML('beforeBegin', 'text') is undefined. |
-PASS div.insertAdjacentHTML('afterEnd', 'text') is undefined. |
+PASS div.insertAdjacentHTML('beforeBegin', 'text') threw exception NoModificationAllowedError: Failed to execute 'insertAdjacentHTML' on 'HTMLElement': The element has no parent.. |
+PASS div.insertAdjacentHTML('afterEnd', 'text') threw exception NoModificationAllowedError: Failed to execute 'insertAdjacentHTML' on 'HTMLElement': The element has no parent.. |
PASS div.insertAdjacentHTML('FOO', 'text') threw exception SyntaxError: Failed to execute 'insertAdjacentHTML' on 'HTMLElement': The value provided ('FOO') is not one of 'beforeBegin', 'afterBegin', 'beforeEnd', or 'afterEnd'.. |
PASS document.documentElement.insertAdjacentHTML('afterEnd', 'text') threw exception NoModificationAllowedError: Failed to execute 'insertAdjacentHTML' on 'HTMLElement': The element has no parent.. |
PASS successfullyParsed is true |