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

Unified Diff: LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.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: Add missing test 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/DOMImplementation/resources/createDocument-with-used-doctype-frame.html
diff --git a/LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html b/LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html
index e0e7e6795d7a891fb243760f4207c63517f5c85d..1b21d00406b637c8e2451735b22acc1f952bf186 100644
--- a/LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html
+++ b/LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html
@@ -6,12 +6,9 @@ FAIL (Script did not run);
document.body.textContent = "FAIL";
try {
document.implementation.createDocument(null, null, document.doctype);
- document.body.textContent = "FAIL (no exception)";
+ document.body.textContent = "PASS";
arv (Not doing code reviews) 2013/08/20 14:38:11 Are we moving (and adopting) the doctype to the ne
do-not-use 2013/08/20 15:00:38 Yes, we move an adopt the docType to the new docum
do-not-use 2013/08/20 15:31:00 Done.
}
catch(e) {
- if (e.code === DOMException.WRONG_DOCUMENT_ERR || e.code === DOMException.NOT_SUPPORTED_ERR)
- document.body.textContent = "PASS";
- else
- document.body.textContent = "FAIL (wrong exception: " + e.code + ")";
+ document.body.textContent = "FAIL threw exception: " + e;
}
</script>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/XMLSerializer-doctype2.html » ('j') | LayoutTests/fast/dom/XMLSerializer-doctype2.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698