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

Unified Diff: LayoutTests/fast/events/mutation-during-append-child.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-append-child.html
diff --git a/LayoutTests/fast/events/mutation-during-append-child.html b/LayoutTests/fast/events/mutation-during-append-child.html
index ca71a4d22fe8b2c6a9a8a3c8cdf7b51e4851b6e5..27732a706bba17add2d1bcbe00d4abc78d031bf5 100644
--- a/LayoutTests/fast/events/mutation-during-append-child.html
+++ b/LayoutTests/fast/events/mutation-during-append-child.html
@@ -16,7 +16,7 @@ var listener = function() {
child.appendChild(newparent);
};
document.addEventListener("DOMNodeRemoved", listener, false);
-shouldThrow("newparent.appendChild(child);", "'Error: HierarchyRequestError: DOM Exception 3'");
+shouldThrow("newparent.appendChild(child);", "'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