Index: LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.js |
diff --git a/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.js b/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.js |
index 03cb79e23f0f17a24c4dc9608cb492963a8f86a2..6cdc1dd6fdb2aefb8ebb190c609cb9a70fafa0a3 100644 |
--- a/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.js |
+++ b/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.js |
@@ -76,7 +76,7 @@ function loadComplete() { |
/** |
* |
Set the strictErrorChecking attribute value on this documentNode to false and then to true. |
- Call the createAttributeNS method on this document with an illegal character in the qualifiedName |
+ Call the createAttribute method on this document with an illegal character in the qualifiedName |
and check if the INVALID_CHARACTER_ERR is thrown. |
* @author IBM |
@@ -102,7 +102,7 @@ function documentsetstricterrorchecking01() { |
{ |
success = false; |
try { |
- newAttr = doc.createAttributeNS("http://www.w3.org/DOM/Test","@"); |
+ newAttr = doc.createAttribute("@"); |
} |
catch(ex) { |
success = (typeof(ex.code) != 'undefined' && ex.code == 5); |