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

Unified Diff: LayoutTests/dom/xhtml/level3/core/documentadoptnode03.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/documentadoptnode03.js
diff --git a/LayoutTests/dom/xhtml/level3/core/documentadoptnode03.js b/LayoutTests/dom/xhtml/level3/core/documentadoptnode03.js
index 3893883b976210b981355438ec30e633289acd29..f786ae7d3cb275bb081cc1a7ef53d2b278ddc01a 100644
--- a/LayoutTests/dom/xhtml/level3/core/documentadoptnode03.js
+++ b/LayoutTests/dom/xhtml/level3/core/documentadoptnode03.js
@@ -101,7 +101,7 @@ function documentadoptnode03() {
docRef = this.doc;
}
doc = load(docRef, "doc", "hc_staff");
- newAttr = doc.createAttribute("xml:lang");
+ newAttr = doc.createAttributeNS(xmlNS,"xml:lang");
adoptedAttr = doc.adoptNode(newAttr);
if(
@@ -120,6 +120,7 @@ function documentadoptnode03() {
isSpecified = adoptedAttr.specified;
assertEquals("documentadoptode03_nodeName","xml:lang",nodeName);
+ assertEquals("documentadoptNode03_namespaceURI",xmlNS,nodeNamespaceURI);
assertEquals("documentadoptnode03_prefix","xml",nodePrefix);
assertNull("documentadoptnode03_ownerDoc",attrOwnerElem);
assertTrue("documentadoptnode03_specified",isSpecified);
« no previous file with comments | « LayoutTests/dom/xhtml/level3/core/attrisid06.js ('k') | LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698