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

Unified Diff: LayoutTests/fast/events/mutation-during-insert-before.html

Issue 23889039: Improve 'ContainerNode' exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 3 months 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
Index: LayoutTests/fast/events/mutation-during-insert-before.html
diff --git a/LayoutTests/fast/events/mutation-during-insert-before.html b/LayoutTests/fast/events/mutation-during-insert-before.html
index ff964d591ec6b938bc5e0501ebfa58e3d8d2da2b..2fae6b6fd350e7ff7390688c9117114f29b08eff 100644
--- a/LayoutTests/fast/events/mutation-during-insert-before.html
+++ b/LayoutTests/fast/events/mutation-during-insert-before.html
@@ -16,7 +16,7 @@ var listener = function() {
child.appendChild(newparent);
};
document.addEventListener("DOMNodeRemoved", listener, false);
-shouldThrow("newparent.insertBefore(child, beforeChild);", "'HierarchyRequestError: A Node was inserted somewhere it doesn\\'t belong.'");
+shouldThrow("newparent.insertBefore(child, beforeChild);", '"HierarchyRequestError: Failed to execute \'insertBefore\' on \'ContainerNode\': The new child element contains the parent."');
</script>
<script src="../js/resources/js-test-post.js"></script>
</body>

Powered by Google App Engine
This is Rietveld 408576698