<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[190120] trunk</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/190120">190120</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2015-09-22 10:17:12 -0700 (Tue, 22 Sep 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>Drop support for legacy EntityReference DOM Node type
https://bugs.webkit.org/show_bug.cgi?id=149348
Reviewed by Darin Adler.
LayoutTests/imported/w3c:
Rebaseline W3C DOM test now that more checks are passing.
* web-platform-tests/dom/historical-expected.txt:
Source/WebCore:
Drop support for legacy EntityReference DOM Node type.
EntityReference has been dropped from the DOM specification:
- https://dom.spec.whatwg.org/#dom-core-changes
EntityReference is not supported in Firefox:
- https://developer.mozilla.org/en-US/docs/Web/API/EntityReference
- https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator.expandEntityReferences
- https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker.expandEntityReferences
Chrome dropped support for EntityReference a while back (May 2013):
- EntityReference: https://code.google.com/p/chromium/issues/detail?id=226628
- NodeFilter / TreeWalker.expandEntityReferences:
- https://groups.google.com/a/chromium.org/d/msg/blink-dev/-ZO3eja4maA/86T13XJwQpUJ
- https://src.chromium.org/viewvc/blink?view=rev&revision=185771
IE also dropped support for EntityReference Nodes:
https://msdn.microsoft.com/library/ff974819(v=vs.85).aspx (Remarks section)
No new tests, already covered by existing test.
* DerivedSources.cpp:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* bindings/gobject/WebKitDOMPrivate.cpp:
(WebKit::wrap): Deleted.
* bindings/js/JSNodeCustom.cpp:
(WebCore::createWrapperInline): Deleted.
* bindings/objc/DOM.mm:
(kitClass): Deleted.
* bindings/scripts/CodeGeneratorGObject.pm:
(SkipFunction): Skip webkit_dom_document_create_entity_reference until Carlos fixes it.
* dom/Attr.cpp:
(WebCore::Attr::childTypeAllowed):
(WebCore::Attr::childrenChanged): Deleted.
* dom/Attr.h:
* dom/ContainerNode.cpp:
(WebCore::checkAcceptChild): Deleted.
(WebCore::checkAcceptChildGuaranteedNodeTypes): Deleted.
(WebCore::ContainerNode::removeChild): Deleted.
* dom/Document.cpp:
(WebCore::Document::createEntityReference):
(WebCore::Document::createNodeIterator):
(WebCore::Document::createTreeWalker):
(WebCore::Document::createEditingTextNode): Deleted.
(WebCore::Document::importNode): Deleted.
(WebCore::Document::adoptNode): Deleted.
(WebCore::Document::scheduleForcedStyleRecalc): Deleted.
(WebCore::Document::scheduleStyleRecalc): Deleted.
(WebCore::Document::childTypeAllowed): Deleted.
(WebCore::Document::canAcceptChild): Deleted.
* dom/Document.h:
* dom/Document.idl:
* dom/DocumentFragment.cpp:
(WebCore::DocumentFragment::childTypeAllowed): Deleted.
* dom/Element.cpp:
(WebCore::Element::childTypeAllowed): Deleted.
* dom/EntityReference.cpp:
(WebCore::EntityReference::EntityReference):
* dom/EntityReference.h:
* dom/EntityReference.idl:
* dom/Node.cpp:
(WebCore::Node::setNodeValue):
(WebCore::Node::dumpStatistics): Deleted.
(WebCore::Node::childNodes): Deleted.
(WebCore::Node::lastDescendant): Deleted.
(WebCore::Node::isDescendantOf): Deleted.
(WebCore::Node::textContent): Deleted.
(WebCore::Node::ancestorElement): Deleted.
(WebCore::hashPointer): Deleted.
* dom/Node.h:
(WebCore::Node::isDocumentTypeNode): Deleted.
* dom/NodeIterator.cpp:
(WebCore::NodeIterator::NodeIterator):
* dom/NodeIterator.h:
(WebCore::NodeIterator::create):
* dom/NodeIterator.idl:
* dom/Range.cpp:
(WebCore::Range::checkDeleteExtract):
(WebCore::lengthOfContentsInNode): Deleted.
(WebCore::Range::processContentsBetweenOffsets): Deleted.
(WebCore::Range::insertNode): Deleted.
(WebCore::Range::checkNodeWOffset): Deleted.
(WebCore::Range::checkNodeBA): Deleted.
(WebCore::Range::cloneRange): Deleted.
(WebCore::Range::selectNode): Deleted.
(WebCore::Range::selectNodeContents): Deleted.
(WebCore::Range::surroundContents): Deleted.
(WebCore::Range::shadowRoot): Deleted.
(WebCore::Range::pastLastNode): Deleted.
(WebCore::Range::absoluteBoundingBox): Deleted.
(WebCore::Range::absoluteTextRects): Deleted.
* dom/Range.h:
* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::childTypeAllowed): Deleted.
* dom/Traversal.cpp:
(WebCore::NodeIteratorBase::NodeIteratorBase):
(WebCore::NodeIteratorBase::acceptNode): Deleted.
* dom/Traversal.h:
(WebCore::NodeIteratorBase::expandEntityReferences):
* dom/TreeWalker.cpp:
(WebCore::TreeWalker::TreeWalker):
* dom/TreeWalker.h:
(WebCore::TreeWalker::create):
* dom/TreeWalker.idl:
* editing/MarkupAccumulator.cpp:
(WebCore::MarkupAccumulator::appendStartMarkup): Deleted.
* xml/XPathUtil.cpp:
(WebCore::XPath::isValidContextNode): Deleted.
Source/WebKit2:
Drop handling EntityReference Nodes.
* WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:
(WebKit::WKDOMNodeClass): Deleted.
* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::isAssistableElement):
LayoutTests:
Drop several outdated DOM compliance tests. Update / Rebaseline others.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsfastdomNodeinitialvaluesexpectedtxt">trunk/LayoutTests/fast/dom/Node/initial-values-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomNodescripttestsinitialvaluesjs">trunk/LayoutTests/fast/dom/Node/script-tests/initial-values.js</a></li>
<li><a href="#trunkLayoutTestsfastdomWindowgetsetpropertiesexpectedtxt">trunk/LayoutTests/fast/dom/Window/get-set-properties-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomWindowgetsetpropertieshtml">trunk/LayoutTests/fast/dom/Window/get-set-properties.html</a></li>
<li><a href="#trunkLayoutTestsfastdomWindowresourceswindowpropertiesjs">trunk/LayoutTests/fast/dom/Window/resources/window-properties.js</a></li>
<li><a href="#trunkLayoutTestsfastdomWindowwindowlookupprecedenceexpectedtxt">trunk/LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomWindowwindowpropertyshadowingexpectedtxt">trunk/LayoutTests/fast/dom/Window/window-property-shadowing-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomWindowwindowpropertyshadowinghtml">trunk/LayoutTests/fast/dom/Window/window-property-shadowing.html</a></li>
<li><a href="#trunkLayoutTestsfastdomdomconstructorsexpectedtxt">trunk/LayoutTests/fast/dom/dom-constructors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomdomconstructorshtml">trunk/LayoutTests/fast/dom/dom-constructors.html</a></li>
<li><a href="#trunkLayoutTestsfastdomwrapperclassesexpectedtxt">trunk/LayoutTests/fast/dom/wrapper-classes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomwrapperclasseshtml">trunk/LayoutTests/fast/dom/wrapper-classes.html</a></li>
<li><a href="#trunkLayoutTestshttptestssecuritycrossframeaccessgetexpectedtxt">trunk/LayoutTests/http/tests/security/cross-frame-access-get-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestssecuritycrossframeaccessgethtml">trunk/LayoutTests/http/tests/security/cross-frame-access-get.html</a></li>
<li><a href="#trunkLayoutTestshttptestssecuritycrossframeaccessgetOwnPropertyDescriptorexpectedtxt">trunk/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestssecuritycrossframeaccessgetOwnPropertyDescriptorhtml">trunk/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html</a></li>
<li><a href="#trunkLayoutTestshttptestssecuritycrossframeaccessputexpectedtxt">trunk/LayoutTests/http/tests/security/cross-frame-access-put-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestssecuritycrossframeaccessputhtml">trunk/LayoutTests/http/tests/security/cross-frame-access-put.html</a></li>
<li><a href="#trunkLayoutTestshttptestssecurityresourcescrossframeiframeforputtesthtml">trunk/LayoutTests/http/tests/security/resources/cross-frame-iframe-for-put-test.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomhistoricalexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformefljsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkfastdomWindowwindowlookupprecedenceexpectedtxt">trunk/LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkjsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastdomWindowwindowlookupprecedenceexpectedtxt">trunk/LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastdomwrapperclassesobjcexpectedtxt">trunk/LayoutTests/platform/mac/fast/dom/wrapper-classes-objc-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastdomwrapperclassesobjchtml">trunk/LayoutTests/platform/mac/fast/dom/wrapper-classes-objc.html</a></li>
<li><a href="#trunkLayoutTestsplatformmacjsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacmavericksjsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacyosemitejsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformwinjsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcescpp">trunk/Source/WebCore/DerivedSources.cpp</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCorevcxproj">trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters">trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCorebindingsgobjectWebKitDOMPrivatecpp">trunk/Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSNodeCustomcpp">trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMmm">trunk/Source/WebCore/bindings/objc/DOM.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorGObjectpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm</a></li>
<li><a href="#trunkSourceWebCoredomAttrcpp">trunk/Source/WebCore/dom/Attr.cpp</a></li>
<li><a href="#trunkSourceWebCoredomAttrh">trunk/Source/WebCore/dom/Attr.h</a></li>
<li><a href="#trunkSourceWebCoredomContainerNodecpp">trunk/Source/WebCore/dom/ContainerNode.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDocumentcpp">trunk/Source/WebCore/dom/Document.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDocumenth">trunk/Source/WebCore/dom/Document.h</a></li>
<li><a href="#trunkSourceWebCoredomDocumentidl">trunk/Source/WebCore/dom/Document.idl</a></li>
<li><a href="#trunkSourceWebCoredomDocumentFragmentcpp">trunk/Source/WebCore/dom/DocumentFragment.cpp</a></li>
<li><a href="#trunkSourceWebCoredomElementcpp">trunk/Source/WebCore/dom/Element.cpp</a></li>
<li><a href="#trunkSourceWebCoredomEntityReferencecpp">trunk/Source/WebCore/dom/EntityReference.cpp</a></li>
<li><a href="#trunkSourceWebCoredomEntityReferenceh">trunk/Source/WebCore/dom/EntityReference.h</a></li>
<li><a href="#trunkSourceWebCoredomEntityReferenceidl">trunk/Source/WebCore/dom/EntityReference.idl</a></li>
<li><a href="#trunkSourceWebCoredomNodecpp">trunk/Source/WebCore/dom/Node.cpp</a></li>
<li><a href="#trunkSourceWebCoredomNodeh">trunk/Source/WebCore/dom/Node.h</a></li>
<li><a href="#trunkSourceWebCoredomNodeIteratorcpp">trunk/Source/WebCore/dom/NodeIterator.cpp</a></li>
<li><a href="#trunkSourceWebCoredomNodeIteratorh">trunk/Source/WebCore/dom/NodeIterator.h</a></li>
<li><a href="#trunkSourceWebCoredomNodeIteratoridl">trunk/Source/WebCore/dom/NodeIterator.idl</a></li>
<li><a href="#trunkSourceWebCoredomRangecpp">trunk/Source/WebCore/dom/Range.cpp</a></li>
<li><a href="#trunkSourceWebCoredomRangeh">trunk/Source/WebCore/dom/Range.h</a></li>
<li><a href="#trunkSourceWebCoredomShadowRootcpp">trunk/Source/WebCore/dom/ShadowRoot.cpp</a></li>
<li><a href="#trunkSourceWebCoredomTraversalcpp">trunk/Source/WebCore/dom/Traversal.cpp</a></li>
<li><a href="#trunkSourceWebCoredomTraversalh">trunk/Source/WebCore/dom/Traversal.h</a></li>
<li><a href="#trunkSourceWebCoredomTreeWalkercpp">trunk/Source/WebCore/dom/TreeWalker.cpp</a></li>
<li><a href="#trunkSourceWebCoredomTreeWalkerh">trunk/Source/WebCore/dom/TreeWalker.h</a></li>
<li><a href="#trunkSourceWebCoredomTreeWalkeridl">trunk/Source/WebCore/dom/TreeWalker.idl</a></li>
<li><a href="#trunkSourceWebCoreeditingMarkupAccumulatorcpp">trunk/Source/WebCore/editing/MarkupAccumulator.cpp</a></li>
<li><a href="#trunkSourceWebCorexmlXPathUtilcpp">trunk/Source/WebCore/xml/XPathUtil.cpp</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2WebProcessInjectedBundleAPImacWKDOMInternalsmm">trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageiosWebPageIOSmm">trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsdomhtmllevel1coredocumentinvalidcharacterexceptioncreateentrefexpectedtxt">trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomhtmllevel1coredocumentinvalidcharacterexceptioncreateentrefhtml">trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.html</a></li>
<li><a href="#trunkLayoutTestsdomhtmllevel1coredocumentinvalidcharacterexceptioncreateentrefjs">trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.js</a></li>
<li><a href="#trunkLayoutTestsdomhtmllevel1coredocumentinvalidcharacterexceptioncreateentref1expectedtxt">trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomhtmllevel1coredocumentinvalidcharacterexceptioncreateentref1html">trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.html</a></li>
<li><a href="#trunkLayoutTestsdomhtmllevel1coredocumentinvalidcharacterexceptioncreateentref1js">trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.js</a></li>
<li><a href="#trunkLayoutTestsdomhtmllevel1corehc_attrgetvalue2expectedtxt">trunk/LayoutTests/dom/html/level1/core/hc_attrgetvalue2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomhtmllevel1corehc_attrgetvalue2html">trunk/LayoutTests/dom/html/level1/core/hc_attrgetvalue2.html</a></li>
<li><a href="#trunkLayoutTestsdomhtmllevel1corehc_attrgetvalue2js">trunk/LayoutTests/dom/html/level1/core/hc_attrgetvalue2.js</a></li>
<li><a href="#trunkLayoutTestsdomhtmllevel1corehc_nodevalue03expectedtxt">trunk/LayoutTests/dom/html/level1/core/hc_nodevalue03-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomhtmllevel1corehc_nodevalue03html">trunk/LayoutTests/dom/html/level1/core/hc_nodevalue03.html</a></li>
<li><a href="#trunkLayoutTestsdomhtmllevel1corehc_nodevalue03js">trunk/LayoutTests/dom/html/level1/core/hc_nodevalue03.js</a></li>
<li><a href="#trunkLayoutTestsdomsvglevel3xpathXPathEvaluator_evaluate_NOT_SUPPORTED_ERRexpectedtxt">trunk/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomsvglevel3xpathXPathEvaluator_evaluate_NOT_SUPPORTED_ERRjs">trunk/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.js</a></li>
<li><a href="#trunkLayoutTestsdomsvglevel3xpathXPathEvaluator_evaluate_NOT_SUPPORTED_ERRsvg">trunk/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.svg</a></li>
<li><a href="#trunkLayoutTestsdomsvglevel3xpathXPathExpression_evaluate_NOT_SUPPORTED_ERRexpectedtxt">trunk/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomsvglevel3xpathXPathExpression_evaluate_NOT_SUPPORTED_ERRjs">trunk/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.js</a></li>
<li><a href="#trunkLayoutTestsdomsvglevel3xpathXPathExpression_evaluate_NOT_SUPPORTED_ERRsvg">trunk/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.svg</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel1coredocumentinvalidcharacterexceptioncreateentrefexpectedtxt">trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel1coredocumentinvalidcharacterexceptioncreateentrefjs">trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel1coredocumentinvalidcharacterexceptioncreateentrefxhtml">trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel1coredocumentinvalidcharacterexceptioncreateentref1expectedtxt">trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel1coredocumentinvalidcharacterexceptioncreateentref1js">trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel1coredocumentinvalidcharacterexceptioncreateentref1xhtml">trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel1corehc_attrgetvalue2expectedtxt">trunk/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel1corehc_attrgetvalue2js">trunk/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel1corehc_attrgetvalue2xhtml">trunk/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel1corehc_nodevalue03expectedtxt">trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel1corehc_nodevalue03js">trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel1corehc_nodevalue03xhtml">trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentadoptnode06expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode06-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentadoptnode06js">trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentadoptnode06xhtml">trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentadoptnode16expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode16-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentadoptnode16js">trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode16.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentadoptnode16xhtml">trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode16.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentrenamenode27expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/documentrenamenode27-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentrenamenode27js">trunk/LayoutTests/dom/xhtml/level3/core/documentrenamenode27.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coredocumentrenamenode27xhtml">trunk/LayoutTests/dom/xhtml/level3/core/documentrenamenode27.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition20xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition20.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition26expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition26js">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition26xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition27expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition27js">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition27xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition28expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition28js">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition28xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition29expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition29js">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition29xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodegetfeature04expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodegetfeature04-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodegetfeature04js">trunk/LayoutTests/dom/xhtml/level3/core/nodegetfeature04.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodegetfeature04xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodegetfeature04.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodegettextcontent15expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodegettextcontent15js">trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodegettextcontent15xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodegettextcontent16expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodegettextcontent16js">trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodegettextcontent16xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodegettextcontent17expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodegettextcontent17js">trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodegettextcontent17xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodeinsertbefore11expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodeinsertbefore11js">trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodeinsertbefore11xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodeinsertbefore15expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodeinsertbefore15js">trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodeinsertbefore15xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenoderemovechild12expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild12-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenoderemovechild12js">trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild12.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenoderemovechild12xhtml">trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild12.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenoderemovechild13expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild13-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenoderemovechild13js">trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild13.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenoderemovechild13xhtml">trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild13.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenoderemovechild14expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild14-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenoderemovechild14js">trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild14.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenoderemovechild14xhtml">trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild14.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenoderemovechild15expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild15-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenoderemovechild15js">trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild15.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenoderemovechild15xhtml">trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild15.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild18expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild18-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild18js">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild18.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild18xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild18.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild19expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild19-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild19js">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild19.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild19xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild19.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild22expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild22-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild22js">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild22.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild22xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild22.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild23expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild23-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild23js">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild23.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild23xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild23.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild30expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild30-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild30js">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild30.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild30xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild30.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild33expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild33-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild33js">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild33.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild33xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild33.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild34expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild34-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild34js">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild34xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild35expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild35-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild35js">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild35xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild36expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild36-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild36js">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild36xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild37expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild37-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild37js">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodereplacechild37xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodesettextcontent10expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent10-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodesettextcontent10js">trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent10.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodesettextcontent10xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent10.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodesettextcontent11expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent11-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodesettextcontent11js">trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent11.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodesettextcontent11xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent11.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodesettextcontent12expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent12-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodesettextcontent12js">trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent12.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodesettextcontent12xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent12.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodesetuserdata08expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/nodesetuserdata08-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodesetuserdata08js">trunk/LayoutTests/dom/xhtml/level3/core/nodesetuserdata08.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3corenodesetuserdata08xhtml">trunk/LayoutTests/dom/xhtml/level3/core/nodesetuserdata08.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext06expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext06-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext06js">trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext06.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext06xhtml">trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext06.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext07expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext07-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext07js">trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext07.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext07xhtml">trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext07.xhtml</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext08expectedtxt">trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext08-expected.txt</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext08js">trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext08.js</a></li>
<li><a href="#trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext08xhtml">trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext08.xhtml</a></li>
<li>trunk/LayoutTests/fast/dom/EntityReference/</li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/ChangeLog        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,5 +1,14 @@
</span><span class="cx"> 2015-09-22 Chris Dumez <cdumez@apple.com>
</span><span class="cx">
</span><ins>+ Drop support for legacy EntityReference DOM Node type
+ https://bugs.webkit.org/show_bug.cgi?id=149348
+
+ Reviewed by Darin Adler.
+
+ Drop several outdated DOM compliance tests. Update / Rebaseline others.
+
+2015-09-22 Chris Dumez <cdumez@apple.com>
+
</ins><span class="cx"> Unreviewed, rebaseline several W3C html tests on iOS after r190106 and r190085.
</span><span class="cx">
</span><span class="cx"> * platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt:
</span></span></pre></div>
<a id="trunkLayoutTestsdomhtmllevel1coredocumentinvalidcharacterexceptioncreateentrefexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test:        http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentinvalidcharacterexceptioncreateentref
-Status:        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomhtmllevel1coredocumentinvalidcharacterexceptioncreateentrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-<!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="documentinvalidcharacterexceptioncreateentref.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomhtmllevel1coredocumentinvalidcharacterexceptioncreateentrefjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,143 +0,0 @@
</span><del>-
-/*
-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/level1/core/documentinvalidcharacterexceptioncreateentref";
- }
-
-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();
- checkFeature("XML", null);
-
- 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';
- }
-}
-
-
-/**
-*
- The "createEntityReference(tagName)" method raises an
- INVALID_CHARACTER_ERR DOMException if the specified
- tagName contains an invalid character.
-
-* @author NIST
-* @author Mary Brady
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-392B75AE
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-392B75AE')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=249
-*/
-function documentinvalidcharacterexceptioncreateentref() {
- var success;
- if(checkInitialization(builder, "documentinvalidcharacterexceptioncreateentref") != null) return;
- var doc;
- var badEntityRef;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
-
-        if(
-        
-        (builder.contentType == "text/html")
-
-        ) {
-        
-        {
-                success = false;
-                try {
- badEntityRef = doc.createEntityReference("foo");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR",success);
-        }
-
-        }
-        
-                else {
-                        
-        {
-                success = false;
-                try {
- badEntityRef = doc.createEntityReference("invalid^Name");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 5);
-                }
-                assertTrue("throw_INVALID_CHARACTER_ERR",success);
-        }
-
-                }
-        
-}
-
-
-
-
-function runTest() {
- documentinvalidcharacterexceptioncreateentref();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomhtmllevel1coredocumentinvalidcharacterexceptioncreateentref1expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test:        http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentinvalidcharacterexceptioncreateentref1
-Status:        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomhtmllevel1coredocumentinvalidcharacterexceptioncreateentref1html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-<!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="documentinvalidcharacterexceptioncreateentref1.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomhtmllevel1coredocumentinvalidcharacterexceptioncreateentref1js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/html/level1/core/documentinvalidcharacterexceptioncreateentref1.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,140 +0,0 @@
</span><del>-
-/*
-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/level1/core/documentinvalidcharacterexceptioncreateentref1";
- }
-
-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();
- checkFeature("XML", null);
-
- 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';
- }
-}
-
-
-/**
-*
-Creating an entity reference with an empty name should cause an INVALID_CHARACTER_ERR.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-392B75AE
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-392B75AE')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=525
-*/
-function documentinvalidcharacterexceptioncreateentref1() {
- var success;
- if(checkInitialization(builder, "documentinvalidcharacterexceptioncreateentref1") != null) return;
- var doc;
- var badEntityRef;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
-
-        if(
-        
-        (builder.contentType == "text/html")
-
-        ) {
-        
-        {
-                success = false;
-                try {
- badEntityRef = doc.createEntityReference("foo");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR",success);
-        }
-
-        }
-        
-                else {
-                        
-        {
-                success = false;
-                try {
- badEntityRef = doc.createEntityReference("");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 5);
-                }
-                assertTrue("throw_INVALID_CHARACTER_ERR",success);
-        }
-
-                }
-        
-}
-
-
-
-
-function runTest() {
- documentinvalidcharacterexceptioncreateentref1();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomhtmllevel1corehc_attrgetvalue2expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/html/level1/core/hc_attrgetvalue2-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/html/level1/core/hc_attrgetvalue2-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/html/level1/core/hc_attrgetvalue2-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test:        http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_attrgetvalue2
-Status:        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomhtmllevel1corehc_attrgetvalue2html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/html/level1/core/hc_attrgetvalue2.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/html/level1/core/hc_attrgetvalue2.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/html/level1/core/hc_attrgetvalue2.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-<!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="hc_attrgetvalue2.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomhtmllevel1corehc_attrgetvalue2js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/html/level1/core/hc_attrgetvalue2.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/html/level1/core/hc_attrgetvalue2.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/html/level1/core/hc_attrgetvalue2.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,146 +0,0 @@
</span><del>-
-/*
-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/level1/core/hc_attrgetvalue2";
- }
-
-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();
- checkFeature("XML", null);
-
- 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';
- }
-}
-
-
-/**
-*
-Checks the value of an attribute that contains entity references.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-221662474
-*/
-function hc_attrgetvalue2() {
- var success;
- if(checkInitialization(builder, "hc_attrgetvalue2") != null) return;
- var doc;
- var acronymList;
- var testNode;
- var attributes;
- var titleAttr;
- var value;
- var textNode;
- var retval;
- var firstChild;
- var alphaRef;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- acronymList = doc.getElementsByTagName("acronym");
- testNode = acronymList.item(3);
- attributes = testNode.attributes;
-
- titleAttr = attributes.getNamedItem("class");
-
-        if(
-        
-        (builder.contentType == "text/html")
-
-        ) {
-        
-        {
-                success = false;
-                try {
- alphaRef = doc.createEntityReference("alpha");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR",success);
-        }
-
-        }
-        
-                else {
-                        alphaRef = doc.createEntityReference("alpha");
- firstChild = titleAttr.firstChild;
-
- retval = titleAttr.insertBefore(alphaRef,firstChild);
- value = titleAttr.value;
-
- assertEquals("attrValue1","αYα",value);
-
-                }
-        
-}
-
-
-
-
-function runTest() {
- hc_attrgetvalue2();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomhtmllevel1corehc_nodevalue03expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/html/level1/core/hc_nodevalue03-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/html/level1/core/hc_nodevalue03-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/html/level1/core/hc_nodevalue03-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test:        http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_nodevalue03
-Status:        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomhtmllevel1corehc_nodevalue03html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/html/level1/core/hc_nodevalue03.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/html/level1/core/hc_nodevalue03.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/html/level1/core/hc_nodevalue03.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-<!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="hc_nodevalue03.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomhtmllevel1corehc_nodevalue03js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/html/level1/core/hc_nodevalue03.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/html/level1/core/hc_nodevalue03.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/html/level1/core/hc_nodevalue03.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,138 +0,0 @@
</span><del>-
-/*
-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/level1/core/hc_nodevalue03";
- }
-
-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';
- }
-}
-
-
-/**
-*
-An entity reference is created, setNodeValue is called with a non-null argument, but getNodeValue
-should still return null.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D080
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-11C98490
-*/
-function hc_nodevalue03() {
- var success;
- if(checkInitialization(builder, "hc_nodevalue03") != null) return;
- var doc;
- var newNode;
- var newValue;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
-
-        if(
-        
-        (builder.contentType == "text/html")
-
-        ) {
-        
-        {
-                success = false;
-                try {
- newNode = doc.createEntityReference("ent1");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR",success);
-        }
-
-        }
-        
-                else {
-                        newNode = doc.createEntityReference("ent1");
- assertNotNull("createdEntRefNotNull",newNode);
-newValue = newNode.nodeValue;
-
- assertNull("initiallyNull",newValue);
- newNode.nodeValue = "This should have no effect";
-
- newValue = newNode.nodeValue;
-
- assertNull("nullAfterAttemptedChange",newValue);
-
-                }
-        
-}
-
-
-
-
-function runTest() {
- hc_nodevalue03();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomsvglevel3xpathXPathEvaluator_evaluate_NOT_SUPPORTED_ERRexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-XPathEvaluator_evaluate_NOT_SUPPORTED_ERR: Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomsvglevel3xpathXPathEvaluator_evaluate_NOT_SUPPORTED_ERRjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,119 +0,0 @@
</span><del>-
-/*
-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
-*/
-
-
-// expose test function names
-function exposeTestFunctionNames()
-{
-return ['XPathEvaluator_evaluate_NOT_SUPPORTED_ERR'];
-}
-
-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", "staffNS");
-
- 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';
- }
-}
-
-
-/**
-*
- Test if XPathEvaluator.evaluate properly throws NOT_SUPPORTED_ERROR
-
-* @author Philippe Le Hégaret
-* @author Bob Clary
-* @see http://www.w3.org/TR/2003/CR-DOM-Level-3-XPath-20030331/xpath#XPathEvaluator-evaluate
-*/
-function XPathEvaluator_evaluate_NOT_SUPPORTED_ERR() {
- var success;
- if(checkInitialization(builder, "XPathEvaluator_evaluate_NOT_SUPPORTED_ERR") != null) return;
- var doc;
- var xpEvaluator;
- var result;
- var nullNSResolver = null;
-
- var nullResult = null;
-
- var contextNode;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "staffNS");
- xpEvaluator = createXPathEvaluator(doc);
-contextNode = doc.createEntityReference("entityname");
-
-        {
-                success = false;
-                try {
- result = xpEvaluator.evaluate("//foo:bar",contextNode,nullNSResolver,0,nullResult);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- XPathEvaluator_evaluate_NOT_SUPPORTED_ERR();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomsvglevel3xpathXPathEvaluator_evaluate_NOT_SUPPORTED_ERRsvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.svg (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.svg        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/svg/level3/xpath/XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.svg        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-<svg xmlns="http://www.w3.org/2000/svg" xmlns:nist="http://www.nist.gov"><rect x="0" y="0" width="100" height="100"/>
-<script xmlns="http://www.w3.org/1999/xhtml" src="XPathEvaluator_evaluate_NOT_SUPPORTED_ERR.js"/>
-<script xmlns="http://www.w3.org/1999/xhtml" src="svgunit.js"/>
-</svg>
</del></span></pre></div>
<a id="trunkLayoutTestsdomsvglevel3xpathXPathExpression_evaluate_NOT_SUPPORTED_ERRexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-XPathExpression_evaluate_NOT_SUPPORTED_ERR: Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomsvglevel3xpathXPathExpression_evaluate_NOT_SUPPORTED_ERRjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,121 +0,0 @@
</span><del>-
-/*
-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
-*/
-
-
-// expose test function names
-function exposeTestFunctionNames()
-{
-return ['XPathExpression_evaluate_NOT_SUPPORTED_ERR'];
-}
-
-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", "staffNS");
-
- 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';
- }
-}
-
-
-/**
-*
- Test if XPathExpression.evaluate properly throws NOT_SUPPORTED_ERROR
-
-* @author Philippe Le Hégaret
-* @author Bob Clary
-* @see http://www.w3.org/TR/2003/CR-DOM-Level-3-XPath-20030331/xpath#XPathExpression-evaluate
-*/
-function XPathExpression_evaluate_NOT_SUPPORTED_ERR() {
- var success;
- if(checkInitialization(builder, "XPathExpression_evaluate_NOT_SUPPORTED_ERR") != null) return;
- var doc;
- var xpEvaluator;
- var result;
- var nullNSResolver = null;
-
- var nullResult = null;
-
- var contextNode;
- var xpathExpression;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "staffNS");
- xpEvaluator = createXPathEvaluator(doc);
-xpathExpression = xpEvaluator.createExpression("//foo",nullNSResolver);
- contextNode = doc.createEntityReference("entityname");
-
-        {
-                success = false;
-                try {
- result = xpathExpression.evaluate(contextNode,0,nullResult);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- XPathExpression_evaluate_NOT_SUPPORTED_ERR();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomsvglevel3xpathXPathExpression_evaluate_NOT_SUPPORTED_ERRsvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.svg (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.svg        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/svg/level3/xpath/XPathExpression_evaluate_NOT_SUPPORTED_ERR.svg        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-<svg xmlns="http://www.w3.org/2000/svg" xmlns:nist="http://www.nist.gov"><rect x="0" y="0" width="100" height="100"/>
-<script xmlns="http://www.w3.org/1999/xhtml" src="XPathExpression_evaluate_NOT_SUPPORTED_ERR.js"/>
-<script xmlns="http://www.w3.org/1999/xhtml" src="svgunit.js"/>
-</svg>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel1coredocumentinvalidcharacterexceptioncreateentrefexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentinvalidcharacterexceptioncreateentref
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel1coredocumentinvalidcharacterexceptioncreateentrefjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,143 +0,0 @@
</span><del>-
-/*
-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/level1/core/documentinvalidcharacterexceptioncreateentref";
- }
-
-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();
- checkFeature("XML", null);
-
- 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';
- }
-}
-
-
-/**
-*
- The "createEntityReference(tagName)" method raises an
- INVALID_CHARACTER_ERR DOMException if the specified
- tagName contains an invalid character.
-
-* @author NIST
-* @author Mary Brady
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-392B75AE
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-392B75AE')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=249
-*/
-function documentinvalidcharacterexceptioncreateentref() {
- var success;
- if(checkInitialization(builder, "documentinvalidcharacterexceptioncreateentref") != null) return;
- var doc;
- var badEntityRef;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
-
-        if(
-        
-        (builder.contentType == "text/html")
-
-        ) {
-        
-        {
-                success = false;
-                try {
- badEntityRef = doc.createEntityReference("foo");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR",success);
-        }
-
-        }
-        
-                else {
-                        
-        {
-                success = false;
-                try {
- badEntityRef = doc.createEntityReference("invalid^Name");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 5);
-                }
-                assertTrue("throw_INVALID_CHARACTER_ERR",success);
-        }
-
-                }
-        
-}
-
-
-
-
-function runTest() {
- documentinvalidcharacterexceptioncreateentref();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel1coredocumentinvalidcharacterexceptioncreateentrefxhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,60 +0,0 @@
</span><del>-<?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="documentinvalidcharacterexceptioncreateentref.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel1coredocumentinvalidcharacterexceptioncreateentref1expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentinvalidcharacterexceptioncreateentref1
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel1coredocumentinvalidcharacterexceptioncreateentref1js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,140 +0,0 @@
</span><del>-
-/*
-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/level1/core/documentinvalidcharacterexceptioncreateentref1";
- }
-
-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();
- checkFeature("XML", null);
-
- 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';
- }
-}
-
-
-/**
-*
-Creating an entity reference with an empty name should cause an INVALID_CHARACTER_ERR.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-392B75AE
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-392B75AE')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=525
-*/
-function documentinvalidcharacterexceptioncreateentref1() {
- var success;
- if(checkInitialization(builder, "documentinvalidcharacterexceptioncreateentref1") != null) return;
- var doc;
- var badEntityRef;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
-
-        if(
-        
-        (builder.contentType == "text/html")
-
-        ) {
-        
-        {
-                success = false;
-                try {
- badEntityRef = doc.createEntityReference("foo");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR",success);
-        }
-
-        }
-        
-                else {
-                        
-        {
-                success = false;
-                try {
- badEntityRef = doc.createEntityReference("");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 5);
-                }
-                assertTrue("throw_INVALID_CHARACTER_ERR",success);
-        }
-
-                }
-        
-}
-
-
-
-
-function runTest() {
- documentinvalidcharacterexceptioncreateentref1();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel1coredocumentinvalidcharacterexceptioncreateentref1xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level1/core/documentinvalidcharacterexceptioncreateentref1.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,60 +0,0 @@
</span><del>-<?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="documentinvalidcharacterexceptioncreateentref1.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel1corehc_attrgetvalue2expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_attrgetvalue2
-Status        failure
-Message        attrValue1: assertEquals failed, actual Yα, expected αYα.
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel1corehc_attrgetvalue2js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,146 +0,0 @@
</span><del>-
-/*
-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/level1/core/hc_attrgetvalue2";
- }
-
-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();
- checkFeature("XML", null);
-
- 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';
- }
-}
-
-
-/**
-*
-Checks the value of an attribute that contains entity references.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-221662474
-*/
-function hc_attrgetvalue2() {
- var success;
- if(checkInitialization(builder, "hc_attrgetvalue2") != null) return;
- var doc;
- var acronymList;
- var testNode;
- var attributes;
- var titleAttr;
- var value;
- var textNode;
- var retval;
- var firstChild;
- var alphaRef;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- acronymList = doc.getElementsByTagName("acronym");
- testNode = acronymList.item(3);
- attributes = testNode.attributes;
-
- titleAttr = attributes.getNamedItem("class");
-
-        if(
-        
-        (builder.contentType == "text/html")
-
-        ) {
-        
-        {
-                success = false;
-                try {
- alphaRef = doc.createEntityReference("alpha");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR",success);
-        }
-
-        }
-        
-                else {
-                        alphaRef = doc.createEntityReference("alpha");
- firstChild = titleAttr.firstChild;
-
- retval = titleAttr.insertBefore(alphaRef,firstChild);
- value = titleAttr.value;
-
- assertEquals("attrValue1","αYα",value);
-
-                }
-        
-}
-
-
-
-
-function runTest() {
- hc_attrgetvalue2();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel1corehc_attrgetvalue2xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,60 +0,0 @@
</span><del>-<?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="hc_attrgetvalue2.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel1corehc_nodevalue03expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_nodevalue03
-Status        error
-Message        Error: NoModificationAllowedError: DOM Exception 7
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel1corehc_nodevalue03js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,138 +0,0 @@
</span><del>-
-/*
-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/level1/core/hc_nodevalue03";
- }
-
-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';
- }
-}
-
-
-/**
-*
-An entity reference is created, setNodeValue is called with a non-null argument, but getNodeValue
-should still return null.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D080
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-11C98490
-*/
-function hc_nodevalue03() {
- var success;
- if(checkInitialization(builder, "hc_nodevalue03") != null) return;
- var doc;
- var newNode;
- var newValue;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
-
-        if(
-        
-        (builder.contentType == "text/html")
-
-        ) {
-        
-        {
-                success = false;
-                try {
- newNode = doc.createEntityReference("ent1");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR",success);
-        }
-
-        }
-        
-                else {
-                        newNode = doc.createEntityReference("ent1");
- assertNotNull("createdEntRefNotNull",newNode);
-newValue = newNode.nodeValue;
-
- assertNull("initiallyNull",newValue);
- newNode.nodeValue = "This should have no effect";
-
- newValue = newNode.nodeValue;
-
- assertNull("nullAfterAttemptedChange",newValue);
-
-                }
-        
-}
-
-
-
-
-function runTest() {
- hc_nodevalue03();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel1corehc_nodevalue03xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,60 +0,0 @@
</span><del>-<?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="hc_nodevalue03.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentadoptnode06expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode06-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode06-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode06-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentadoptnode06
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentadoptnode06js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,175 +0,0 @@
</span><del>-
-/*
-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/documentadoptnode06";
- }
-
-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';
- }
-}
-
-
-/**
-*
-        Invoke adoptNode on a new document to adopt the a new Attribute node having a Text and an EntityReference
-        child. Check if this attribute has been adopted successfully by verifying the nodeName, namespaceURI, prefix,
-        specified and ownerElement attributes of the adopted node. Also verify the ownerDocument attribute
-        of the adopted node and the adopted children of the attribute node.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Document3-adoptNode
-*/
-function documentadoptnode06() {
- var success;
- if(checkInitialization(builder, "documentadoptnode06") != null) return;
- var doc;
- var newDoc;
- var domImpl;
- var newAttr;
- var newText;
- var newEntRef;
- var adoptedAttr;
- var adoptText;
- var adoptEntRef;
- var nodeList;
- var nodeName;
- var nodeNamespaceURI;
- var nodePrefix;
- var attrOwnerElem;
- var isSpecified;
- var adoptedTextNodeValue;
- var adoptedEntRefNodeValue;
- var nullDocType = null;
-
- var appendedChild;
- var docElem;
- var rootNS;
- var rootName;
- var xmlNS = "http://www.w3.org/XML/1998/namespace";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- docElem = doc.documentElement;
-
- rootName = docElem.tagName;
-
- rootNS = docElem.namespaceURI;
-
- domImpl = doc.implementation;
-newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
- newAttr = doc.createAttributeNS(xmlNS,"xml:lang");
- newText = doc.createTextNode("Text Node");
- newEntRef = doc.createEntityReference("alpha");
- appendedChild = newAttr.appendChild(newText);
- appendedChild = newAttr.appendChild(newEntRef);
- adoptedAttr = newDoc.adoptNode(newAttr);
-
-        if(
-        
-        (adoptedAttr != null)
-
-        ) {
-        nodeName = adoptedAttr.nodeName;
-
- nodeNamespaceURI = adoptedAttr.namespaceURI;
-
- nodePrefix = adoptedAttr.prefix;
-
- attrOwnerElem = adoptedAttr.ownerElement;
-
- isSpecified = adoptedAttr.specified;
-
- assertEquals("documentadoptnode06_nodeName","xml:lang",nodeName);
- assertEquals("documentadoptnode06_namespaceURI",xmlNS,nodeNamespaceURI);
- assertEquals("documentadoptnode06_prefix","xml",nodePrefix);
- assertNull("documentadoptnode06_ownerDoc",attrOwnerElem);
- assertTrue("documentadoptnode06_specified",isSpecified);
-nodeList = adoptedAttr.childNodes;
-
- adoptText = nodeList.item(0);
- adoptEntRef = nodeList.item(1);
- adoptedTextNodeValue = adoptText.nodeValue;
-
- adoptedEntRefNodeValue = adoptEntRef.nodeName;
-
- assertEquals("documentadoptnode06_TextNodeValue","Text Node",adoptedTextNodeValue);
- assertEquals("documentadoptnode06_EntRefNodeValue","alpha",adoptedEntRefNodeValue);
-
-        }
-        
-}
-
-
-
-
-function runTest() {
- documentadoptnode06();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentadoptnode06xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode06.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="documentadoptnode06.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentadoptnode16expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode16-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode16-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode16-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentadoptnode16
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentadoptnode16js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode16.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode16.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode16.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,170 +0,0 @@
</span><del>-
-/*
-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/documentadoptnode16";
- }
-
-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';
- }
-}
-
-
-/**
-*
-Create a document fragment with an entity reference, adopt the node and check
-that the entity reference value comes from the adopting documents DTD.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Document3-adoptNode
-*/
-function documentadoptnode16() {
- var success;
- if(checkInitialization(builder, "documentadoptnode16") != null) return;
- var doc;
- var docFragment;
- var childList;
- var parent;
- var child;
- var childsAttr;
- var entRef;
- var textNode;
- var adopted;
- var parentImp;
- var childImp;
- var attributes;
- var childAttrImp;
- var nodeValue;
- var appendedChild;
- var attrNode;
- var firstChild;
- var firstChildType;
- var firstChildName;
- var firstChildValue;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- docFragment = doc.createDocumentFragment();
- parent = doc.createElement("parent");
- child = doc.createElement("child");
- childsAttr = doc.createAttribute("state");
- entRef = doc.createEntityReference("gamma");
- textNode = doc.createTextNode("Test");
- appendedChild = childsAttr.appendChild(entRef);
- attrNode = child.setAttributeNode(childsAttr);
- appendedChild = child.appendChild(textNode);
- appendedChild = parent.appendChild(child);
- appendedChild = docFragment.appendChild(parent);
- adopted = doc.adoptNode(docFragment);
-
-        if(
-        
-        (adopted != null)
-
-        ) {
-        parentImp = adopted.firstChild;
-
- childImp = parentImp.firstChild;
-
- attributes = childImp.attributes;
-
- childAttrImp = attributes.getNamedItem("state");
- firstChild = childAttrImp.firstChild;
-
- assertNotNull("firstChildNotNull",firstChild);
-firstChildName = firstChild.nodeName;
-
- firstChildValue = firstChild.nodeValue;
-
- firstChildType = firstChild.nodeType;
-
-
-        if(
-        (5 == firstChildType)
-        ) {
-        assertEquals("firstChildEnt3Ref","gamma",firstChildName);
-
-        }
-        
-                else {
-                        assertEquals("documentadoptnode16","Texas",firstChildValue);
-
-                }
-        
-        }
-        
-}
-
-
-
-
-function runTest() {
- documentadoptnode16();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentadoptnode16xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode16.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode16.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentadoptnode16.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="documentadoptnode16.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentrenamenode27expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentrenamenode27-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentrenamenode27-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentrenamenode27-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentrenamenode27
-Status        failure
-Message        throw_NOT_SUPPORTED_ERR_1: assertTrue failed
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentrenamenode27js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentrenamenode27.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentrenamenode27.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentrenamenode27.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,189 +0,0 @@
</span><del>-
-/*
-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/documentrenamenode27";
- }
-
-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';
- }
-}
-
-
-/**
-*
-        Invoke the renameNode method to attempt to rename new Text, Comment, CDataSection,
-        ProcessingInstruction and EntityReference nodes of a new Document.
-        Check if a NOT_SUPPORTED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Document3-renameNode
-*/
-function documentrenamenode27() {
- var success;
- if(checkInitialization(builder, "documentrenamenode27") != null) return;
- var doc;
- var newDoc;
- var domImpl;
- var text;
- var comment;
- var cdata;
- var pi;
- var entref;
- var renamedTxt;
- var renamedComment;
- var renamedCdata;
- var renamedPi;
- var renamedEntRef;
- var nullDocType = null;
-
- var docElem;
- var rootNS;
- var rootName;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- docElem = doc.documentElement;
-
- rootNS = docElem.namespaceURI;
-
- rootName = docElem.tagName;
-
- domImpl = doc.implementation;
-newDoc = domImpl.createDocument(rootNS,rootName,nullDocType);
- text = newDoc.createTextNode("text");
- comment = newDoc.createComment("comment");
- cdata = newDoc.createCDATASection("cdata");
- pi = newDoc.createProcessingInstruction("pit","pid");
- entref = newDoc.createEntityReference("alpha");
-
-        {
-                success = false;
-                try {
- renamedTxt = newDoc.renameNode(text,"http://www.w3.org/DOM/Test","text");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR_1",success);
-        }
-
-        {
-                success = false;
-                try {
- renamedComment = newDoc.renameNode(comment,"http://www.w3.org/DOM/Test","comment");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR_2",success);
-        }
-
-        {
-                success = false;
-                try {
- renamedCdata = newDoc.renameNode(cdata,"http://www.w3.org/DOM/Test","cdata");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR_3",success);
-        }
-
-        {
-                success = false;
-                try {
- renamedPi = newDoc.renameNode(pi,"http://www.w3.org/DOM/Test","pi");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR_4",success);
-        }
-
-        {
-                success = false;
-                try {
- renamedEntRef = newDoc.renameNode(entref,"http://www.w3.org/DOM/Test","entref");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 9);
-                }
-                assertTrue("throw_NOT_SUPPORTED_ERR_5",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- documentrenamenode27();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coredocumentrenamenode27xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/documentrenamenode27.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/documentrenamenode27.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/documentrenamenode27.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="documentrenamenode27.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition20xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition20.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition20.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition20.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodecomparedocumentposition20.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition26expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodecomparedocumentposition26
-Status        failure
-Message        entRefChild1NotNull: assertNotNull failed
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition26js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,133 +0,0 @@
</span><del>-
-/*
-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/nodecomparedocumentposition26";
- }
-
-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 compareDocumentPosition check if the EntityReference node contains and precedes it's first
-        childElement, and that the childElement is contained and follows the EntityReference node.
-
-* @author IBM
-* @author Jenny Hsu
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-compareDocumentPosition
-*/
-function nodecomparedocumentposition26() {
- var success;
- if(checkInitialization(builder, "nodecomparedocumentposition26") != null) return;
- var doc;
- var varList;
- var varElem;
- var entRef;
- var entRefChild1;
- var entRefPosition;
- var entRefChild1Position;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
-
-        if(
-        (getImplementationAttribute("expandEntityReferences") == false)
-        ) {
-        varList = doc.getElementsByTagName("var");
- varElem = varList.item(2);
- assertNotNull("varElemNotNull",varElem);
-entRef = varElem.firstChild;
-
- assertNotNull("entRefNotNull",entRef);
-
-        }
-        
-                else {
-                        entRef = doc.createEntityReference("ent4");
-
-                }
-        entRefChild1 = entRef.firstChild;
-
- assertNotNull("entRefChild1NotNull",entRefChild1);
-entRefPosition = entRef.compareDocumentPosition(entRefChild1);
- assertEquals("nodecomparedocumentpositionIsContainedFollowing26",20,entRefPosition);
- entRefChild1Position = entRefChild1.compareDocumentPosition(entRef);
- assertEquals("nodecomparedocumentpositionContainsPRECEDING26",10,entRefChild1Position);
-
-}
-
-
-
-
-function runTest() {
- nodecomparedocumentposition26();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition26xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition26.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodecomparedocumentposition26.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition27expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodecomparedocumentposition27
-Status        failure
-Message        entRefChild1NotNull: assertNotNull failed
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition27js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,133 +0,0 @@
</span><del>-
-/*
-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/nodecomparedocumentposition27";
- }
-
-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 compareDocumentPosition to check if the EntityReference node contains and precedes it's last
-        childElement, and that this childElement is contained and follows the EntityReference node.
-
-* @author IBM
-* @author Jenny Hsu
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-compareDocumentPosition
-*/
-function nodecomparedocumentposition27() {
- var success;
- if(checkInitialization(builder, "nodecomparedocumentposition27") != null) return;
- var doc;
- var varList;
- var varElem;
- var entRef;
- var entRefChild1;
- var entRefPosition;
- var entRefChild1Position;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
-
-        if(
-        (getImplementationAttribute("expandEntityReferences") == false)
-        ) {
-        varList = doc.getElementsByTagName("var");
- varElem = varList.item(2);
- assertNotNull("varElemNotNull",varElem);
-entRef = varElem.firstChild;
-
- assertNotNull("entRefNotNull",entRef);
-
-        }
-        
-                else {
-                        entRef = doc.createEntityReference("ent4");
-
-                }
-        entRefChild1 = entRef.lastChild;
-
- assertNotNull("entRefChild1NotNull",entRefChild1);
-entRefPosition = entRef.compareDocumentPosition(entRefChild1);
- assertEquals("nodecomparedocumentpositionIsContainedFollowing27",20,entRefPosition);
- entRefChild1Position = entRefChild1.compareDocumentPosition(entRef);
- assertEquals("nodecomparedocumentpositionContainsPRECEDING",10,entRefChild1Position);
-
-}
-
-
-
-
-function runTest() {
- nodecomparedocumentposition27();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition27xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition27.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodecomparedocumentposition27.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition28expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodecomparedocumentposition28
-Status        failure
-Message        entRefChild1NotNull: assertNotNull failed
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition28js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,138 +0,0 @@
</span><del>-
-/*
-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/nodecomparedocumentposition28";
- }
-
-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 compareDocumentPosition check the document position of the EntityReference node ent4's
-        first child and last child. Invoke compareDocumentPositon on first child with last child as a parameter
-        should return FOLLOWING, and should return PRECEDING vice versa.
-
-* @author IBM
-* @author Jenny Hsu
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-compareDocumentPosition
-*/
-function nodecomparedocumentposition28() {
- var success;
- if(checkInitialization(builder, "nodecomparedocumentposition28") != null) return;
- var doc;
- var varList;
- var varElem;
- var entRef;
- var entRefChild1;
- var entRefChild2;
- var entRefChild1Position;
- var entRefChild2Position;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
-
-        if(
-        (getImplementationAttribute("expandEntityReferences") == false)
-        ) {
-        varList = doc.getElementsByTagName("var");
- varElem = varList.item(2);
- assertNotNull("varElemNotNull",varElem);
-entRef = varElem.firstChild;
-
- assertNotNull("entRefNotNull",entRef);
-
-        }
-        
-                else {
-                        entRef = doc.createEntityReference("ent4");
-
-                }
-        entRefChild1 = entRef.firstChild;
-
- assertNotNull("entRefChild1NotNull",entRefChild1);
-entRefChild2 = entRef.lastChild;
-
- assertNotNull("entRefChild2NotNull",entRefChild2);
-entRefChild1Position = entRefChild1.compareDocumentPosition(entRefChild2);
- assertEquals("nodecomparedocumentpositionFollowing28",4,entRefChild1Position);
- entRefChild2Position = entRefChild2.compareDocumentPosition(entRefChild1);
- assertEquals("nodecomparedocumentpositionPRECEDING28",2,entRefChild2Position);
-
-}
-
-
-
-
-function runTest() {
- nodecomparedocumentposition28();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition28xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition28.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodecomparedocumentposition28.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition29expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodecomparedocumentposition29
-Status        failure
-Message        entRefChild1NotNull: assertNotNull failed
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition29js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,128 +0,0 @@
</span><del>-
-/*
-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/nodecomparedocumentposition29";
- }
-
-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';
- }
-}
-
-
-/**
-*
-        Create two entity reference nodes. Using compareDocumentPosition to check if the child of the first Entity
-        Ref node precedes the child of the second Entity Ref node, and that the child of the second Entity Ref node
-        follows the child of the first Entity Ref node.
-
-* @author IBM
-* @author Jenny Hsu
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-compareDocumentPosition
-*/
-function nodecomparedocumentposition29() {
- var success;
- if(checkInitialization(builder, "nodecomparedocumentposition29") != null) return;
- var doc;
- var docElem;
- var entRef1;
- var entRef2;
- var entRefChild1;
- var entRefChild2;
- var entRefChild1Position;
- var entRefChild2Position;
- var appendedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- entRef1 = doc.createEntityReference("ent4");
- entRef2 = doc.createEntityReference("ent4");
- docElem = doc.documentElement;
-
- appendedChild = docElem.appendChild(entRef1);
- appendedChild = docElem.appendChild(entRef2);
- entRefChild1 = entRef1.firstChild;
-
- assertNotNull("entRefChild1NotNull",entRefChild1);
-entRefChild2 = entRef2.lastChild;
-
- assertNotNull("entRefChild2NotNull",entRefChild2);
-entRefChild1Position = entRefChild1.compareDocumentPosition(entRefChild2);
- assertEquals("nodecomparedocumentpositionFollowing29",4,entRefChild1Position);
- entRefChild2Position = entRefChild2.compareDocumentPosition(entRefChild1);
- assertEquals("nodecomparedocumentpositionPRECEDING29",2,entRefChild2Position);
-
-}
-
-
-
-
-function runTest() {
- nodecomparedocumentposition29();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodecomparedocumentposition29xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition29.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodecomparedocumentposition29.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodegetfeature04expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodegetfeature04-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodegetfeature04-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodegetfeature04-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegetfeature04
-Status        error
-Message        Line 101: TypeError
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodegetfeature04js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodegetfeature04.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodegetfeature04.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodegetfeature04.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,202 +0,0 @@
</span><del>-
-/*
-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/nodegetfeature04";
- }
-
-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';
- }
-}
-
-
-/**
-*
-Check implementation of Node.getFeature on EntityReference.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-getFeature
-*/
-function nodegetfeature04() {
- var success;
- if(checkInitialization(builder, "nodegetfeature04") != null) return;
- var doc;
- var node;
- var nullVersion = null;
-
- var featureImpl;
- var isSupported;
- var domImpl;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "barfoo");
- domImpl = doc.implementation;
-node = doc.createEntityReference("ent1");
- featureImpl = node.getFeature("Core",nullVersion);
- assertSame("coreUnspecifiedVersion",node,featureImpl);
-featureImpl = node.getFeature("cOrE",nullVersion);
- assertSame("cOrEUnspecifiedVersion",node,featureImpl);
-featureImpl = node.getFeature("+cOrE",nullVersion);
- assertSame("PlusCoreUnspecifiedVersion",node,featureImpl);
-featureImpl = node.getFeature("org.w3c.domts.bogus.feature",nullVersion);
- assertNull("unrecognizedFeature",featureImpl);
- featureImpl = node.getFeature("cOrE","2.0");
- assertSame("Core20",node,featureImpl);
-featureImpl = node.getFeature("cOrE","3.0");
- assertSame("Core30",node,featureImpl);
-isSupported = node.isSupported("XML",nullVersion);
- featureImpl = node.getFeature("XML",nullVersion);
-
-        if(
-        isSupported
-        ) {
-        assertSame("XMLUnspecified",node,featureImpl);
-
-        }
-        isSupported = node.isSupported("SVG",nullVersion);
- featureImpl = node.getFeature("SVG",nullVersion);
-
-        if(
-        isSupported
-        ) {
-        assertSame("SVGUnspecified",node,featureImpl);
-
-        }
-        isSupported = node.isSupported("HTML",nullVersion);
- featureImpl = node.getFeature("HTML",nullVersion);
-
-        if(
-        isSupported
-        ) {
-        assertSame("HTMLUnspecified",node,featureImpl);
-
-        }
-        isSupported = node.isSupported("Events",nullVersion);
- featureImpl = node.getFeature("Events",nullVersion);
-
-        if(
-        isSupported
-        ) {
-        assertSame("EventsUnspecified",node,featureImpl);
-
-        }
-        isSupported = node.isSupported("LS",nullVersion);
- featureImpl = node.getFeature("LS",nullVersion);
-
-        if(
-        isSupported
-        ) {
-        assertSame("LSUnspecified",node,featureImpl);
-
-        }
-        isSupported = node.isSupported("LS-Async",nullVersion);
- featureImpl = node.getFeature("LS-Async",nullVersion);
-
-        if(
-        isSupported
-        ) {
-        assertSame("LSAsyncUnspecified",node,featureImpl);
-
-        }
-        isSupported = node.isSupported("XPath",nullVersion);
- featureImpl = node.getFeature("XPath",nullVersion);
-
-        if(
-        isSupported
-        ) {
-        assertSame("XPathUnspecified",node,featureImpl);
-
-        }
-        isSupported = node.isSupported("+HTML",nullVersion);
- featureImpl = node.getFeature("HTML",nullVersion);
-
-        if(
-        isSupported
-        ) {
-        assertNotNull("PlusHTMLUnspecified",featureImpl);
-
-        }
-        isSupported = node.isSupported("+SVG",nullVersion);
- featureImpl = node.getFeature("SVG",nullVersion);
-
-        if(
-        isSupported
-        ) {
-        assertNotNull("PlusSVGUnspecified",featureImpl);
-
-        }
-        
-}
-
-
-
-
-function runTest() {
- nodegetfeature04();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodegetfeature04xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodegetfeature04.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodegetfeature04.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodegetfeature04.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-<!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='nodegetfeature04.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()">
-<p>bar</p>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodegettextcontent15expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegettextcontent15
-Status        error
-Message        Line 121: TypeError
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodegettextcontent15js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,131 +0,0 @@
</span><del>-
-/*
-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/nodegettextcontent15";
- }
-
-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);
- setImplementationAttribute("expandEntityReferences", 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';
- }
-}
-
-
-/**
-*
-        The method getTextContent returns the text content of this node and its descendants.
-        
-        Invoke the method getTextContent on a new Element node with new Text, EntityReferences
-        CDATASection, PI and Comment nodes and check if the value returned is a single
-        concatenated String with its content.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-textContent
-*/
-function nodegettextcontent15() {
- var success;
- if(checkInitialization(builder, "nodegettextcontent15") != null) return;
- var doc;
- var elem;
- var txt;
- var comment;
- var entRef;
- var cdata;
- var pi;
- var textContent;
- var appendedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- elem = doc.createElementNS("http://www.w3.org/DOM/Test","dom3:elem");
- txt = doc.createTextNode("Text ");
- comment = doc.createComment("Comment ");
- entRef = doc.createEntityReference("beta");
- pi = doc.createProcessingInstruction("PIT","PIData ");
- cdata = doc.createCDATASection("CData");
- appendedChild = elem.appendChild(txt);
- appendedChild = elem.appendChild(comment);
- appendedChild = elem.appendChild(entRef);
- appendedChild = elem.appendChild(pi);
- appendedChild = elem.appendChild(cdata);
- textContent = elem.textContent;
-
- doc.normalizeDocument();
- assertEquals("nodegettextcontent15","Text βCData",textContent);
-
-}
-
-
-
-
-function runTest() {
- nodegettextcontent15();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodegettextcontent15xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent15.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodegettextcontent15.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodegettextcontent16expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegettextcontent16
-Status        error
-Message        Line 123: TypeError
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodegettextcontent16js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,135 +0,0 @@
</span><del>-
-/*
-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/nodegettextcontent16";
- }
-
-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);
- setImplementationAttribute("expandEntityReferences", 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';
- }
-}
-
-
-/**
-*
-        The method getTextContent returns the text content of this node and its descendants.
-        
-        Invoke the method getTextContent on a new DocumentFragment node with new Text, EntityReferences
-        CDATASection, PI and Comment nodes and check if the value returned is a single
-        concatenated String with its content.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-textContent
-*/
-function nodegettextcontent16() {
- var success;
- if(checkInitialization(builder, "nodegettextcontent16") != null) return;
- var doc;
- var docFrag;
- var elem;
- var elemChild;
- var txt;
- var comment;
- var entRef;
- var cdata;
- var pi;
- var textContent;
- var appendedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- docFrag = doc.createDocumentFragment();
- elem = doc.createElementNS("http://www.w3.org/DOM/Test","dom3:elem");
- txt = doc.createTextNode("Text ");
- comment = doc.createComment("Comment ");
- entRef = doc.createEntityReference("beta");
- pi = doc.createProcessingInstruction("PIT","PIData ");
- cdata = doc.createCDATASection("CData");
- appendedChild = elem.appendChild(txt);
- appendedChild = elem.appendChild(comment);
- appendedChild = elem.appendChild(entRef);
- appendedChild = elem.appendChild(pi);
- appendedChild = elem.appendChild(cdata);
- appendedChild = docFrag.appendChild(elem);
- doc.normalizeDocument();
- textContent = docFrag.textContent;
-
- assertEquals("nodegettextcontent16","Text βCData",textContent);
-
-}
-
-
-
-
-function runTest() {
- nodegettextcontent16();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodegettextcontent16xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent16.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodegettextcontent16.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodegettextcontent17expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodegettextcontent17
-Status        failure
-Message        nodegettextcontent17: assertEquals failed, actual , expected β.
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodegettextcontent17js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,114 +0,0 @@
</span><del>-
-/*
-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/nodegettextcontent17";
- }
-
-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';
- }
-}
-
-
-/**
-*
-        Invoke the method getTextContent on a new EntityReference node and check if the
-        value returned is the EntityReference's content.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-textContent
-*/
-function nodegettextcontent17() {
- var success;
- if(checkInitialization(builder, "nodegettextcontent17") != null) return;
- var doc;
- var elem;
- var entRef;
- var textContent;
- var appendedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- elem = doc.documentElement;
-
- entRef = doc.createEntityReference("beta");
- appendedChild = elem.appendChild(entRef);
- textContent = entRef.textContent;
-
- assertEquals("nodegettextcontent17","β",textContent);
-
-}
-
-
-
-
-function runTest() {
- nodegettextcontent17();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodegettextcontent17xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodegettextcontent17.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodegettextcontent17.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodeinsertbefore11expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodeinsertbefore11
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodeinsertbefore11js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,145 +0,0 @@
</span><del>-
-/*
-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/nodeinsertbefore11";
- }
-
-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 insertBefore on a DocumentFragment node attempt to insert a child nodes before
-        other permissible nodes and verify the contents/name of each inserted node.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-952280727
-*/
-function nodeinsertbefore11() {
- var success;
- if(checkInitialization(builder, "nodeinsertbefore11") != null) return;
- var doc;
- var docFrag;
- var elem;
- var pi;
- var comment;
- var txt;
- var cdata;
- var eRef;
- var inserted;
- var insertedVal;
- var appendedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- docFrag = doc.createDocumentFragment();
- elem = doc.createElementNS("http://www.w3.org/1999/xhtml","body");
- pi = doc.createProcessingInstruction("PITarget","PIData");
- comment = doc.createComment("Comment");
- txt = doc.createTextNode("Text");
- cdata = doc.createCDATASection("CDATA");
- eRef = doc.createEntityReference("alpha");
- appendedChild = docFrag.appendChild(elem);
- appendedChild = docFrag.appendChild(pi);
- appendedChild = docFrag.appendChild(comment);
- appendedChild = docFrag.appendChild(txt);
- appendedChild = docFrag.appendChild(cdata);
- appendedChild = docFrag.appendChild(eRef);
- inserted = docFrag.insertBefore(comment,pi);
- insertedVal = inserted.data;
-
- assertEquals("nodeinsertbefore11_Comment","Comment",insertedVal);
- inserted = docFrag.insertBefore(txt,comment);
- insertedVal = inserted.data;
-
- assertEquals("nodeinsertbefore11_Text","Text",insertedVal);
- inserted = docFrag.insertBefore(cdata,txt);
- insertedVal = inserted.data;
-
- assertEquals("nodeinsertbefore11_CDATA","CDATA",insertedVal);
- inserted = docFrag.insertBefore(eRef,cdata);
- insertedVal = inserted.nodeName;
-
- assertEquals("nodeinsertbefore11_Ent1","alpha",insertedVal);
-
-}
-
-
-
-
-function runTest() {
- nodeinsertbefore11();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodeinsertbefore11xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore11.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodeinsertbefore11.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodeinsertbefore15expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodeinsertbefore15
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodeinsertbefore15js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,177 +0,0 @@
</span><del>-
-/*
-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/nodeinsertbefore15";
- }
-
-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';
- }
-}
-
-
-/**
-*
-        A NO_MODIFICATION_ALLOWED_ERR is raised if the node is read-only.
-        
-        Using insertBefore on a new EntityReference node attempt to insert Element, Text,
-        Comment, ProcessingInstruction and CDATASection nodes before an element child
-        and verify if a NO_MODIFICATION_ALLOWED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-952280727
-*/
-function nodeinsertbefore15() {
- var success;
- if(checkInitialization(builder, "nodeinsertbefore15") != null) return;
- var doc;
- var entRef;
- var elemChild;
- var txt;
- var elem;
- var comment;
- var pi;
- var cdata;
- var inserted;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- entRef = doc.createEntityReference("delta");
- elemChild = entRef.firstChild;
-
- cdata = doc.createCDATASection("CDATASection");
-
-        {
-                success = false;
-                try {
- inserted = entRef.insertBefore(cdata,elemChild);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_1",success);
-        }
-pi = doc.createProcessingInstruction("target","data");
-
-        {
-                success = false;
-                try {
- inserted = entRef.insertBefore(pi,elemChild);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_2",success);
-        }
-comment = doc.createComment("Comment");
-
-        {
-                success = false;
-                try {
- inserted = entRef.insertBefore(comment,elemChild);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_3",success);
-        }
-txt = doc.createTextNode("Text");
-
-        {
-                success = false;
-                try {
- inserted = entRef.insertBefore(txt,elemChild);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_4",success);
-        }
-elem = doc.createElementNS("http://www.w3.org/1999/xhtml","body");
-
-        {
-                success = false;
-                try {
- inserted = entRef.insertBefore(elem,elemChild);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_5",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- nodeinsertbefore15();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodeinsertbefore15xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore15.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodeinsertbefore15.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenoderemovechild12expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild12-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild12-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild12-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/noderemovechild12
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenoderemovechild12js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild12.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild12.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild12.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,138 +0,0 @@
</span><del>-
-/*
-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/noderemovechild12";
- }
-
-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';
- }
-}
-
-
-/**
-*
-        The method removeChild removes the child node indicated by oldChild from the list
-        of children, and returns it.
-
-        Using removeChild on a new DocumentFragment node attempt to remove a new EntityReference node.
- Also attempt to remove the document fragment node from the EntityReference. Verify that a
- NO_MODIFICATION_ALLOWED_ERR (EntityReference node is read-only) or a NOT_FOUND_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-1734834066
-*/
-function noderemovechild12() {
- var success;
- if(checkInitialization(builder, "noderemovechild12") != null) return;
- var doc;
- var docFrag;
- var eRef;
- var removedERef;
- var appendedChild;
- var removedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- docFrag = doc.createDocumentFragment();
- eRef = doc.createEntityReference("ent1");
- appendedChild = docFrag.appendChild(eRef);
- removedChild = docFrag.removeChild(eRef);
- removedERef = docFrag.firstChild;
-
- assertNull("noderemovechild12",removedERef);
-
- try {
- removedChild = eRef.removeChild(docFrag);
-
- } catch (ex) {
-                 if (typeof(ex.code) != 'undefined') {
- switch(ex.code) {
- case /* NOT_FOUND_ERR */ 8 :
- break;
- case /* NO_MODIFICATION_ALLOWED_ERR */ 7 :
- break;
- default:
- throw ex;
- }
- } else {
- throw ex;
- }
- }
-
-}
-
-
-
-
-function runTest() {
- noderemovechild12();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenoderemovechild12xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild12.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild12.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild12.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="noderemovechild12.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenoderemovechild13expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild13-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild13-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild13-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/noderemovechild13
-Status        failure
-Message        txtNotNull: assertNotNull failed
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenoderemovechild13js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild13.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild13.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild13.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,121 +0,0 @@
</span><del>-
-/*
-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/noderemovechild13";
- }
-
-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 removeChild on a new EntityReference node attempt to remove the first child
-        of this node and verify if a NO_MODIFICATION_ALLOWED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-1734834066
-*/
-function noderemovechild13() {
- var success;
- if(checkInitialization(builder, "noderemovechild13") != null) return;
- var doc;
- var txt;
- var eRef;
- var removed;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- eRef = doc.createEntityReference("alpha");
- txt = eRef.firstChild;
-
- assertNotNull("txtNotNull",txt);
-
-        {
-                success = false;
-                try {
- removed = eRef.removeChild(txt);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- noderemovechild13();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenoderemovechild13xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild13.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild13.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild13.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="noderemovechild13.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenoderemovechild14expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild14-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild14-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild14-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/noderemovechild14
-Status        failure
-Message        piNotNull: assertNotNull failed
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenoderemovechild14js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild14.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild14.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild14.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,122 +0,0 @@
</span><del>-
-/*
-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/noderemovechild14";
- }
-
-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 removeChild on a new EntityReference node attempt to remove its last ProcessingInstruction
-        child node and verify if a NO_MODIFICATION_ALLOWED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-1734834066
-*/
-function noderemovechild14() {
- var success;
- if(checkInitialization(builder, "noderemovechild14") != null) return;
- var doc;
- var removed;
- var eRef;
- var pi;
- var entName;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- eRef = doc.createEntityReference("ent4");
- pi = eRef.lastChild;
-
- assertNotNull("piNotNull",pi);
-
-        {
-                success = false;
-                try {
- removed = eRef.removeChild(pi);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- noderemovechild14();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenoderemovechild14xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild14.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild14.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild14.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="noderemovechild14.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenoderemovechild15expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild15-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild15-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild15-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/noderemovechild15
-Status        failure
-Message        elemNotNull: assertNotNull failed
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenoderemovechild15js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild15.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild15.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild15.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,122 +0,0 @@
</span><del>-
-/*
-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/noderemovechild15";
- }
-
-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 removeChild on a new EntityReference node attempt to remove an Element child
-        and verify if a NO_MODIFICATION_ALLOWED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-1734834066
-*/
-function noderemovechild15() {
- var success;
- if(checkInitialization(builder, "noderemovechild15") != null) return;
- var doc;
- var eRef;
- var elem;
- var entName;
- var removed;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- eRef = doc.createEntityReference("ent4");
- elem = eRef.firstChild;
-
- assertNotNull("elemNotNull",elem);
-
-        {
-                success = false;
-                try {
- removed = eRef.removeChild(elem);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- noderemovechild15();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenoderemovechild15xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild15.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild15.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/noderemovechild15.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="noderemovechild15.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild18expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild18-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild18-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild18-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild18
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild18js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild18.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild18.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild18.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,124 +0,0 @@
</span><del>-
-/*
-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/nodereplacechild18";
- }
-
-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 replaceChild on a DocumentFragment node attempt to replace a CDATASection node with
-        a EntityReference and vice versa verify the data of the replaced nodes.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild18() {
- var success;
- if(checkInitialization(builder, "nodereplacechild18") != null) return;
- var doc;
- var docFrag;
- var entRef;
- var cdata;
- var replacedCData;
- var replacedEref;
- var cdataName;
- var erefName;
- var appendedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- docFrag = doc.createDocumentFragment();
- cdata = doc.createCDATASection("CDATASection");
- entRef = doc.createEntityReference("alpha");
- appendedChild = docFrag.appendChild(entRef);
- appendedChild = docFrag.appendChild(cdata);
- replacedCData = docFrag.replaceChild(entRef,cdata);
- cdataName = replacedCData.nodeValue;
-
- assertEquals("nodereplacechild18_1","CDATASection",cdataName);
- replacedEref = docFrag.replaceChild(cdata,entRef);
- erefName = replacedEref.nodeName;
-
- assertEquals("nodereplacechild18_2","alpha",erefName);
-
-}
-
-
-
-
-function runTest() {
- nodereplacechild18();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild18xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild18.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild18.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild18.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodereplacechild18.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild19expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild19-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild19-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild19-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild19
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild19js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild19.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild19.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild19.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,118 +0,0 @@
</span><del>-
-/*
-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/nodereplacechild19";
- }
-
-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 replaceChild on a DocumentFragment node attempt to replace an Element node with
-        its EntityReference child verify the nodeName of the replaced node.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild19() {
- var success;
- if(checkInitialization(builder, "nodereplacechild19") != null) return;
- var doc;
- var docFrag;
- var entRef;
- var elem;
- var replaced;
- var nodeName;
- var appendedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- docFrag = doc.createDocumentFragment();
- elem = doc.createElementNS("http://www.w3.org/1999/xhtml","dom3:p");
- entRef = doc.createEntityReference("alpha");
- appendedChild = elem.appendChild(entRef);
- appendedChild = docFrag.appendChild(elem);
- replaced = docFrag.replaceChild(entRef,elem);
- nodeName = replaced.nodeName;
-
- assertEquals("nodereplacechild19","dom3:p",nodeName);
-
-}
-
-
-
-
-function runTest() {
- nodereplacechild19();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild19xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild19.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild19.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild19.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodereplacechild19.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild22expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild22-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild22-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild22-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild22
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild22js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild22.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild22.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild22.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,145 +0,0 @@
</span><del>-
-/*
-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/nodereplacechild22";
- }
-
-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 replaceChild on a new EntityReference node attempt to replace an EntityReference node with
-        its Element parent, with itself and vice versa verify if a NO_MODIFICATION_ALLOWED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild22() {
- var success;
- if(checkInitialization(builder, "nodereplacechild22") != null) return;
- var doc;
- var entRefMain;
- var entRef;
- var elem;
- var appendedChild;
- var replacedChild;
-
- 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");
- entRefMain = doc.createEntityReference("delta");
- entRef = doc.createEntityReference("beta");
- appendedChild = elem.appendChild(entRef);
-
-        {
-                success = false;
-                try {
- replacedChild = entRefMain.replaceChild(elem,entRef);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_1",success);
-        }
-
-        {
-                success = false;
-                try {
- replacedChild = entRefMain.replaceChild(entRef,elem);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_2",success);
-        }
-
-        {
-                success = false;
-                try {
- replacedChild = entRefMain.replaceChild(entRefMain,entRef);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_3",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- nodereplacechild22();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild22xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild22.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild22.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild22.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodereplacechild22.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild23expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild23-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild23-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild23-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild23
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild23js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild23.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild23.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild23.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,178 +0,0 @@
</span><del>-
-/*
-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/nodereplacechild23";
- }
-
-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 replaceChild on a new EntityReference node attempt to replace an Element, Text,
-        Comment, ProcessingInstruction and CDATASection nodes with each other and in each case
-        verify if a NO_MODIFICATION_ALLOWED_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild23() {
- var success;
- if(checkInitialization(builder, "nodereplacechild23") != null) return;
- var doc;
- var entRef;
- var txt;
- var elem;
- var comment;
- var pi;
- var cdata;
- var replaced;
- var appendedChild;
-
- 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");
- entRef = doc.createEntityReference("delta");
- txt = doc.createTextNode("Text");
- comment = doc.createComment("Comment");
- cdata = doc.createCDATASection("CDATASection");
- pi = doc.createProcessingInstruction("target","data");
- appendedChild = elem.appendChild(entRef);
- appendedChild = elem.appendChild(txt);
- appendedChild = elem.appendChild(comment);
- appendedChild = elem.appendChild(pi);
- appendedChild = elem.appendChild(cdata);
-
-        {
-                success = false;
-                try {
- replaced = entRef.replaceChild(cdata,elem);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_1",success);
-        }
-
-        {
-                success = false;
-                try {
- replaced = entRef.replaceChild(pi,cdata);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_2",success);
-        }
-
-        {
-                success = false;
-                try {
- replaced = entRef.replaceChild(comment,pi);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_3",success);
-        }
-
-        {
-                success = false;
-                try {
- replaced = entRef.replaceChild(txt,comment);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_4",success);
-        }
-
-        {
-                success = false;
-                try {
- replaced = entRef.replaceChild(elem,txt);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_5",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- nodereplacechild23();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild23xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild23.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild23.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild23.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodereplacechild23.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild30expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild30-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild30-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild30-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild30
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild30js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild30.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild30.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild30.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,168 +0,0 @@
</span><del>-
-/*
-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/nodereplacechild30";
- }
-
-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 replaceChild on an Element node attempt to replace a new Element child node with
-        new child nodes and vice versa and in each case verify the name of the replaced node.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild30() {
- var success;
- if(checkInitialization(builder, "nodereplacechild30") != null) return;
- var doc;
- var parent;
- var oldChild;
- var newElement;
- var newText;
- var newComment;
- var newPI;
- var newCdata;
- var newERef;
- var replaced;
- var nodeName;
- var appendedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- parent = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:html");
- oldChild = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:head");
- newElement = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:body");
- appendedChild = parent.appendChild(oldChild);
- appendedChild = parent.appendChild(newElement);
- newText = doc.createTextNode("Text");
- appendedChild = parent.appendChild(newText);
- newComment = doc.createComment("Comment");
- appendedChild = parent.appendChild(newComment);
- newPI = doc.createProcessingInstruction("target","data");
- appendedChild = parent.appendChild(newPI);
- newCdata = doc.createCDATASection("Cdata");
- appendedChild = parent.appendChild(newCdata);
- newERef = doc.createEntityReference("delta");
- appendedChild = parent.appendChild(newERef);
- replaced = parent.replaceChild(newElement,oldChild);
- nodeName = replaced.nodeName;
-
- assertEquals("nodereplacechild30_1","xhtml:head",nodeName);
- replaced = parent.replaceChild(oldChild,newElement);
- nodeName = replaced.nodeName;
-
- assertEquals("nodereplacechild30_2","xhtml:body",nodeName);
- replaced = parent.replaceChild(newText,oldChild);
- nodeName = replaced.nodeName;
-
- assertEquals("nodereplacechild30_3","xhtml:head",nodeName);
- replaced = parent.replaceChild(oldChild,newText);
- nodeName = replaced.nodeName;
-
- assertEquals("nodereplacechild30_4","#text",nodeName);
- replaced = parent.replaceChild(newComment,oldChild);
- nodeName = replaced.nodeName;
-
- assertEquals("nodereplacechild30_5","xhtml:head",nodeName);
- replaced = parent.replaceChild(oldChild,newComment);
- nodeName = replaced.nodeName;
-
- assertEquals("nodereplacechild30_6","#comment",nodeName);
- replaced = parent.replaceChild(oldChild,newPI);
- nodeName = replaced.nodeName;
-
- assertEquals("nodereplacechild30_7","target",nodeName);
- replaced = parent.replaceChild(oldChild,newCdata);
- nodeName = replaced.nodeName;
-
- assertEquals("nodereplacechild30_8","#cdata-section",nodeName);
- replaced = parent.replaceChild(oldChild,newERef);
- nodeName = replaced.nodeName;
-
- assertEquals("nodereplacechild30_9","delta",nodeName);
-
-}
-
-
-
-
-function runTest() {
- nodereplacechild30();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild30xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild30.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild30.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild30.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodereplacechild30.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild33expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild33-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild33-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild33-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild33
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild33js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild33.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild33.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild33.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,120 +0,0 @@
</span><del>-
-/*
-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/nodereplacechild33";
- }
-
-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 replaceChild on a default Attr node to replace its Text Child with a
-        new EntityReference Node and verify the value of the replaced child.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild33() {
- var success;
- if(checkInitialization(builder, "nodereplacechild33") != null) return;
- var doc;
- var childList;
- var elem;
- var parent;
- var oldChild;
- var newChild;
- var replaced;
- var nodeValue;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- newChild = doc.createEntityReference("delta");
- childList = doc.getElementsByTagName("p");
- elem = childList.item(3);
- parent = elem.getAttributeNode("dir");
- oldChild = parent.lastChild;
-
- replaced = parent.replaceChild(newChild,oldChild);
- nodeValue = replaced.nodeValue;
-
- assertEquals("nodereplacechild33","rtl",nodeValue);
-
-}
-
-
-
-
-function runTest() {
- nodereplacechild33();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild33xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild33.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild33.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild33.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodereplacechild33.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild34expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild34-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild34-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild34-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild34
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild34js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,117 +0,0 @@
</span><del>-
-/*
-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/nodereplacechild34";
- }
-
-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 replaceChild on a new Attr node, replace its new EntityReference Child with a
-        new Text Node and verify the value of the new child.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild34() {
- var success;
- if(checkInitialization(builder, "nodereplacechild34") != null) return;
- var doc;
- var parent;
- var oldChild;
- var newChild;
- var nodeValue;
- var appendedChild;
- var replaced;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- parent = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
- oldChild = doc.createEntityReference("delta");
- appendedChild = parent.appendChild(oldChild);
- newChild = doc.createTextNode("Text");
- replaced = parent.replaceChild(newChild,oldChild);
- nodeValue = parent.value;
-
- assertEquals("nodereplacechild34","Text",nodeValue);
-
-}
-
-
-
-
-function runTest() {
- nodereplacechild34();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild34xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild34.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodereplacechild34.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild35expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild35-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild35-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild35-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild35
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild35js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,124 +0,0 @@
</span><del>-
-/*
-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/nodereplacechild35";
- }
-
-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 replaceChild on a new Attr node, replace its new EntityRefernece Child with a
-        new Attr Node and verify if a HIERARCHY_REQUEST_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild35() {
- var success;
- if(checkInitialization(builder, "nodereplacechild35") != null) return;
- var doc;
- var parent;
- var oldChild;
- var newChild;
- var nodeValue;
- var appendedChild;
- var replaced;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- parent = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
- oldChild = doc.createEntityReference("delta");
- appendedChild = parent.appendChild(oldChild);
- newChild = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
-
-        {
-                success = false;
-                try {
- replaced = parent.replaceChild(newChild,oldChild);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 3);
-                }
-                assertTrue("throw_HIERARCHY_REQUEST_ERR",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- nodereplacechild35();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild35xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild35.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodereplacechild35.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild36expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild36-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild36-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild36-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild36
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild36js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,122 +0,0 @@
</span><del>-
-/*
-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/nodereplacechild36";
- }
-
-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 replaceChild on a new Attr node, replace its new EntityRefernece node with a
-        new Text Node and verify if a NOT_FOUND_ERR is thrown.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild36() {
- var success;
- if(checkInitialization(builder, "nodereplacechild36") != null) return;
- var doc;
- var parent;
- var oldChild;
- var newChild;
- var nodeValue;
- var replaced;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- parent = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
- oldChild = doc.createEntityReference("delta");
- newChild = doc.createTextNode("Text");
-
-        {
-                success = false;
-                try {
- replaced = parent.replaceChild(newChild,oldChild);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 8);
-                }
-                assertTrue("throw_NOT_FOUND_ERR",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- nodereplacechild36();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild36xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild36.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodereplacechild36.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild37expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild37-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild37-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild37-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodereplacechild37
-Status        failure
-Message        throw_WRONG_DOCUMENT_ERR: assertTrue failed
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild37js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,138 +0,0 @@
</span><del>-
-/*
-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/nodereplacechild37";
- }
-
-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");
-
- var doc2Ref = null;
- if (typeof(this.doc2) != 'undefined') {
- doc2Ref = this.doc2;
- }
- docsLoaded += preload(doc2Ref, "doc2", "hc_staff");
-
- if (docsLoaded == 2) {
- 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 == 2) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-        Using replaceChild on a new Attr node, replace its new Text node with a
-        new EntityReference Node created by another document and verify if a
-        WRONG_DOCUMENT_ERR is raised.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-785887307
-*/
-function nodereplacechild37() {
- var success;
- if(checkInitialization(builder, "nodereplacechild37") != null) return;
- var doc;
- var doc2;
- var parent;
- var oldChild;
- var newChild;
- var nodeValue;
- var replaced;
- var appendedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
-
- var doc2Ref = null;
- if (typeof(this.doc2) != 'undefined') {
- doc2Ref = this.doc2;
- }
- doc2 = load(doc2Ref, "doc2", "hc_staff");
- parent = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang");
- oldChild = doc.createTextNode("Text");
- newChild = doc2.createEntityReference("delta");
- appendedChild = parent.appendChild(oldChild);
-
-        {
-                success = false;
-                try {
- replaced = parent.replaceChild(newChild,oldChild);
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 4);
-                }
-                assertTrue("throw_WRONG_DOCUMENT_ERR",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- nodereplacechild37();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodereplacechild37xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodereplacechild37.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodereplacechild37.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodesettextcontent10expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent10-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent10-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent10-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodesettextcontent10
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodesettextcontent10js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent10.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent10.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent10.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,131 +0,0 @@
</span><del>-
-/*
-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/nodesettextcontent10";
- }
-
-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);
- setImplementationAttribute("expandEntityReferences", 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';
- }
-}
-
-
-/**
-*
-        The method setTextContent has no effect when the node is defined to be null.
-        
-        Using setTextContent on a new Element node, attempt to set its content to ELEMENT.
-        Retreive the textContent and verify if it is was set to ELEMENT.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-textContent
-*/
-function nodesettextcontent10() {
- var success;
- if(checkInitialization(builder, "nodesettextcontent10") != null) return;
- var doc;
- var elem;
- var txt;
- var comment;
- var entRef;
- var cdata;
- var pi;
- var textContent;
- var appendedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- elem = doc.createElementNS("http://www.w3.org/DOM/Test","dom3:elem");
- txt = doc.createTextNode("Text ");
- comment = doc.createComment("Comment ");
- entRef = doc.createEntityReference("ent1");
- pi = doc.createProcessingInstruction("PIT","PIData ");
- cdata = doc.createCDATASection("CData");
- appendedChild = elem.appendChild(txt);
- appendedChild = elem.appendChild(comment);
- appendedChild = elem.appendChild(entRef);
- appendedChild = elem.appendChild(pi);
- appendedChild = elem.appendChild(cdata);
- elem.textContent = "ELEMENT";
-
- textContent = elem.textContent;
-
- assertEquals("nodesettextcontent10","ELEMENT",textContent);
-
-}
-
-
-
-
-function runTest() {
- nodesettextcontent10();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodesettextcontent10xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent10.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent10.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent10.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodesettextcontent10.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodesettextcontent11expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent11-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent11-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent11-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodesettextcontent11
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodesettextcontent11js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent11.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent11.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent11.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,135 +0,0 @@
</span><del>-
-/*
-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/nodesettextcontent11";
- }
-
-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 setTextContent on a new DocumentFragment node Element child, attempt to set its content to
-        DOCUMENTFRAGMENT. Retreive the textContent and verify if it is was set to DOCUMENTFRAGMENT
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-textContent
-*/
-function nodesettextcontent11() {
- var success;
- if(checkInitialization(builder, "nodesettextcontent11") != null) return;
- var doc;
- var docFrag;
- var elem;
- var elemChild;
- var txt;
- var comment;
- var entRef;
- var cdata;
- var pi;
- var textContent;
- var appendedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- docFrag = doc.createDocumentFragment();
- elem = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:p");
- txt = doc.createTextNode("Text ");
- comment = doc.createComment("Comment ");
- entRef = doc.createEntityReference("alpha");
- pi = doc.createProcessingInstruction("PIT","PIData ");
- cdata = doc.createCDATASection("CData");
- appendedChild = elem.appendChild(txt);
- appendedChild = elem.appendChild(comment);
- appendedChild = elem.appendChild(entRef);
- appendedChild = elem.appendChild(pi);
- appendedChild = elem.appendChild(cdata);
- appendedChild = docFrag.appendChild(elem);
- elem.textContent = "DOCUMENTFRAGMENT";
-
- elemChild = docFrag.lastChild;
-
- textContent = elemChild.textContent;
-
- assertEquals("nodegettextcontent11","DOCUMENTFRAGMENT",textContent);
-
-}
-
-
-
-
-function runTest() {
- nodesettextcontent11();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodesettextcontent11xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent11.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent11.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent11.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodesettextcontent11.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodesettextcontent12expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent12-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent12-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent12-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodesettextcontent12
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodesettextcontent12js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent12.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent12.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent12.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,126 +0,0 @@
</span><del>-
-/*
-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/nodesettextcontent12";
- }
-
-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 setTextContent on a new EntityReference node, attempt to set its value.
-        Since EntityReference nodes are ReadOnly, check if a NO_MODIFICATION_ALLOWED_ERR
-        is raised.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-textContent
-*/
-function nodesettextcontent12() {
- var success;
- if(checkInitialization(builder, "nodesettextcontent12") != null) return;
- var doc;
- var elem;
- var entRef;
- var textContent;
- var appendedChild;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- elem = doc.documentElement;
-
- entRef = doc.createEntityReference("beta");
- appendedChild = elem.appendChild(entRef);
-
-        {
-                success = false;
-                try {
- entRef.textContent = "NA";
-
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("nodesettextcontent12",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- nodesettextcontent12();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodesettextcontent12xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent12.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent12.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodesettextcontent12.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodesettextcontent12.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodesetuserdata08expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodesetuserdata08-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodesetuserdata08-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodesetuserdata08-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodesetuserdata08
-Status        error
-Message        Line 113: TypeError
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodesetuserdata08js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodesetuserdata08.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodesetuserdata08.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodesetuserdata08.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,134 +0,0 @@
</span><del>-
-/*
-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/nodesetuserdata08";
- }
-
-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';
- }
-}
-
-
-/**
-*
-        Invoke setUserData on a CDATASection and EntityReference node to set their
-        UserData to this Document and DocumentElement node. Verify if the UserData
-        object that was set for both nodes is different.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-setUserData
-*/
-function nodesetuserdata08() {
- var success;
- if(checkInitialization(builder, "nodesetuserdata08") != null) return;
- var doc;
- var docElem;
- var entRef;
- var cData;
- var elemList;
- var elemName;
- var userData;
- var returned1;
- var returned2;
- var success;
- var retUserData;
- var nullHandler = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- docElem = doc.documentElement;
-
- entRef = doc.createEntityReference("delta");
- cData = doc.createCDATASection("CDATASection");
- if (null == nullHandler) {
- entRef.setUserData("Key1", doc, null);
- } else {
- entRef.setUserData("Key1", doc, nullHandler.handle);
- }
- if (null == nullHandler) {
- cData.setUserData("Key2", docElem, null);
- } else {
- cData.setUserData("Key2", docElem, nullHandler.handle);
- }
- returned1 = entRef.getUserData("Key1");
- returned2 = cData.getUserData("Key2");
- success = returned1.isEqualNode(returned2);
- assertFalse("nodesetuserdata08",success);
-
-}
-
-
-
-
-function runTest() {
- nodesetuserdata08();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3corenodesetuserdata08xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/nodesetuserdata08.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/nodesetuserdata08.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/nodesetuserdata08.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="nodesetuserdata08.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext06expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext06-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext06-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext06-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/textreplacewholetext06
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext06js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext06.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext06.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext06.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,133 +0,0 @@
</span><del>-
-/*
-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/textreplacewholetext06";
- }
-
-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);
- setImplementationAttribute("expandEntityReferences", 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';
- }
-}
-
-
-/**
-*
-        The method replaceWholeText substitutes the a specified text for the text of
-        the current node and all logically-adjacent text nodes. This method raises
-        a NO_MODIFICATION_ALLOWED_ERR if one of the Text nodes being replaced is readonly.
-        
-        Invoke replaceWholeText on an existing text node with newly created text and Entityreference
-        nodes (whose replacement text is a character entity reference) appended as children of its parent element node.
-        Where the nodes to be removed are read-only descendants of an EntityReference, the EntityReference
- must be removed instead of the read-only nodes. Only if any EntityReference to be removed has
- descendants that are not EntityReference, Text, or CDATASection nodes, the replaceWholeText
- method must fail, raising a NO_MODIFICATION_ALLOWED_ERR. Verify that the method does not raise
- an exception and verify the content of the returned text node.
-
-* @author IBM
-* @author Neil Delima
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Text3-replaceWholeText
-*/
-function textreplacewholetext06() {
- var success;
- if(checkInitialization(builder, "textreplacewholetext06") != null) return;
- var doc;
- var itemList;
- var elementStrong;
- var textNode;
- var erefNode;
- var replacedText;
- var appendedChild;
- var nodeValue;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- itemList = doc.getElementsByTagName("strong");
- elementStrong = itemList.item(0);
- textNode = doc.createTextNode("New Text");
- erefNode = doc.createEntityReference("beta");
- appendedChild = elementStrong.appendChild(textNode);
- appendedChild = elementStrong.appendChild(erefNode);
- textNode = elementStrong.firstChild;
-
- replacedText = textNode.replaceWholeText("New Text and Cdata");
- nodeValue = textNode.nodeValue;
-
- assertEquals("textreplacewholetext06","New Text and Cdata",nodeValue);
-
-}
-
-
-
-
-function runTest() {
- textreplacewholetext06();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext06xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext06.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext06.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext06.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="textreplacewholetext06.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext07expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext07-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext07-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext07-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/textreplacewholetext07
-Status        Success
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext07js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext07.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext07.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext07.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,139 +0,0 @@
</span><del>-
-/*
-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/textreplacewholetext07";
- }
-
-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';
- }
-}
-
-
-/**
-*
-Append an entity reference and a text node after to the content of the
-first strong element. Then call replaceWholeText on initial content
-of that element. Since the entity reference does not contain any
-logically-adjacent text content, only the initial text element should
-be replaced.
-
-* @author IBM
-* @author Neil Delima
-* @author Curt Arnold
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Text3-replaceWholeText
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=425
-*/
-function textreplacewholetext07() {
- var success;
- if(checkInitialization(builder, "textreplacewholetext07") != null) return;
- var doc;
- var itemList;
- var elementName;
- var textNode;
- var erefNode;
- var replacedText;
- var appendedChild;
- var node;
- var nodeValue;
- var nodeType;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "hc_staff");
- itemList = doc.getElementsByTagName("strong");
- elementName = itemList.item(0);
- erefNode = doc.createEntityReference("ent4");
- textNode = doc.createTextNode("New Text");
- appendedChild = elementName.appendChild(erefNode);
- appendedChild = elementName.appendChild(textNode);
- textNode = elementName.firstChild;
-
- replacedText = textNode.replaceWholeText("New Text and Cdata");
- textNode = elementName.firstChild;
-
- assertSame("retval_same",textNode,replacedText);
-nodeValue = textNode.nodeValue;
-
- assertEquals("nodeValueSame","New Text and Cdata",nodeValue);
- node = textNode.nextSibling;
-
- assertNotNull("secondChildNotNull",node);
-nodeType = node.nodeType;
-
- assertEquals("secondChildIsEntRef",5,nodeType);
-
-}
-
-
-
-
-function runTest() {
- textreplacewholetext07();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext07xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext07.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext07.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext07.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-<?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="textreplacewholetext07.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>
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext08expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext08-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext08-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext08-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test        http://www.w3.org/2001/DOM-Test-Suite/level3/core/textreplacewholetext08
-Status        failure
-Message        throw_NO_MODIFICATION_ALLOWED_ERR: assertTrue failed
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext08js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext08.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext08.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext08.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,126 +0,0 @@
</span><del>-
-/*
-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/textreplacewholetext08";
- }
-
-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';
- }
-}
-
-
-/**
-*
-Appends an entity reference containing text and an element to an existing
-text node, then calls Text.replaceWholeText on the existing text node.
-A NO_MODIFICATION_ALLOWED_ERR should be thrown.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Text3-replaceWholeText
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=425
-* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=540
-*/
-function textreplacewholetext08() {
- var success;
- if(checkInitialization(builder, "textreplacewholetext08") != null) return;
- var doc;
- var itemList;
- var p;
- var entRef;
- var node;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "barfoo");
- itemList = doc.getElementsByTagName("p");
- p = itemList.item(0);
- entRef = doc.createEntityReference("ent2");
- node = p.appendChild(entRef);
- node = p.firstChild;
-
-
-        {
-                success = false;
-                try {
- node = node.replaceWholeText("yo");
- }
-                catch(ex) {
- success = (typeof(ex.code) != 'undefined' && ex.code == 7);
-                }
-                assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR",success);
-        }
-
-}
-
-
-
-
-function runTest() {
- textreplacewholetext08();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsdomxhtmllevel3coretextreplacewholetext08xhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext08.xhtml (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext08.xhtml        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/dom/xhtml/level3/core/textreplacewholetext08.xhtml        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-<!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='textreplacewholetext08.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()">
-<p>bar</p>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestsfastdomNodeinitialvaluesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/Node/initial-values-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Node/initial-values-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/fast/dom/Node/initial-values-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -113,12 +113,6 @@
</span><span class="cx"> PASS element.prefix is 'html'
</span><span class="cx"> PASS element.nodeValue is null
</span><span class="cx"> PASS element.attributes.toString() is '[object NamedNodeMap]'
</span><del>-PASS document.createEntityReference('gt') threw exception Error: NotSupportedError: DOM Exception 9.
-PASS entityReference.nodeName is 'gt'
-PASS entityReference.localName is null
-PASS entityReference.namespaceURI is null
-PASS entityReference.prefix is null
-PASS entityReference.nodeValue is null
</del><span class="cx"> PASS processingInstruction.nodeName is 'xml-stylesheet'
</span><span class="cx"> PASS processingInstruction.localName is null
</span><span class="cx"> PASS processingInstruction.namespaceURI is null
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomNodescripttestsinitialvaluesjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/Node/script-tests/initial-values.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Node/script-tests/initial-values.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/fast/dom/Node/script-tests/initial-values.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -156,16 +156,6 @@
</span><span class="cx"> shouldBe("element.nodeValue", "null");
</span><span class="cx"> shouldBe("element.attributes.toString()", "'[object NamedNodeMap]'");
</span><span class="cx">
</span><del>-// Not possible to create Entity nodes via the DOM, WebKit doesn't create them from parsing
-
-shouldThrow("document.createEntityReference('gt')");
-var entityReference = xmlDoc.createEntityReference("gt");
-shouldBe("entityReference.nodeName", "'gt'");
-shouldBe("entityReference.localName", "null");
-shouldBe("entityReference.namespaceURI", "null");
-shouldBe("entityReference.prefix", "null");
-shouldBe("entityReference.nodeValue", "null");
-
</del><span class="cx"> // Not possible to create Notation nodes via the DOM, WebKit doesn't create them from parsing
</span><span class="cx">
</span><span class="cx"> var processingInstruction = document.createProcessingInstruction('xml-stylesheet', 'type=\"text/xsl\" href=\"missing.xsl\"');
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomWindowgetsetpropertiesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/Window/get-set-properties-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Window/get-set-properties-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/fast/dom/Window/get-set-properties-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -33,8 +33,6 @@
</span><span class="cx"> PASS: canSet('DocumentType') should be 'true' and is.
</span><span class="cx"> PASS: canGet('Element') should be 'true' and is.
</span><span class="cx"> PASS: canSet('Element') should be 'true' and is.
</span><del>-PASS: canGet('EntityReference') should be 'true' and is.
-PASS: canSet('EntityReference') should be 'true' and is.
</del><span class="cx"> PASS: canGet('EvalError') should be 'true' and is.
</span><span class="cx"> PASS: canSet('EvalError') should be 'true' and is.
</span><span class="cx"> PASS: canGet('Event') should be 'true' and is.
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomWindowgetsetpropertieshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/Window/get-set-properties.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Window/get-set-properties.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/fast/dom/Window/get-set-properties.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -84,7 +84,6 @@
</span><span class="cx"> "DocumentFragment",
</span><span class="cx"> "DocumentType",
</span><span class="cx"> "Element",
</span><del>- "EntityReference",
</del><span class="cx"> "EvalError",
</span><span class="cx"> "Event",
</span><span class="cx"> "HTMLAnchorElement",
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomWindowresourceswindowpropertiesjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/Window/resources/window-properties.js (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Window/resources/window-properties.js        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/fast/dom/Window/resources/window-properties.js        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -56,7 +56,6 @@
</span><span class="cx"> ["DocumentFragment", "object"],
</span><span class="cx"> ["DocumentType", "object"],
</span><span class="cx"> ["Element", "object"],
</span><del>- ["EntityReference", "object"],
</del><span class="cx"> ["Event", "object"],
</span><span class="cx"> ["EventException", "object"],
</span><span class="cx"> ["HTMLAnchorElement", "object"],
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomWindowwindowlookupprecedenceexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -114,8 +114,6 @@
</span><span class="cx"> PASS win['DocumentType'] == '[object DocumentTypeConstructor]' is true
</span><span class="cx"> PASS win['Element'] == '[object ElementConstructor]' is true
</span><span class="cx"> PASS win['Element'] == '[object ElementConstructor]' is true
</span><del>-PASS win['EntityReference'] == '[object EntityReferenceConstructor]' is true
-PASS win['EntityReference'] == '[object EntityReferenceConstructor]' is true
</del><span class="cx"> PASS win['Event'] == '[object EventConstructor]' is true
</span><span class="cx"> PASS win['Event'] == '[object EventConstructor]' is true
</span><span class="cx"> PASS win['EventException'] == '[object EventExceptionConstructor]' is true
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomWindowwindowpropertyshadowingexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/Window/window-property-shadowing-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Window/window-property-shadowing-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/fast/dom/Window/window-property-shadowing-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -96,8 +96,6 @@
</span><span class="cx"> PASS: CDATASection successfully shadowed
</span><span class="cx"> PASS: DocumentType successfully shadowed
</span><span class="cx"> PASS: Notation successfully shadowed
</span><del>-PASS: Entity successfully shadowed
-PASS: EntityReference successfully shadowed
</del><span class="cx"> PASS: ProcessingInstruction successfully shadowed
</span><span class="cx"> PASS: HTMLDocument successfully shadowed
</span><span class="cx"> PASS: HTMLElement successfully shadowed
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomWindowwindowpropertyshadowinghtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/Window/window-property-shadowing.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Window/window-property-shadowing.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/fast/dom/Window/window-property-shadowing.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -215,10 +215,6 @@
</span><span class="cx"> log(DocumentType == 1 ? "PASS: DocumentType successfully shadowed" : "FAIL: DocumentType was not shadowed");
</span><span class="cx"> var Notation = 1;
</span><span class="cx"> log(Notation == 1 ? "PASS: Notation successfully shadowed" : "FAIL: Notation was not shadowed");
</span><del>- var Entity = 1;
- log(Entity == 1 ? "PASS: Entity successfully shadowed" : "FAIL: Entity was not shadowed");
- var EntityReference = 1;
- log(EntityReference == 1 ? "PASS: EntityReference successfully shadowed" : "FAIL: EntityReference was not shadowed");
</del><span class="cx"> var ProcessingInstruction = 1;
</span><span class="cx"> log(ProcessingInstruction == 1 ? "PASS: ProcessingInstruction successfully shadowed" : "FAIL: ProcessingInstruction was not shadowed");
</span><span class="cx"> var HTMLDocument = 1;
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomdomconstructorsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/dom-constructors-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/dom-constructors-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/fast/dom/dom-constructors-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx"> PASS TryAllocate('CDATASection') is 'exception'
</span><span class="cx"> PASS TryAllocate('DocumentType') is 'exception'
</span><span class="cx"> PASS TryAllocate('Element') is 'exception'
</span><del>-PASS TryAllocate('EntityReference') is 'exception'
</del><span class="cx"> PASS TryAllocate('EventTarget') is 'exception'
</span><span class="cx"> PASS TryAllocate('HTMLDocument') is 'exception'
</span><span class="cx"> PASS TryAllocate('Node') is 'exception'
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomdomconstructorshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/dom-constructors.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/dom-constructors.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/fast/dom/dom-constructors.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -18,7 +18,6 @@
</span><span class="cx"> 'CDATASection',
</span><span class="cx"> 'DocumentType',
</span><span class="cx"> 'Element',
</span><del>- 'EntityReference',
</del><span class="cx"> 'EventTarget',
</span><span class="cx"> 'HTMLDocument',
</span><span class="cx"> 'Node',
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomwrapperclassesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/wrapper-classes-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/wrapper-classes-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/fast/dom/wrapper-classes-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -47,9 +47,6 @@
</span><span class="cx"> PASS jsWrapperClass(xmlDocument.createElementNS('x', 'x', 'x')) is 'Element'
</span><span class="cx"> PASS jsWrapperClass(xmlDocument.createElementNS('x', 'x', 'x').__proto__) is 'ElementPrototype'
</span><span class="cx"> PASS jsWrapperClass(xmlDocument.createElementNS('x', 'x', 'x').constructor) is 'ElementConstructor'
</span><del>-PASS jsWrapperClass(xmlDocument.createEntityReference()) is 'EntityReference'
-PASS jsWrapperClass(xmlDocument.createEntityReference().__proto__) is 'EntityReferencePrototype'
-PASS jsWrapperClass(xmlDocument.createEntityReference().constructor) is 'EntityReferenceConstructor'
</del><span class="cx"> PASS jsWrapperClass(xmlDocument.createProcessingInstruction()) is 'ProcessingInstruction'
</span><span class="cx"> PASS jsWrapperClass(xmlDocument.createProcessingInstruction().__proto__) is 'ProcessingInstructionPrototype'
</span><span class="cx"> PASS jsWrapperClass(xmlDocument.createProcessingInstruction().constructor) is 'ProcessingInstructionConstructor'
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomwrapperclasseshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/wrapper-classes.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/wrapper-classes.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/fast/dom/wrapper-classes.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -90,7 +90,6 @@
</span><span class="cx"> test("xmlDocument", "Document");
</span><span class="cx"> test("xmlDocument.createCDATASection()", "CDATASection");
</span><span class="cx"> test("xmlDocument.createElementNS('x', 'x', 'x')", "Element");
</span><del>- test("xmlDocument.createEntityReference()", "EntityReference");
</del><span class="cx"> test("xmlDocument.createProcessingInstruction()", "ProcessingInstruction");
</span><span class="cx">
</span><span class="cx"> debug('');
</span></span></pre></div>
<a id="trunkLayoutTestshttptestssecuritycrossframeaccessgetexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/security/cross-frame-access-get-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/cross-frame-access-get-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/http/tests/security/cross-frame-access-get-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -187,7 +187,6 @@
</span><span class="cx"> CONSOLE MESSAGE: line 55: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 55: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 55: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><del>-CONSOLE MESSAGE: line 55: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</del><span class="cx"> This test checks cross-frame access security (rdar://problem/5251309).
</span><span class="cx">
</span><span class="cx">
</span><span class="lines">@@ -235,7 +234,6 @@
</span><span class="cx"> PASS: canGet('targetWindow.DocumentType') should be 'false' and is.
</span><span class="cx"> PASS: canGet('targetWindow.Element') should be 'false' and is.
</span><span class="cx"> PASS: canGet('targetWindow.Entity') should be 'false' and is.
</span><del>-PASS: canGet('targetWindow.EntityReference') should be 'false' and is.
</del><span class="cx"> PASS: canGet('targetWindow.EvalError') should be 'false' and is.
</span><span class="cx"> PASS: canGet('targetWindow.Event') should be 'false' and is.
</span><span class="cx"> PASS: canGet('targetWindow.HTMLAnchorElement') should be 'false' and is.
</span></span></pre></div>
<a id="trunkLayoutTestshttptestssecuritycrossframeaccessgethtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/security/cross-frame-access-get.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/cross-frame-access-get.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/http/tests/security/cross-frame-access-get.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -20,7 +20,6 @@
</span><span class="cx"> "DocumentType",
</span><span class="cx"> "Element",
</span><span class="cx"> "Entity",
</span><del>- "EntityReference",
</del><span class="cx"> "EvalError",
</span><span class="cx"> "Event",
</span><span class="cx"> "HTMLAnchorElement",
</span></span></pre></div>
<a id="trunkLayoutTestshttptestssecuritycrossframeaccessgetOwnPropertyDescriptorexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -78,7 +78,6 @@
</span><span class="cx"> PASS: canGetDescriptor(targetWindow, 'DocumentFragment') should be 'false' and is.
</span><span class="cx"> PASS: canGetDescriptor(targetWindow, 'DocumentType') should be 'false' and is.
</span><span class="cx"> PASS: canGetDescriptor(targetWindow, 'Element') should be 'false' and is.
</span><del>-PASS: canGetDescriptor(targetWindow, 'EntityReference') should be 'false' and is.
</del><span class="cx"> PASS: canGetDescriptor(targetWindow, 'EvalError') should be 'false' and is.
</span><span class="cx"> PASS: canGetDescriptor(targetWindow, 'Event') should be 'false' and is.
</span><span class="cx"> PASS: canGetDescriptor(targetWindow, 'HTMLAnchorElement') should be 'false' and is.
</span></span></pre></div>
<a id="trunkLayoutTestshttptestssecuritycrossframeaccessgetOwnPropertyDescriptorhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -19,7 +19,6 @@
</span><span class="cx"> "DocumentFragment",
</span><span class="cx"> "DocumentType",
</span><span class="cx"> "Element",
</span><del>- "EntityReference",
</del><span class="cx"> "EvalError",
</span><span class="cx"> "Event",
</span><span class="cx"> "HTMLAnchorElement",
</span></span></pre></div>
<a id="trunkLayoutTestshttptestssecuritycrossframeaccessputexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/security/cross-frame-access-put-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/cross-frame-access-put-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/http/tests/security/cross-frame-access-put-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-CONSOLE MESSAGE: line 154: Blocked a frame with origin "http://localhost:8000" from accessing a frame with origin "http://127.0.0.1:8000". Protocols, domains, and ports must match.
</del><ins>+CONSOLE MESSAGE: line 152: Blocked a frame with origin "http://localhost:8000" from accessing a frame with origin "http://127.0.0.1:8000". Protocols, domains, and ports must match.
</ins><span class="cx"> ALERT: PASS: window.Attr should be '[object AttrConstructor]' and is.
</span><span class="cx"> ALERT: PASS: window.CDATASection should be '[object CDATASectionConstructor]' and is.
</span><span class="cx"> ALERT: PASS: window.CharacterData should be '[object CharacterDataConstructor]' and is.
</span><span class="lines">@@ -14,8 +14,6 @@
</span><span class="cx"> ALERT: PASS: window.DOMImplementation should be '[object DOMImplementationConstructor]' and is.
</span><span class="cx"> ALERT: PASS: window.DOMParser should be '[object DOMParserConstructor]' and is.
</span><span class="cx"> ALERT: PASS: window.Element should be '[object ElementConstructor]' and is.
</span><del>-ALERT: PASS: window.Entity should be 'undefined' and is.
-ALERT: PASS: window.EntityReference should be '[object EntityReferenceConstructor]' and is.
</del><span class="cx"> ALERT: PASS: window.EvalError should be 'function EvalError() { [native code]}' and is.
</span><span class="cx"> ALERT: PASS: window.Event should be '[object EventConstructor]' and is.
</span><span class="cx"> ALERT: PASS: window.HTMLAnchorElement should be '[object HTMLAnchorElementConstructor]' and is.
</span><span class="lines">@@ -274,15 +272,15 @@
</span><span class="cx"> CONSOLE MESSAGE: line 121: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 122: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 123: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><del>-CONSOLE MESSAGE: line 124: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: line 133: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: line 135: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</del><ins>+CONSOLE MESSAGE: line 132: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
+CONSOLE MESSAGE: line 134: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
+CONSOLE MESSAGE: line 136: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</ins><span class="cx"> CONSOLE MESSAGE: line 137: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 138: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 139: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 140: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 141: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><del>-CONSOLE MESSAGE: line 142: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</del><ins>+CONSOLE MESSAGE: line 143: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</ins><span class="cx"> CONSOLE MESSAGE: line 144: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 145: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 146: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="lines">@@ -321,7 +319,7 @@
</span><span class="cx"> CONSOLE MESSAGE: line 179: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 180: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 181: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><del>-CONSOLE MESSAGE: line 182: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</del><ins>+CONSOLE MESSAGE: line 184: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</ins><span class="cx"> CONSOLE MESSAGE: line 185: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 186: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 187: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="lines">@@ -337,7 +335,7 @@
</span><span class="cx"> CONSOLE MESSAGE: line 197: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 198: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 199: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><del>-CONSOLE MESSAGE: line 200: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</del><ins>+CONSOLE MESSAGE: line 202: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</ins><span class="cx"> CONSOLE MESSAGE: line 203: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 204: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 205: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="lines">@@ -370,7 +368,6 @@
</span><span class="cx"> CONSOLE MESSAGE: line 232: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 233: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><span class="cx"> CONSOLE MESSAGE: line 234: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</span><del>-CONSOLE MESSAGE: line 235: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
</del><span class="cx"> This test checks cross-frame access security of window attribute setters (rdar://problem/5326791).
</span><span class="cx">
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestshttptestssecuritycrossframeaccessputhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/security/cross-frame-access-put.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/cross-frame-access-put.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/http/tests/security/cross-frame-access-put.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -50,7 +50,6 @@
</span><span class="cx"> setForbiddenProperty(targetWindow, "DOMImplementation");
</span><span class="cx"> setForbiddenProperty(targetWindow, "DOMParser");
</span><span class="cx"> setForbiddenProperty(targetWindow, "Element");
</span><del>- setForbiddenProperty(targetWindow, "EntityReference");
</del><span class="cx"> setForbiddenProperty(targetWindow, "EvalError");
</span><span class="cx"> setForbiddenProperty(targetWindow, "Event");
</span><span class="cx"> setForbiddenProperty(targetWindow, "HTMLAnchorElement");
</span></span></pre></div>
<a id="trunkLayoutTestshttptestssecurityresourcescrossframeiframeforputtesthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/security/resources/cross-frame-iframe-for-put-test.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/resources/cross-frame-iframe-for-put-test.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/http/tests/security/resources/cross-frame-iframe-for-put-test.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -58,8 +58,6 @@
</span><span class="cx"> var DOMImplementationOld = window.DOMImplementation;
</span><span class="cx"> var DOMParserOld = window.DOMParser;
</span><span class="cx"> var ElementOld = window.Element;
</span><del>- var EntityOld = window.Entity;
- var EntityReferenceOld = window.EntityReference;
</del><span class="cx"> var EvalErrorOld = window.EvalError;
</span><span class="cx"> var EventOld = window.Event;
</span><span class="cx"> var HTMLAnchorElementOld = window.HTMLAnchorElement;
</span><span class="lines">@@ -261,8 +259,6 @@
</span><span class="cx"> shouldBe("window.DOMImplementation", "DOMImplementationOld");
</span><span class="cx"> shouldBe("window.DOMParser", "DOMParserOld");
</span><span class="cx"> shouldBe("window.Element", "ElementOld");
</span><del>- shouldBe("window.Entity", "EntityOld");
- shouldBe("window.EntityReference", "EntityReferenceOld");
</del><span class="cx"> shouldBe("window.EvalError", "EvalErrorOld");
</span><span class="cx"> shouldBe("window.Event", "EventOld");
</span><span class="cx"> shouldBe("window.HTMLAnchorElement", "HTMLAnchorElementOld");
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2015-09-22 Chris Dumez <cdumez@apple.com>
+
+ Drop support for legacy EntityReference DOM Node type
+ https://bugs.webkit.org/show_bug.cgi?id=149348
+
+ Reviewed by Darin Adler.
+
+ Rebaseline W3C DOM test now that more checks are passing.
+
+ * web-platform-tests/dom/historical-expected.txt:
+
</ins><span class="cx"> 2015-09-21 Chris Dumez <cdumez@apple.com>
</span><span class="cx">
</span><span class="cx"> time element should use HTMLTimeElement interface
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomhistoricalexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> PASS Historical DOM features must be removed: DOMObject
</span><span class="cx"> PASS Historical DOM features must be removed: DOMUserData
</span><span class="cx"> PASS Historical DOM features must be removed: Entity
</span><del>-FAIL Historical DOM features must be removed: EntityReference assert_equals: expected (undefined) undefined but got (object) object "[object EntityReferenceConstructor]"
</del><ins>+PASS Historical DOM features must be removed: EntityReference
</ins><span class="cx"> FAIL Historical DOM features must be removed: EventException assert_equals: expected (undefined) undefined but got (object) object "[object EventExceptionConstructor]"
</span><span class="cx"> PASS Historical DOM features must be removed: NameList
</span><span class="cx"> PASS Historical DOM features must be removed: Notation
</span><span class="lines">@@ -19,9 +19,7 @@
</span><span class="cx"> FAIL Historical DOM features must be removed: createCDATASection assert_equals: expected (undefined) undefined but got (function) function "function createCDATASection() {
</span><span class="cx"> [native code]
</span><span class="cx"> }"
</span><del>-FAIL Historical DOM features must be removed: createEntityReference assert_equals: expected (undefined) undefined but got (function) function "function createEntityReference() {
- [native code]
-}"
</del><ins>+PASS Historical DOM features must be removed: createEntityReference
</ins><span class="cx"> FAIL Historical DOM features must be removed: xmlEncoding assert_equals: expected (undefined) undefined but got (object) null
</span><span class="cx"> FAIL Historical DOM features must be removed: xmlStandalone assert_equals: expected (undefined) undefined but got (boolean) false
</span><span class="cx"> FAIL Historical DOM features must be removed: xmlVersion assert_equals: expected (undefined) undefined but got (object) null
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -313,11 +313,6 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').configurable is true
</span><del>-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').value is EntityReference
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').configurable is true
</del><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').value is ErrorEvent
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformefljsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -313,11 +313,6 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').configurable is true
</span><del>-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').value is EntityReference
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').configurable is true
</del><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').value is ErrorEvent
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkfastdomWindowwindowlookupprecedenceexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -114,8 +114,6 @@
</span><span class="cx"> PASS win['DocumentType'] == '[object DocumentTypeConstructor]' is true
</span><span class="cx"> PASS win['Element'] == '[object ElementConstructor]' is true
</span><span class="cx"> PASS win['Element'] == '[object ElementConstructor]' is true
</span><del>-PASS win['EntityReference'] == '[object EntityReferenceConstructor]' is true
-PASS win['EntityReference'] == '[object EntityReferenceConstructor]' is true
</del><span class="cx"> PASS win['Event'] == '[object EventConstructor]' is true
</span><span class="cx"> PASS win['Event'] == '[object EventConstructor]' is true
</span><span class="cx"> PASS win['EventException'] == '[object EventExceptionConstructor]' is true
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -318,11 +318,6 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').configurable is true
</span><del>-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').value is EntityReference
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').configurable is true
</del><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').value is ErrorEvent
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastdomWindowwindowlookupprecedenceexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -114,8 +114,6 @@
</span><span class="cx"> PASS win['DocumentType'] == '[object DocumentTypeConstructor]' is true
</span><span class="cx"> PASS win['Element'] == '[object ElementConstructor]' is true
</span><span class="cx"> PASS win['Element'] == '[object ElementConstructor]' is true
</span><del>-PASS win['EntityReference'] == '[object EntityReferenceConstructor]' is true
-PASS win['EntityReference'] == '[object EntityReferenceConstructor]' is true
</del><span class="cx"> PASS win['Event'] == '[object EventConstructor]' is true
</span><span class="cx"> PASS win['Event'] == '[object EventConstructor]' is true
</span><span class="cx"> PASS win['EventException'] == '[object EventExceptionConstructor]' is true
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastdomwrapperclassesobjcexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/dom/wrapper-classes-objc-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/dom/wrapper-classes-objc-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/platform/mac/fast/dom/wrapper-classes-objc-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -21,7 +21,6 @@
</span><span class="cx"> PASS objCWrapperClass(xmlDocument) is 'DOMDocument'
</span><span class="cx"> PASS objCWrapperClass(xmlDocument.createCDATASection()) is 'DOMCDATASection'
</span><span class="cx"> PASS objCWrapperClass(xmlDocument.createElementNS('x', 'x', 'x')) is 'DOMElement'
</span><del>-PASS objCWrapperClass(xmlDocument.createEntityReference()) is 'DOMEntityReference'
</del><span class="cx"> PASS objCWrapperClass(xmlDocument.createProcessingInstruction()) is 'DOMProcessingInstruction'
</span><span class="cx">
</span><span class="cx"> Events
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastdomwrapperclassesobjchtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/dom/wrapper-classes-objc.html (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/dom/wrapper-classes-objc.html        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/platform/mac/fast/dom/wrapper-classes-objc.html        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -103,7 +103,6 @@
</span><span class="cx"> test("xmlDocument", "Document");
</span><span class="cx"> test("xmlDocument.createCDATASection()", "CDATASection");
</span><span class="cx"> test("xmlDocument.createElementNS('x', 'x', 'x')", "Element");
</span><del>- test("xmlDocument.createEntityReference()", "EntityReference");
</del><span class="cx"> test("xmlDocument.createProcessingInstruction()", "ProcessingInstruction");
</span><span class="cx">
</span><span class="cx"> debug('');
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -308,11 +308,6 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').configurable is true
</span><del>-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').value is EntityReference
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').configurable is true
</del><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').value is ErrorEvent
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacmavericksjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -308,11 +308,6 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').configurable is true
</span><del>-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').value is EntityReference
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').configurable is true
</del><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').value is ErrorEvent
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacyosemitejsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -308,11 +308,6 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').configurable is true
</span><del>-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').value is EntityReference
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').configurable is true
</del><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').value is ErrorEvent
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformwinjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -238,11 +238,6 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Element').configurable is true
</span><del>-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').value is EntityReference
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'EntityReference').configurable is true
</del><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').value is ErrorEvent
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ErrorEvent').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/CMakeLists.txt        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -391,7 +391,6 @@
</span><span class="cx"> dom/DocumentFragment.idl
</span><span class="cx"> dom/DocumentType.idl
</span><span class="cx"> dom/Element.idl
</span><del>- dom/EntityReference.idl
</del><span class="cx"> dom/ErrorEvent.idl
</span><span class="cx"> dom/Event.idl
</span><span class="cx"> dom/EventException.idl
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/ChangeLog        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +1,121 @@
</span><ins>+2015-09-22 Chris Dumez <cdumez@apple.com>
+
+ Drop support for legacy EntityReference DOM Node type
+ https://bugs.webkit.org/show_bug.cgi?id=149348
+
+ Reviewed by Darin Adler.
+
+ Drop support for legacy EntityReference DOM Node type.
+
+ EntityReference has been dropped from the DOM specification:
+ - https://dom.spec.whatwg.org/#dom-core-changes
+
+ EntityReference is not supported in Firefox:
+ - https://developer.mozilla.org/en-US/docs/Web/API/EntityReference
+ - https://developer.mozilla.org/en-US/docs/Web/API/NodeIterator.expandEntityReferences
+ - https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker.expandEntityReferences
+
+ Chrome dropped support for EntityReference a while back (May 2013):
+ - EntityReference: https://code.google.com/p/chromium/issues/detail?id=226628
+ - NodeFilter / TreeWalker.expandEntityReferences:
+ - https://groups.google.com/a/chromium.org/d/msg/blink-dev/-ZO3eja4maA/86T13XJwQpUJ
+ - https://src.chromium.org/viewvc/blink?view=rev&revision=185771
+
+ IE also dropped support for EntityReference Nodes:
+ https://msdn.microsoft.com/library/ff974819(v=vs.85).aspx (Remarks section)
+
+ No new tests, already covered by existing test.
+
+ * DerivedSources.cpp:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/gobject/WebKitDOMPrivate.cpp:
+ (WebKit::wrap): Deleted.
+ * bindings/js/JSNodeCustom.cpp:
+ (WebCore::createWrapperInline): Deleted.
+ * bindings/objc/DOM.mm:
+ (kitClass): Deleted.
+ * bindings/scripts/CodeGeneratorGObject.pm:
+ (SkipFunction): Skip webkit_dom_document_create_entity_reference until Carlos fixes it.
+ * dom/Attr.cpp:
+ (WebCore::Attr::childTypeAllowed):
+ (WebCore::Attr::childrenChanged): Deleted.
+ * dom/Attr.h:
+ * dom/ContainerNode.cpp:
+ (WebCore::checkAcceptChild): Deleted.
+ (WebCore::checkAcceptChildGuaranteedNodeTypes): Deleted.
+ (WebCore::ContainerNode::removeChild): Deleted.
+ * dom/Document.cpp:
+ (WebCore::Document::createEntityReference):
+ (WebCore::Document::createNodeIterator):
+ (WebCore::Document::createTreeWalker):
+ (WebCore::Document::createEditingTextNode): Deleted.
+ (WebCore::Document::importNode): Deleted.
+ (WebCore::Document::adoptNode): Deleted.
+ (WebCore::Document::scheduleForcedStyleRecalc): Deleted.
+ (WebCore::Document::scheduleStyleRecalc): Deleted.
+ (WebCore::Document::childTypeAllowed): Deleted.
+ (WebCore::Document::canAcceptChild): Deleted.
+ * dom/Document.h:
+ * dom/Document.idl:
+ * dom/DocumentFragment.cpp:
+ (WebCore::DocumentFragment::childTypeAllowed): Deleted.
+ * dom/Element.cpp:
+ (WebCore::Element::childTypeAllowed): Deleted.
+ * dom/EntityReference.cpp:
+ (WebCore::EntityReference::EntityReference):
+ * dom/EntityReference.h:
+ * dom/EntityReference.idl:
+ * dom/Node.cpp:
+ (WebCore::Node::setNodeValue):
+ (WebCore::Node::dumpStatistics): Deleted.
+ (WebCore::Node::childNodes): Deleted.
+ (WebCore::Node::lastDescendant): Deleted.
+ (WebCore::Node::isDescendantOf): Deleted.
+ (WebCore::Node::textContent): Deleted.
+ (WebCore::Node::ancestorElement): Deleted.
+ (WebCore::hashPointer): Deleted.
+ * dom/Node.h:
+ (WebCore::Node::isDocumentTypeNode): Deleted.
+ * dom/NodeIterator.cpp:
+ (WebCore::NodeIterator::NodeIterator):
+ * dom/NodeIterator.h:
+ (WebCore::NodeIterator::create):
+ * dom/NodeIterator.idl:
+ * dom/Range.cpp:
+ (WebCore::Range::checkDeleteExtract):
+ (WebCore::lengthOfContentsInNode): Deleted.
+ (WebCore::Range::processContentsBetweenOffsets): Deleted.
+ (WebCore::Range::insertNode): Deleted.
+ (WebCore::Range::checkNodeWOffset): Deleted.
+ (WebCore::Range::checkNodeBA): Deleted.
+ (WebCore::Range::cloneRange): Deleted.
+ (WebCore::Range::selectNode): Deleted.
+ (WebCore::Range::selectNodeContents): Deleted.
+ (WebCore::Range::surroundContents): Deleted.
+ (WebCore::Range::shadowRoot): Deleted.
+ (WebCore::Range::pastLastNode): Deleted.
+ (WebCore::Range::absoluteBoundingBox): Deleted.
+ (WebCore::Range::absoluteTextRects): Deleted.
+ * dom/Range.h:
+ * dom/ShadowRoot.cpp:
+ (WebCore::ShadowRoot::childTypeAllowed): Deleted.
+ * dom/Traversal.cpp:
+ (WebCore::NodeIteratorBase::NodeIteratorBase):
+ (WebCore::NodeIteratorBase::acceptNode): Deleted.
+ * dom/Traversal.h:
+ (WebCore::NodeIteratorBase::expandEntityReferences):
+ * dom/TreeWalker.cpp:
+ (WebCore::TreeWalker::TreeWalker):
+ * dom/TreeWalker.h:
+ (WebCore::TreeWalker::create):
+ * dom/TreeWalker.idl:
+ * editing/MarkupAccumulator.cpp:
+ (WebCore::MarkupAccumulator::appendStartMarkup): Deleted.
+ * xml/XPathUtil.cpp:
+ (WebCore::XPath::isValidContextNode): Deleted.
+
</ins><span class="cx"> 2015-09-22 Eric Carlson <eric.carlson@apple.com>
</span><span class="cx">
</span><span class="cx"> Unreviewed 32-bit Yosemite build fix.
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/DerivedSources.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -149,7 +149,6 @@
</span><span class="cx"> #include "JSDOMWindow.cpp"
</span><span class="cx"> #include "JSDOMWindowCSS.cpp"
</span><span class="cx"> #include "JSElement.cpp"
</span><del>-#include "JSEntityReference.cpp"
</del><span class="cx"> #include "JSErrorEvent.cpp"
</span><span class="cx"> #include "JSEvent.cpp"
</span><span class="cx"> #include "JSEventException.cpp"
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1832,20 +1832,6 @@
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
</span><span class="cx"> </ClCompile>
</span><del>- <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEntityReference.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
- </ClCompile>
</del><span class="cx"> <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSErrorEvent.cpp">
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</span><span class="lines">@@ -19860,7 +19846,6 @@
</span><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMURL.h" />
</span><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMWindow.h" />
</span><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSElement.h" />
</span><del>- <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEntityReference.h" />
</del><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSErrorEvent.h" />
</span><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEvent.h" />
</span><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEventException.h" />
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -5257,9 +5257,6 @@
</span><span class="cx"> <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSElement.cpp">
</span><span class="cx"> <Filter>DerivedSources</Filter>
</span><span class="cx"> </ClCompile>
</span><del>- <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEntityReference.cpp">
- <Filter>DerivedSources</Filter>
- </ClCompile>
</del><span class="cx"> <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSErrorEvent.cpp">
</span><span class="cx"> <Filter>DerivedSources</Filter>
</span><span class="cx"> </ClCompile>
</span><span class="lines">@@ -12652,9 +12649,6 @@
</span><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSElement.h">
</span><span class="cx"> <Filter>DerivedSources</Filter>
</span><span class="cx"> </ClInclude>
</span><del>- <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSEntityReference.h">
- <Filter>DerivedSources</Filter>
- </ClInclude>
</del><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSErrorEvent.h">
</span><span class="cx"> <Filter>DerivedSources</Filter>
</span><span class="cx"> </ClInclude>
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -3595,8 +3595,6 @@
</span><span class="cx">                 93F9B6580BA0F35E00854064 /* DOMHTMLCanvasElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 93F9B6550BA0F35E00854064 /* DOMHTMLCanvasElementInternal.h */; };
</span><span class="cx">                 93F9B6E00BA0FB7200854064 /* JSComment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93F9B6DE0BA0FB7200854064 /* JSComment.cpp */; };
</span><span class="cx">                 93F9B6E10BA0FB7200854064 /* JSComment.h in Headers */ = {isa = PBXBuildFile; fileRef = 93F9B6DF0BA0FB7200854064 /* JSComment.h */; };
</span><del>-                93F9B7740BA5FDDC00854064 /* JSEntityReference.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93F9B7720BA5FDDC00854064 /* JSEntityReference.cpp */; };
-                93F9B7750BA5FDDD00854064 /* JSEntityReference.h in Headers */ = {isa = PBXBuildFile; fileRef = 93F9B7730BA5FDDC00854064 /* JSEntityReference.h */; };
</del><span class="cx">                 93F9B7A00BA6032600854064 /* JSCDATASection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93F9B79E0BA6032600854064 /* JSCDATASection.cpp */; };
</span><span class="cx">                 93F9B7A10BA6032600854064 /* JSCDATASection.h in Headers */ = {isa = PBXBuildFile; fileRef = 93F9B79F0BA6032600854064 /* JSCDATASection.h */; };
</span><span class="cx">                 93FDAFCA0B11307400E2746F /* EditorInsertAction.h in Headers */ = {isa = PBXBuildFile; fileRef = 93FDAFC90B11307400E2746F /* EditorInsertAction.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -10973,8 +10971,6 @@
</span><span class="cx">                 93F9B6550BA0F35E00854064 /* DOMHTMLCanvasElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMHTMLCanvasElementInternal.h; sourceTree = "<group>"; };
</span><span class="cx">                 93F9B6DE0BA0FB7200854064 /* JSComment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSComment.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 93F9B6DF0BA0FB7200854064 /* JSComment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSComment.h; sourceTree = "<group>"; };
</span><del>-                93F9B7720BA5FDDC00854064 /* JSEntityReference.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSEntityReference.cpp; sourceTree = "<group>"; };
-                93F9B7730BA5FDDC00854064 /* JSEntityReference.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSEntityReference.h; sourceTree = "<group>"; };
</del><span class="cx">                 93F9B79E0BA6032600854064 /* JSCDATASection.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCDATASection.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 93F9B79F0BA6032600854064 /* JSCDATASection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSCDATASection.h; sourceTree = "<group>"; };
</span><span class="cx">                 93FDAFC90B11307400E2746F /* EditorInsertAction.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = EditorInsertAction.h; sourceTree = "<group>"; };
</span><span class="lines">@@ -20067,8 +20063,6 @@
</span><span class="cx">                                 BC64649611D82349006455B0 /* JSDOMStringMap.h */,
</span><span class="cx">                                 65DF31E509D1CC60000BE325 /* JSElement.cpp */,
</span><span class="cx">                                 65DF31E609D1CC60000BE325 /* JSElement.h */,
</span><del>-                                93F9B7720BA5FDDC00854064 /* JSEntityReference.cpp */,
-                                93F9B7730BA5FDDC00854064 /* JSEntityReference.h */,
</del><span class="cx">                                 FE80DA5F0E9C4703000D6F75 /* JSGeolocation.cpp */,
</span><span class="cx">                                 FE80DA600E9C4703000D6F75 /* JSGeolocation.h */,
</span><span class="cx">                                 FE80DA610E9C4703000D6F75 /* JSGeoposition.cpp */,
</span><span class="lines">@@ -25596,7 +25590,6 @@
</span><span class="cx">                                 FD7868BA136B999200D403DF /* JSDynamicsCompressorNode.h in Headers */,
</span><span class="cx">                                 65DF31FA09D1CC60000BE325 /* JSElement.h in Headers */,
</span><span class="cx">                                 ADEC78F818EE5308001315C2 /* JSElementCustom.h in Headers */,
</span><del>-                                93F9B7750BA5FDDD00854064 /* JSEntityReference.h in Headers */,
</del><span class="cx">                                 2ECF7ADD10162B3800427DE7 /* JSErrorEvent.h in Headers */,
</span><span class="cx">                                 F3D461491161D53200CA0D09 /* JSErrorHandler.h in Headers */,
</span><span class="cx">                                 14E8378E09F85D4F00B85AE4 /* JSEvent.h in Headers */,
</span><span class="lines">@@ -29161,7 +29154,6 @@
</span><span class="cx">                                 FD7868B9136B999200D403DF /* JSDynamicsCompressorNode.cpp in Sources */,
</span><span class="cx">                                 65DF31F909D1CC60000BE325 /* JSElement.cpp in Sources */,
</span><span class="cx">                                 BC2ED5550C6B9BD300920BFF /* JSElementCustom.cpp in Sources */,
</span><del>-                                93F9B7740BA5FDDC00854064 /* JSEntityReference.cpp in Sources */,
</del><span class="cx">                                 2ECF7ADC10162B3800427DE7 /* JSErrorEvent.cpp in Sources */,
</span><span class="cx">                                 F3D461481161D53200CA0D09 /* JSErrorHandler.cpp in Sources */,
</span><span class="cx">                                 14E8378409F85D1C00B85AE4 /* JSEvent.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsgobjectWebKitDOMPrivatecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -47,7 +47,6 @@
</span><span class="cx"> #include "WebKitDOMDocumentPrivate.h"
</span><span class="cx"> #include "WebKitDOMDocumentTypePrivate.h"
</span><span class="cx"> #include "WebKitDOMElementPrivate.h"
</span><del>-#include "WebKitDOMEntityReferencePrivate.h"
</del><span class="cx"> #include "WebKitDOMEventPrivate.h"
</span><span class="cx"> #include "WebKitDOMEventTargetPrivate.h"
</span><span class="cx"> #include "WebKitDOMFilePrivate.h"
</span><span class="lines">@@ -93,8 +92,6 @@
</span><span class="cx"> return WEBKIT_DOM_NODE(wrapText(downcast<Text>(node)));
</span><span class="cx"> case Node::CDATA_SECTION_NODE:
</span><span class="cx"> return WEBKIT_DOM_NODE(wrapCDATASection(static_cast<CDATASection*>(node)));
</span><del>- case Node::ENTITY_REFERENCE_NODE:
- return WEBKIT_DOM_NODE(wrapEntityReference(static_cast<EntityReference*>(node)));
</del><span class="cx"> case Node::PROCESSING_INSTRUCTION_NODE:
</span><span class="cx"> return WEBKIT_DOM_NODE(wrapProcessingInstruction(static_cast<ProcessingInstruction*>(node)));
</span><span class="cx"> case Node::COMMENT_NODE:
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSNodeCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx"> #include "DocumentFragment.h"
</span><span class="cx"> #include "DocumentType.h"
</span><span class="cx"> #include "Entity.h"
</span><del>-#include "EntityReference.h"
</del><span class="cx"> #include "ExceptionCode.h"
</span><span class="cx"> #include "HTMLAudioElement.h"
</span><span class="cx"> #include "HTMLCanvasElement.h"
</span><span class="lines">@@ -51,7 +50,6 @@
</span><span class="cx"> #include "JSDocument.h"
</span><span class="cx"> #include "JSDocumentFragment.h"
</span><span class="cx"> #include "JSDocumentType.h"
</span><del>-#include "JSEntityReference.h"
</del><span class="cx"> #include "JSEventListener.h"
</span><span class="cx"> #include "JSHTMLElement.h"
</span><span class="cx"> #include "JSHTMLElementWrapperFactory.h"
</span><span class="lines">@@ -209,9 +207,6 @@
</span><span class="cx"> #endif
</span><span class="cx"> wrapper = CREATE_DOM_WRAPPER(globalObject, DocumentFragment, node);
</span><span class="cx"> break;
</span><del>- case Node::ENTITY_REFERENCE_NODE:
- wrapper = CREATE_DOM_WRAPPER(globalObject, EntityReference, node);
- break;
</del><span class="cx"> default:
</span><span class="cx"> wrapper = CREATE_DOM_WRAPPER(globalObject, Node, node);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/objc/DOM.mm (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOM.mm        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/bindings/objc/DOM.mm        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -311,8 +311,6 @@
</span><span class="cx"> return [DOMText class];
</span><span class="cx"> case WebCore::Node::CDATA_SECTION_NODE:
</span><span class="cx"> return [DOMCDATASection class];
</span><del>- case WebCore::Node::ENTITY_REFERENCE_NODE:
- return [DOMEntityReference class];
</del><span class="cx"> case WebCore::Node::PROCESSING_INSTRUCTION_NODE:
</span><span class="cx"> return [DOMProcessingInstruction class];
</span><span class="cx"> case WebCore::Node::COMMENT_NODE:
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorGObjectpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -290,6 +290,12 @@
</span><span class="cx"> # Static methods are unsupported
</span><span class="cx"> return 1 if $function->isStatic;
</span><span class="cx">
</span><ins>+ # FIXME: This is skipped because I don't know how to fix the build any better way.
+ # https://bugs.webkit.org/show_bug.cgi?id=149348
+ if ($functionName eq "webkit_dom_document_create_entity_reference") {
+ return 1;
+ }
+
</ins><span class="cx"> if (($isCustomFunction || $isUnsupportedCallWith) &&
</span><span class="cx"> $functionName ne "webkit_dom_node_replace_child" &&
</span><span class="cx"> $functionName ne "webkit_dom_node_insert_before" &&
</span></span></pre></div>
<a id="trunkSourceWebCoredomAttrcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Attr.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Attr.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/Attr.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -148,13 +148,7 @@
</span><span class="cx"> // DOM Section 1.1.1
</span><span class="cx"> bool Attr::childTypeAllowed(NodeType type) const
</span><span class="cx"> {
</span><del>- switch (type) {
- case TEXT_NODE:
- case ENTITY_REFERENCE_NODE:
- return true;
- default:
- return false;
- }
</del><ins>+ return type == TEXT_NODE;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void Attr::childrenChanged(const ChildChange&)
</span></span></pre></div>
<a id="trunkSourceWebCoredomAttrh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Attr.h (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Attr.h        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/Attr.h        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -33,7 +33,7 @@
</span><span class="cx"> class CSSStyleDeclaration;
</span><span class="cx"> class MutableStyleProperties;
</span><span class="cx">
</span><del>-// Attr can have Text and EntityReference children
</del><ins>+// Attr can have Text children
</ins><span class="cx"> // therefore it has to be a fullblown Node. The plan
</span><span class="cx"> // is to dynamically allocate a textchild and store the
</span><span class="cx"> // resulting nodevalue in the attribute upon
</span></span></pre></div>
<a id="trunkSourceWebCoredomContainerNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ContainerNode.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ContainerNode.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/ContainerNode.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -180,7 +180,6 @@
</span><span class="cx"> {
</span><span class="cx"> // Use common case fast path if possible.
</span><span class="cx"> if ((newChild.isElementNode() || newChild.isTextNode()) && newParent.isElementNode()) {
</span><del>- ASSERT(!newParent.isReadOnlyNode());
</del><span class="cx"> ASSERT(!newParent.isDocumentTypeNode());
</span><span class="cx"> ASSERT(isChildTypeAllowed(newParent, newChild));
</span><span class="cx"> if (containsConsideringHostElements(newChild, newParent))
</span><span class="lines">@@ -193,8 +192,6 @@
</span><span class="cx"> if (newChild.isPseudoElement())
</span><span class="cx"> return HIERARCHY_REQUEST_ERR;
</span><span class="cx">
</span><del>- if (newParent.isReadOnlyNode())
- return NO_MODIFICATION_ALLOWED_ERR;
</del><span class="cx"> if (containsConsideringHostElements(newChild, newParent))
</span><span class="cx"> return HIERARCHY_REQUEST_ERR;
</span><span class="cx">
</span><span class="lines">@@ -209,7 +206,6 @@
</span><span class="cx">
</span><span class="cx"> static inline bool checkAcceptChildGuaranteedNodeTypes(ContainerNode& newParent, Node& newChild, ExceptionCode& ec)
</span><span class="cx"> {
</span><del>- ASSERT(!newParent.isReadOnlyNode());
</del><span class="cx"> ASSERT(!newParent.isDocumentTypeNode());
</span><span class="cx"> ASSERT(isChildTypeAllowed(newParent, newChild));
</span><span class="cx"> if (newChild.contains(&newParent)) {
</span><span class="lines">@@ -521,12 +517,6 @@
</span><span class="cx">
</span><span class="cx"> ec = 0;
</span><span class="cx">
</span><del>- // NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
- if (isReadOnlyNode()) {
- ec = NO_MODIFICATION_ALLOWED_ERR;
- return false;
- }
-
</del><span class="cx"> // NOT_FOUND_ERR: Raised if oldChild is not a child of this node.
</span><span class="cx"> if (oldChild.parentNode() != this) {
</span><span class="cx"> ec = NOT_FOUND_ERR;
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/Document.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -909,17 +909,10 @@
</span><span class="cx"> return ProcessingInstruction::create(*this, target, data);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-RefPtr<EntityReference> Document::createEntityReference(const String& name, ExceptionCode& ec)
</del><ins>+RefPtr<EntityReference> Document::createEntityReference(const String&, ExceptionCode& ec)
</ins><span class="cx"> {
</span><del>- if (!isValidName(name)) {
- ec = INVALID_CHARACTER_ERR;
- return nullptr;
- }
- if (isHTMLDocument()) {
- ec = NOT_SUPPORTED_ERR;
- return nullptr;
- }
- return EntityReference::create(*this, name);
</del><ins>+ ec = NOT_SUPPORTED_ERR;
+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> Ref<Text> Document::createEditingTextNode(const String& text)
</span><span class="lines">@@ -944,7 +937,6 @@
</span><span class="cx"> case ELEMENT_NODE:
</span><span class="cx"> case TEXT_NODE:
</span><span class="cx"> case CDATA_SECTION_NODE:
</span><del>- case ENTITY_REFERENCE_NODE:
</del><span class="cx"> case PROCESSING_INSTRUCTION_NODE:
</span><span class="cx"> case COMMENT_NODE:
</span><span class="cx"> case DOCUMENT_FRAGMENT_NODE:
</span><span class="lines">@@ -974,11 +966,6 @@
</span><span class="cx"> return nullptr;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- if (source->isReadOnlyNode()) {
- ec = NO_MODIFICATION_ALLOWED_ERR;
- return nullptr;
- }
-
</del><span class="cx"> EventQueueScope scope;
</span><span class="cx">
</span><span class="cx"> switch (source->nodeType()) {
</span><span class="lines">@@ -1710,52 +1697,52 @@
</span><span class="cx"> return Range::create(*this);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-RefPtr<NodeIterator> Document::createNodeIterator(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&& filter, bool expandEntityReferences, ExceptionCode& ec)
</del><ins>+RefPtr<NodeIterator> Document::createNodeIterator(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&& filter, bool, ExceptionCode& ec)
</ins><span class="cx"> {
</span><ins>+ return createNodeIterator(root, whatToShow, WTF::move(filter), ec);
+}
+
+RefPtr<NodeIterator> Document::createNodeIterator(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&& filter, ExceptionCode& ec)
+{
</ins><span class="cx"> if (!root) {
</span><span class="cx"> ec = TypeError;
</span><span class="cx"> return nullptr;
</span><span class="cx"> }
</span><del>- return NodeIterator::create(root, whatToShow, WTF::move(filter), expandEntityReferences);
</del><ins>+ return NodeIterator::create(root, whatToShow, WTF::move(filter));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-RefPtr<NodeIterator> Document::createNodeIterator(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&& filter, ExceptionCode& ec)
</del><ins>+RefPtr<NodeIterator> Document::createNodeIterator(Node* root, unsigned long whatToShow, ExceptionCode& ec)
</ins><span class="cx"> {
</span><del>- return createNodeIterator(root, whatToShow, WTF::move(filter), false, ec);
</del><ins>+ return createNodeIterator(root, whatToShow, nullptr, ec);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-RefPtr<NodeIterator> Document::createNodeIterator(Node* root, unsigned long whatToShow, ExceptionCode& ec)
</del><ins>+RefPtr<NodeIterator> Document::createNodeIterator(Node* root, ExceptionCode& ec)
</ins><span class="cx"> {
</span><del>- return createNodeIterator(root, whatToShow, nullptr, false, ec);
</del><ins>+ return createNodeIterator(root, 0xFFFFFFFF, nullptr, ec);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-RefPtr<NodeIterator> Document::createNodeIterator(Node* root, ExceptionCode& ec)
</del><ins>+RefPtr<TreeWalker> Document::createTreeWalker(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&& filter, bool, ExceptionCode& ec)
</ins><span class="cx"> {
</span><del>- return createNodeIterator(root, 0xFFFFFFFF, nullptr, false, ec);
</del><ins>+ return createTreeWalker(root, whatToShow, WTF::move(filter), ec);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-RefPtr<TreeWalker> Document::createTreeWalker(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&& filter, bool expandEntityReferences, ExceptionCode& ec)
</del><ins>+RefPtr<TreeWalker> Document::createTreeWalker(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&& filter, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> if (!root) {
</span><span class="cx"> ec = TypeError;
</span><span class="cx"> return nullptr;
</span><span class="cx"> }
</span><del>- return TreeWalker::create(root, whatToShow, WTF::move(filter), expandEntityReferences);
</del><ins>+ return TreeWalker::create(root, whatToShow, WTF::move(filter));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-RefPtr<TreeWalker> Document::createTreeWalker(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&& filter, ExceptionCode& ec)
-{
- return createTreeWalker(root, whatToShow, WTF::move(filter), false, ec);
-}
-
</del><span class="cx"> RefPtr<TreeWalker> Document::createTreeWalker(Node* root, unsigned long whatToShow, ExceptionCode& ec)
</span><span class="cx"> {
</span><del>- return createTreeWalker(root, whatToShow, nullptr, false, ec);
</del><ins>+ return createTreeWalker(root, whatToShow, nullptr, ec);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> RefPtr<TreeWalker> Document::createTreeWalker(Node* root, ExceptionCode& ec)
</span><span class="cx"> {
</span><del>- return createTreeWalker(root, 0xFFFFFFFF, nullptr, false, ec);
</del><ins>+ return createTreeWalker(root, 0xFFFFFFFF, nullptr, ec);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void Document::scheduleForcedStyleRecalc()
</span><span class="lines">@@ -3357,7 +3344,6 @@
</span><span class="cx"> case CDATA_SECTION_NODE:
</span><span class="cx"> case DOCUMENT_FRAGMENT_NODE:
</span><span class="cx"> case DOCUMENT_NODE:
</span><del>- case ENTITY_REFERENCE_NODE:
</del><span class="cx"> case TEXT_NODE:
</span><span class="cx"> case XPATH_NAMESPACE_NODE:
</span><span class="cx"> return false;
</span><span class="lines">@@ -3385,7 +3371,6 @@
</span><span class="cx"> case ATTRIBUTE_NODE:
</span><span class="cx"> case CDATA_SECTION_NODE:
</span><span class="cx"> case DOCUMENT_NODE:
</span><del>- case ENTITY_REFERENCE_NODE:
</del><span class="cx"> case TEXT_NODE:
</span><span class="cx"> case XPATH_NAMESPACE_NODE:
</span><span class="cx"> return false;
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.h (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.h        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/Document.h        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -536,12 +536,12 @@
</span><span class="cx">
</span><span class="cx"> WEBCORE_EXPORT Ref<Range> createRange();
</span><span class="cx">
</span><del>- RefPtr<NodeIterator> createNodeIterator(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&&, bool expandEntityReferences, ExceptionCode&);
</del><ins>+ RefPtr<NodeIterator> createNodeIterator(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&&, bool, ExceptionCode&); // For ObjC bindings.
</ins><span class="cx"> RefPtr<NodeIterator> createNodeIterator(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&&, ExceptionCode&);
</span><span class="cx"> RefPtr<NodeIterator> createNodeIterator(Node* root, unsigned long whatToShow, ExceptionCode&);
</span><span class="cx"> RefPtr<NodeIterator> createNodeIterator(Node* root, ExceptionCode&);
</span><span class="cx">
</span><del>- RefPtr<TreeWalker> createTreeWalker(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&&, bool expandEntityReferences, ExceptionCode&);
</del><ins>+ RefPtr<TreeWalker> createTreeWalker(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&&, bool, ExceptionCode&); // For ObjC bindings.
</ins><span class="cx"> RefPtr<TreeWalker> createTreeWalker(Node* root, unsigned long whatToShow, RefPtr<NodeFilter>&&, ExceptionCode&);
</span><span class="cx"> RefPtr<TreeWalker> createTreeWalker(Node* root, unsigned long whatToShow, ExceptionCode&);
</span><span class="cx"> RefPtr<TreeWalker> createTreeWalker(Node* root, ExceptionCode&);
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.idl (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.idl        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/Document.idl        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -39,8 +39,11 @@
</span><span class="cx"> [ObjCLegacyUnnamedParameters, NewObject, RaisesException] ProcessingInstruction createProcessingInstruction([Default=Undefined] optional DOMString target,
</span><span class="cx"> [Default=Undefined] optional DOMString data);
</span><span class="cx"> [NewObject, RaisesException] Attr createAttribute([Default=Undefined] optional DOMString name);
</span><del>- [NewObject, RaisesException] EntityReference createEntityReference([Default=Undefined] optional DOMString name);
</del><span class="cx">
</span><ins>+#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C || defined(LANGUAGE_GOBJECT) && LANGUAGE_GOBJECT
+ [RaisesException] EntityReference createEntityReference([Default=Undefined] optional DOMString name);
+#endif
+
</ins><span class="cx"> #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
</span><span class="cx"> [ImplementedAs=getElementsByTagNameForObjC] NodeList getElementsByTagName([Default=Undefined] optional DOMString tagname);
</span><span class="cx"> #else
</span><span class="lines">@@ -92,14 +95,23 @@
</span><span class="cx">
</span><span class="cx"> // DOM Level 2 Tranversal and Range (DocumentTraversal interface)
</span><span class="cx">
</span><del>- [ObjCLegacyUnnamedParameters, RaisesException, NewObject] NodeIterator createNodeIterator(Node root,
</del><ins>+#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C || defined(LANGUAGE_GOBJECT) && LANGUAGE_GOBJECT
+ [ObjCLegacyUnnamedParameters, RaisesException] NodeIterator createNodeIterator(Node root,
</ins><span class="cx"> optional unsigned long whatToShow = 0xFFFFFFFF,
</span><span class="cx"> optional NodeFilter? filter,
</span><span class="cx"> optional boolean expandEntityReferences);
</span><del>- [ObjCLegacyUnnamedParameters, RaisesException, NewObject] TreeWalker createTreeWalker(Node root,
</del><ins>+ [ObjCLegacyUnnamedParameters, RaisesException] TreeWalker createTreeWalker(Node root,
</ins><span class="cx"> optional unsigned long whatToShow = 0xFFFFFFFF,
</span><span class="cx"> optional NodeFilter? filter,
</span><span class="cx"> optional boolean expandEntityReferences);
</span><ins>+#else
+ [RaisesException, NewObject] NodeIterator createNodeIterator(Node root,
+ optional unsigned long whatToShow = 0xFFFFFFFF,
+ optional NodeFilter? filter);
+ [RaisesException, NewObject] TreeWalker createTreeWalker(Node root,
+ optional unsigned long whatToShow = 0xFFFFFFFF,
+ optional NodeFilter? filter);
+#endif
</ins><span class="cx">
</span><span class="cx"> // DOM Level 2 Abstract Views (DocumentView interface)
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentFragmentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DocumentFragment.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DocumentFragment.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/DocumentFragment.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -60,7 +60,6 @@
</span><span class="cx"> case COMMENT_NODE:
</span><span class="cx"> case TEXT_NODE:
</span><span class="cx"> case CDATA_SECTION_NODE:
</span><del>- case ENTITY_REFERENCE_NODE:
</del><span class="cx"> return true;
</span><span class="cx"> default:
</span><span class="cx"> return false;
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/Element.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1755,7 +1755,6 @@
</span><span class="cx"> case COMMENT_NODE:
</span><span class="cx"> case PROCESSING_INSTRUCTION_NODE:
</span><span class="cx"> case CDATA_SECTION_NODE:
</span><del>- case ENTITY_REFERENCE_NODE:
</del><span class="cx"> return true;
</span><span class="cx"> default:
</span><span class="cx"> break;
</span></span></pre></div>
<a id="trunkSourceWebCoredomEntityReferencecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/EntityReference.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/EntityReference.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/EntityReference.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -25,30 +25,9 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-inline EntityReference::EntityReference(Document& document, const String& entityName)
</del><ins>+inline EntityReference::EntityReference(Document& document, const String&)
</ins><span class="cx"> : ContainerNode(document)
</span><del>- , m_entityName(entityName)
</del><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-Ref<EntityReference> EntityReference::create(Document& document, const String& entityName)
-{
- return adoptRef(*new EntityReference(document, entityName));
-}
-
-String EntityReference::nodeName() const
-{
- return m_entityName;
-}
-
-Node::NodeType EntityReference::nodeType() const
-{
- return ENTITY_REFERENCE_NODE;
-}
-
-Ref<Node> EntityReference::cloneNodeInternal(Document& targetDocument, CloningOperation)
-{
- return create(targetDocument, m_entityName);
-}
-
</del><span class="cx"> } // namespace
</span></span></pre></div>
<a id="trunkSourceWebCoredomEntityReferenceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/EntityReference.h (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/EntityReference.h        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/EntityReference.h        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -26,18 +26,9 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-class EntityReference final : public ContainerNode {
-public:
- static Ref<EntityReference> create(Document&, const String& entityName);
-
</del><ins>+class EntityReference : public ContainerNode {
</ins><span class="cx"> private:
</span><span class="cx"> EntityReference(Document&, const String& entityName);
</span><del>-
- virtual String nodeName() const override;
- virtual NodeType nodeType() const override;
- virtual Ref<Node> cloneNodeInternal(Document&, CloningOperation) override;
-
- String m_entityName;
</del><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> } //namespace
</span></span></pre></div>
<a id="trunkSourceWebCoredomEntityReferenceidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/EntityReference.idl (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/EntityReference.idl        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/EntityReference.idl        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -17,8 +17,12 @@
</span><span class="cx"> * Boston, MA 02110-1301, USA.
</span><span class="cx"> */
</span><span class="cx">
</span><ins>+#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C || defined(LANGUAGE_GOBJECT) && LANGUAGE_GOBJECT
+
</ins><span class="cx"> [
</span><ins>+ NoInterfaceObject,
</ins><span class="cx"> JSGenerateToJSObject
</span><span class="cx"> ] interface EntityReference : Node {
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoredomNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Node.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Node.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/Node.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -103,7 +103,6 @@
</span><span class="cx"> size_t textNodes = 0;
</span><span class="cx"> size_t cdataNodes = 0;
</span><span class="cx"> size_t commentNodes = 0;
</span><del>- size_t entityReferenceNodes = 0;
</del><span class="cx"> size_t entityNodes = 0;
</span><span class="cx"> size_t piNodes = 0;
</span><span class="cx"> size_t documentNodes = 0;
</span><span class="lines">@@ -168,10 +167,6 @@
</span><span class="cx"> ++commentNodes;
</span><span class="cx"> break;
</span><span class="cx"> }
</span><del>- case ENTITY_REFERENCE_NODE: {
- ++entityReferenceNodes;
- break;
- }
</del><span class="cx"> case ENTITY_NODE: {
</span><span class="cx"> ++entityNodes;
</span><span class="cx"> break;
</span><span class="lines">@@ -211,7 +206,6 @@
</span><span class="cx"> printf(" Number of Text nodes: %zu\n", textNodes);
</span><span class="cx"> printf(" Number of CDATASection nodes: %zu\n", cdataNodes);
</span><span class="cx"> printf(" Number of Comment nodes: %zu\n", commentNodes);
</span><del>- printf(" Number of EntityReference nodes: %zu\n", entityReferenceNodes);
</del><span class="cx"> printf(" Number of Entity nodes: %zu\n", entityNodes);
</span><span class="cx"> printf(" Number of ProcessingInstruction nodes: %zu\n", piNodes);
</span><span class="cx"> printf(" Number of Document nodes: %zu\n", documentNodes);
</span><span class="lines">@@ -384,14 +378,8 @@
</span><span class="cx"> return String();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-void Node::setNodeValue(const String& /*nodeValue*/, ExceptionCode& ec)
</del><ins>+void Node::setNodeValue(const String& /*nodeValue*/, ExceptionCode&)
</ins><span class="cx"> {
</span><del>- // NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly
- if (isReadOnlyNode()) {
- ec = NO_MODIFICATION_ALLOWED_ERR;
- return;
- }
-
</del><span class="cx"> // By default, setting nodeValue has no effect.
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -890,11 +878,6 @@
</span><span class="cx"> return;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- if (isReadOnlyNode()) {
- ec = NO_MODIFICATION_ALLOWED_ERR;
- return;
- }
-
</del><span class="cx"> // FIXME: Raise NAMESPACE_ERR if prefix is malformed per the Namespaces in XML specification.
</span><span class="cx">
</span><span class="cx"> const AtomicString& nodeNamespaceURI = namespaceURI();
</span><span class="lines">@@ -1422,7 +1405,6 @@
</span><span class="cx"> }
</span><span class="cx"> FALLTHROUGH;
</span><span class="cx"> case Node::ATTRIBUTE_NODE:
</span><del>- case Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> case Node::DOCUMENT_FRAGMENT_NODE:
</span><span class="cx"> isNullString = false;
</span><span class="cx"> for (Node* child = node->firstChild(); child; child = child->nextSibling()) {
</span><span class="lines">@@ -1458,7 +1440,6 @@
</span><span class="cx"> return;
</span><span class="cx"> case ELEMENT_NODE:
</span><span class="cx"> case ATTRIBUTE_NODE:
</span><del>- case ENTITY_REFERENCE_NODE:
</del><span class="cx"> case DOCUMENT_FRAGMENT_NODE: {
</span><span class="cx"> Ref<ContainerNode> container(downcast<ContainerNode>(*this));
</span><span class="cx"> ChildListMutationScope mutation(container);
</span><span class="lines">@@ -1478,7 +1459,6 @@
</span><span class="cx">
</span><span class="cx"> Element* Node::ancestorElement() const
</span><span class="cx"> {
</span><del>- // In theory, there can be EntityReference nodes between elements, but this is currently not supported.
</del><span class="cx"> for (ContainerNode* ancestor = parentNode(); ancestor; ancestor = ancestor->parentNode()) {
</span><span class="cx"> if (is<Element>(*ancestor))
</span><span class="cx"> return downcast<Element>(ancestor);
</span></span></pre></div>
<a id="trunkSourceWebCoredomNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Node.h (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Node.h        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/Node.h        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -125,7 +125,6 @@
</span><span class="cx"> ATTRIBUTE_NODE = 2,
</span><span class="cx"> TEXT_NODE = 3,
</span><span class="cx"> CDATA_SECTION_NODE = 4,
</span><del>- ENTITY_REFERENCE_NODE = 5,
</del><span class="cx"> PROCESSING_INSTRUCTION_NODE = 7,
</span><span class="cx"> COMMENT_NODE = 8,
</span><span class="cx"> DOCUMENT_NODE = 9,
</span><span class="lines">@@ -134,6 +133,7 @@
</span><span class="cx"> XPATH_NAMESPACE_NODE = 13,
</span><span class="cx"> };
</span><span class="cx"> enum DeprecatedNodeType {
</span><ins>+ ENTITY_REFERENCE_NODE = 5,
</ins><span class="cx"> ENTITY_NODE = 6,
</span><span class="cx"> NOTATION_NODE = 12,
</span><span class="cx"> };
</span><span class="lines">@@ -417,7 +417,6 @@
</span><span class="cx"> bool isInShadowTree() const { return getFlag(IsInShadowTreeFlag); }
</span><span class="cx"> bool isInTreeScope() const { return getFlag(static_cast<NodeFlags>(InDocumentFlag | IsInShadowTreeFlag)); }
</span><span class="cx">
</span><del>- bool isReadOnlyNode() const { return nodeType() == ENTITY_REFERENCE_NODE; }
</del><span class="cx"> bool isDocumentTypeNode() const { return nodeType() == DOCUMENT_TYPE_NODE; }
</span><span class="cx"> virtual bool childTypeAllowed(NodeType) const { return false; }
</span><span class="cx"> unsigned countChildNodes() const;
</span></span></pre></div>
<a id="trunkSourceWebCoredomNodeIteratorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/NodeIterator.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/NodeIterator.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/NodeIterator.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -76,8 +76,8 @@
</span><span class="cx"> return node;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-NodeIterator::NodeIterator(PassRefPtr<Node> rootNode, unsigned long whatToShow, RefPtr<NodeFilter>&& filter, bool expandEntityReferences)
- : NodeIteratorBase(rootNode, whatToShow, WTF::move(filter), expandEntityReferences)
</del><ins>+NodeIterator::NodeIterator(PassRefPtr<Node> rootNode, unsigned long whatToShow, RefPtr<NodeFilter>&& filter)
+ : NodeIteratorBase(rootNode, whatToShow, WTF::move(filter))
</ins><span class="cx"> , m_referenceNode(root(), true)
</span><span class="cx"> {
</span><span class="cx"> root()->document().attachNodeIterator(this);
</span></span></pre></div>
<a id="trunkSourceWebCoredomNodeIteratorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/NodeIterator.h (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/NodeIterator.h        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/NodeIterator.h        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -37,9 +37,9 @@
</span><span class="cx">
</span><span class="cx"> class NodeIterator : public ScriptWrappable, public RefCounted<NodeIterator>, public NodeIteratorBase {
</span><span class="cx"> public:
</span><del>- static Ref<NodeIterator> create(PassRefPtr<Node> rootNode, unsigned long whatToShow, RefPtr<NodeFilter>&& filter, bool expandEntityReferences)
</del><ins>+ static Ref<NodeIterator> create(PassRefPtr<Node> rootNode, unsigned long whatToShow, RefPtr<NodeFilter>&& filter)
</ins><span class="cx"> {
</span><del>- return adoptRef(*new NodeIterator(rootNode, whatToShow, WTF::move(filter), expandEntityReferences));
</del><ins>+ return adoptRef(*new NodeIterator(rootNode, whatToShow, WTF::move(filter)));
</ins><span class="cx"> }
</span><span class="cx"> ~NodeIterator();
</span><span class="cx">
</span><span class="lines">@@ -54,7 +54,7 @@
</span><span class="cx"> void nodeWillBeRemoved(Node&);
</span><span class="cx">
</span><span class="cx"> private:
</span><del>- NodeIterator(PassRefPtr<Node>, unsigned long whatToShow, RefPtr<NodeFilter>&&, bool expandEntityReferences);
</del><ins>+ NodeIterator(PassRefPtr<Node>, unsigned long whatToShow, RefPtr<NodeFilter>&&);
</ins><span class="cx">
</span><span class="cx"> struct NodePointer {
</span><span class="cx"> RefPtr<Node> node;
</span></span></pre></div>
<a id="trunkSourceWebCoredomNodeIteratoridl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/NodeIterator.idl (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/NodeIterator.idl        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/NodeIterator.idl        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -26,7 +26,9 @@
</span><span class="cx"> readonly attribute Node root;
</span><span class="cx"> readonly attribute unsigned long whatToShow;
</span><span class="cx"> readonly attribute NodeFilter filter;
</span><ins>+#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
</ins><span class="cx"> readonly attribute boolean expandEntityReferences;
</span><ins>+#endif
</ins><span class="cx"> readonly attribute Node referenceNode;
</span><span class="cx"> readonly attribute boolean pointerBeforeReferenceNode;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoredomRangecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Range.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Range.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/Range.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -489,10 +489,6 @@
</span><span class="cx">
</span><span class="cx"> void Range::deleteContents(ExceptionCode& ec)
</span><span class="cx"> {
</span><del>- checkDeleteExtract(ec);
- if (ec)
- return;
-
</del><span class="cx"> processContents(Delete, ec);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -572,7 +568,6 @@
</span><span class="cx"> return downcast<CharacterData>(*node).length();
</span><span class="cx"> case Node::ELEMENT_NODE:
</span><span class="cx"> case Node::ATTRIBUTE_NODE:
</span><del>- case Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> case Node::DOCUMENT_NODE:
</span><span class="cx"> case Node::DOCUMENT_TYPE_NODE:
</span><span class="cx"> case Node::DOCUMENT_FRAGMENT_NODE:
</span><span class="lines">@@ -733,7 +728,6 @@
</span><span class="cx"> break;
</span><span class="cx"> case Node::ELEMENT_NODE:
</span><span class="cx"> case Node::ATTRIBUTE_NODE:
</span><del>- case Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> case Node::DOCUMENT_NODE:
</span><span class="cx"> case Node::DOCUMENT_TYPE_NODE:
</span><span class="cx"> case Node::DOCUMENT_FRAGMENT_NODE:
</span><span class="lines">@@ -839,10 +833,6 @@
</span><span class="cx">
</span><span class="cx"> RefPtr<DocumentFragment> Range::extractContents(ExceptionCode& ec)
</span><span class="cx"> {
</span><del>- checkDeleteExtract(ec);
- if (ec)
- return nullptr;
-
</del><span class="cx"> return processContents(Extract, ec);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -861,13 +851,6 @@
</span><span class="cx"> return;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- // NO_MODIFICATION_ALLOWED_ERR: Raised if an ancestor container of either boundary-point of
- // the Range is read-only.
- if (containedByReadOnly()) {
- ec = NO_MODIFICATION_ALLOWED_ERR;
- return;
- }
-
</del><span class="cx"> // HIERARCHY_REQUEST_ERR: Raised if the container of the start of the Range is of a type that
</span><span class="cx"> // does not allow children of the type of newNode or if newNode is an ancestor of the container.
</span><span class="cx">
</span><span class="lines">@@ -1027,7 +1010,6 @@
</span><span class="cx"> case Node::DOCUMENT_FRAGMENT_NODE:
</span><span class="cx"> case Node::DOCUMENT_NODE:
</span><span class="cx"> case Node::ELEMENT_NODE:
</span><del>- case Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> case Node::XPATH_NAMESPACE_NODE: {
</span><span class="cx"> if (!offset)
</span><span class="cx"> return nullptr;
</span><span class="lines">@@ -1057,7 +1039,6 @@
</span><span class="cx"> case Node::COMMENT_NODE:
</span><span class="cx"> case Node::DOCUMENT_TYPE_NODE:
</span><span class="cx"> case Node::ELEMENT_NODE:
</span><del>- case Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> case Node::PROCESSING_INSTRUCTION_NODE:
</span><span class="cx"> case Node::TEXT_NODE:
</span><span class="cx"> case Node::XPATH_NAMESPACE_NODE:
</span><span class="lines">@@ -1077,7 +1058,6 @@
</span><span class="cx"> case Node::COMMENT_NODE:
</span><span class="cx"> case Node::DOCUMENT_TYPE_NODE:
</span><span class="cx"> case Node::ELEMENT_NODE:
</span><del>- case Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> case Node::PROCESSING_INSTRUCTION_NODE:
</span><span class="cx"> case Node::TEXT_NODE:
</span><span class="cx"> case Node::XPATH_NAMESPACE_NODE:
</span><span class="lines">@@ -1154,7 +1134,6 @@
</span><span class="cx"> case Node::DOCUMENT_FRAGMENT_NODE:
</span><span class="cx"> case Node::DOCUMENT_NODE:
</span><span class="cx"> case Node::ELEMENT_NODE:
</span><del>- case Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> case Node::PROCESSING_INSTRUCTION_NODE:
</span><span class="cx"> case Node::TEXT_NODE:
</span><span class="cx"> case Node::XPATH_NAMESPACE_NODE:
</span><span class="lines">@@ -1170,7 +1149,6 @@
</span><span class="cx"> case Node::COMMENT_NODE:
</span><span class="cx"> case Node::DOCUMENT_TYPE_NODE:
</span><span class="cx"> case Node::ELEMENT_NODE:
</span><del>- case Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> case Node::PROCESSING_INSTRUCTION_NODE:
</span><span class="cx"> case Node::TEXT_NODE:
</span><span class="cx"> case Node::XPATH_NAMESPACE_NODE:
</span><span class="lines">@@ -1209,7 +1187,6 @@
</span><span class="cx"> case Node::DOCUMENT_FRAGMENT_NODE:
</span><span class="cx"> case Node::DOCUMENT_NODE:
</span><span class="cx"> case Node::ELEMENT_NODE:
</span><del>- case Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> case Node::PROCESSING_INSTRUCTION_NODE:
</span><span class="cx"> case Node::TEXT_NODE:
</span><span class="cx"> case Node::XPATH_NAMESPACE_NODE:
</span><span class="lines">@@ -1248,20 +1225,12 @@
</span><span class="cx"> case Node::CDATA_SECTION_NODE:
</span><span class="cx"> case Node::COMMENT_NODE:
</span><span class="cx"> case Node::ELEMENT_NODE:
</span><del>- case Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> case Node::PROCESSING_INSTRUCTION_NODE:
</span><span class="cx"> case Node::TEXT_NODE:
</span><span class="cx"> case Node::XPATH_NAMESPACE_NODE:
</span><span class="cx"> break;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- // NO_MODIFICATION_ALLOWED_ERR: Raised if an ancestor container of either boundary-point of
- // the Range is read-only.
- if (containedByReadOnly()) {
- ec = NO_MODIFICATION_ALLOWED_ERR;
- return;
- }
-
</del><span class="cx"> // Raise a HIERARCHY_REQUEST_ERR if startContainer() doesn't accept children like newParent.
</span><span class="cx"> Node* parentOfNewParent = &startContainer();
</span><span class="cx">
</span><span class="lines">@@ -1329,39 +1298,6 @@
</span><span class="cx"> setStart(refNode->parentNode(), refNode->computeNodeIndex(), ec);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-void Range::checkDeleteExtract(ExceptionCode& ec)
-{
- ec = 0;
- if (!commonAncestorContainer())
- return;
-
- Node* pastLast = pastLastNode();
- for (Node* n = firstNode(); n != pastLast; n = NodeTraversal::next(*n)) {
- if (n->isReadOnlyNode()) {
- ec = NO_MODIFICATION_ALLOWED_ERR;
- return;
- }
- }
-
- if (containedByReadOnly()) {
- ec = NO_MODIFICATION_ALLOWED_ERR;
- return;
- }
-}
-
-bool Range::containedByReadOnly() const
-{
- for (Node* n = &startContainer(); n; n = n->parentNode()) {
- if (n->isReadOnlyNode())
- return true;
- }
- for (Node* n = &endContainer(); n; n = n->parentNode()) {
- if (n->isReadOnlyNode())
- return true;
- }
- return false;
-}
-
</del><span class="cx"> Node* Range::firstNode() const
</span><span class="cx"> {
</span><span class="cx"> if (startContainer().offsetInCharacters())
</span></span></pre></div>
<a id="trunkSourceWebCoredomRangeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Range.h (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Range.h        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/Range.h        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -161,10 +161,8 @@
</span><span class="cx">
</span><span class="cx"> Node* checkNodeWOffset(Node*, int offset, ExceptionCode&) const;
</span><span class="cx"> void checkNodeBA(Node*, ExceptionCode&) const;
</span><del>- bool containedByReadOnly() const;
</del><span class="cx">
</span><span class="cx"> enum ActionType { Delete, Extract, Clone };
</span><del>- void checkDeleteExtract(ExceptionCode&);
</del><span class="cx"> RefPtr<DocumentFragment> processContents(ActionType, ExceptionCode&);
</span><span class="cx"> static RefPtr<Node> processContentsBetweenOffsets(ActionType, PassRefPtr<DocumentFragment>, Node*, unsigned startOffset, unsigned endOffset, ExceptionCode&);
</span><span class="cx"> static void processNodes(ActionType, Vector<RefPtr<Node>>&, PassRefPtr<Node> oldContainer, PassRefPtr<Node> newContainer, ExceptionCode&);
</span></span></pre></div>
<a id="trunkSourceWebCoredomShadowRootcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ShadowRoot.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ShadowRoot.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/ShadowRoot.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -109,7 +109,6 @@
</span><span class="cx"> case COMMENT_NODE:
</span><span class="cx"> case TEXT_NODE:
</span><span class="cx"> case CDATA_SECTION_NODE:
</span><del>- case ENTITY_REFERENCE_NODE:
</del><span class="cx"> return true;
</span><span class="cx"> default:
</span><span class="cx"> return false;
</span></span></pre></div>
<a id="trunkSourceWebCoredomTraversalcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Traversal.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Traversal.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/Traversal.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -30,18 +30,15 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-NodeIteratorBase::NodeIteratorBase(PassRefPtr<Node> rootNode, unsigned long whatToShow, RefPtr<NodeFilter>&& nodeFilter, bool expandEntityReferences)
</del><ins>+NodeIteratorBase::NodeIteratorBase(PassRefPtr<Node> rootNode, unsigned long whatToShow, RefPtr<NodeFilter>&& nodeFilter)
</ins><span class="cx"> : m_root(rootNode)
</span><span class="cx"> , m_whatToShow(whatToShow)
</span><span class="cx"> , m_filter(WTF::move(nodeFilter))
</span><del>- , m_expandEntityReferences(expandEntityReferences)
</del><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> short NodeIteratorBase::acceptNode(Node* node) const
</span><span class="cx"> {
</span><del>- // FIXME: To handle XML properly we would have to check m_expandEntityReferences.
-
</del><span class="cx"> // The bit twiddling here is done to map DOM node types, which are given as integers from
</span><span class="cx"> // 1 through 14, to whatToShow bit masks.
</span><span class="cx"> if (!(((1 << (node->nodeType() - 1)) & m_whatToShow)))
</span></span></pre></div>
<a id="trunkSourceWebCoredomTraversalh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Traversal.h (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Traversal.h        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/Traversal.h        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -38,17 +38,16 @@
</span><span class="cx"> Node* root() const { return m_root.get(); }
</span><span class="cx"> unsigned long whatToShow() const { return m_whatToShow; }
</span><span class="cx"> NodeFilter* filter() const { return m_filter.get(); }
</span><del>- bool expandEntityReferences() const { return m_expandEntityReferences; }
</del><ins>+ bool expandEntityReferences() const { return false; }
</ins><span class="cx">
</span><span class="cx"> protected:
</span><del>- NodeIteratorBase(PassRefPtr<Node>, unsigned long whatToShow, RefPtr<NodeFilter>&&, bool expandEntityReferences);
</del><ins>+ NodeIteratorBase(PassRefPtr<Node>, unsigned long whatToShow, RefPtr<NodeFilter>&&);
</ins><span class="cx"> short acceptNode(Node*) const;
</span><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> RefPtr<Node> m_root;
</span><span class="cx"> unsigned long m_whatToShow;
</span><span class="cx"> RefPtr<NodeFilter> m_filter;
</span><del>- bool m_expandEntityReferences;
</del><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoredomTreeWalkercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TreeWalker.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TreeWalker.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/TreeWalker.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -33,8 +33,8 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-TreeWalker::TreeWalker(PassRefPtr<Node> rootNode, unsigned long whatToShow, RefPtr<NodeFilter>&& filter, bool expandEntityReferences)
- : NodeIteratorBase(rootNode, whatToShow, WTF::move(filter), expandEntityReferences)
</del><ins>+TreeWalker::TreeWalker(PassRefPtr<Node> rootNode, unsigned long whatToShow, RefPtr<NodeFilter>&& filter)
+ : NodeIteratorBase(rootNode, whatToShow, WTF::move(filter))
</ins><span class="cx"> , m_current(root())
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoredomTreeWalkerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TreeWalker.h (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TreeWalker.h        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/TreeWalker.h        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -37,9 +37,9 @@
</span><span class="cx">
</span><span class="cx"> class TreeWalker : public ScriptWrappable, public RefCounted<TreeWalker>, public NodeIteratorBase {
</span><span class="cx"> public:
</span><del>- static Ref<TreeWalker> create(PassRefPtr<Node> rootNode, unsigned long whatToShow, RefPtr<NodeFilter>&& filter, bool expandEntityReferences)
</del><ins>+ static Ref<TreeWalker> create(PassRefPtr<Node> rootNode, unsigned long whatToShow, RefPtr<NodeFilter>&& filter)
</ins><span class="cx"> {
</span><del>- return adoptRef(*new TreeWalker(rootNode, whatToShow, WTF::move(filter), expandEntityReferences));
</del><ins>+ return adoptRef(*new TreeWalker(rootNode, whatToShow, WTF::move(filter)));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> Node* currentNode() const { return m_current.get(); }
</span><span class="lines">@@ -54,7 +54,7 @@
</span><span class="cx"> Node* nextNode();
</span><span class="cx">
</span><span class="cx"> private:
</span><del>- TreeWalker(PassRefPtr<Node>, unsigned long whatToShow, RefPtr<NodeFilter>&&, bool expandEntityReferences);
</del><ins>+ TreeWalker(PassRefPtr<Node>, unsigned long whatToShow, RefPtr<NodeFilter>&&);
</ins><span class="cx">
</span><span class="cx"> Node* setCurrent(PassRefPtr<Node>);
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoredomTreeWalkeridl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TreeWalker.idl (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TreeWalker.idl        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/dom/TreeWalker.idl        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -26,7 +26,9 @@
</span><span class="cx"> readonly attribute Node root;
</span><span class="cx"> readonly attribute unsigned long whatToShow;
</span><span class="cx"> readonly attribute NodeFilter filter;
</span><del>- readonly attribute boolean expandEntityReferences;
</del><ins>+#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
+ readonly attribute boolean expandEntityReferences;
+#endif
</ins><span class="cx"> [SetterRaisesException] attribute Node currentNode;
</span><span class="cx">
</span><span class="cx"> Node parentNode();
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingMarkupAccumulatorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/MarkupAccumulator.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/MarkupAccumulator.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/editing/MarkupAccumulator.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -573,7 +573,6 @@
</span><span class="cx"> appendCDATASection(result, downcast<CDATASection>(node).data());
</span><span class="cx"> break;
</span><span class="cx"> case Node::ATTRIBUTE_NODE:
</span><del>- case Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> case Node::XPATH_NAMESPACE_NODE:
</span><span class="cx"> ASSERT_NOT_REACHED();
</span><span class="cx"> break;
</span></span></pre></div>
<a id="trunkSourceWebCorexmlXPathUtilcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/XPathUtil.cpp (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/XPathUtil.cpp        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebCore/xml/XPathUtil.cpp        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -71,7 +71,6 @@
</span><span class="cx"> return true;
</span><span class="cx"> case Node::DOCUMENT_FRAGMENT_NODE:
</span><span class="cx"> case Node::DOCUMENT_TYPE_NODE:
</span><del>- case Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> return false;
</span><span class="cx"> case Node::TEXT_NODE:
</span><span class="cx"> return !(node->parentNode() && node->parentNode()->isAttributeNode());
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebKit2/ChangeLog        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2015-09-22 Chris Dumez <cdumez@apple.com>
+
+ Drop support for legacy EntityReference DOM Node type
+ https://bugs.webkit.org/show_bug.cgi?id=149348
+
+ Reviewed by Darin Adler.
+
+ Drop handling EntityReference Nodes.
+
+ * WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:
+ (WebKit::WKDOMNodeClass): Deleted.
+ * WebProcess/WebPage/ios/WebPageIOS.mm:
+ (WebKit::isAssistableElement):
+
</ins><span class="cx"> 2015-09-22 Commit Queue <commit-queue@webkit.org>
</span><span class="cx">
</span><span class="cx"> Unreviewed, rolling out r189616.
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessInjectedBundleAPImacWKDOMInternalsmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -76,7 +76,6 @@
</span><span class="cx"> return [WKDOMText class];
</span><span class="cx"> case WebCore::Node::ATTRIBUTE_NODE:
</span><span class="cx"> case WebCore::Node::CDATA_SECTION_NODE:
</span><del>- case WebCore::Node::ENTITY_REFERENCE_NODE:
</del><span class="cx"> case WebCore::Node::PROCESSING_INSTRUCTION_NODE:
</span><span class="cx"> case WebCore::Node::COMMENT_NODE:
</span><span class="cx"> case WebCore::Node::DOCUMENT_TYPE_NODE:
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageiosWebPageIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm (190119 => 190120)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm        2015-09-22 16:49:17 UTC (rev 190119)
+++ trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm        2015-09-22 17:17:12 UTC (rev 190120)
</span><span class="lines">@@ -2324,11 +2324,11 @@
</span><span class="cx"> if (is<HTMLSelectElement>(node))
</span><span class="cx"> return true;
</span><span class="cx"> if (is<HTMLTextAreaElement>(node))
</span><del>- return !downcast<HTMLTextAreaElement>(node).isReadOnlyNode();
</del><ins>+ return true;
</ins><span class="cx"> if (is<HTMLInputElement>(node)) {
</span><span class="cx"> HTMLInputElement& inputElement = downcast<HTMLInputElement>(node);
</span><span class="cx"> // FIXME: This laundry list of types is not a good way to factor this. Need a suitable function on HTMLInputElement itself.
</span><del>- return !inputElement.isReadOnlyNode() && (inputElement.isTextField() || inputElement.isDateField() || inputElement.isDateTimeLocalField() || inputElement.isMonthField() || inputElement.isTimeField());
</del><ins>+ return inputElement.isTextField() || inputElement.isDateField() || inputElement.isDateTimeLocalField() || inputElement.isMonthField() || inputElement.isTimeField();
</ins><span class="cx"> }
</span><span class="cx"> return node.isContentEditable();
</span><span class="cx"> }
</span></span></pre>
</div>
</div>
</body>
</html>