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

Unified Diff: LayoutTests/dom/xhtml/level3/core/nodereplacechild37.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/nodereplacechild37.js
diff --git a/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js b/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js
index 1dc41c0f80dd1b3a6394398991a85fbc9cc863d1..4fd0264413db766bb4aff20634a987c392174489 100644
--- a/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js
+++ b/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js
@@ -112,7 +112,7 @@ function nodereplacechild37() {
doc2Ref = this.doc2;
}
doc2 = load(doc2Ref, "doc2", "hc_staff");
- parent = doc.createAttribute("xml:lang");
+ parent = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
oldChild = doc.createTextNode("Text");
newChild = doc2.createEntityReference("delta");
appendedChild = parent.appendChild(oldChild);
« no previous file with comments | « LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js ('k') | LayoutTests/dom/xhtml/level3/core/nodesettextcontent06.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698