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

Unified Diff: LayoutTests/fast/dom/move-nodes-across-documents.html

Issue 374093002: Node.appendChild should throw TypeError when newChild is not an object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix layout test Created 6 years, 5 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/dom/move-nodes-across-documents.html
diff --git a/LayoutTests/fast/dom/move-nodes-across-documents.html b/LayoutTests/fast/dom/move-nodes-across-documents.html
index d3501a17db86c4ec860fb5f122c7d5cdae6f5a35..3881f049921b13dd3fb66fe6d7a52ec74af68583 100644
--- a/LayoutTests/fast/dom/move-nodes-across-documents.html
+++ b/LayoutTests/fast/dom/move-nodes-across-documents.html
@@ -179,7 +179,7 @@ function run()
runTest(function() {
iframeDoc.appendChild(document.doctype);
console.log(document.doctype);
- }, 'NotFoundError');
+ }, 'TypeError');
// When setting a boundary of the range in a different
// document, the call should succeed and the range should be collapsed.

Powered by Google App Engine
This is Rietveld 408576698