https://bugs.webkit.org/show_bug.cgi?id=171052
Reviewed by Sam Weinig.
LayoutTests/imported/w3c:
Re-sync web-platform-tests/dom from upstream to gain test coverage.
* web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html:
* web-platform-tests/dom/collections/HTMLCollection-empty-name.html:
* web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html:
* web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html:
* web-platform-tests/dom/collections/domstringmap-supported-property-names.html:
* web-platform-tests/dom/collections/namednodemap-supported-property-names.html:
* web-platform-tests/dom/events/AddEventListenerOptions-once.html:
* web-platform-tests/dom/events/AddEventListenerOptions-passive.html:
* web-platform-tests/dom/events/CustomEvent.html:
* web-platform-tests/dom/events/Event-cancelBubble.html:
* web-platform-tests/dom/events/Event-constants.html:
* web-platform-tests/dom/events/Event-constructors.html:
* web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html:
* web-platform-tests/dom/events/Event-defaultPrevented.html:
* web-platform-tests/dom/events/Event-dispatch-bubble-canceled.html:
* web-platform-tests/dom/events/Event-dispatch-bubbles-false.html:
* web-platform-tests/dom/events/Event-dispatch-bubbles-true.html:
* web-platform-tests/dom/events/Event-dispatch-click.html:
* web-platform-tests/dom/events/Event-dispatch-detached-click.html:
* web-platform-tests/dom/events/Event-dispatch-handlers-changed.html:
* web-platform-tests/dom/events/Event-dispatch-multiple-cancelBubble.html:
* web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html:
* web-platform-tests/dom/events/Event-dispatch-omitted-capture.html:
* web-platform-tests/dom/events/Event-dispatch-order.html:
* web-platform-tests/dom/events/Event-dispatch-other-document.html:
* web-platform-tests/dom/events/Event-dispatch-propagation-stopped.html:
* web-platform-tests/dom/events/Event-dispatch-redispatch.html:
* web-platform-tests/dom/events/Event-dispatch-reenter.html:
* web-platform-tests/dom/events/Event-dispatch-target-moved.html:
* web-platform-tests/dom/events/Event-dispatch-target-removed.html:
* web-platform-tests/dom/events/Event-dispatch-throwing.html:
* web-platform-tests/dom/events/Event-init-while-dispatching.html:
* web-platform-tests/dom/events/Event-initEvent.html:
* web-platform-tests/dom/events/Event-propagation.html:
* web-platform-tests/dom/events/Event-subclasses-constructors.html:
* web-platform-tests/dom/events/Event-type-empty.html:
* web-platform-tests/dom/events/Event-type.html:
* web-platform-tests/dom/events/EventListener-handleEvent.html:
* web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html:
* web-platform-tests/dom/events/EventListener-incumbent-global-2.sub.html:
* web-platform-tests/dom/events/EventListener-invoke-legacy.html:
* web-platform-tests/dom/events/EventListenerOptions-capture.html:
* web-platform-tests/dom/events/EventTarget-addEventListener.html:
* web-platform-tests/dom/events/EventTarget-dispatchEvent-returnvalue.html:
* web-platform-tests/dom/events/EventTarget-dispatchEvent.html:
* web-platform-tests/dom/events/EventTarget-removeEventListener.html:
* web-platform-tests/dom/historical.html:
* web-platform-tests/dom/interface-objects.html:
* web-platform-tests/dom/interfaces.html:
* web-platform-tests/dom/lists/DOMTokenList-Iterable.html:
* web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html:
* web-platform-tests/dom/lists/DOMTokenList-iteration.html:
* web-platform-tests/dom/lists/DOMTokenList-stringifier.html:
* web-platform-tests/dom/lists/DOMTokenList-value.html:
* web-platform-tests/dom/nodes/CharacterData-appendChild.html:
* web-platform-tests/dom/nodes/CharacterData-appendData.html:
* web-platform-tests/dom/nodes/CharacterData-data.html:
* web-platform-tests/dom/nodes/CharacterData-deleteData.html:
* web-platform-tests/dom/nodes/CharacterData-insertData.html:
* web-platform-tests/dom/nodes/CharacterData-remove.html:
* web-platform-tests/dom/nodes/CharacterData-replaceData.html:
* web-platform-tests/dom/nodes/CharacterData-substringData.html:
* web-platform-tests/dom/nodes/CharacterData-surrogates.html:
* web-platform-tests/dom/nodes/ChildNode-after.html:
* web-platform-tests/dom/nodes/ChildNode-before.html:
* web-platform-tests/dom/nodes/ChildNode-replaceWith.html:
* web-platform-tests/dom/nodes/Comment-constructor.html:
* web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt:
* web-platform-tests/dom/nodes/DOMImplementation-createDocument.html:
* web-platform-tests/dom/nodes/DOMImplementation-createDocumentType-expected.txt:
* web-platform-tests/dom/nodes/DOMImplementation-createDocumentType.html:
* web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument.html:
* web-platform-tests/dom/nodes/DOMImplementation-hasFeature.html:
* web-platform-tests/dom/nodes/Document-URL.sub.html:
* web-platform-tests/dom/nodes/Document-adoptNode.html:
* web-platform-tests/dom/nodes/Document-characterSet-normalization.html:
* web-platform-tests/dom/nodes/Document-constructor.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_bmp.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_css.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_01.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_02.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_gif.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_html.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_javascripturi.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_jpg.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_01.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_02.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_png.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_txt.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_xml.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/createDocument.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/createHTMLDocument.html:
* web-platform-tests/dom/nodes/Document-contentType/contentType/xhr_responseType_document.html:
* web-platform-tests/dom/nodes/Document-createAttribute.html:
* web-platform-tests/dom/nodes/Document-createComment.html:
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/w3c-import.log:
* web-platform-tests/dom/nodes/Document-createElement-namespace.html:
* web-platform-tests/dom/nodes/Document-createElement.html:
* web-platform-tests/dom/nodes/Document-createElementNS-expected.txt:
* web-platform-tests/dom/nodes/Document-createElementNS.html:
* web-platform-tests/dom/nodes/Document-createElementNS.js:
* web-platform-tests/dom/nodes/Document-createEvent.html:
* web-platform-tests/dom/nodes/Document-createProcessingInstruction-xhtml.xhtml:
* web-platform-tests/dom/nodes/Document-createProcessingInstruction.html:
* web-platform-tests/dom/nodes/Document-createTextNode.html:
* web-platform-tests/dom/nodes/Document-createTreeWalker.html:
* web-platform-tests/dom/nodes/Document-doctype.html:
* web-platform-tests/dom/nodes/Document-getElementById.html:
* web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml:
* web-platform-tests/dom/nodes/Document-getElementsByTagName.html:
* web-platform-tests/dom/nodes/Document-getElementsByTagNameNS.html:
* web-platform-tests/dom/nodes/Document-implementation.html:
* web-platform-tests/dom/nodes/Document-importNode.html:
* web-platform-tests/dom/nodes/DocumentType-literal-xhtml.xhtml:
* web-platform-tests/dom/nodes/DocumentType-literal.html:
* web-platform-tests/dom/nodes/DocumentType-remove.html:
* web-platform-tests/dom/nodes/Element-childElement-null-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-childElement-null.html:
* web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.html:
* web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove.html:
* web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-childElementCount-nochild.html:
* web-platform-tests/dom/nodes/Element-childElementCount-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-childElementCount.html:
* web-platform-tests/dom/nodes/Element-children.html:
* web-platform-tests/dom/nodes/Element-classlist.html:
* web-platform-tests/dom/nodes/Element-closest.html:
* web-platform-tests/dom/nodes/Element-firstElementChild-entity-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-firstElementChild-namespace.html:
* web-platform-tests/dom/nodes/Element-firstElementChild-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-firstElementChild.html:
* web-platform-tests/dom/nodes/Element-getElementsByClassName.html:
* web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html:
* web-platform-tests/dom/nodes/Element-getElementsByTagName.html:
* web-platform-tests/dom/nodes/Element-getElementsByTagNameNS.html:
* web-platform-tests/dom/nodes/Element-hasAttributes.html:
* web-platform-tests/dom/nodes/Element-insertAdjacentElement.html:
* web-platform-tests/dom/nodes/Element-insertAdjacentText.html:
* web-platform-tests/dom/nodes/Element-lastElementChild-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-lastElementChild.html:
* web-platform-tests/dom/nodes/Element-matches.html:
* web-platform-tests/dom/nodes/Element-nextElementSibling-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-nextElementSibling.html:
* web-platform-tests/dom/nodes/Element-previousElementSibling-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-previousElementSibling.html:
* web-platform-tests/dom/nodes/Element-remove.html:
* web-platform-tests/dom/nodes/Element-removeAttributeNS.html:
* web-platform-tests/dom/nodes/Element-siblingElement-null-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-siblingElement-null.html:
* web-platform-tests/dom/nodes/Element-tagName.html:
* web-platform-tests/dom/nodes/Element-webkitMatchesSelector.html:
* web-platform-tests/dom/nodes/MutationObserver-attributes.html:
* web-platform-tests/dom/nodes/MutationObserver-characterData.html:
* web-platform-tests/dom/nodes/MutationObserver-childList.html:
* web-platform-tests/dom/nodes/MutationObserver-disconnect.html:
* web-platform-tests/dom/nodes/MutationObserver-document.html:
* web-platform-tests/dom/nodes/MutationObserver-inner-outer.html:
* web-platform-tests/dom/nodes/MutationObserver-takeRecords.html:
* web-platform-tests/dom/nodes/Node-appendChild.html:
* web-platform-tests/dom/nodes/Node-baseURI.html:
* web-platform-tests/dom/nodes/Node-childNodes.html:
* web-platform-tests/dom/nodes/Node-cloneNode.html:
* web-platform-tests/dom/nodes/Node-compareDocumentPosition.html:
* web-platform-tests/dom/nodes/Node-constants.html:
* web-platform-tests/dom/nodes/Node-contains-xml.xml:
* web-platform-tests/dom/nodes/Node-contains.html:
* web-platform-tests/dom/nodes/Node-insertBefore.html:
* web-platform-tests/dom/nodes/Node-isConnected.html:
* web-platform-tests/dom/nodes/Node-isEqualNode-xhtml.xhtml:
* web-platform-tests/dom/nodes/Node-isEqualNode.html:
* web-platform-tests/dom/nodes/Node-isSameNode.html:
* web-platform-tests/dom/nodes/Node-lookupNamespaceURI.html:
* web-platform-tests/dom/nodes/Node-lookupPrefix.xhtml:
* web-platform-tests/dom/nodes/Node-nodeName-xhtml.xhtml:
* web-platform-tests/dom/nodes/Node-nodeName.html:
* web-platform-tests/dom/nodes/Node-nodeValue.html:
* web-platform-tests/dom/nodes/Node-normalize.html:
* web-platform-tests/dom/nodes/Node-parentElement.html:
* web-platform-tests/dom/nodes/Node-parentNode.html:
* web-platform-tests/dom/nodes/Node-properties.html:
* web-platform-tests/dom/nodes/Node-removeChild.html:
* web-platform-tests/dom/nodes/Node-replaceChild.html:
* web-platform-tests/dom/nodes/Node-textContent.html:
* web-platform-tests/dom/nodes/NodeList-Iterable.html:
* web-platform-tests/dom/nodes/ParentNode-append.html:
* web-platform-tests/dom/nodes/ParentNode-prepend.html:
* web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht.xht:
* web-platform-tests/dom/nodes/ParentNode-querySelector-All.html:
* web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1.xhtml:
* web-platform-tests/dom/nodes/ProcessingInstruction-literal-1.xhtml:
* web-platform-tests/dom/nodes/ProcessingInstruction-literal-2.xhtml:
* web-platform-tests/dom/nodes/Text-constructor.html:
* web-platform-tests/dom/nodes/Text-splitText.html:
* web-platform-tests/dom/nodes/append-on-Document.html:
* web-platform-tests/dom/nodes/attributes-expected.txt:
* web-platform-tests/dom/nodes/attributes.html:
* web-platform-tests/dom/nodes/case.html:
* web-platform-tests/dom/nodes/getElementsByClassName-01.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-02.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-03.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-04.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-05.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-06.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-07.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-08.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-09.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-10.xml:
* web-platform-tests/dom/nodes/getElementsByClassName-11.xml:
* web-platform-tests/dom/nodes/getElementsByClassName-12.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-13.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-14.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-15.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-16.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-17.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-18.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-19.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-20.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-21.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-22.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-23.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-24.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-25.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-26.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-27.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-28.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-29.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-30.htm:
* web-platform-tests/dom/nodes/getElementsByClassName-31.htm:
* web-platform-tests/dom/nodes/insert-adjacent.html:
* web-platform-tests/dom/nodes/prepend-on-Document.html:
* web-platform-tests/dom/nodes/remove-unscopable.html:
* web-platform-tests/dom/nodes/rootNode.html:
* web-platform-tests/dom/nodes/w3c-import.log:
* web-platform-tests/dom/ranges/Range-attributes.html:
* web-platform-tests/dom/ranges/Range-cloneContents.html:
* web-platform-tests/dom/ranges/Range-cloneRange.html:
* web-platform-tests/dom/ranges/Range-collapse.html:
* web-platform-tests/dom/ranges/Range-commonAncestorContainer-2.html:
* web-platform-tests/dom/ranges/Range-commonAncestorContainer.html:
* web-platform-tests/dom/ranges/Range-compareBoundaryPoints.html:
* web-platform-tests/dom/ranges/Range-comparePoint-2.html:
* web-platform-tests/dom/ranges/Range-comparePoint.html:
* web-platform-tests/dom/ranges/Range-constructor.html:
* web-platform-tests/dom/ranges/Range-deleteContents.html:
* web-platform-tests/dom/ranges/Range-detach.html:
* web-platform-tests/dom/ranges/Range-extractContents.html:
* web-platform-tests/dom/ranges/Range-insertNode.html:
* web-platform-tests/dom/ranges/Range-intersectsNode-binding.html:
* web-platform-tests/dom/ranges/Range-intersectsNode.html:
* web-platform-tests/dom/ranges/Range-isPointInRange.html:
* web-platform-tests/dom/ranges/Range-mutations-appendChild.html:
* web-platform-tests/dom/ranges/Range-mutations-appendData.html:
* web-platform-tests/dom/ranges/Range-mutations-dataChange.html:
* web-platform-tests/dom/ranges/Range-mutations-deleteData.html:
* web-platform-tests/dom/ranges/Range-mutations-insertBefore.html:
* web-platform-tests/dom/ranges/Range-mutations-insertData.html:
* web-platform-tests/dom/ranges/Range-mutations-removeChild.html:
* web-platform-tests/dom/ranges/Range-mutations-replaceChild.html:
* web-platform-tests/dom/ranges/Range-mutations-replaceData.html:
* web-platform-tests/dom/ranges/Range-mutations-splitText.html:
* web-platform-tests/dom/ranges/Range-selectNode.html:
* web-platform-tests/dom/ranges/Range-set.html:
* web-platform-tests/dom/ranges/Range-stringifier.html:
* web-platform-tests/dom/ranges/Range-surroundContents.html:
* web-platform-tests/dom/traversal/NodeFilter-constants.html:
* web-platform-tests/dom/traversal/NodeIterator-removal.html:
* web-platform-tests/dom/traversal/NodeIterator.html:
* web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html:
* web-platform-tests/dom/traversal/TreeWalker-basic.html:
* web-platform-tests/dom/traversal/TreeWalker-currentNode.html:
* web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html:
* web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html:
* web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html:
* web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html:
* web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html:
* web-platform-tests/dom/traversal/TreeWalker-walking-outside-a-tree.html:
* web-platform-tests/dom/traversal/TreeWalker.html:
Source/WebCore:
Validating a qualified name should only throw InvalidCharacterError, not NamespaceError,
after:
- https://github.com/whatwg/dom/issues/319
- https://github.com/w3c/web-platform-tests/issues/5161
- https://github.com/whatwg/dom/issues/423
Latest spec:
- https://dom.spec.whatwg.org/#validate
No new tests, updated web-platform-tests.
* dom/Document.cpp:
(WebCore::Document::parseQualifiedName):
LayoutTests:
Updated / rebaselined existing tests to reflect behavior change.
* fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt:
* fast/dom/DOMImplementation/createDocumentType-err-expected.txt:
* fast/dom/DOMImplementation/script-tests/createDocument-namespace-err.js:
* fast/dom/DOMImplementation/script-tests/createDocumentType-err.js:
* fast/dom/Document/createAttributeNS-namespace-err-expected.txt:
* fast/dom/Document/createElementNS-namespace-err-expected.txt:
* fast/dom/Document/script-tests/createAttributeNS-namespace-err.js:
* fast/dom/Document/script-tests/createElementNS-namespace-err.js:
* fast/dom/Element/script-tests/setAttributeNS-namespace-err.js:
* fast/dom/Element/setAttributeNS-namespace-err-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@215701
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2017-04-24 Chris Dumez <cdumez@apple.com>
+
+ createElementNS() should now throw only InvalidCharacterError, not NamespaceError
+ https://bugs.webkit.org/show_bug.cgi?id=171052
+
+ Reviewed by Sam Weinig.
+
+ Updated / rebaselined existing tests to reflect behavior change.
+
+ * fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt:
+ * fast/dom/DOMImplementation/createDocumentType-err-expected.txt:
+ * fast/dom/DOMImplementation/script-tests/createDocument-namespace-err.js:
+ * fast/dom/DOMImplementation/script-tests/createDocumentType-err.js:
+ * fast/dom/Document/createAttributeNS-namespace-err-expected.txt:
+ * fast/dom/Document/createElementNS-namespace-err-expected.txt:
+ * fast/dom/Document/script-tests/createAttributeNS-namespace-err.js:
+ * fast/dom/Document/script-tests/createElementNS-namespace-err.js:
+ * fast/dom/Element/script-tests/setAttributeNS-namespace-err.js:
+ * fast/dom/Element/setAttributeNS-namespace-err-expected.txt:
+
2017-04-24 Chris Dumez <cdumez@apple.com>
REGRESSION (214503): Webkit crash under RenderElement::repaintForPausedImageAnimationsIfNeeded() when scrolling giphy pages
PASS createDocument("http://example.com/", "di<v", null); threw INVALID_CHARACTER_ERR
PASS createDocument("http://example.com/", "-div", null); threw INVALID_CHARACTER_ERR
PASS createDocument("http://example.com/", ".div", null); threw INVALID_CHARACTER_ERR
-PASS createDocument(null, ":div", null); threw NAMESPACE_ERR
-PASS createDocument(null, "div:", null); threw NAMESPACE_ERR
-PASS createDocument("http://example.com/", ":div", null); threw NAMESPACE_ERR
-PASS createDocument("http://example.com/", "div:", null); threw NAMESPACE_ERR
+PASS createDocument(null, ":div", null); threw INVALID_CHARACTER_ERR
+PASS createDocument(null, "div:", null); threw INVALID_CHARACTER_ERR
+PASS createDocument("http://example.com/", ":div", null); threw INVALID_CHARACTER_ERR
+PASS createDocument("http://example.com/", "div:", null); threw INVALID_CHARACTER_ERR
PASS createDocument(null, "d:iv", null); threw NAMESPACE_ERR
-PASS createDocument(null, "a:b:c", null); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS createDocument("http://example.com/", "a:b:c", null); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS createDocument(null, "a::c", null); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS createDocument("http://example.com/", "a::c", null); valid XML name, invalid QName; threw NAMESPACE_ERR
+PASS createDocument(null, "a:b:c", null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS createDocument("http://example.com/", "a:b:c", null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS createDocument(null, "a::c", null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS createDocument("http://example.com/", "a::c", null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
PASS createDocument("http://example.com/", "a:0", null); valid XML name, not a valid QName; threw INVALID_CHARACTER_ERR
PASS createDocument("http://example.com/", "0:a", null); 0 at start makes it not a valid XML name; threw INVALID_CHARACTER_ERR
PASS createDocument("http://example.com/", "a:_", null)
-FAIL createDocument("http://example.com/", "a:ெ", null); non-ASCII character after colon is CombiningChar, which is NCNameChar but not (Letter | "_") so invalid at start of NCName (but still a valid XML name, hence not INVALID_CHARACTER_ERR); expected NAMESPACE_ERR, threw INVALID_CHARACTER_ERR
+PASS createDocument("http://example.com/", "a:ெ", null); non-ASCII character after colon is CombiningChar, which is NCNameChar but not (Letter | "_") so invalid at start of NCName (but still a valid XML name, hence not INVALID_CHARACTER_ERR); threw INVALID_CHARACTER_ERR
PASS createDocument("http://example.com/", "ெ:a", null); non-ASCII character after colon is CombiningChar, which is NCNameChar but not (Letter | "_") so invalid at start of NCName (Gecko chooses to throw NAMESPACE_ERR here, but either is valid as this is both an invalid XML name and an invalid QName); threw INVALID_CHARACTER_ERR
PASS createDocument("http://example.com/", "a:aெ", null)
PASS createDocument("http://example.com/", "aெ:a", null)
PASS exceptionThrown.name is "TypeError"
PASS exceptionThrown.name is "TypeError"
PASS exceptionThrown.name is "TypeError"
-PASS createDocumentType("a:", null, null); threw NAMESPACE_ERR
-PASS createDocumentType(":foo", null, null); threw NAMESPACE_ERR
-PASS createDocumentType(":", null, null); threw NAMESPACE_ERR
+PASS createDocumentType("a:", null, null); threw INVALID_CHARACTER_ERR
+PASS createDocumentType(":foo", null, null); threw INVALID_CHARACTER_ERR
+PASS createDocumentType(":", null, null); threw INVALID_CHARACTER_ERR
PASS createDocumentType("foo", null, null)
PASS createDocumentType("foo:bar", null, null)
-PASS createDocumentType("foo::bar", null, null); threw NAMESPACE_ERR
+PASS createDocumentType("foo::bar", null, null); threw INVALID_CHARACTER_ERR
PASS createDocumentType(" :bar", null, null); threw INVALID_CHARACTER_ERR
PASS createDocumentType("foo: ", null, null); threw INVALID_CHARACTER_ERR
PASS createDocumentType("foo :bar", null, null); threw INVALID_CHARACTER_ERR
PASS createDocumentType("foo: bar", null, null); threw INVALID_CHARACTER_ERR
-PASS createDocumentType("a:b:c", null, null); valid XML name, invalid QName; threw NAMESPACE_ERR
+PASS createDocumentType("a:b:c", null, null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
PASS successfullyParsed is true
TEST COMPLETE
{ args: ["http://example.com/", "di<v"], code: 5 },
{ args: ["http://example.com/", "-div"], code: 5 },
{ args: ["http://example.com/", ".div"], code: 5 },
- { args: [null, ":div"], code: 14 },
- { args: [null, "div:"], code: 14 },
- { args: ["http://example.com/", ":div"], code: 14 },
- { args: ["http://example.com/", "div:"], code: 14 },
+ { args: [null, ":div"], code: 5 },
+ { args: [null, "div:"], code: 5 },
+ { args: ["http://example.com/", ":div"], code: 5 },
+ { args: ["http://example.com/", "div:"], code: 5 },
{ args: [null, "d:iv"], code: 14 },
- { args: [null, "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
- { args: ["http://example.com/", "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
- { args: [null, "a::c"], code: 14, message: "valid XML name, invalid QName" },
- { args: ["http://example.com/", "a::c"], code: 14, message: "valid XML name, invalid QName" },
+ { args: [null, "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: ["http://example.com/", "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: [null, "a::c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: ["http://example.com/", "a::c"], code: 5, message: "valid XML name, invalid QName" },
{ args: ["http://example.com/", "a:0"], code: 5, message: "valid XML name, not a valid QName" },
{ args: ["http://example.com/", "0:a"], code: 5, message: "0 at start makes it not a valid XML name" },
{ args: ["http://example.com/", "a:_"] },
- { args: ["http://example.com/", "a:\u0BC6"], code: 14,
+ { args: ["http://example.com/", "a:\u0BC6"], code: 5,
message: "non-ASCII character after colon is CombiningChar, which is " +
"NCNameChar but not (Letter | \"_\") so invalid at start of " +
"NCName (but still a valid XML name, hence not INVALID_CHARACTER_ERR)" },
{ args: [null, ""], name: "TypeError" },
{ args: ["", null], name: "TypeError" },
{ args: ["", ""], name: "TypeError" },
- { args: ["a:", null, null], code: 14 },
- { args: [":foo", null, null], code: 14 },
- { args: [":", null, null], code: 14 },
+ { args: ["a:", null, null], code: 5 },
+ { args: [":foo", null, null], code: 5 },
+ { args: [":", null, null], code: 5 },
{ args: ["foo", null, null] },
{ args: ["foo:bar", null, null] },
- { args: ["foo::bar", null, null], code: 14 },
+ { args: ["foo::bar", null, null], code: 5 },
{ args: ["\t:bar", null, null], code: 5 },
{ args: ["foo:\t", null, null], code: 5 },
{ args: ["foo :bar", null, null], code: 5 },
{ args: ["foo: bar", null, null], code: 5 },
- { args: ["a:b:c", null, null], code: 14, message: "valid XML name, invalid QName" },
+ { args: ["a:b:c", null, null], code: 5, message: "valid XML name, invalid QName" },
];
function sourceify(v)
PASS createAttributeNS("http://example.com/", "di<v"); threw INVALID_CHARACTER_ERR
PASS createAttributeNS("http://example.com/", "-div"); threw INVALID_CHARACTER_ERR
PASS createAttributeNS("http://example.com/", ".div"); threw INVALID_CHARACTER_ERR
-PASS createAttributeNS(null, ":div"); threw NAMESPACE_ERR
-PASS createAttributeNS(null, "div:"); threw NAMESPACE_ERR
-PASS createAttributeNS("http://example.com/", ":div"); threw NAMESPACE_ERR
-PASS createAttributeNS("http://example.com/", "div:"); threw NAMESPACE_ERR
+PASS createAttributeNS(null, ":div"); threw INVALID_CHARACTER_ERR
+PASS createAttributeNS(null, "div:"); threw INVALID_CHARACTER_ERR
+PASS createAttributeNS("http://example.com/", ":div"); threw INVALID_CHARACTER_ERR
+PASS createAttributeNS("http://example.com/", "div:"); threw INVALID_CHARACTER_ERR
PASS createAttributeNS(null, "d:iv"); threw NAMESPACE_ERR
-PASS createAttributeNS(null, "a:b:c"); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS createAttributeNS("http://example.com/", "a:b:c"); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS createAttributeNS(null, "a::c"); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS createAttributeNS("http://example.com/", "a::c"); valid XML name, invalid QName; threw NAMESPACE_ERR
+PASS createAttributeNS(null, "a:b:c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS createAttributeNS("http://example.com/", "a:b:c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS createAttributeNS(null, "a::c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS createAttributeNS("http://example.com/", "a::c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
PASS createAttributeNS("http://example.com/", "a:0"); valid XML name, not a valid QName; threw INVALID_CHARACTER_ERR
PASS createAttributeNS("http://example.com/", "0:a"); 0 at start makes it not a valid XML name; threw INVALID_CHARACTER_ERR
PASS createAttributeNS("http://example.com/", "a:_")
PASS createElementNS("http://example.com/", "di<v"); threw INVALID_CHARACTER_ERR
PASS createElementNS("http://example.com/", "-div"); threw INVALID_CHARACTER_ERR
PASS createElementNS("http://example.com/", ".div"); threw INVALID_CHARACTER_ERR
-PASS createElementNS(null, ":div"); threw NAMESPACE_ERR
-PASS createElementNS(null, "div:"); threw NAMESPACE_ERR
-PASS createElementNS("http://example.com/", ":div"); threw NAMESPACE_ERR
-PASS createElementNS("http://example.com/", "div:"); threw NAMESPACE_ERR
+PASS createElementNS(null, ":div"); threw INVALID_CHARACTER_ERR
+PASS createElementNS(null, "div:"); threw INVALID_CHARACTER_ERR
+PASS createElementNS("http://example.com/", ":div"); threw INVALID_CHARACTER_ERR
+PASS createElementNS("http://example.com/", "div:"); threw INVALID_CHARACTER_ERR
PASS createElementNS(null, "d:iv"); threw NAMESPACE_ERR
-PASS createElementNS(null, "a:b:c"); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS createElementNS("http://example.com/", "a:b:c"); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS createElementNS(null, "a::c"); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS createElementNS("http://example.com/", "a::c"); valid XML name, invalid QName; threw NAMESPACE_ERR
+PASS createElementNS(null, "a:b:c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS createElementNS("http://example.com/", "a:b:c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS createElementNS(null, "a::c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS createElementNS("http://example.com/", "a::c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
PASS createElementNS("http://example.com/", "a:0"); valid XML name, not a valid QName; threw INVALID_CHARACTER_ERR
PASS createElementNS("http://example.com/", "0:a"); 0 at start makes it not a valid XML name; threw INVALID_CHARACTER_ERR
PASS createElementNS("http://example.com/", "a:_")
{ args: ["http://example.com/", "di<v"], code: 5 },
{ args: ["http://example.com/", "-div"], code: 5 },
{ args: ["http://example.com/", ".div"], code: 5 },
- { args: [null, ":div"], code: 14 },
- { args: [null, "div:"], code: 14 },
- { args: ["http://example.com/", ":div"], code: 14 },
- { args: ["http://example.com/", "div:"], code: 14 },
+ { args: [null, ":div"], code: 5 },
+ { args: [null, "div:"], code: 5 },
+ { args: ["http://example.com/", ":div"], code: 5 },
+ { args: ["http://example.com/", "div:"], code: 5 },
{ args: [null, "d:iv"], code: 14 },
- { args: [null, "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
- { args: ["http://example.com/", "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
- { args: [null, "a::c"], code: 14, message: "valid XML name, invalid QName" },
- { args: ["http://example.com/", "a::c"], code: 14, message: "valid XML name, invalid QName" },
+ { args: [null, "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: ["http://example.com/", "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: [null, "a::c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: ["http://example.com/", "a::c"], code: 5, message: "valid XML name, invalid QName" },
{ args: ["http://example.com/", "a:0"], code: 5, message: "valid XML name, not a valid QName" },
{ args: ["http://example.com/", "0:a"], code: 5, message: "0 at start makes it not a valid XML name" },
{ args: ["http://example.com/", "a:_"] },
{ args: ["http://example.com/", "di<v"], code: 5 },
{ args: ["http://example.com/", "-div"], code: 5 },
{ args: ["http://example.com/", ".div"], code: 5 },
- { args: [null, ":div"], code: 14 },
- { args: [null, "div:"], code: 14 },
- { args: ["http://example.com/", ":div"], code: 14 },
- { args: ["http://example.com/", "div:"], code: 14 },
+ { args: [null, ":div"], code: 5 },
+ { args: [null, "div:"], code: 5 },
+ { args: ["http://example.com/", ":div"], code: 5 },
+ { args: ["http://example.com/", "div:"], code: 5 },
{ args: [null, "d:iv"], code: 14 },
- { args: [null, "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
- { args: ["http://example.com/", "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
- { args: [null, "a::c"], code: 14, message: "valid XML name, invalid QName" },
- { args: ["http://example.com/", "a::c"], code: 14, message: "valid XML name, invalid QName" },
+ { args: [null, "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: ["http://example.com/", "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: [null, "a::c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: ["http://example.com/", "a::c"], code: 5, message: "valid XML name, invalid QName" },
{ args: ["http://example.com/", "a:0"], code: 5, message: "valid XML name, not a valid QName" },
{ args: ["http://example.com/", "0:a"], code: 5, message: "0 at start makes it not a valid XML name" },
{ args: ["http://example.com/", "a:_"] },
{ args: ["http://example.com/", "di<v"], code: 5 },
{ args: ["http://example.com/", "-div"], code: 5 },
{ args: ["http://example.com/", ".div"], code: 5 },
- { args: [null, ":div"], code: 14 },
- { args: [null, "div:"], code: 14 },
- { args: ["http://example.com/", ":div"], code: 14 },
- { args: ["http://example.com/", "div:"], code: 14 },
+ { args: [null, ":div"], code: 5 },
+ { args: [null, "div:"], code: 5 },
+ { args: ["http://example.com/", ":div"], code: 5 },
+ { args: ["http://example.com/", "div:"], code: 5 },
{ args: [null, "d:iv"], code: 14 },
- { args: [null, "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
- { args: ["http://example.com/", "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
- { args: [null, "a::c"], code: 14, message: "valid XML name, invalid QName" },
- { args: ["http://example.com/", "a::c"], code: 14, message: "valid XML name, invalid QName" },
+ { args: [null, "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: ["http://example.com/", "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: [null, "a::c"], code: 5, message: "valid XML name, invalid QName" },
+ { args: ["http://example.com/", "a::c"], code: 5, message: "valid XML name, invalid QName" },
{ args: ["http://example.com/", "a:0"], code: 5, message: "valid XML name, not a valid QName" },
{ args: ["http://example.com/", "0:a"], code: 5, message: "0 at start makes it not a valid XML name" },
{ args: ["http://example.com/", "a:_"] },
PASS element.setAttributeNS("http://example.com/", "di<v", 'value'); threw INVALID_CHARACTER_ERR
PASS element.setAttributeNS("http://example.com/", "-div", 'value'); threw INVALID_CHARACTER_ERR
PASS element.setAttributeNS("http://example.com/", ".div", 'value'); threw INVALID_CHARACTER_ERR
-PASS element.setAttributeNS(null, ":div", 'value'); threw NAMESPACE_ERR
-PASS element.setAttributeNS(null, "div:", 'value'); threw NAMESPACE_ERR
-PASS element.setAttributeNS("http://example.com/", ":div", 'value'); threw NAMESPACE_ERR
-PASS element.setAttributeNS("http://example.com/", "div:", 'value'); threw NAMESPACE_ERR
+PASS element.setAttributeNS(null, ":div", 'value'); threw INVALID_CHARACTER_ERR
+PASS element.setAttributeNS(null, "div:", 'value'); threw INVALID_CHARACTER_ERR
+PASS element.setAttributeNS("http://example.com/", ":div", 'value'); threw INVALID_CHARACTER_ERR
+PASS element.setAttributeNS("http://example.com/", "div:", 'value'); threw INVALID_CHARACTER_ERR
PASS element.setAttributeNS(null, "d:iv", 'value'); threw NAMESPACE_ERR
-PASS element.setAttributeNS(null, "a:b:c", 'value'); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS element.setAttributeNS("http://example.com/", "a:b:c", 'value'); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS element.setAttributeNS(null, "a::c", 'value'); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS element.setAttributeNS("http://example.com/", "a::c", 'value'); valid XML name, invalid QName; threw NAMESPACE_ERR
+PASS element.setAttributeNS(null, "a:b:c", 'value'); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS element.setAttributeNS("http://example.com/", "a:b:c", 'value'); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS element.setAttributeNS(null, "a::c", 'value'); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS element.setAttributeNS("http://example.com/", "a::c", 'value'); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
PASS element.setAttributeNS("http://example.com/", "a:0", 'value'); valid XML name, not a valid QName; threw INVALID_CHARACTER_ERR
PASS element.setAttributeNS("http://example.com/", "0:a", 'value'); 0 at start makes it not a valid XML name; threw INVALID_CHARACTER_ERR
PASS element.setAttributeNS("http://example.com/", "a:_", 'value')
score += 1;
if (retry > 0) {
errors += 1;
- log += "Test " + zeroPaddedIndex + " passed, but took " + retry + " attempts (less than perfect).\n";
+ // Commented out as this would make the layout test flaky.
+ // log += "Test " + zeroPaddedIndex + " passed, but took " + retry + " attempts (less than perfect).\n";
} else if (elapsedTest > 33) { // 30fps
errors += 1;
- log += "Test " + zeroPaddedIndex + " passed, but took " + elapsedTest + "ms (less than 30fps)\n";
+ // Commented out as this would make the layout test flaky.
+ // log += "Test " + zeroPaddedIndex + " passed, but took " + elapsedTest + "ms (less than 30fps)\n";
}
} else {
fail("no error message");
} else {
var endTime = new Date();
var elapsedTime = ((endTime - startTime) - (delay * tests.length)) / 1000;
- log += "Total elapsed time: " + elapsedTime.toFixed(2) + "s";
+ // Commented out as this would make the layout test flaky.
+ // log += "Total elapsed time: " + elapsedTime.toFixed(2) + "s";
if (errors == 0)
log += "\nNo JS errors and no timing issues.\nWas the rendering pixel-for-pixel perfect too?";
+2017-04-24 Chris Dumez <cdumez@apple.com>
+
+ createElementNS() should now throw only InvalidCharacterError, not NamespaceError
+ https://bugs.webkit.org/show_bug.cgi?id=171052
+
+ Reviewed by Sam Weinig.
+
+ Re-sync web-platform-tests/dom from upstream to gain test coverage.
+
+ * web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html:
+ * web-platform-tests/dom/collections/HTMLCollection-empty-name.html:
+ * web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html:
+ * web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html:
+ * web-platform-tests/dom/collections/domstringmap-supported-property-names.html:
+ * web-platform-tests/dom/collections/namednodemap-supported-property-names.html:
+ * web-platform-tests/dom/events/AddEventListenerOptions-once.html:
+ * web-platform-tests/dom/events/AddEventListenerOptions-passive.html:
+ * web-platform-tests/dom/events/CustomEvent.html:
+ * web-platform-tests/dom/events/Event-cancelBubble.html:
+ * web-platform-tests/dom/events/Event-constants.html:
+ * web-platform-tests/dom/events/Event-constructors.html:
+ * web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html:
+ * web-platform-tests/dom/events/Event-defaultPrevented.html:
+ * web-platform-tests/dom/events/Event-dispatch-bubble-canceled.html:
+ * web-platform-tests/dom/events/Event-dispatch-bubbles-false.html:
+ * web-platform-tests/dom/events/Event-dispatch-bubbles-true.html:
+ * web-platform-tests/dom/events/Event-dispatch-click.html:
+ * web-platform-tests/dom/events/Event-dispatch-detached-click.html:
+ * web-platform-tests/dom/events/Event-dispatch-handlers-changed.html:
+ * web-platform-tests/dom/events/Event-dispatch-multiple-cancelBubble.html:
+ * web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html:
+ * web-platform-tests/dom/events/Event-dispatch-omitted-capture.html:
+ * web-platform-tests/dom/events/Event-dispatch-order.html:
+ * web-platform-tests/dom/events/Event-dispatch-other-document.html:
+ * web-platform-tests/dom/events/Event-dispatch-propagation-stopped.html:
+ * web-platform-tests/dom/events/Event-dispatch-redispatch.html:
+ * web-platform-tests/dom/events/Event-dispatch-reenter.html:
+ * web-platform-tests/dom/events/Event-dispatch-target-moved.html:
+ * web-platform-tests/dom/events/Event-dispatch-target-removed.html:
+ * web-platform-tests/dom/events/Event-dispatch-throwing.html:
+ * web-platform-tests/dom/events/Event-init-while-dispatching.html:
+ * web-platform-tests/dom/events/Event-initEvent.html:
+ * web-platform-tests/dom/events/Event-propagation.html:
+ * web-platform-tests/dom/events/Event-subclasses-constructors.html:
+ * web-platform-tests/dom/events/Event-type-empty.html:
+ * web-platform-tests/dom/events/Event-type.html:
+ * web-platform-tests/dom/events/EventListener-handleEvent.html:
+ * web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html:
+ * web-platform-tests/dom/events/EventListener-incumbent-global-2.sub.html:
+ * web-platform-tests/dom/events/EventListener-invoke-legacy.html:
+ * web-platform-tests/dom/events/EventListenerOptions-capture.html:
+ * web-platform-tests/dom/events/EventTarget-addEventListener.html:
+ * web-platform-tests/dom/events/EventTarget-dispatchEvent-returnvalue.html:
+ * web-platform-tests/dom/events/EventTarget-dispatchEvent.html:
+ * web-platform-tests/dom/events/EventTarget-removeEventListener.html:
+ * web-platform-tests/dom/historical.html:
+ * web-platform-tests/dom/interface-objects.html:
+ * web-platform-tests/dom/interfaces.html:
+ * web-platform-tests/dom/lists/DOMTokenList-Iterable.html:
+ * web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html:
+ * web-platform-tests/dom/lists/DOMTokenList-iteration.html:
+ * web-platform-tests/dom/lists/DOMTokenList-stringifier.html:
+ * web-platform-tests/dom/lists/DOMTokenList-value.html:
+ * web-platform-tests/dom/nodes/CharacterData-appendChild.html:
+ * web-platform-tests/dom/nodes/CharacterData-appendData.html:
+ * web-platform-tests/dom/nodes/CharacterData-data.html:
+ * web-platform-tests/dom/nodes/CharacterData-deleteData.html:
+ * web-platform-tests/dom/nodes/CharacterData-insertData.html:
+ * web-platform-tests/dom/nodes/CharacterData-remove.html:
+ * web-platform-tests/dom/nodes/CharacterData-replaceData.html:
+ * web-platform-tests/dom/nodes/CharacterData-substringData.html:
+ * web-platform-tests/dom/nodes/CharacterData-surrogates.html:
+ * web-platform-tests/dom/nodes/ChildNode-after.html:
+ * web-platform-tests/dom/nodes/ChildNode-before.html:
+ * web-platform-tests/dom/nodes/ChildNode-replaceWith.html:
+ * web-platform-tests/dom/nodes/Comment-constructor.html:
+ * web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt:
+ * web-platform-tests/dom/nodes/DOMImplementation-createDocument.html:
+ * web-platform-tests/dom/nodes/DOMImplementation-createDocumentType-expected.txt:
+ * web-platform-tests/dom/nodes/DOMImplementation-createDocumentType.html:
+ * web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument.html:
+ * web-platform-tests/dom/nodes/DOMImplementation-hasFeature.html:
+ * web-platform-tests/dom/nodes/Document-URL.sub.html:
+ * web-platform-tests/dom/nodes/Document-adoptNode.html:
+ * web-platform-tests/dom/nodes/Document-characterSet-normalization.html:
+ * web-platform-tests/dom/nodes/Document-constructor.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_bmp.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_css.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_01.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_02.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_gif.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_html.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_javascripturi.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_jpg.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_01.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_02.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_png.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_txt.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_xml.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/createDocument.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/createHTMLDocument.html:
+ * web-platform-tests/dom/nodes/Document-contentType/contentType/xhr_responseType_document.html:
+ * web-platform-tests/dom/nodes/Document-createAttribute.html:
+ * web-platform-tests/dom/nodes/Document-createComment.html:
+ * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/w3c-import.log:
+ * web-platform-tests/dom/nodes/Document-createElement-namespace.html:
+ * web-platform-tests/dom/nodes/Document-createElement.html:
+ * web-platform-tests/dom/nodes/Document-createElementNS-expected.txt:
+ * web-platform-tests/dom/nodes/Document-createElementNS.html:
+ * web-platform-tests/dom/nodes/Document-createElementNS.js:
+ * web-platform-tests/dom/nodes/Document-createEvent.html:
+ * web-platform-tests/dom/nodes/Document-createProcessingInstruction-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Document-createProcessingInstruction.html:
+ * web-platform-tests/dom/nodes/Document-createTextNode.html:
+ * web-platform-tests/dom/nodes/Document-createTreeWalker.html:
+ * web-platform-tests/dom/nodes/Document-doctype.html:
+ * web-platform-tests/dom/nodes/Document-getElementById.html:
+ * web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Document-getElementsByTagName.html:
+ * web-platform-tests/dom/nodes/Document-getElementsByTagNameNS.html:
+ * web-platform-tests/dom/nodes/Document-implementation.html:
+ * web-platform-tests/dom/nodes/Document-importNode.html:
+ * web-platform-tests/dom/nodes/DocumentType-literal-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/DocumentType-literal.html:
+ * web-platform-tests/dom/nodes/DocumentType-remove.html:
+ * web-platform-tests/dom/nodes/Element-childElement-null-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-childElement-null.html:
+ * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.html:
+ * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove.html:
+ * web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-childElementCount-nochild.html:
+ * web-platform-tests/dom/nodes/Element-childElementCount-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-childElementCount.html:
+ * web-platform-tests/dom/nodes/Element-children.html:
+ * web-platform-tests/dom/nodes/Element-classlist.html:
+ * web-platform-tests/dom/nodes/Element-closest.html:
+ * web-platform-tests/dom/nodes/Element-firstElementChild-entity-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-firstElementChild-namespace.html:
+ * web-platform-tests/dom/nodes/Element-firstElementChild-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-firstElementChild.html:
+ * web-platform-tests/dom/nodes/Element-getElementsByClassName.html:
+ * web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html:
+ * web-platform-tests/dom/nodes/Element-getElementsByTagName.html:
+ * web-platform-tests/dom/nodes/Element-getElementsByTagNameNS.html:
+ * web-platform-tests/dom/nodes/Element-hasAttributes.html:
+ * web-platform-tests/dom/nodes/Element-insertAdjacentElement.html:
+ * web-platform-tests/dom/nodes/Element-insertAdjacentText.html:
+ * web-platform-tests/dom/nodes/Element-lastElementChild-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-lastElementChild.html:
+ * web-platform-tests/dom/nodes/Element-matches.html:
+ * web-platform-tests/dom/nodes/Element-nextElementSibling-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-nextElementSibling.html:
+ * web-platform-tests/dom/nodes/Element-previousElementSibling-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-previousElementSibling.html:
+ * web-platform-tests/dom/nodes/Element-remove.html:
+ * web-platform-tests/dom/nodes/Element-removeAttributeNS.html:
+ * web-platform-tests/dom/nodes/Element-siblingElement-null-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-siblingElement-null.html:
+ * web-platform-tests/dom/nodes/Element-tagName.html:
+ * web-platform-tests/dom/nodes/Element-webkitMatchesSelector.html:
+ * web-platform-tests/dom/nodes/MutationObserver-attributes.html:
+ * web-platform-tests/dom/nodes/MutationObserver-characterData.html:
+ * web-platform-tests/dom/nodes/MutationObserver-childList.html:
+ * web-platform-tests/dom/nodes/MutationObserver-disconnect.html:
+ * web-platform-tests/dom/nodes/MutationObserver-document.html:
+ * web-platform-tests/dom/nodes/MutationObserver-inner-outer.html:
+ * web-platform-tests/dom/nodes/MutationObserver-takeRecords.html:
+ * web-platform-tests/dom/nodes/Node-appendChild.html:
+ * web-platform-tests/dom/nodes/Node-baseURI.html:
+ * web-platform-tests/dom/nodes/Node-childNodes.html:
+ * web-platform-tests/dom/nodes/Node-cloneNode.html:
+ * web-platform-tests/dom/nodes/Node-compareDocumentPosition.html:
+ * web-platform-tests/dom/nodes/Node-constants.html:
+ * web-platform-tests/dom/nodes/Node-contains-xml.xml:
+ * web-platform-tests/dom/nodes/Node-contains.html:
+ * web-platform-tests/dom/nodes/Node-insertBefore.html:
+ * web-platform-tests/dom/nodes/Node-isConnected.html:
+ * web-platform-tests/dom/nodes/Node-isEqualNode-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Node-isEqualNode.html:
+ * web-platform-tests/dom/nodes/Node-isSameNode.html:
+ * web-platform-tests/dom/nodes/Node-lookupNamespaceURI.html:
+ * web-platform-tests/dom/nodes/Node-lookupPrefix.xhtml:
+ * web-platform-tests/dom/nodes/Node-nodeName-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Node-nodeName.html:
+ * web-platform-tests/dom/nodes/Node-nodeValue.html:
+ * web-platform-tests/dom/nodes/Node-normalize.html:
+ * web-platform-tests/dom/nodes/Node-parentElement.html:
+ * web-platform-tests/dom/nodes/Node-parentNode.html:
+ * web-platform-tests/dom/nodes/Node-properties.html:
+ * web-platform-tests/dom/nodes/Node-removeChild.html:
+ * web-platform-tests/dom/nodes/Node-replaceChild.html:
+ * web-platform-tests/dom/nodes/Node-textContent.html:
+ * web-platform-tests/dom/nodes/NodeList-Iterable.html:
+ * web-platform-tests/dom/nodes/ParentNode-append.html:
+ * web-platform-tests/dom/nodes/ParentNode-prepend.html:
+ * web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht.xht:
+ * web-platform-tests/dom/nodes/ParentNode-querySelector-All.html:
+ * web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1.xhtml:
+ * web-platform-tests/dom/nodes/ProcessingInstruction-literal-1.xhtml:
+ * web-platform-tests/dom/nodes/ProcessingInstruction-literal-2.xhtml:
+ * web-platform-tests/dom/nodes/Text-constructor.html:
+ * web-platform-tests/dom/nodes/Text-splitText.html:
+ * web-platform-tests/dom/nodes/append-on-Document.html:
+ * web-platform-tests/dom/nodes/attributes-expected.txt:
+ * web-platform-tests/dom/nodes/attributes.html:
+ * web-platform-tests/dom/nodes/case.html:
+ * web-platform-tests/dom/nodes/getElementsByClassName-01.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-02.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-03.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-04.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-05.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-06.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-07.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-08.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-09.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-10.xml:
+ * web-platform-tests/dom/nodes/getElementsByClassName-11.xml:
+ * web-platform-tests/dom/nodes/getElementsByClassName-12.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-13.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-14.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-15.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-16.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-17.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-18.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-19.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-20.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-21.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-22.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-23.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-24.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-25.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-26.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-27.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-28.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-29.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-30.htm:
+ * web-platform-tests/dom/nodes/getElementsByClassName-31.htm:
+ * web-platform-tests/dom/nodes/insert-adjacent.html:
+ * web-platform-tests/dom/nodes/prepend-on-Document.html:
+ * web-platform-tests/dom/nodes/remove-unscopable.html:
+ * web-platform-tests/dom/nodes/rootNode.html:
+ * web-platform-tests/dom/nodes/w3c-import.log:
+ * web-platform-tests/dom/ranges/Range-attributes.html:
+ * web-platform-tests/dom/ranges/Range-cloneContents.html:
+ * web-platform-tests/dom/ranges/Range-cloneRange.html:
+ * web-platform-tests/dom/ranges/Range-collapse.html:
+ * web-platform-tests/dom/ranges/Range-commonAncestorContainer-2.html:
+ * web-platform-tests/dom/ranges/Range-commonAncestorContainer.html:
+ * web-platform-tests/dom/ranges/Range-compareBoundaryPoints.html:
+ * web-platform-tests/dom/ranges/Range-comparePoint-2.html:
+ * web-platform-tests/dom/ranges/Range-comparePoint.html:
+ * web-platform-tests/dom/ranges/Range-constructor.html:
+ * web-platform-tests/dom/ranges/Range-deleteContents.html:
+ * web-platform-tests/dom/ranges/Range-detach.html:
+ * web-platform-tests/dom/ranges/Range-extractContents.html:
+ * web-platform-tests/dom/ranges/Range-insertNode.html:
+ * web-platform-tests/dom/ranges/Range-intersectsNode-binding.html:
+ * web-platform-tests/dom/ranges/Range-intersectsNode.html:
+ * web-platform-tests/dom/ranges/Range-isPointInRange.html:
+ * web-platform-tests/dom/ranges/Range-mutations-appendChild.html:
+ * web-platform-tests/dom/ranges/Range-mutations-appendData.html:
+ * web-platform-tests/dom/ranges/Range-mutations-dataChange.html:
+ * web-platform-tests/dom/ranges/Range-mutations-deleteData.html:
+ * web-platform-tests/dom/ranges/Range-mutations-insertBefore.html:
+ * web-platform-tests/dom/ranges/Range-mutations-insertData.html:
+ * web-platform-tests/dom/ranges/Range-mutations-removeChild.html:
+ * web-platform-tests/dom/ranges/Range-mutations-replaceChild.html:
+ * web-platform-tests/dom/ranges/Range-mutations-replaceData.html:
+ * web-platform-tests/dom/ranges/Range-mutations-splitText.html:
+ * web-platform-tests/dom/ranges/Range-selectNode.html:
+ * web-platform-tests/dom/ranges/Range-set.html:
+ * web-platform-tests/dom/ranges/Range-stringifier.html:
+ * web-platform-tests/dom/ranges/Range-surroundContents.html:
+ * web-platform-tests/dom/traversal/NodeFilter-constants.html:
+ * web-platform-tests/dom/traversal/NodeIterator-removal.html:
+ * web-platform-tests/dom/traversal/NodeIterator.html:
+ * web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html:
+ * web-platform-tests/dom/traversal/TreeWalker-basic.html:
+ * web-platform-tests/dom/traversal/TreeWalker-currentNode.html:
+ * web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html:
+ * web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html:
+ * web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html:
+ * web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html:
+ * web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html:
+ * web-platform-tests/dom/traversal/TreeWalker-walking-outside-a-tree.html:
+ * web-platform-tests/dom/traversal/TreeWalker.html:
+
2017-04-21 Chris Dumez <cdumez@apple.com>
Regression(r206240): XMLSerializer.serializeToString() does not properly escape '<' / '>' in attribute values
<!doctype html>
<meta charset=utf-8>
<title>Make sure browsers throw when getting .length on some random object whose proto is an HTMLCollection</title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<script>
test(function() {
var obj = Object.create(document.getElementsByTagName("script"));
<!doctype html>
<meta charset=utf-8>
<title>HTMLCollection and empty names</title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<div id=log></div>
<div id=test>
<div class=a id></div>
<!doctype html>
<meta charset=utf-8>
<title></title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<!-- We want to use a tag name that will not interact with our test harness,
so just make one up. "foo" is a good one -->
<!doctype html>
<meta charset=utf-8>
<link rel=help href=https://dom.spec.whatwg.org/#interface-htmlcollection>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<div id=log></div>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>DOMStringMap Test: Supported property names</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<div id="edge1" data-="012">Simple</div>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>NamedNodeMap Test: Supported property names</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<div id="simple" class="fancy">Simple</div>
<input id="result" type="text" value="" width="200px">
<title>AddEventListenerOptions.once</title>
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-addeventlisteneroptions-once">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
<title>EventListenerOptions.passive</title>
<link rel="author" title="Rick Byers" href="mailto:rbyers@chromium.org">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-addeventlisteneroptions-passive">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
<!doctype html>
<title>CustomEvent</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
<link rel="author" title="Chris Rebert" href="http://chrisrebert.com">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-cancelbubble">
<meta name="flags" content="dom">
- <script src="/resources/testharness.js"></script>
- <script src="/resources/testharnessreport.js"></script>
+ <script src="../../../../../resources/testharness.js"></script>
+ <script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<div id="outer">
<!doctype html>
<title>Event constants</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="../constants.js"></script>
<div id="log"></div>
<script>
<!doctype html>
<title>Event constructors</title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<div id=log></div>
<script>
test(function() {
<!DOCTYPE html>
<meta charset=utf-8>
<title>Event.defaultPrevented is not reset after dipatchEvent()</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<div id=log></div>
<!doctype html>
<title>Event.defaultPrevented</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
var ev;
<html>
<head>
<title>Setting cancelBubble=true prior to dispatchEvent()</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"></div>
<title> Event.bubbles attribute is set to false </title>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-initevent">
<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<table id="table" border="1" style="display: none">
<tbody id="table-body">
<title> Event.bubbles attribute is set to false </title>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-initevent">
<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<table id="table" border="1" style="display: none">
<tbody id="table-body">
<!doctype html>
<title>Synthetic click event "magic"</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<div id=dump style=display:none></div>
<script>
<!DOCTYPE html>
<title>Click event on an element not in the document</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
test(function() {
<meta charset=utf-8>
<title> Dispatch additional events inside an event listener </title>
<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<table id="table" border="1" style="display: none">
<html>
<head>
<title>Multiple dispatchEvent() and cancelBubble</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<div id=log></div>
<html>
<head>
<title> Multiple dispatchEvent() and stopPropagation() </title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<div id=log></div>
<title>EventTarget.addEventListener: capture argument omitted</title>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-eventtarget-addeventlistener">
<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<table id="table" border="1" style="display: none">
<tbody id="table-body">
<!DOCTYPE html>
<title>Event phases order</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
async_test(function() {
<!doctype html>
<title>Custom event on an element in another document</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
test(function() {
<html>
<head>
<title> Calling stopPropagation() prior to dispatchEvent() </title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<div id=log></div>
<!DOCTYPE html>
<meta charset=urf-8>
<title>EventTarget#dispatchEvent(): redispatching a native event</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<meta charset=utf-8>
<title> Dispatch additional events inside an event listener </title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<table id="table" border="1" style="display: none">
<tbody id="table-body">
<meta charset=utf-8>
<title> Determined event propagation path - target moved </title>
<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<table id="table" border="1" style="display: none">
<tbody id="table-body">
<meta charset=utf-8>
<title>Determined event propagation path - target removed</title>
<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<table id="table" border="1" style="display: none">
<tbody id="table-body">
<!DOCTYPE html>
<meta charset="UTF-8">
<title>Throwing in event listeners</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
setup({allow_uncaught_exception:true})
<meta charset="utf-8">
<title>Re-initializing events while dispatching them</title>
<link rel="author" title="Josh Matthews" href="mailto:josh@joshmatthews.net">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
var events = {
<!DOCTYPE html>
<title>Event.initEvent</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
var booleans = [true, false];
<title>Event propagation tests</title>
<link rel=author title="Aryeh Gregor" href=ayg@aryeh.name>
<div id=log></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<script>
"use strict";
<!DOCTYPE html>
<meta charset="utf-8">
<title>Event constructors</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
function assert_props(iface, event, defaults) {
<title>Event.type set to the empty string</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-type">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
function do_test(t, e) {
<title>Event.type</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-type">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
<!DOCTYPE html>
<meta charset=utf-8>
<title>EventListener::handleEvent()</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<table id="table" border="1" style="display: none">
<tbody id="table-body">
<!doctype html>
<meta charset=utf-8>
<title></title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<iframe src="{{location[scheme]}}://{{domains[www1]}}:{{ports[http][0]}}{{location[path]}}/../EventListener-incumbent-global-subframe-1.sub.html"></iframe>
<script>
<!doctype html>
<meta charset=utf-8>
<title></title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<iframe src="{{location[scheme]}}://{{domains[www1]}}:{{ports[http][0]}}{{location[path]}}/../EventListener-incumbent-global-subframe-2.sub.html"></iframe>
<script>
<!DOCTYPE html>
<meta charset="utf-8">
<title>Invoke legacy event listener</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<style>
@keyframes test {
0% { color: red; }
assert_unreached("listener of " + legacyType + " should not be invoked again");
return;
}
- elem.dispatchEvent(new ctor(type));
+ elem.dispatchEvent(new window[ctor](type));
t.done();
}));
setup(elem);
elem.style.animation = 'test 30ms 2';
}
-runLegacyEventTest('transitionend', 'webkitTransitionEnd', TransitionEvent, setupTransition);
-runLegacyEventTest('animationend', 'webkitAnimationEnd', AnimationEvent, setupAnimation);
-runLegacyEventTest('animationiteration', 'webkitAnimationIteration', AnimationEvent, setupAnimation);
-runLegacyEventTest('animationstart', 'webkitAnimationStart', AnimationEvent, setupAnimation);
+runLegacyEventTest('transitionend', 'webkitTransitionEnd', "TransitionEvent", setupTransition);
+runLegacyEventTest('animationend', 'webkitAnimationEnd', "AnimationEvent", setupAnimation);
+runLegacyEventTest('animationiteration', 'webkitAnimationIteration', "AnimationEvent", setupAnimation);
+runLegacyEventTest('animationstart', 'webkitAnimationStart', "AnimationEvent", setupAnimation);
</script>
<title>EventListenerOptions.capture</title>
<link rel="author" title="Rick Byers" href="mailto:rbyers@chromium.org">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-eventlisteneroptions-capture">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
<title>EventTarget.addEventListener</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-eventtarget-addeventlistener">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
// Step 1.
<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-preventdefault">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-defaultprevented">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<table id="table" border="1" style="display: none">
<tbody id="table-body">
<link rel="author" title="Olli Pettay" href="mailto:Olli.Pettay@gmail.com">
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-eventtarget-dispatchevent">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="/dom/nodes/Document-createEvent.js"></script>
<div id="log"></div>
<script>
<title>EventTarget.removeEventListener</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-eventtarget-removeeventlistener">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
// Step 1.
<!DOCTYPE html>
<title>Historical DOM features must be removed</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../resources/testharness.js"></script>
+<script src="../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
function isInterfaceNuked(name) {
<!DOCTYPE html>
<title>Interfaces</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../resources/testharness.js"></script>
+<script src="../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
function testInterfaceDeletable(iface) {
<!doctype html>
<meta charset=utf-8>
<title>DOM IDL tests</title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../resources/testharness.js></script>
+<script src=../../../../resources/testharnessreport.js></script>
<script src=/resources/WebIDLParser.js></script>
<script src=/resources/idlharness.js></script>
<!doctype html>
<meta charset="utf-8">
<title>DOMTokenList Iterable Test</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<span class="foo Foo foo "></span>
<script>
var elementClasses;
<!DOCTYPE html>
<meta charset="utf-8">
<title>DOMTokenList coverage for attributes</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
"use strict";
<!doctype html>
<meta charset=utf-8>
<title>DOMTokenList iteration: keys, values, etc.</title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<span class=" a a b "></span>
<script>
test(() => {
<title>DOMTokenList stringifier</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-domtokenlist-stringifier">
<link rel=author title=Ms2ger href="mailto:Ms2ger@gmail.com">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<span class=" a a b "></span>
<script>
<title>DOMTokenList value</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-domtokenlist-value">
<link rel=author title=Tangresh href="mailto:dmenzi@tangresh.ch">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<span class=" a a b "></span>
<script>
test(function() {
<title>Node.appendChild applied to CharacterData</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-appendchild">
<link rel=help href="https://dom.spec.whatwg.org/#introduction-to-the-dom">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
function create(type) {
<title>CharacterData.appendData</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-appenddata">
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
function testNode(create, type) {
<meta charset=utf-8>
<title>CharacterData.data</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
function testNode(create, type) {
<title>CharacterData.deleteData</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-deletedata">
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
function testNode(create, type) {
<title>CharacterData.insertData</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-insertdata">
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
function testNode(create, type) {
<meta charset=utf-8>
<title>CharacterData.remove</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-remove">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="ChildNode-remove.js"></script>
<div id=log></div>
<script>
<title>CharacterData.replaceData</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-replacedata">
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
function testNode(create, type) {
<title>CharacterData.substringData</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-substringdata">
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
function testNode(create, type) {
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-insertdata">
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-deletedata">
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
function testNode(create, type) {
<meta charset=utf-8>
<title>ChildNode.after</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-after">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script>
function test_after(child, nodeName, innerHTML) {
<meta charset=utf-8>
<title>ChildNode.before</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-before">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script>
function test_before(child, nodeName, innerHTML) {
<meta charset=utf-8>
<title>ChildNode.replaceWith</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-replaceWith">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script>
function test_replaceWith(child, nodeName, innerHTML) {
<meta charset=utf-8>
<title>Comment constructor</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-comment">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="Comment-Text-constructor.js"></script>
<div id="log"></div>
<script>
PASS createDocument test: null,"fo o",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: null,"-foo",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: null,".foo",null,"INVALID_CHARACTER_ERR"
-PASS createDocument test: null,":foo",null,"NAMESPACE_ERR"
+PASS createDocument test: null,":foo",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: null,"f:oo",null,"NAMESPACE_ERR"
-PASS createDocument test: null,"foo:",null,"NAMESPACE_ERR"
-PASS createDocument test: null,"f:o:o",null,"NAMESPACE_ERR"
-PASS createDocument test: null,":",null,"NAMESPACE_ERR"
+PASS createDocument test: null,"foo:",null,"INVALID_CHARACTER_ERR"
+PASS createDocument test: null,"f:o:o",null,"INVALID_CHARACTER_ERR"
+PASS createDocument test: null,":",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: null,"xml",null,null
PASS createDocument test: metadata for null,"xml",null
PASS createDocument test: characterSet aliases for null,"xml",null
PASS createDocument test: "",null,null,null
PASS createDocument test: metadata for "",null,null
PASS createDocument test: characterSet aliases for "",null,null
-PASS createDocument test: "",":foo",null,"NAMESPACE_ERR"
+PASS createDocument test: "",":foo",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "","f:oo",null,"NAMESPACE_ERR"
-PASS createDocument test: "","foo:",null,"NAMESPACE_ERR"
+PASS createDocument test: "","foo:",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: undefined,null,null,null
PASS createDocument test: metadata for undefined,null,null
PASS createDocument test: characterSet aliases for undefined,null,null
PASS createDocument test: undefined,"foo1",null,null
PASS createDocument test: metadata for undefined,"foo1",null
PASS createDocument test: characterSet aliases for undefined,"foo1",null
-PASS createDocument test: undefined,":foo",null,"NAMESPACE_ERR"
+PASS createDocument test: undefined,":foo",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: undefined,"f:oo",null,"NAMESPACE_ERR"
-PASS createDocument test: undefined,"foo:",null,"NAMESPACE_ERR"
-PASS createDocument test: undefined,"f::oo",null,"NAMESPACE_ERR"
+PASS createDocument test: undefined,"foo:",null,"INVALID_CHARACTER_ERR"
+PASS createDocument test: undefined,"f::oo",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: undefined,"xml",null,null
PASS createDocument test: metadata for undefined,"xml",null
PASS createDocument test: characterSet aliases for undefined,"xml",null
PASS createDocument test: "http://example.com/","foo1",null,null
PASS createDocument test: metadata for "http://example.com/","foo1",null
PASS createDocument test: characterSet aliases for "http://example.com/","foo1",null
-PASS createDocument test: "http://example.com/",":foo",null,"NAMESPACE_ERR"
+PASS createDocument test: "http://example.com/",":foo",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://example.com/","f:oo",null,null
PASS createDocument test: metadata for "http://example.com/","f:oo",null
PASS createDocument test: characterSet aliases for "http://example.com/","f:oo",null
-PASS createDocument test: "http://example.com/","f:o:o",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://example.com/","foo:",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://example.com/","f::oo",null,"NAMESPACE_ERR"
-FAIL createDocument test: "http://example.com/","a:0",null,"NAMESPACE_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14
+PASS createDocument test: "http://example.com/","f:o:o",null,"INVALID_CHARACTER_ERR"
+PASS createDocument test: "http://example.com/","foo:",null,"INVALID_CHARACTER_ERR"
+PASS createDocument test: "http://example.com/","f::oo",null,"INVALID_CHARACTER_ERR"
+PASS createDocument test: "http://example.com/","a:0",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://example.com/","0:a",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://example.com/","a:_",null,null
PASS createDocument test: metadata for "http://example.com/","a:_",null
PASS createDocument test: characterSet aliases for "http://example.com/","a:_",null
-FAIL createDocument test: "http://example.com/","a:ெ",null,"NAMESPACE_ERR" assert_throws: function "function () { document.implementation.createDocument(namespace, qualifiedName, doctype) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14
+PASS createDocument test: "http://example.com/","a:ெ",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://example.com/","ெ:a",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://example.com/","a:aெ",null,null
PASS createDocument test: metadata for "http://example.com/","a:aெ",null
PASS createDocument test: "http://example.com/","xmlfoo:bar",null,null
PASS createDocument test: metadata for "http://example.com/","xmlfoo:bar",null
PASS createDocument test: characterSet aliases for "http://example.com/","xmlfoo:bar",null
-PASS createDocument test: "http://example.com/","prefix::local",null,"NAMESPACE_ERR"
+PASS createDocument test: "http://example.com/","prefix::local",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://example.com/","namespaceURI:{",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://example.com/","namespaceURI:}",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://example.com/","namespaceURI:~",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "/","foo1",null,null
PASS createDocument test: metadata for "/","foo1",null
PASS createDocument test: characterSet aliases for "/","foo1",null
-PASS createDocument test: "/",":foo",null,"NAMESPACE_ERR"
+PASS createDocument test: "/",":foo",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "/","f:oo",null,null
PASS createDocument test: metadata for "/","f:oo",null
PASS createDocument test: characterSet aliases for "/","f:oo",null
-PASS createDocument test: "/","foo:",null,"NAMESPACE_ERR"
+PASS createDocument test: "/","foo:",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "/","xml",null,null
PASS createDocument test: metadata for "/","xml",null
PASS createDocument test: characterSet aliases for "/","xml",null
PASS createDocument test: "http://www.w3.org/XML/1998/namespace","foo1",null,null
PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","foo1",null
PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","foo1",null
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace",":foo",null,"NAMESPACE_ERR"
+PASS createDocument test: "http://www.w3.org/XML/1998/namespace",":foo",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://www.w3.org/XML/1998/namespace","f:oo",null,null
PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","f:oo",null
PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","f:oo",null
-PASS createDocument test: "http://www.w3.org/XML/1998/namespace","foo:",null,"NAMESPACE_ERR"
+PASS createDocument test: "http://www.w3.org/XML/1998/namespace","foo:",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xml",null,null
PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","xml",null
PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","xml",null
PASS createDocument test: "http://www.w3.org/2000/xmlns/","1foo",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://www.w3.org/2000/xmlns/","f1oo",null,"NAMESPACE_ERR"
PASS createDocument test: "http://www.w3.org/2000/xmlns/","foo1",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://www.w3.org/2000/xmlns/",":foo",null,"NAMESPACE_ERR"
+PASS createDocument test: "http://www.w3.org/2000/xmlns/",":foo",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://www.w3.org/2000/xmlns/","f:oo",null,"NAMESPACE_ERR"
-PASS createDocument test: "http://www.w3.org/2000/xmlns/","foo:",null,"NAMESPACE_ERR"
+PASS createDocument test: "http://www.w3.org/2000/xmlns/","foo:",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "http://www.w3.org/2000/xmlns/","xml",null,"NAMESPACE_ERR"
PASS createDocument test: "http://www.w3.org/2000/xmlns/","xmlns",null,null
PASS createDocument test: metadata for "http://www.w3.org/2000/xmlns/","xmlns",null
PASS createDocument test: "foo:","foo1",null,null
PASS createDocument test: metadata for "foo:","foo1",null
PASS createDocument test: characterSet aliases for "foo:","foo1",null
-PASS createDocument test: "foo:",":foo",null,"NAMESPACE_ERR"
+PASS createDocument test: "foo:",":foo",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "foo:","f:oo",null,null
PASS createDocument test: metadata for "foo:","f:oo",null
PASS createDocument test: characterSet aliases for "foo:","f:oo",null
-PASS createDocument test: "foo:","foo:",null,"NAMESPACE_ERR"
+PASS createDocument test: "foo:","foo:",null,"INVALID_CHARACTER_ERR"
PASS createDocument test: "foo:","xml",null,null
PASS createDocument test: metadata for "foo:","xml",null
PASS createDocument test: characterSet aliases for "foo:","xml",null
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-nodetype">
<link rel=help href="https://dom.spec.whatwg.org/#dom-document-documentelement">
<link rel=help href="https://dom.spec.whatwg.org/#dom-document-doctype">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="Document-createElementNS.js"></script>
<div id="log"></div>
<script>
PASS createDocumentType("(", "", "") should throw INVALID_CHARACTER_ERR
PASS createDocumentType(")", "", "") should throw INVALID_CHARACTER_ERR
PASS createDocumentType("f:oo", "", "") should work
-PASS createDocumentType(":foo", "", "") should throw NAMESPACE_ERR
-PASS createDocumentType("foo:", "", "") should throw NAMESPACE_ERR
-PASS createDocumentType("prefix::local", "", "") should throw NAMESPACE_ERR
+PASS createDocumentType(":foo", "", "") should throw INVALID_CHARACTER_ERR
+PASS createDocumentType("foo:", "", "") should throw INVALID_CHARACTER_ERR
+PASS createDocumentType("prefix::local", "", "") should throw INVALID_CHARACTER_ERR
PASS createDocumentType("foo", "foo", "") should work
PASS createDocumentType("foo", "", "foo") should work
PASS createDocumentType("foo", "f'oo", "") should work
<link rel=help href="https://dom.spec.whatwg.org/#dom-documenttype-publicid">
<link rel=help href="https://dom.spec.whatwg.org/#dom-documenttype-systemid">
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-ownerdocument">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
["(", "", "", "INVALID_CHARACTER_ERR"],
[")", "", "", "INVALID_CHARACTER_ERR"],
["f:oo", "", "", null],
- [":foo", "", "", "NAMESPACE_ERR"],
- ["foo:", "", "", "NAMESPACE_ERR"],
- ["prefix::local", "", "", "NAMESPACE_ERR"],
+ [":foo", "", "", "INVALID_CHARACTER_ERR"],
+ ["foo:", "", "", "INVALID_CHARACTER_ERR"],
+ ["prefix::local", "", "", "INVALID_CHARACTER_ERR"],
["foo", "foo", "", null],
["foo", "", "foo", null],
["foo", "f'oo", "", null],
<link rel=help href="https://dom.spec.whatwg.org/#dom-documenttype-publicid">
<link rel=help href="https://dom.spec.whatwg.org/#dom-documenttype-systemid">
<link rel=help href="https://dom.spec.whatwg.org/#dom-document-documentelement">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="DOMImplementation-createHTMLDocument.js"></script>
<div id="log"></div>
<script>
<meta charset=utf-8>
<title>DOMImplementation.hasFeature(feature, version)</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
<!doctype html>
<meta charset=utf-8>
<title>Document.URL with redirect</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<meta charset=utf-8>
<title>Document.adoptNode</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-document-adoptnode">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<!-- creates an element with local name "x<": --><x<>x</x<>
<script>
<link rel=author title="Aryeh Gregor" href=ayg@aryeh.name>
<meta name=timeout content=long>
<div id=log></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<style>iframe { display: none }</style>
<script>
"use strict";
from the parent document. -->
<title>Document constructor</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-document">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
<!DOCTYPE html>
<title>BMP document.contentType === 'image/bmp'</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>CSS document.contentType === 'text/css'</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>Data URI document.contentType === 'text/plain' when data URI MIME type is not set</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>Data URI document.contentType === 'text/html' when data URI MIME type is set</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>GIF document.contentType === 'image/gif'</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>HTM document.contentType === 'text/html'</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>Javascript URI document.contentType === 'text/html'</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>JPG document.contentType === 'image/jpeg'</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>Custom document.contentType === 'text/xml' when explicitly set to this value</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>Custom document.contentType === 'text/html' when explicitly set to this value and an attempt is made to override this value in an HTML meta header</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>PNG document.contentType === 'image/png'</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>TXT document.contentType === 'text/plain'</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>XML document.contentType === 'application/xml'</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!DOCTYPE html>
<title>document.implementation.createDocument: document.contentType === 'application/xhtml+xml'</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
test(function() {
<!DOCTYPE html>
<title>document.implementation.createHTMLDocument: document.contentType === 'text/html'</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
test(function() {
<!DOCTYPE html>
<title>XHR - retrieve HTML document: document.contentType === 'application/xml'</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../../../resources/testharness.js"></script>
+<script src="../../../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
<!doctype html>
<meta charset=utf-8>
<title>Document.createAttribute</title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<script src=attributes.js></script>
<script src=productions.js></script>
<div id=log>
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-childnodes">
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-firstchild">
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-lastchild">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="Document-createComment-createTextNode.js"></script>
<div id="log"></div>
<script>
/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/bare_xhtml.svg
/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/bare_xhtml.xhtml
/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/bare_xhtml.xml
+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.html
+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.svg
+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xhtml
+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xml
/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/generate.py
/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/mathml.html
/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/mathml.svg
<title>document.createElement() namespace tests</title>
<link rel=author title="Aryeh Gregor" href=ayg@aryeh.name>
<div id=log></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<script>
"use strict";
/**
<link rel=help href="https://dom.spec.whatwg.org/#dom-element-tagname">
<link rel=help href="https://dom.spec.whatwg.org/#dom-element-prefix">
<link rel=help href="https://dom.spec.whatwg.org/#dom-element-namespaceuri">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<iframe src="/common/dummy.xml"></iframe>
<iframe src="/common/dummy.xhtml"></iframe>
PASS createElementNS test in HTML document: null,".foo","INVALID_CHARACTER_ERR"
PASS createElementNS test in XML document: null,".foo","INVALID_CHARACTER_ERR"
PASS createElementNS test in XHTML document: null,".foo","INVALID_CHARACTER_ERR"
-PASS createElementNS test in HTML document: null,":foo","NAMESPACE_ERR"
-PASS createElementNS test in XML document: null,":foo","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: null,":foo","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: null,":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: null,":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: null,":foo","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: null,"f:oo","NAMESPACE_ERR"
PASS createElementNS test in XML document: null,"f:oo","NAMESPACE_ERR"
PASS createElementNS test in XHTML document: null,"f:oo","NAMESPACE_ERR"
-PASS createElementNS test in HTML document: null,"foo:","NAMESPACE_ERR"
-PASS createElementNS test in XML document: null,"foo:","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: null,"foo:","NAMESPACE_ERR"
-PASS createElementNS test in HTML document: null,"f:o:o","NAMESPACE_ERR"
-PASS createElementNS test in XML document: null,"f:o:o","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: null,"f:o:o","NAMESPACE_ERR"
-PASS createElementNS test in HTML document: null,":","NAMESPACE_ERR"
-PASS createElementNS test in XML document: null,":","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: null,":","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: null,"foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: null,"foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: null,"foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in HTML document: null,"f:o:o","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: null,"f:o:o","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: null,"f:o:o","INVALID_CHARACTER_ERR"
+PASS createElementNS test in HTML document: null,":","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: null,":","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: null,":","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: null,"xml",null
PASS createElementNS test in XML document: null,"xml",null
PASS createElementNS test in XHTML document: null,"xml",null
PASS createElementNS test in HTML document: "",null,null
PASS createElementNS test in XML document: "",null,null
PASS createElementNS test in XHTML document: "",null,null
-PASS createElementNS test in HTML document: "",":foo","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "",":foo","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "",":foo","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: "",":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "",":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "",":foo","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "","f:oo","NAMESPACE_ERR"
PASS createElementNS test in XML document: "","f:oo","NAMESPACE_ERR"
PASS createElementNS test in XHTML document: "","f:oo","NAMESPACE_ERR"
-PASS createElementNS test in HTML document: "","foo:","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "","foo:","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "","foo:","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: "","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "","foo:","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: undefined,null,null
PASS createElementNS test in XML document: undefined,null,null
PASS createElementNS test in XHTML document: undefined,null,null
PASS createElementNS test in HTML document: undefined,"foo1",null
PASS createElementNS test in XML document: undefined,"foo1",null
PASS createElementNS test in XHTML document: undefined,"foo1",null
-PASS createElementNS test in HTML document: undefined,":foo","NAMESPACE_ERR"
-PASS createElementNS test in XML document: undefined,":foo","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: undefined,":foo","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: undefined,":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: undefined,":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: undefined,":foo","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: undefined,"f:oo","NAMESPACE_ERR"
PASS createElementNS test in XML document: undefined,"f:oo","NAMESPACE_ERR"
PASS createElementNS test in XHTML document: undefined,"f:oo","NAMESPACE_ERR"
-PASS createElementNS test in HTML document: undefined,"foo:","NAMESPACE_ERR"
-PASS createElementNS test in XML document: undefined,"foo:","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: undefined,"foo:","NAMESPACE_ERR"
-PASS createElementNS test in HTML document: undefined,"f::oo","NAMESPACE_ERR"
-PASS createElementNS test in XML document: undefined,"f::oo","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: undefined,"f::oo","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: undefined,"foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: undefined,"foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: undefined,"foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in HTML document: undefined,"f::oo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: undefined,"f::oo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: undefined,"f::oo","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: undefined,"xml",null
PASS createElementNS test in XML document: undefined,"xml",null
PASS createElementNS test in XHTML document: undefined,"xml",null
PASS createElementNS test in HTML document: "http://example.com/","foo1",null
PASS createElementNS test in XML document: "http://example.com/","foo1",null
PASS createElementNS test in XHTML document: "http://example.com/","foo1",null
-PASS createElementNS test in HTML document: "http://example.com/",":foo","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "http://example.com/",":foo","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "http://example.com/",":foo","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: "http://example.com/",":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "http://example.com/",":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "http://example.com/",":foo","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "http://example.com/","f:oo",null
PASS createElementNS test in XML document: "http://example.com/","f:oo",null
PASS createElementNS test in XHTML document: "http://example.com/","f:oo",null
-PASS createElementNS test in HTML document: "http://example.com/","f:o:o","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "http://example.com/","f:o:o","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "http://example.com/","f:o:o","NAMESPACE_ERR"
-PASS createElementNS test in HTML document: "http://example.com/","foo:","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "http://example.com/","foo:","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "http://example.com/","foo:","NAMESPACE_ERR"
-PASS createElementNS test in HTML document: "http://example.com/","f::oo","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "http://example.com/","f::oo","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "http://example.com/","f::oo","NAMESPACE_ERR"
-FAIL createElementNS test in HTML document: "http://example.com/","a:0","NAMESPACE_ERR" assert_throws: function "function () { doc.createElementNS(namespace, qualifiedName) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14
-FAIL createElementNS test in XML document: "http://example.com/","a:0","NAMESPACE_ERR" assert_throws: function "function () { doc.createElementNS(namespace, qualifiedName) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14
-FAIL createElementNS test in XHTML document: "http://example.com/","a:0","NAMESPACE_ERR" assert_throws: function "function () { doc.createElementNS(namespace, qualifiedName) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14
+PASS createElementNS test in HTML document: "http://example.com/","f:o:o","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "http://example.com/","f:o:o","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "http://example.com/","f:o:o","INVALID_CHARACTER_ERR"
+PASS createElementNS test in HTML document: "http://example.com/","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "http://example.com/","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "http://example.com/","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in HTML document: "http://example.com/","f::oo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "http://example.com/","f::oo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "http://example.com/","f::oo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in HTML document: "http://example.com/","a:0","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "http://example.com/","a:0","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "http://example.com/","a:0","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "http://example.com/","0:a","INVALID_CHARACTER_ERR"
PASS createElementNS test in XML document: "http://example.com/","0:a","INVALID_CHARACTER_ERR"
PASS createElementNS test in XHTML document: "http://example.com/","0:a","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "http://example.com/","a:_",null
PASS createElementNS test in XML document: "http://example.com/","a:_",null
PASS createElementNS test in XHTML document: "http://example.com/","a:_",null
-FAIL createElementNS test in HTML document: "http://example.com/","a:ெ","NAMESPACE_ERR" assert_throws: function "function () { doc.createElementNS(namespace, qualifiedName) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14
-FAIL createElementNS test in XML document: "http://example.com/","a:ெ","NAMESPACE_ERR" assert_throws: function "function () { doc.createElementNS(namespace, qualifiedName) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14
-FAIL createElementNS test in XHTML document: "http://example.com/","a:ெ","NAMESPACE_ERR" assert_throws: function "function () { doc.createElementNS(namespace, qualifiedName) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14
+PASS createElementNS test in HTML document: "http://example.com/","a:ெ","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "http://example.com/","a:ெ","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "http://example.com/","a:ெ","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "http://example.com/","ெ:a","INVALID_CHARACTER_ERR"
PASS createElementNS test in XML document: "http://example.com/","ெ:a","INVALID_CHARACTER_ERR"
PASS createElementNS test in XHTML document: "http://example.com/","ெ:a","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "http://example.com/","xmlfoo:bar",null
PASS createElementNS test in XML document: "http://example.com/","xmlfoo:bar",null
PASS createElementNS test in XHTML document: "http://example.com/","xmlfoo:bar",null
-PASS createElementNS test in HTML document: "http://example.com/","prefix::local","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "http://example.com/","prefix::local","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "http://example.com/","prefix::local","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: "http://example.com/","prefix::local","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "http://example.com/","prefix::local","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "http://example.com/","prefix::local","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "http://example.com/","namespaceURI:{","INVALID_CHARACTER_ERR"
PASS createElementNS test in XML document: "http://example.com/","namespaceURI:{","INVALID_CHARACTER_ERR"
PASS createElementNS test in XHTML document: "http://example.com/","namespaceURI:{","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "/","foo1",null
PASS createElementNS test in XML document: "/","foo1",null
PASS createElementNS test in XHTML document: "/","foo1",null
-PASS createElementNS test in HTML document: "/",":foo","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "/",":foo","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "/",":foo","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: "/",":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "/",":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "/",":foo","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "/","f:oo",null
PASS createElementNS test in XML document: "/","f:oo",null
PASS createElementNS test in XHTML document: "/","f:oo",null
-PASS createElementNS test in HTML document: "/","foo:","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "/","foo:","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "/","foo:","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: "/","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "/","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "/","foo:","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "/","xml",null
PASS createElementNS test in XML document: "/","xml",null
PASS createElementNS test in XHTML document: "/","xml",null
PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","foo1",null
PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo1",null
PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","foo1",null
-PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace",":foo","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace",":foo","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace",":foo","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace",":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace",":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace",":foo","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","f:oo",null
PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","f:oo",null
PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","f:oo",null
-PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","foo:","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo:","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","foo:","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","foo:","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","xml",null
PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","xml",null
PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","xml",null
PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","foo1","NAMESPACE_ERR"
PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo1","NAMESPACE_ERR"
PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","foo1","NAMESPACE_ERR"
-PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/",":foo","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/",":foo","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/",":foo","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/",":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/",":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/",":foo","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","f:oo","NAMESPACE_ERR"
PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","f:oo","NAMESPACE_ERR"
PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","f:oo","NAMESPACE_ERR"
-PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","foo:","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo:","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","foo:","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","foo:","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","xml","NAMESPACE_ERR"
PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","xml","NAMESPACE_ERR"
PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","xml","NAMESPACE_ERR"
PASS createElementNS test in HTML document: "foo:","foo1",null
PASS createElementNS test in XML document: "foo:","foo1",null
PASS createElementNS test in XHTML document: "foo:","foo1",null
-PASS createElementNS test in HTML document: "foo:",":foo","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "foo:",":foo","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "foo:",":foo","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: "foo:",":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "foo:",":foo","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "foo:",":foo","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "foo:","f:oo",null
PASS createElementNS test in XML document: "foo:","f:oo",null
PASS createElementNS test in XHTML document: "foo:","f:oo",null
-PASS createElementNS test in HTML document: "foo:","foo:","NAMESPACE_ERR"
-PASS createElementNS test in XML document: "foo:","foo:","NAMESPACE_ERR"
-PASS createElementNS test in XHTML document: "foo:","foo:","NAMESPACE_ERR"
+PASS createElementNS test in HTML document: "foo:","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XML document: "foo:","foo:","INVALID_CHARACTER_ERR"
+PASS createElementNS test in XHTML document: "foo:","foo:","INVALID_CHARACTER_ERR"
PASS createElementNS test in HTML document: "foo:","xml",null
PASS createElementNS test in XML document: "foo:","xml",null
PASS createElementNS test in XHTML document: "foo:","xml",null
<meta charset=utf-8>
<title>Document.createElementNS</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-document-createelementns">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="Document-createElementNS.js"></script>
<div id="log"></div>
<iframe src="/common/dummy.xml"></iframe>
[null, "fo o", "INVALID_CHARACTER_ERR"],
[null, "-foo", "INVALID_CHARACTER_ERR"],
[null, ".foo", "INVALID_CHARACTER_ERR"],
- [null, ":foo", "NAMESPACE_ERR"],
+ [null, ":foo", "INVALID_CHARACTER_ERR"],
[null, "f:oo", "NAMESPACE_ERR"],
- [null, "foo:", "NAMESPACE_ERR"],
- [null, "f:o:o", "NAMESPACE_ERR"],
- [null, ":", "NAMESPACE_ERR"],
+ [null, "foo:", "INVALID_CHARACTER_ERR"],
+ [null, "f:o:o", "INVALID_CHARACTER_ERR"],
+ [null, ":", "INVALID_CHARACTER_ERR"],
[null, "xml", null],
[null, "xmlns", "NAMESPACE_ERR"],
[null, "xmlfoo", null],
[null, "xmlfoo:bar", "NAMESPACE_ERR"],
[null, "null:xml", "NAMESPACE_ERR"],
["", null, null],
- ["", ":foo", "NAMESPACE_ERR"],
+ ["", ":foo", "INVALID_CHARACTER_ERR"],
["", "f:oo", "NAMESPACE_ERR"],
- ["", "foo:", "NAMESPACE_ERR"],
+ ["", "foo:", "INVALID_CHARACTER_ERR"],
[undefined, null, null],
[undefined, undefined, null],
[undefined, "foo", null],
[undefined, "1foo", "INVALID_CHARACTER_ERR"],
[undefined, "f1oo", null],
[undefined, "foo1", null],
- [undefined, ":foo", "NAMESPACE_ERR"],
+ [undefined, ":foo", "INVALID_CHARACTER_ERR"],
[undefined, "f:oo", "NAMESPACE_ERR"],
- [undefined, "foo:", "NAMESPACE_ERR"],
- [undefined, "f::oo", "NAMESPACE_ERR"],
+ [undefined, "foo:", "INVALID_CHARACTER_ERR"],
+ [undefined, "f::oo", "INVALID_CHARACTER_ERR"],
[undefined, "xml", null],
[undefined, "xmlns", "NAMESPACE_ERR"],
[undefined, "xmlfoo", null],
["http://example.com/", ".foo", "INVALID_CHARACTER_ERR"],
["http://example.com/", "f1oo", null],
["http://example.com/", "foo1", null],
- ["http://example.com/", ":foo", "NAMESPACE_ERR"],
+ ["http://example.com/", ":foo", "INVALID_CHARACTER_ERR"],
["http://example.com/", "f:oo", null],
- ["http://example.com/", "f:o:o", "NAMESPACE_ERR"],
- ["http://example.com/", "foo:", "NAMESPACE_ERR"],
- ["http://example.com/", "f::oo", "NAMESPACE_ERR"],
- ["http://example.com/", "a:0", "NAMESPACE_ERR"],
+ ["http://example.com/", "f:o:o", "INVALID_CHARACTER_ERR"],
+ ["http://example.com/", "foo:", "INVALID_CHARACTER_ERR"],
+ ["http://example.com/", "f::oo", "INVALID_CHARACTER_ERR"],
+ ["http://example.com/", "a:0", "INVALID_CHARACTER_ERR"],
["http://example.com/", "0:a", "INVALID_CHARACTER_ERR"],
["http://example.com/", "a:_", null],
- ["http://example.com/", "a:\u0BC6", "NAMESPACE_ERR"],
+ ["http://example.com/", "a:\u0BC6", "INVALID_CHARACTER_ERR"],
["http://example.com/", "\u0BC6:a", "INVALID_CHARACTER_ERR"],
["http://example.com/", "a:a\u0BC6", null],
["http://example.com/", "a\u0BC6:a", null],
["http://example.com/", "xmlns:foo", "NAMESPACE_ERR"],
["http://example.com/", "XMLNS:foo", null],
["http://example.com/", "xmlfoo:bar", null],
- ["http://example.com/", "prefix::local", "NAMESPACE_ERR"],
+ ["http://example.com/", "prefix::local", "INVALID_CHARACTER_ERR"],
["http://example.com/", "namespaceURI:{", "INVALID_CHARACTER_ERR"],
["http://example.com/", "namespaceURI:}", "INVALID_CHARACTER_ERR"],
["http://example.com/", "namespaceURI:~", "INVALID_CHARACTER_ERR"],
["/", "1foo", "INVALID_CHARACTER_ERR"],
["/", "f1oo", null],
["/", "foo1", null],
- ["/", ":foo", "NAMESPACE_ERR"],
+ ["/", ":foo", "INVALID_CHARACTER_ERR"],
["/", "f:oo", null],
- ["/", "foo:", "NAMESPACE_ERR"],
+ ["/", "foo:", "INVALID_CHARACTER_ERR"],
["/", "xml", null],
["/", "xmlns", "NAMESPACE_ERR"],
["/", "xmlfoo", null],
["http://www.w3.org/XML/1998/namespace", "1foo", "INVALID_CHARACTER_ERR"],
["http://www.w3.org/XML/1998/namespace", "f1oo", null],
["http://www.w3.org/XML/1998/namespace", "foo1", null],
- ["http://www.w3.org/XML/1998/namespace", ":foo", "NAMESPACE_ERR"],
+ ["http://www.w3.org/XML/1998/namespace", ":foo", "INVALID_CHARACTER_ERR"],
["http://www.w3.org/XML/1998/namespace", "f:oo", null],
- ["http://www.w3.org/XML/1998/namespace", "foo:", "NAMESPACE_ERR"],
+ ["http://www.w3.org/XML/1998/namespace", "foo:", "INVALID_CHARACTER_ERR"],
["http://www.w3.org/XML/1998/namespace", "xml", null],
["http://www.w3.org/XML/1998/namespace", "xmlns", "NAMESPACE_ERR"],
["http://www.w3.org/XML/1998/namespace", "xmlfoo", null],
["http://www.w3.org/2000/xmlns/", "1foo", "INVALID_CHARACTER_ERR"],
["http://www.w3.org/2000/xmlns/", "f1oo", "NAMESPACE_ERR"],
["http://www.w3.org/2000/xmlns/", "foo1", "NAMESPACE_ERR"],
- ["http://www.w3.org/2000/xmlns/", ":foo", "NAMESPACE_ERR"],
+ ["http://www.w3.org/2000/xmlns/", ":foo", "INVALID_CHARACTER_ERR"],
["http://www.w3.org/2000/xmlns/", "f:oo", "NAMESPACE_ERR"],
- ["http://www.w3.org/2000/xmlns/", "foo:", "NAMESPACE_ERR"],
+ ["http://www.w3.org/2000/xmlns/", "foo:", "INVALID_CHARACTER_ERR"],
["http://www.w3.org/2000/xmlns/", "xml", "NAMESPACE_ERR"],
["http://www.w3.org/2000/xmlns/", "xmlns", null],
["http://www.w3.org/2000/xmlns/", "xmlfoo", "NAMESPACE_ERR"],
["foo:", "1foo", "INVALID_CHARACTER_ERR"],
["foo:", "f1oo", null],
["foo:", "foo1", null],
- ["foo:", ":foo", "NAMESPACE_ERR"],
+ ["foo:", ":foo", "INVALID_CHARACTER_ERR"],
["foo:", "f:oo", null],
- ["foo:", "foo:", "NAMESPACE_ERR"],
+ ["foo:", "foo:", "INVALID_CHARACTER_ERR"],
["foo:", "xml", null],
["foo:", "xmlns", "NAMESPACE_ERR"],
["foo:", "xmlfoo", null],
<meta charset=utf-8>
<title>Document.createEvent</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-document-createevent">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="Document-createEvent.js"></script>
<div id="log"></div>
<script>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-processinginstruction-target"/>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-characterdata-data"/>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-node-ownerdocument"/>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"/>
<link rel=help href="https://dom.spec.whatwg.org/#dom-processinginstruction-target">
<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-ownerdocument">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script src="Document-createProcessingInstruction.js"></script>
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-childnodes">
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-firstchild">
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-lastchild">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="Document-createComment-createTextNode.js"></script>
<div id="log"></div>
<script>
<!doctype html>
<meta charset=utf-8>
<title>Document.createTreeWalker</title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<div id=log></div>
<script>
test(function() {
<meta charset=utf-8>
<title>Document.doctype</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-document-doctype">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
<title>Document.getElementById</title>
<link rel="author" title="Tetsuharu OHZEKI" href="mailto:saneyuki.snyk@gmail.com">
<link rel=help href="https://dom.spec.whatwg.org/#dom-document-getelementbyid">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<body>
<div id="log"></div>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Document.getElementsByTagName</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"></div>
<meta charset=utf-8>
<title>Document.getElementsByTagName</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-document-getelementsbytagname">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="Document-Element-getElementsByTagName.js"></script>
<div id="log"></div>
<script>
<meta charset=utf-8>
<title>Document.getElementsByTagNameNS</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-document-getelementsbytagnamens">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="Document-Element-getElementsByTagNameNS.js"></script>
<div id="log"></div>
<script>
<meta charset=utf-8>
<title>Document.implementation</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-document-implementation">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
<meta charset=utf-8>
<title>Document.importNode</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-document-importnode">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
<link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-name"/>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-publicid"/>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-systemid"/>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"/>
<link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-name">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-publicid">
<link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-systemid">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
<meta charset=utf-8>
<title>DocumentType.remove</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-remove">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="ChildNode-remove.js"></script>
<div id=log></div>
<script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Null Test</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<h1>Test of firstElementChild and lastChildElement returning null</h1>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>Null test</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<h1>Test of firstElementChild and lastChildElement returning null</h1>
<div id="log"></div>
<p id="parentEl" style="font-weight:bold;">Test.</p>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Dynamic Adding of Elements</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<h1>Test of Dynamic Adding of Elements</h1>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>Dynamic Adding of Elements</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<h1>Test of Dynamic Adding of Elements</h1>
<div id="log"></div>
<p id="parentEl">The result of this test is
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Dynamic Removal of Elements</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<h1>Test of Removal Adding of Elements</h1>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>Dynamic Removal of Elements</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<h1>Test of Dynamic Removal of Elements</h1>
<div id="log"></div>
<p id="parentEl">The result of this test is
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>childElementCount without Child Element Nodes</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<h1>Test of childElementCount with No Child Element Nodes</h1>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>childElementCount without Child Element Nodes</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<h1>Test of childElementCount with No Child Element Nodes</h1>
<div id="log"></div>
<p id="parentEl" style="font-weight:bold;">Test.</p>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>childElementCount</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<h1>Test of childElementCount</h1>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>childElementCount</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<h1>Test of childElementCount</h1>
<div id="log"></div>
<p id="parentEl">The result of <span id="first_element_child"><span>this</span> <span>test</span></span> is
<!DOCTYPE html>
<title>HTMLCollection edge cases</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<div id="test"><img><img id=foo><img id=foo><img name="bar"></div>
<script>
<head class="test test">
<title class=" ">Element.classList in case-sensitive documents</title>
<link rel="help" href="https://dom.spec.whatwg.org/#concept-class">
- <script type="text/javascript" src="/resources/testharness.js"></script>
- <script type="text/javascript" src="/resources/testharnessreport.js"></script>
+ <script type="text/javascript" src="../../../../../resources/testharness.js"></script>
+ <script type="text/javascript" src="../../../../../resources/testharnessreport.js"></script>
<style type="text/css">
.foo { font-style: italic; }
</style>
<!DOCTYPE HTML>
<meta charset=utf8>
<title>Test for Element.closest</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<body id="body">
<div id="test8" class="div3" style="display:none">
<div id="test7" class="div2">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Entity References</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<h1>Test of Entity References</h1>
xmlns:pickle="http://ns.example.org/pickle">
<head>
<title>firstElementChild with namespaces</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<h1>Test of firstElementChild with namespaces</h1>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>firstElementChild with namespaces</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<h1>Test of firstElementChild with namespaces</h1>
<div id="log"></div>
<p id="parentEl">The result of this test is a unknown.</p>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>firstElementChild</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<h1>Test of firstElementChild</h1>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>firstElementChild</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<h1>Test of firstElementChild</h1>
<div id="log"></div>
<p id="parentEl">The result of this test is
<!DOCTYPE html>
<title>Element.getElementsByClassName</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
<!doctype html>
<meta charset=utf-8>
<title></title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<iframe src="Element-getElementsByTagName-change-document-HTMLNess-iframe.xml"></iframe>
<script>
onload = function() {
<meta charset=utf-8>
<title>Element.getElementsByTagName</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-element-getelementsbytagname">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="Document-Element-getElementsByTagName.js"></script>
<div id="log"></div>
<script>
<meta charset=utf-8>
<title>Element.getElementsByTagNameNS</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-element-getelementsbytagnamens">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="Document-Element-getElementsByTagNameNS.js"></script>
<div id="log"></div>
<script>
<!doctype html>
<meta charset="utf-8">
<title></title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<body>
<button></button>
<!doctype html>
<meta charset=utf-8>
<title></title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<div id="target"></div>
<div id="parent"><span id=target2></span></div>
<!doctype html>
<meta charset=utf-8>
<title></title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<body style="visibility:hidden">
<div id="target"></div>
<div id="parent"><span id=target2></span></div>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>firstElementChild</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<h1>Test of firstElementChild</h1>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>lastElementChild</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<h1>Test of lastElementChild</h1>
<div id="log"></div>
<p id="parentEl">The result of <span id="first_element_child">this test</span> is <span id="last_element_child" style="font-weight:bold;">logged</span> above.</p>
<meta charset="UTF-8">
<title>Selectors-API Level 2 Test Suite: HTML with Selectors Level 3</title>
<!-- Selectors API Test Suite Version 3 -->
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="/dom/nodes/selectors.js"></script>
<script src="/dom/nodes/ParentNode-querySelector-All.js"></script>
<script src="Element-matches.js"></script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>nextElementSibling</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<h1>Test of nextElementSibling</h1>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>nextElementSibling</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<h1>Test of nextElementSibling</h1>
<div id="log"></div>
<p id="parentEl">The result of <span id="first_element_child">this test</span> is <span id="last_element_child" style="font-weight:bold;">unknown.</span></p>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>previousElementSibling</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<h1>Test of previousElementSibling</h1>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>previousElementSibling</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<h1>Test of previousElementSibling</h1>
<div id="log"></div>
<p id="parentEl">The result of <span id="first_element_child">this test</span> is
<meta charset=utf-8>
<title>Element.remove</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-remove">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="ChildNode-remove.js"></script>
<div id=log></div>
<script>
<!DOCTYPE html>
<title>Element.removeAttributeNS</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="attributes.js"></script>
<div id="log"></div>
<script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Null Test</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<h1>Test of previousElementSibling and nextElementSibling returning null</h1>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>Null test</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<h1>Test of previousElementSibling and nextElementSibling returning null</h1>
<div id="log"></div>
<p id="parentEl">The result of this test is <span id="first_element_child" style="font-weight:bold;">unknown.</span></p>
<!DOCTYPE html>
<title>Element.tagName</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
<meta charset="UTF-8">
<title>Selectors-API Level 2 Test Suite: HTML with Selectors Level 3</title>
<!-- Selectors API Test Suite Version 3 -->
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="/dom/nodes/selectors.js"></script>
<script src="/dom/nodes/ParentNode-querySelector-All.js"></script>
<script src="Element-matches.js"></script>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>MutationObservers: attributes mutations</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="mutationobservers.js"></script>
<h1>MutationObservers: attributes mutations</h1>
<div id="log"></div>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>MutationObservers: characterData mutations</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="mutationobservers.js"></script>
<h1>MutationObservers: characterData mutations</h1>
<div id="log"></div>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>MutationObservers: childList mutations</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="mutationobservers.js"></script>
<h1>MutationObservers: childList mutations</h1>
<div id="log"></div>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>MutationObservers: disconnect</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<h1>MutationObservers: disconnect</h1>
<div id="log"></div>
<section style="display: none">
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>MutationObservers: takeRecords</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="mutationobservers.js"></script>
<h1>MutationObservers: document mutations</h1>
<div id="log"></div>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>MutationObservers: innerHTML, outerHTML mutations</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="mutationobservers.js"></script>
<h1>MutationObservers: innerHTML, outerHTML mutations</h1>
<div id="log"></div>
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>MutationObservers: takeRecords</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="mutationobservers.js"></script>
<h1>MutationObservers: takeRecords</h1>
<div id="log"></div>
<meta charset=utf-8>
<title>Node.appendChild</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-appendchild">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<iframe src=about:blank></iframe>
<script>
<!DOCTYPE html>
<title>Node.baseURI</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-childnodes">
<link rel=author title="Tim Taubert" href="mailto:ttaubert@mozilla.com">
<link rel=author title="Ms2ger" href="mailto:Ms2ger@gmail.com">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
<meta charset=utf-8>
<title>Node.cloneNode</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-clonenode">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id=log></div>
<script>
function assert_equal_node(nodeA, nodeB) {
<title>Node.compareDocumentPosition() tests</title>
<link rel=author title="Aryeh Gregor" href=ayg@aryeh.name>
<div id=log></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<script src=../common.js></script>
<script>
"use strict";
<!doctype html>
<title>Node constants</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<script src="../constants.js"></script>
<div id="log"></div>
<script>
<title>Node.nodeName</title>
<link rel="author" title="Olli Pettay" href="mailto:Olli@Pettay.fi"/>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"/>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"/>
<title>Node.contains() tests</title>
<link rel=author title="Aryeh Gregor" href=ayg@aryeh.name>
<div id=log></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
+<script src=../../../../../resources/testharness.js></script>
+<script src=../../../../../resources/testharnessreport.js></script>
<script src=../common.js></script>
<script>
"use strict";
<!DOCTYPE html>
<title>Node.insertBefore</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
function testLeafNode(nodeName, createNodeFunction) {
<head>
<title>Node.prototype.isConnected</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-node-isconnected">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
</head>
<body>
<script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Node.isEqualNode</title>
-<script src="/resources/testharness.js"></script>