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

Unified Diff: LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.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/nodecomparedocumentposition11.js
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js
index 11fe423f095cd01807915793317add903989c7c5..78956e5b4906a9d04e1dad69d9a0b9b79ecc3845 100644
--- a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js
+++ b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js
@@ -99,7 +99,7 @@ function nodecomparedocumentposition11() {
doc = load(docRef, "doc", "hc_staff");
elemList = doc.getElementsByTagName("p");
elem = elemList.item(3);
- newAttr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ newAttr = doc.createAttribute("xml:lang");
replacedAttr = elem.setAttributeNode(newAttr);
attrPosition = newAttr.compareDocumentPosition(doc);
assertEquals("nodecomparedocumentpositionPRECEDINGContains11",10,attrPosition);

Powered by Google App Engine
This is Rietveld 408576698