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

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

Issue 740223003: Revive tests for Document.createAttributeNS() and Element.setAttributeNodeNS() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: deprecation messages Created 6 years, 1 month 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/nodecomparedocumentposition15.js
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js
index d127591271fea08bd8c181e4040033dbe3c64db1..ad88be15ad492668269f3afd1997a83a0698819c 100644
--- a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js
+++ b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js
@@ -103,8 +103,8 @@ function nodecomparedocumentposition15() {
docElem = doc.documentElement;
docFrag = doc.createDocumentFragment();
- attr = doc.createAttribute("xml:lang");
- attrNode = docElem.setAttributeNode(attr);
+ attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ attrNode = docElem.setAttributeNodeNS(attr);
appendedChild = docFrag.appendChild(docElem);
docFragChild = docFrag.firstChild;

Powered by Google App Engine
This is Rietveld 408576698