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

Unified Diff: LayoutTests/fast/events/mutation-during-replace-child.html

Issue 24982002: Clean up ContainerNode exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline. 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-replace-child.html
diff --git a/LayoutTests/fast/events/mutation-during-replace-child.html b/LayoutTests/fast/events/mutation-during-replace-child.html
index 543c68aafcdc6014912a99751fa137523b604118..304ddb36684b337a50a568b5b3a980e86637d862 100644
--- a/LayoutTests/fast/events/mutation-during-replace-child.html
+++ b/LayoutTests/fast/events/mutation-during-replace-child.html
@@ -24,7 +24,7 @@ function handler(){
newChild.appendChild(target);
}
document.addEventListener("DOMNodeRemoved", handler, false);
-shouldThrow("target.replaceChild(newChild, oldChild);", '"HierarchyRequestError: Failed to execute \'replaceChild\' on \'ContainerNode\': The new child element contains the parent."');
+shouldThrow("target.replaceChild(newChild, oldChild);", '"HierarchyRequestError: Failed to execute \'replaceChild\' on \'Node\': 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