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

Unified Diff: LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js

Issue 158593003: Remove Unused measure DocumentCreateAttributeNS (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/dom/xhtml/level3/core/documentadoptnode04.js
diff --git a/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js b/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js
index f6ffb2b761e335d19801879176f397e6b5f94420..5158841345354f5c2bb6374aa9b908654dc49c81 100644
--- a/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js
+++ b/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js
@@ -116,7 +116,7 @@ function documentadoptnode04() {
domImpl = doc.implementation;
newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
- newAttr = doc.createAttributeNS(xmlNS,"xml:lang");
+ newAttr = doc.createAttribute("xml:lang");
adoptedAttr = newDoc.adoptNode(newAttr);
if(
@@ -135,7 +135,6 @@ newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
isSpecified = adoptedAttr.specified;
assertEquals("documentadoptnode04_nodeName","xml:lang",nodeName);
- assertEquals("documentadoptnode04_namespaceURI",xmlNS,nodeNamespaceURI);
assertEquals("documentadoptnode04_prefix","xml",nodePrefix);
assertNull("documentadoptnode04_ownerDoc",attrOwnerElem);
assertTrue("documentadoptnode04_specified",isSpecified);
« no previous file with comments | « LayoutTests/dom/xhtml/level3/core/documentadoptnode03.js ('k') | LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698