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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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-2.html
diff --git a/LayoutTests/fast/events/mutation-during-replace-child-2.html b/LayoutTests/fast/events/mutation-during-replace-child-2.html
index b44b27141b4d9c396b40158ee299391afa422387..ab71d2c75bc46f4e652aa4ed2c5cbd08cc30cf5e 100644
--- a/LayoutTests/fast/events/mutation-during-replace-child-2.html
+++ b/LayoutTests/fast/events/mutation-during-replace-child-2.html
@@ -28,7 +28,7 @@ function handler(){
newChild.appendChild(target);
}
document.addEventListener("DOMNodeRemoved", handler, false);
-shouldThrow("target.replaceChild(newChild, oldChild);", "'Error: HierarchyRequestError: DOM Exception 3'");
+shouldThrow("target.replaceChild(newChild, oldChild);", "'HierarchyRequestError: A Node was inserted somewhere it doesn\\'t belong.'");
</script>
<script src="../js/resources/js-test-post.js"></script>
</body>

Powered by Google App Engine
This is Rietveld 408576698