summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/dom
diff options
context:
space:
mode:
authorkaustubh.a@samsung.com <kaustubh.a@samsung.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-02-10 03:55:49 +0000
committerkaustubh.a@samsung.com <kaustubh.a@samsung.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-02-10 03:55:49 +0000
commitccc7647cfde4adb7f1f4e13e8ce165f837974339 (patch)
tree09b5fbfc51d96674be156a5fa94c512ada11931e /third_party/WebKit/LayoutTests/dom
parent3cbc8ac26f309aabfcd0c61161e7deb5fb0f476a (diff)
downloadchromium_src-ccc7647cfde4adb7f1f4e13e8ce165f837974339.zip
chromium_src-ccc7647cfde4adb7f1f4e13e8ce165f837974339.tar.gz
chromium_src-ccc7647cfde4adb7f1f4e13e8ce165f837974339.tar.bz2
Remove Unused measure DocumentCreateAttributeNS
Intent to Remove: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/8p-gwWL4ypc BUG=341830 Review URL: https://codereview.chromium.org/158593003 git-svn-id: svn://svn.chromium.org/blink/trunk@166794 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/dom')
-rw-r--r--third_party/WebKit/LayoutTests/dom/html/level2/core/createAttributeNS06-expected.txt2
-rw-r--r--third_party/WebKit/LayoutTests/dom/html/level2/core/createAttributeNS06.html48
-rw-r--r--third_party/WebKit/LayoutTests/dom/html/level2/core/createAttributeNS06.js117
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level2/core/createAttributeNS06-expected.txt2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level2/core/createAttributeNS06.js117
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level2/core/createAttributeNS06.xhtml60
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/attrisid06.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode03.js3
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js3
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentrenamenode21.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentrenamenode22.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.js4
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking02.js120
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking02.xhtml73
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodegettextcontent08.js116
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodegettextcontent08.xhtml25
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore03.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore14.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore20.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisdefaultnamespace16.js109
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisdefaultnamespace16.xhtml25
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode14.js115
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode14.xhtml73
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode15.js130
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode15.xhtml73
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode17.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode18.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode19.js114
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode19.xhtml73
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode20.js110
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode20.xhtml73
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupnamespaceuri16.js113
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupnamespaceuri16.xhtml73
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupprefix16.js112
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupprefix16.xhtml25
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild20.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.js4
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodesettextcontent06.js2
-rw-r--r--third_party/WebKit/LayoutTests/dom/xhtml/level3/core/wellformed04.js2
45 files changed, 23 insertions, 1923 deletions
diff --git a/third_party/WebKit/LayoutTests/dom/html/level2/core/createAttributeNS06-expected.txt b/third_party/WebKit/LayoutTests/dom/html/level2/core/createAttributeNS06-expected.txt
deleted file mode 100644
index cd129e7..0000000
--- a/third_party/WebKit/LayoutTests/dom/html/level2/core/createAttributeNS06-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/core/createAttributeNS06
-Status: Success
diff --git a/third_party/WebKit/LayoutTests/dom/html/level2/core/createAttributeNS06.html b/third_party/WebKit/LayoutTests/dom/html/level2/core/createAttributeNS06.html
deleted file mode 100644
index a8b546f..0000000
--- a/third_party/WebKit/LayoutTests/dom/html/level2/core/createAttributeNS06.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd" >
-<!-- This is comment number 1.-->
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>hc_staff</title><script type="text/javascript" src="selfhtml.js"></script><script charset="UTF-8" type="text/javascript" src="createAttributeNS06.js"></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p>
- <em>EMP0001</em>
- <strong>Margaret Martin</strong>
- <code>Accountant</code>
- <sup>56,000</sup>
- <var>Female</var>
- <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p>
- <em>EMP0002</em>
- <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
-This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
- <code>Secretary</code>
- <sup>35,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p>
- <em>EMP0003</em>
- <strong>Roger
- Jones</strong>
- <code>Department Manager</code>
- <sup>100,000</sup>
- <var>&delta;</var>
- <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p>
- <em>EMP0004</em>
- <strong>Jeny Oconnor</strong>
- <code>Personnel Director</code>
- <sup>95,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p>
- <em>EMP0005</em>
- <strong>Robert Myers</strong>
- <code>Computer Specialist</code>
- <sup>90,000</sup>
- <var>male</var>
- <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/third_party/WebKit/LayoutTests/dom/html/level2/core/createAttributeNS06.js b/third_party/WebKit/LayoutTests/dom/html/level2/core/createAttributeNS06.js
deleted file mode 100644
index b788b3d..0000000
--- a/third_party/WebKit/LayoutTests/dom/html/level2/core/createAttributeNS06.js
+++ /dev/null
@@ -1,117 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/core/createAttributeNS06";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "hc_staff");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Document.createAttributeNS with an empty qualified name should cause an INVALID_CHARACTER_ERR.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#ID-DocCrAttrNS
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#xpointer(id('ID-DocCrAttrNS')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=525
-*/
-function createAttributeNS06() {
- var success;
- if(checkInitialization(builder, "createAttributeNS06") != null) return;
- var namespaceURI = "http://www.example.com/";
- var qualifiedName;
- var doc;
- var newAttr;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
-
- {
- success = false;
- try {
- newAttr = doc.createAttributeNS(namespaceURI,"");
- }
- catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 5);
- }
- assertTrue("throw_INVALID_CHARACTER_ERR",success);
- }
-
-}
-
-
-
-
-function runTest() {
- createAttributeNS06();
-}
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level2/core/createAttributeNS06-expected.txt b/third_party/WebKit/LayoutTests/dom/xhtml/level2/core/createAttributeNS06-expected.txt
deleted file mode 100644
index 791514d..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level2/core/createAttributeNS06-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/core/createAttributeNS06
-Status Success
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level2/core/createAttributeNS06.js b/third_party/WebKit/LayoutTests/dom/xhtml/level2/core/createAttributeNS06.js
deleted file mode 100644
index b788b3d..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level2/core/createAttributeNS06.js
+++ /dev/null
@@ -1,117 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/core/createAttributeNS06";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "hc_staff");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Document.createAttributeNS with an empty qualified name should cause an INVALID_CHARACTER_ERR.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#ID-DocCrAttrNS
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#xpointer(id('ID-DocCrAttrNS')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=525
-*/
-function createAttributeNS06() {
- var success;
- if(checkInitialization(builder, "createAttributeNS06") != null) return;
- var namespaceURI = "http://www.example.com/";
- var qualifiedName;
- var doc;
- var newAttr;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
-
- {
- success = false;
- try {
- newAttr = doc.createAttributeNS(namespaceURI,"");
- }
- catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 5);
- }
- assertTrue("throw_INVALID_CHARACTER_ERR",success);
- }
-
-}
-
-
-
-
-function runTest() {
- createAttributeNS06();
-}
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level2/core/createAttributeNS06.xhtml b/third_party/WebKit/LayoutTests/dom/xhtml/level2/core/createAttributeNS06.xhtml
deleted file mode 100644
index 4a354c8..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level2/core/createAttributeNS06.xhtml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "xhtml1-strict.dtd" [
- <!ENTITY alpha "&#945;">
- <!ENTITY beta "&#946;">
- <!ENTITY gamma "&#947;">
- <!ENTITY delta "&#948;">
- <!ENTITY epsilon "&#949;">
- <!ENTITY alpha "&#950;">
- <!NOTATION notation1 PUBLIC "notation1File">
- <!NOTATION notation2 SYSTEM "notation2File">
- <!ATTLIST acronym dir CDATA "ltr">
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="createAttributeNS06.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p>
- <em>EMP0001</em>
- <strong>Margaret Martin</strong>
- <code>Accountant</code>
- <sup>56,000</sup>
- <var>Female</var>
- <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p>
- <em>EMP0002</em>
- <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
-This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
- <code>Secretary</code>
- <sup>35,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p>
- <em>EMP0003</em>
- <strong>Roger
- Jones</strong>
- <code>Department Manager</code>
- <sup>100,000</sup>
- <var>&delta;</var>
- <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p>
- <em>EMP0004</em>
- <strong>Jeny Oconnor</strong>
- <code>Personnel Director</code>
- <sup>95,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p>
- <em>EMP0005</em>
- <strong>Robert Myers</strong>
- <code>Computer Specialist</code>
- <sup>90,000</sup>
- <var>male</var>
- <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/attrisid06.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/attrisid06.js
index 7ca4f64..f699e34 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/attrisid06.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/attrisid06.js
@@ -93,7 +93,7 @@ function attrisid06() {
docRef = this.doc;
}
doc = load(docRef, "doc", "hc_staff");
- attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ attr = doc.createAttribute("xml:lang");
id = attr.isId;
assertFalse("AttrIsIDFalse06",id);
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode03.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode03.js
index f786ae7..3893883 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode03.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode03.js
@@ -101,7 +101,7 @@ function documentadoptnode03() {
docRef = this.doc;
}
doc = load(docRef, "doc", "hc_staff");
- newAttr = doc.createAttributeNS(xmlNS,"xml:lang");
+ newAttr = doc.createAttribute("xml:lang");
adoptedAttr = doc.adoptNode(newAttr);
if(
@@ -120,7 +120,6 @@ 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);
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js
index f6ffb2b..5158841 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js
@@ -116,7 +116,7 @@ function documentadoptnode04() {
domImpl = doc.implementation;
newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
- newAttr = doc.createAttributeNS(xmlNS,"xml:lang");
+ newAttr = doc.createAttribute("xml:lang");
adoptedAttr = newDoc.adoptNode(newAttr);
if(
@@ -135,7 +135,6 @@ newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
isSpecified = adoptedAttr.specified;
assertEquals("documentadoptnode04_nodeName","xml:lang",nodeName);
- assertEquals("documentadoptnode04_namespaceURI",xmlNS,nodeNamespaceURI);
assertEquals("documentadoptnode04_prefix","xml",nodePrefix);
assertNull("documentadoptnode04_ownerDoc",attrOwnerElem);
assertTrue("documentadoptnode04_specified",isSpecified);
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js
index 804b948..f4c94b8 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js
@@ -125,7 +125,7 @@ function documentadoptnode06() {
domImpl = doc.implementation;
newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
- newAttr = doc.createAttributeNS(xmlNS,"xml:lang");
+ newAttr = doc.createAttribute("xml:lang");
newText = doc.createTextNode("Text Node");
newEntRef = doc.createEntityReference("alpha");
appendedChild = newAttr.appendChild(newText);
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentrenamenode21.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentrenamenode21.js
index 31050e91..50f7894 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentrenamenode21.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentrenamenode21.js
@@ -110,7 +110,7 @@ function documentrenamenode21() {
domImpl = doc.implementation;
newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
- attr = newDoc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ attr = newDoc.createAttribute("xml:lang");
{
success = false;
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentrenamenode22.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentrenamenode22.js
index aef0474..f24c854 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentrenamenode22.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentrenamenode22.js
@@ -95,7 +95,7 @@ function documentrenamenode22() {
docRef = this.doc;
}
doc = load(docRef, "doc", "hc_staff");
- attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ attr = doc.createAttribute("xml:lang");
{
success = false;
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.js
index 03cb79e..6cdc1dd 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking01.js
+++ b/third_party/WebKit/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);
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking02.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking02.js
deleted file mode 100644
index 841a771..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking02.js
+++ /dev/null
@@ -1,120 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentsetstricterrorchecking02";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "hc_staff");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- Set the strictErrorChecking attribute value on a new Document to true.
- Call the createAttributeNS method on this document with a a null namespaceURI and a qualified name
- with a prefix and check if the NAMESPACE_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Document3-strictErrorChecking
-*/
-function documentsetstricterrorchecking02() {
- var success;
- if(checkInitialization(builder, "documentsetstricterrorchecking02") != null) return;
- var doc;
- var newAttr;
- var nullValue = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- doc.strictErrorChecking = true;
-
-
- {
- success = false;
- try {
- newAttr = doc.createAttributeNS(nullValue,"dom:test");
- }
- catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 14);
- }
- assertTrue("NAMESPACE_ERR_documentsetstricterrorchecking02",success);
- }
-
-}
-
-
-
-
-function runTest() {
- documentsetstricterrorchecking02();
-}
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking02.xhtml b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking02.xhtml
deleted file mode 100644
index 65e9a7e..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/documentsetstricterrorchecking02.xhtml
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "xhtml1-strict.dtd" [
- <!ENTITY alpha "&#945;">
- <!ENTITY beta "&#946;">
- <!ENTITY gamma "&#947;">
- <!ENTITY delta "&#948;">
- <!ENTITY epsilon "&#949;">
- <!ENTITY alpha "&#950;">
- <!NOTATION notation1 PUBLIC "notation1File">
- <!NOTATION notation2 SYSTEM "notation2File">
- <!ATTLIST p
- dir CDATA 'rtl'
- xmlns:dmstc CDATA #IMPLIED
- xmlns:nm CDATA #IMPLIED
- xmlns:emp2 CDATA #IMPLIED>
- <!ATTLIST html
- xmlns:xsi CDATA #IMPLIED
- xsi:schemaLocation CDATA #IMPLIED>
- <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
- <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
- <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="documentsetstricterrorchecking02.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0001</em>
- <strong>Margaret Martin</strong>
- <code>Accountant</code>
- <sup>56,000</sup>
- <var>Female</var>
- <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0002</em>
- <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
- <code>Secretary</code>
- <sup>35,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
- <em>EMP0003</em>
- <strong>Roger
- Jones</strong>
- <code>Department Manager</code>
- <sup>100,000</sup>
- <var>&ent4;</var>
- <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
- <em>EMP0004</em>
- <strong>Jeny Oconnor</strong>
- <code>Personnel Director</code>
- <sup>95,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
- <em>EMP0005</em>
- <strong>Robert Myers</strong>
- <code>Computer Specialist</code>
- <sup>90,000</sup>
- <var>male</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js
index 11fe423..78956e5 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition11.js
@@ -99,7 +99,7 @@ function nodecomparedocumentposition11() {
doc = load(docRef, "doc", "hc_staff");
elemList = doc.getElementsByTagName("p");
elem = elemList.item(3);
- newAttr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ newAttr = doc.createAttribute("xml:lang");
replacedAttr = elem.setAttributeNode(newAttr);
attrPosition = newAttr.compareDocumentPosition(doc);
assertEquals("nodecomparedocumentpositionPRECEDINGContains11",10,attrPosition);
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js
index e09fd31..d127591 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js
@@ -103,7 +103,7 @@ function nodecomparedocumentposition15() {
docElem = doc.documentElement;
docFrag = doc.createDocumentFragment();
- attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ attr = doc.createAttribute("xml:lang");
attrNode = docElem.setAttributeNode(attr);
appendedChild = docFrag.appendChild(docElem);
docFragChild = docFrag.firstChild;
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodegettextcontent08.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodegettextcontent08.js
deleted file mode 100644
index 91c046d..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodegettextcontent08.js
+++ /dev/null
@@ -1,116 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegettextcontent08";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "barfoo");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- Invoke the method getTextContent on a new Attr node and check if the value returned
- is the attributes Value.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-textContent
-*/
-function nodegettextcontent08() {
- var success;
- if(checkInitialization(builder, "nodegettextcontent08") != null) return;
- var doc;
- var elemList;
- var elem;
- var att;
- var attr;
- var replacedAttr;
- var textContent;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "barfoo");
- elem = doc.createElementNS("http://www.w3.org/1999/xhtml","p");
- att = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
- replacedAttr = elem.setAttributeNode(att);
- attr = elem.getAttributeNodeNS("http://www.w3.org/XML/1998/namespace","lang");
- textContent = attr.textContent;
-
- assertEquals("nodegettextcontent08","",textContent);
-
-}
-
-
-
-
-function runTest() {
- nodegettextcontent08();
-}
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodegettextcontent08.xhtml b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodegettextcontent08.xhtml
deleted file mode 100644
index 8aac241..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodegettextcontent08.xhtml
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html [
-<!ENTITY ent1 'foo'>
-<!ENTITY ent2 'foo<br/>'>
-<!ELEMENT html (head, body)>
-<!ATTLIST html xmlns CDATA #IMPLIED>
-<!ELEMENT head (title,script*)>
-<!ELEMENT script (#PCDATA)>
-<!ATTLIST script
- src CDATA #IMPLIED
- type CDATA #IMPLIED
- charset CDATA #IMPLIED>
-<!ELEMENT title (#PCDATA)>
-<!ELEMENT body (p)>
-<!ATTLIST body onload CDATA #IMPLIED>
-<!ELEMENT p (#PCDATA|br)*>
-<!ELEMENT br EMPTY>
-]>
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>replaceWholeText sample</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='nodegettextcontent08.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()">
-<p>bar</p>
-</body>
-</html>
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore03.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore03.js
index 7a68a71..318696e 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore03.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore03.js
@@ -97,7 +97,7 @@ function nodeinsertbefore03() {
doc = load(docRef, "doc", "hc_staff");
docType = doc.doctype;
- newAttr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ newAttr = doc.createAttribute("xml:lang");
{
success = false;
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore14.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore14.js
index 834daf9..0ab4930 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore14.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore14.js
@@ -103,7 +103,7 @@ function nodeinsertbefore14() {
doc = load(docRef, "doc", "hc_staff");
docType = doc.doctype;
- newAttr = doc.createAttributeNS("http://www.w3.org/DOM/Test","dom3:attr");
+ newAttr = doc.createAttribute("dom3:attr");
{
success = false;
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore20.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore20.js
index 8dabffb0..4947a54 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore20.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore20.js
@@ -101,7 +101,7 @@ function nodeinsertbefore20() {
element = childList.item(2);
refNode = element.firstChild;
- newNode = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ newNode = doc.createAttribute("xml:lang");
{
success = false;
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisdefaultnamespace16.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisdefaultnamespace16.js
deleted file mode 100644
index fe1afc6..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisdefaultnamespace16.js
+++ /dev/null
@@ -1,109 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodeisdefaultnamespace16";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "barfoo");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- Using isDefaultNamespace on a new Attribute node with with a namespace URI
- and no prefix and verify if the value returned is false since default namespaces
- do not apply directly to attributes.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-isDefaultNamespace
-*/
-function nodeisdefaultnamespace16() {
- var success;
- if(checkInitialization(builder, "nodeisdefaultnamespace16") != null) return;
- var doc;
- var attr;
- var isDefault;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "barfoo");
- attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","lang");
- isDefault = attr.isDefaultNamespace("http://www.w3.org/XML/1998/namespace");
- assertFalse("nodeisdefaultnamespace16",isDefault);
-
-}
-
-
-
-
-function runTest() {
- nodeisdefaultnamespace16();
-}
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisdefaultnamespace16.xhtml b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisdefaultnamespace16.xhtml
deleted file mode 100644
index 36b7dc4..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisdefaultnamespace16.xhtml
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html [
-<!ENTITY ent1 'foo'>
-<!ENTITY ent2 'foo<br/>'>
-<!ELEMENT html (head, body)>
-<!ATTLIST html xmlns CDATA #IMPLIED>
-<!ELEMENT head (title,script*)>
-<!ELEMENT script (#PCDATA)>
-<!ATTLIST script
- src CDATA #IMPLIED
- type CDATA #IMPLIED
- charset CDATA #IMPLIED>
-<!ELEMENT title (#PCDATA)>
-<!ELEMENT body (p)>
-<!ATTLIST body onload CDATA #IMPLIED>
-<!ELEMENT p (#PCDATA|br)*>
-<!ELEMENT br EMPTY>
-]>
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>replaceWholeText sample</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='nodeisdefaultnamespace16.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()">
-<p>bar</p>
-</body>
-</html>
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode14.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode14.js
deleted file mode 100644
index c7749b7..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode14.js
+++ /dev/null
@@ -1,115 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodeisequalnode14";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "hc_staff");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-
-
- Using isEqualNode check if 2 Attr nodes having the same nodeName and a null namespaceURI
- attribute, one created using createAttribute and the other createAttributeNS, are not equal.
- Note the localName for an Attr created with DOM Level 1 methods is null.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-isEqualNode
-*/
-function nodeisequalnode14() {
- var success;
- if(checkInitialization(builder, "nodeisequalnode14") != null) return;
- var doc;
- var attr1;
- var attr2;
- var isEqual;
- var nullNSURI = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- attr1 = doc.createAttribute("root");
- attr2 = doc.createAttributeNS(nullNSURI,"root");
- isEqual = attr1.isEqualNode(attr2);
- assertFalse("nodeisequalnode14",isEqual);
-
-}
-
-
-
-
-function runTest() {
- nodeisequalnode14();
-}
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode14.xhtml b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode14.xhtml
deleted file mode 100644
index b7034c7..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode14.xhtml
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "xhtml1-strict.dtd" [
- <!ENTITY alpha "&#945;">
- <!ENTITY beta "&#946;">
- <!ENTITY gamma "&#947;">
- <!ENTITY delta "&#948;">
- <!ENTITY epsilon "&#949;">
- <!ENTITY alpha "&#950;">
- <!NOTATION notation1 PUBLIC "notation1File">
- <!NOTATION notation2 SYSTEM "notation2File">
- <!ATTLIST p
- dir CDATA 'rtl'
- xmlns:dmstc CDATA #IMPLIED
- xmlns:nm CDATA #IMPLIED
- xmlns:emp2 CDATA #IMPLIED>
- <!ATTLIST html
- xmlns:xsi CDATA #IMPLIED
- xsi:schemaLocation CDATA #IMPLIED>
- <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
- <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
- <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodeisequalnode14.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0001</em>
- <strong>Margaret Martin</strong>
- <code>Accountant</code>
- <sup>56,000</sup>
- <var>Female</var>
- <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0002</em>
- <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
- <code>Secretary</code>
- <sup>35,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
- <em>EMP0003</em>
- <strong>Roger
- Jones</strong>
- <code>Department Manager</code>
- <sup>100,000</sup>
- <var>&ent4;</var>
- <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
- <em>EMP0004</em>
- <strong>Jeny Oconnor</strong>
- <code>Personnel Director</code>
- <sup>95,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
- <em>EMP0005</em>
- <strong>Robert Myers</strong>
- <code>Computer Specialist</code>
- <sup>90,000</sup>
- <var>male</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode15.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode15.js
deleted file mode 100644
index b880392..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode15.js
+++ /dev/null
@@ -1,130 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodeisequalnode15";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "hc_staff");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- Using isEqualNode check if 2 Attr nodes having the same nodeName and a null namespaceURI
- attribute, one created using createAttributeNS and the other retreived from this document
- are equal.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-isEqualNode
-*/
-function nodeisequalnode15() {
- var success;
- if(checkInitialization(builder, "nodeisequalnode15") != null) return;
- var doc;
- var attr1;
- var attr2;
- var addrElement;
- var elementList;
- var isEqual;
- var nullNS = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- elementList = doc.getElementsByTagName("acronym");
- addrElement = elementList.item(3);
- attr1 = addrElement.getAttributeNodeNS(nullNS,"title");
-
- if(
- (getImplementationAttribute("namespaceAware") == true)
- ) {
- attr2 = doc.createAttributeNS(nullNS,"title");
-
- }
-
- else {
- attr2 = doc.createAttribute("title");
-
- }
- attr2.value = "Yes";
-
- isEqual = attr1.isEqualNode(attr2);
- assertTrue("nodeisequalnode15",isEqual);
-
-}
-
-
-
-
-function runTest() {
- nodeisequalnode15();
-}
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode15.xhtml b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode15.xhtml
deleted file mode 100644
index 941b11f..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode15.xhtml
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "xhtml1-strict.dtd" [
- <!ENTITY alpha "&#945;">
- <!ENTITY beta "&#946;">
- <!ENTITY gamma "&#947;">
- <!ENTITY delta "&#948;">
- <!ENTITY epsilon "&#949;">
- <!ENTITY alpha "&#950;">
- <!NOTATION notation1 PUBLIC "notation1File">
- <!NOTATION notation2 SYSTEM "notation2File">
- <!ATTLIST p
- dir CDATA 'rtl'
- xmlns:dmstc CDATA #IMPLIED
- xmlns:nm CDATA #IMPLIED
- xmlns:emp2 CDATA #IMPLIED>
- <!ATTLIST html
- xmlns:xsi CDATA #IMPLIED
- xsi:schemaLocation CDATA #IMPLIED>
- <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
- <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
- <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodeisequalnode15.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0001</em>
- <strong>Margaret Martin</strong>
- <code>Accountant</code>
- <sup>56,000</sup>
- <var>Female</var>
- <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0002</em>
- <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
- <code>Secretary</code>
- <sup>35,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
- <em>EMP0003</em>
- <strong>Roger
- Jones</strong>
- <code>Department Manager</code>
- <sup>100,000</sup>
- <var>&ent4;</var>
- <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
- <em>EMP0004</em>
- <strong>Jeny Oconnor</strong>
- <code>Personnel Director</code>
- <sup>95,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
- <em>EMP0005</em>
- <strong>Robert Myers</strong>
- <code>Computer Specialist</code>
- <sup>90,000</sup>
- <var>male</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode17.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode17.js
index 31ddaeb..6686294 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode17.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode17.js
@@ -112,7 +112,7 @@ function nodeisequalnode17() {
domImpl = doc.implementation;
newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
- attr1 = doc.createAttributeNS(nullNSURI,"root");
+ attr1 = doc.createAttribute("root");
attr2 = newDoc.importNode(attr1,true);
isEqual = attr1.isEqualNode(attr2);
assertTrue("nodeisequalnode17",isEqual);
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode18.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode18.js
index 0d03ca5..a177260 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode18.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode18.js
@@ -112,7 +112,7 @@ function nodeisequalnode18() {
domImpl = doc.implementation;
newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
- attr1 = doc.createAttributeNS(nullNSURI,"title");
+ attr1 = doc.createAttribute("title");
attr2 = newDoc.adoptNode(attr1);
if(
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode19.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode19.js
deleted file mode 100644
index dc0ba7b..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode19.js
+++ /dev/null
@@ -1,114 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodeisequalnode19";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "hc_staff");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-
-
- Using isEqualNode check if 2 Attr nodes having the same nodeName but different namespaceURIs
- are not equal.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-isEqualNode
-*/
-function nodeisequalnode19() {
- var success;
- if(checkInitialization(builder, "nodeisequalnode19") != null) return;
- var doc;
- var attr1;
- var attr2;
- var isEqual;
- var nullNSURI = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- attr1 = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","lang");
- attr2 = doc.createAttributeNS(nullNSURI,"lang");
- isEqual = attr1.isEqualNode(attr2);
- assertFalse("nodeisequalnode19",isEqual);
-
-}
-
-
-
-
-function runTest() {
- nodeisequalnode19();
-}
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode19.xhtml b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode19.xhtml
deleted file mode 100644
index 612894b..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode19.xhtml
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "xhtml1-strict.dtd" [
- <!ENTITY alpha "&#945;">
- <!ENTITY beta "&#946;">
- <!ENTITY gamma "&#947;">
- <!ENTITY delta "&#948;">
- <!ENTITY epsilon "&#949;">
- <!ENTITY alpha "&#950;">
- <!NOTATION notation1 PUBLIC "notation1File">
- <!NOTATION notation2 SYSTEM "notation2File">
- <!ATTLIST p
- dir CDATA 'rtl'
- xmlns:dmstc CDATA #IMPLIED
- xmlns:nm CDATA #IMPLIED
- xmlns:emp2 CDATA #IMPLIED>
- <!ATTLIST html
- xmlns:xsi CDATA #IMPLIED
- xsi:schemaLocation CDATA #IMPLIED>
- <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
- <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
- <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodeisequalnode19.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0001</em>
- <strong>Margaret Martin</strong>
- <code>Accountant</code>
- <sup>56,000</sup>
- <var>Female</var>
- <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0002</em>
- <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
- <code>Secretary</code>
- <sup>35,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
- <em>EMP0003</em>
- <strong>Roger
- Jones</strong>
- <code>Department Manager</code>
- <sup>100,000</sup>
- <var>&ent4;</var>
- <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
- <em>EMP0004</em>
- <strong>Jeny Oconnor</strong>
- <code>Personnel Director</code>
- <sup>95,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
- <em>EMP0005</em>
- <strong>Robert Myers</strong>
- <code>Computer Specialist</code>
- <sup>90,000</sup>
- <var>male</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode20.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode20.js
deleted file mode 100644
index ffc3684..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode20.js
+++ /dev/null
@@ -1,110 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodeisequalnode20";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "hc_staff");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- Using isEqualNode check if an Element and an Attr nodes having the same nodeName
- and namsepaceURI are not equal.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-isEqualNode
-*/
-function nodeisequalnode20() {
- var success;
- if(checkInitialization(builder, "nodeisequalnode20") != null) return;
- var doc;
- var attr1;
- var elem1;
- var isEqual;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- elem1 = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:html");
- attr1 = doc.createAttributeNS("http://www.w3.org/1999/xhtml","xhtml:html");
- isEqual = attr1.isEqualNode(elem1);
- assertFalse("nodeisequalnode20",isEqual);
-
-}
-
-
-
-
-function runTest() {
- nodeisequalnode20();
-}
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode20.xhtml b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode20.xhtml
deleted file mode 100644
index ff81c1f..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodeisequalnode20.xhtml
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "xhtml1-strict.dtd" [
- <!ENTITY alpha "&#945;">
- <!ENTITY beta "&#946;">
- <!ENTITY gamma "&#947;">
- <!ENTITY delta "&#948;">
- <!ENTITY epsilon "&#949;">
- <!ENTITY alpha "&#950;">
- <!NOTATION notation1 PUBLIC "notation1File">
- <!NOTATION notation2 SYSTEM "notation2File">
- <!ATTLIST p
- dir CDATA 'rtl'
- xmlns:dmstc CDATA #IMPLIED
- xmlns:nm CDATA #IMPLIED
- xmlns:emp2 CDATA #IMPLIED>
- <!ATTLIST html
- xmlns:xsi CDATA #IMPLIED
- xsi:schemaLocation CDATA #IMPLIED>
- <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
- <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
- <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodeisequalnode20.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0001</em>
- <strong>Margaret Martin</strong>
- <code>Accountant</code>
- <sup>56,000</sup>
- <var>Female</var>
- <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0002</em>
- <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
- <code>Secretary</code>
- <sup>35,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
- <em>EMP0003</em>
- <strong>Roger
- Jones</strong>
- <code>Department Manager</code>
- <sup>100,000</sup>
- <var>&ent4;</var>
- <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
- <em>EMP0004</em>
- <strong>Jeny Oconnor</strong>
- <code>Personnel Director</code>
- <sup>95,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
- <em>EMP0005</em>
- <strong>Robert Myers</strong>
- <code>Computer Specialist</code>
- <sup>90,000</sup>
- <var>male</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupnamespaceuri16.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupnamespaceuri16.js
deleted file mode 100644
index 5359581..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupnamespaceuri16.js
+++ /dev/null
@@ -1,113 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodelookupnamespaceuri16";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
- setImplementationAttribute("namespaceAware", true);
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "hc_staff");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- Invoke lookupNamespaceURI on a new Attribute node with with a namespace URI
- and prefix and verify if the namespaceURI returned is null.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-lookupNamespaceURI
-*/
-function nodelookupnamespaceuri16() {
- var success;
- if(checkInitialization(builder, "nodelookupnamespaceuri16") != null) return;
- var doc;
- var elem;
- var attr;
- var attNode;
- var namespaceURI;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- elem = doc.createElementNS("http://www.w3.org/1999/xhtml","dom3:p");
- attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
- attNode = elem.setAttributeNode(attr);
- namespaceURI = attr.lookupNamespaceURI("xml");
- assertNull("nodelookupnamespaceuri16",namespaceURI);
-
-}
-
-
-
-
-function runTest() {
- nodelookupnamespaceuri16();
-}
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupnamespaceuri16.xhtml b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupnamespaceuri16.xhtml
deleted file mode 100644
index db00a31..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupnamespaceuri16.xhtml
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0"?><?TEST-STYLE PIDATA?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "xhtml1-strict.dtd" [
- <!ENTITY alpha "&#945;">
- <!ENTITY beta "&#946;">
- <!ENTITY gamma "&#947;">
- <!ENTITY delta "&#948;">
- <!ENTITY epsilon "&#949;">
- <!ENTITY alpha "&#950;">
- <!NOTATION notation1 PUBLIC "notation1File">
- <!NOTATION notation2 SYSTEM "notation2File">
- <!ATTLIST p
- dir CDATA 'rtl'
- xmlns:dmstc CDATA #IMPLIED
- xmlns:nm CDATA #IMPLIED
- xmlns:emp2 CDATA #IMPLIED>
- <!ATTLIST html
- xmlns:xsi CDATA #IMPLIED
- xsi:schemaLocation CDATA #IMPLIED>
- <!ATTLIST acronym xsi:noNamespaceSchemaLocation CDATA #IMPLIED>
- <!ENTITY ent4 "<span xmlns='http://www.w3.org/1999/xhtml'>Element data</span><?PItarget PIdata?>">
- <!ATTLIST span xmlns CDATA #IMPLIED>
-]>
-<!-- This is comment number 1.-->
-<html xmlns='http://www.w3.org/1999/xhtml'
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/1999/xhtml hc_staff.xsd"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="selfxhtml.js"/><script charset="UTF-8" type="text/javascript" src="nodelookupnamespaceuri16.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="loadComplete()">
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0001</em>
- <strong>Margaret Martin</strong>
- <code>Accountant</code>
- <sup>56,000</sup>
- <var>Female</var>
- <acronym title="Yes" xsi:noNamespaceSchemaLocation="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
- </p>
- <p xmlns:dmstc="http://www.usa.com">
- <em>EMP0002</em>
- <strong>Martha Raynolds
-<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
-<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></strong>
- <code>Secretary</code>
- <sup>35,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">&beta; Dallas, &gamma;
- 98554</acronym>
- </p>
- <p xmlns:dmstc="http://www.netzero.com">
- <em>EMP0003</em>
- <strong>Roger
- Jones</strong>
- <code>Department Manager</code>
- <sup>100,000</sup>
- <var>&ent4;</var>
- <acronym title="Yes" class="No" id="_98553" xsi:noNamespaceSchemaLocation="Yes">PO Box 27 Irving, texas 98553</acronym>
- </p>
- <p xmlns:nm="http://www.altavista.com">
- <em>EMP0004</em>
- <strong>Jeny Oconnor</strong>
- <code>Personnel Director</code>
- <sup>95,000</sup>
- <var>Female</var>
- <acronym title="Yes" class="Y&alpha;" id="_98556" xsi:noNamespaceSchemaLocation="Yes">27 South Road. Dallas, Texas 98556</acronym>
- </p>
- <p xmlns:emp2="http://www.nist.gov">
- <em>EMP0005</em>
- <strong>Robert Myers</strong>
- <code>Computer Specialist</code>
- <sup>90,000</sup>
- <var>male</var>
- <acronym title="Yes" class="Yes" xsi:noNamespaceSchemaLocation="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
- </p>
-</body></html>
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupprefix16.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupprefix16.js
deleted file mode 100644
index 4499ad3..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupprefix16.js
+++ /dev/null
@@ -1,112 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodelookupprefix16";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "barfoo");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- Invoke lookupPrefix on a new Attribute node with with a namespace URI
- and prefix and verify if the prefix returned is null.
-
-* @author IBM
-* @author Jenny Hsu
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-lookupNamespacePrefix
-*/
-function nodelookupprefix16() {
- var success;
- if(checkInitialization(builder, "nodelookupprefix16") != null) return;
- var doc;
- var elem;
- var attr;
- var prefix;
- var attNode;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "barfoo");
- elem = doc.createElementNS("http://www.w3.org/1999/xhtml","dom3:p");
- attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
- attNode = elem.setAttributeNode(attr);
- prefix = attr.lookupPrefix("http://www.w3.org/XML/1998/namespace");
- assertNull("nodelookupprefix16",prefix);
-
-}
-
-
-
-
-function runTest() {
- nodelookupprefix16();
-}
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupprefix16.xhtml b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupprefix16.xhtml
deleted file mode 100644
index f088a4c..0000000
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodelookupprefix16.xhtml
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html [
-<!ENTITY ent1 'foo'>
-<!ENTITY ent2 'foo<br/>'>
-<!ELEMENT html (head, body)>
-<!ATTLIST html xmlns CDATA #IMPLIED>
-<!ELEMENT head (title,script*)>
-<!ELEMENT script (#PCDATA)>
-<!ATTLIST script
- src CDATA #IMPLIED
- type CDATA #IMPLIED
- charset CDATA #IMPLIED>
-<!ELEMENT title (#PCDATA)>
-<!ELEMENT body (p)>
-<!ATTLIST body onload CDATA #IMPLIED>
-<!ELEMENT p (#PCDATA|br)*>
-<!ELEMENT br EMPTY>
-]>
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>replaceWholeText sample</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='nodelookupprefix16.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()">
-<p>bar</p>
-</body>
-</html>
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild20.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild20.js
index a6cda64..94c073c 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild20.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild20.js
@@ -100,7 +100,7 @@ function nodereplacechild20() {
doc = load(docRef, "doc", "hc_staff");
docFrag = doc.createDocumentFragment();
elem = doc.createElementNS("http://www.w3.org/1999/xhtml","dom3:p");
- attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ attr = doc.createAttribute("xml:lang");
appendedChild = docFrag.appendChild(elem);
{
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.js
index 6f4a35a..0d3f160 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.js
@@ -98,7 +98,7 @@ function nodereplacechild34() {
docRef = this.doc;
}
doc = load(docRef, "doc", "hc_staff");
- parent = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ parent = doc.createAttribute("xml:lang");
oldChild = doc.createEntityReference("delta");
appendedChild = parent.appendChild(oldChild);
newChild = doc.createTextNode("Text");
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.js
index 1bae867..c159899 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.js
@@ -98,10 +98,10 @@ function nodereplacechild35() {
docRef = this.doc;
}
doc = load(docRef, "doc", "hc_staff");
- parent = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ parent = doc.createAttribute("xml:lang");
oldChild = doc.createEntityReference("delta");
appendedChild = parent.appendChild(oldChild);
- newChild = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ newChild = doc.createAttribute("xml:lang");
{
success = false;
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js
index fea225b..d912341 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js
@@ -97,7 +97,7 @@ function nodereplacechild36() {
docRef = this.doc;
}
doc = load(docRef, "doc", "hc_staff");
- parent = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ parent = doc.createAttribute("xml:lang");
oldChild = doc.createEntityReference("delta");
newChild = doc.createTextNode("Text");
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js
index 4fd0264..1dc41c0 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js
@@ -112,7 +112,7 @@ function nodereplacechild37() {
doc2Ref = this.doc2;
}
doc2 = load(doc2Ref, "doc2", "hc_staff");
- parent = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ parent = doc.createAttribute("xml:lang");
oldChild = doc.createTextNode("Text");
newChild = doc2.createEntityReference("delta");
appendedChild = parent.appendChild(oldChild);
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodesettextcontent06.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodesettextcontent06.js
index 5c35ff3..dd5ff86 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodesettextcontent06.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/nodesettextcontent06.js
@@ -100,7 +100,7 @@ function nodesettextcontent06() {
}
doc = load(docRef, "doc", "hc_staff");
elem = doc.createElementNS("http://www.w3.org/1999/xhtml","p");
- attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
+ attr = doc.createAttribute("xml:lang");
attrNode = elem.setAttributeNode(attr);
attr.textContent = "NA";
diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/wellformed04.js b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/wellformed04.js
index 79bf2a7..9628cc3 100644
--- a/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/wellformed04.js
+++ b/third_party/WebKit/LayoutTests/dom/xhtml/level3/core/wellformed04.js
@@ -105,7 +105,7 @@ doc = domImpl.createDocument("http://www.w3.org/1999/xhtml","html",nullDoctype);
{
success = false;
try {
- attr = doc.createAttributeNS(nullNS,"LegalNameࢎ");
+ attr = doc.createAttribute("LegalNameࢎ");
}
catch(ex) {
success = (typeof(ex.code) != 'undefined' && ex.code == 5);