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

Unified Diff: LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.js

Issue 158593003: Remove Unused measure DocumentCreateAttributeNS (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 months 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 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);

Powered by Google App Engine
This is Rietveld 408576698