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

Unified Diff: LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.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/documentsetstricterrorchecking01.js
diff --git a/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.js b/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.js
index 6cdc1dd6fdb2aefb8ebb190c609cb9a70fafa0a3..03cb79e23f0f17a24c4dc9608cb492963a8f86a2 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 createAttribute method on this document with an illegal character in the qualifiedName
+ Call the createAttributeNS 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.createAttribute("@");
+ newAttr = doc.createAttributeNS("http://www.w3.org/DOM/Test","@");
}
catch(ex) {
success = (typeof(ex.code) != 'undefined' && ex.code == 5);

Powered by Google App Engine
This is Rietveld 408576698