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

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

Issue 22880019: [DOM4] Doctypes now always have a node document and can be moved across document boundaries (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Improve tests Created 7 years, 4 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 58eb3da30b5b9d6e2e0d77bc26831cdb3d51af2f..d3501a17db86c4ec860fb5f122c7d5cdae6f5a35 100644
--- a/LayoutTests/fast/dom/move-nodes-across-documents.html
+++ b/LayoutTests/fast/dom/move-nodes-across-documents.html
@@ -168,7 +168,7 @@ function run()
});
runTest(function() {
iframeDoc.implementation.createDocument('', 'html', document.doctype);
- }, 'WrongDocumentError');
+ });
runTest(function() {
rangeInIframe().compareBoundaryPoints(Range.END_TO_END, rangeInCurrentDocument());
}, 'WrongDocumentError');
@@ -179,7 +179,7 @@ function run()
runTest(function() {
iframeDoc.appendChild(document.doctype);
console.log(document.doctype);
- }, 'HierarchyRequestError');
+ }, 'NotFoundError');
// 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