Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: LayoutTests/fast/dom/HTMLElement/insertAdjacentHTML-errors-expected.txt

Issue 110383002: Throw DOM exception in insertAdjacentHTML if context becomes null (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLElement/script-tests/insertAdjacentHTML-errors.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLElement/script-tests/insertAdjacentHTML-errors.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698