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

Unified Diff: LayoutTests/dom/xhtml/level3/core/nodesettextcontent06.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/nodesettextcontent06.js
diff --git a/LayoutTests/dom/xhtml/level3/core/nodesettextcontent06.js b/LayoutTests/dom/xhtml/level3/core/nodesettextcontent06.js
index dd5ff86d907689e8955c7478585f1d95abe54827..75b6b89264687f0f45c9d8413131ae5c7305182d 100644
--- a/LayoutTests/dom/xhtml/level3/core/nodesettextcontent06.js
+++ b/LayoutTests/dom/xhtml/level3/core/nodesettextcontent06.js
@@ -100,8 +100,8 @@ function nodesettextcontent06() {
}
doc = load(docRef, "doc", "hc_staff");
elem = doc.createElementNS("http://www.w3.org/1999/xhtml","p");
- attr = doc.createAttribute("xml:lang");
- attrNode = elem.setAttributeNode(attr);
+ attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ attrNode = elem.setAttributeNodeNS(attr);
attr.textContent = "NA";
textContent = attr.textContent;

Powered by Google App Engine
This is Rietveld 408576698