Changeset 215701 in webkit


Ignore:
Timestamp:
Apr 24, 2017 4:43:24 PM (7 years ago)
Author:
Chris Dumez
Message:

createElementNS() should now throw only InvalidCharacterError, not NamespaceError
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:

Latest spec:

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:
Location:
trunk
Files:
296 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r215700 r215701  
     12017-04-24  Chris Dumez  <cdumez@apple.com>
     2
     3        createElementNS() should now throw only InvalidCharacterError, not NamespaceError
     4        https://bugs.webkit.org/show_bug.cgi?id=171052
     5
     6        Reviewed by Sam Weinig.
     7
     8        Updated / rebaselined existing tests to reflect behavior change.
     9
     10        * fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt:
     11        * fast/dom/DOMImplementation/createDocumentType-err-expected.txt:
     12        * fast/dom/DOMImplementation/script-tests/createDocument-namespace-err.js:
     13        * fast/dom/DOMImplementation/script-tests/createDocumentType-err.js:
     14        * fast/dom/Document/createAttributeNS-namespace-err-expected.txt:
     15        * fast/dom/Document/createElementNS-namespace-err-expected.txt:
     16        * fast/dom/Document/script-tests/createAttributeNS-namespace-err.js:
     17        * fast/dom/Document/script-tests/createElementNS-namespace-err.js:
     18        * fast/dom/Element/script-tests/setAttributeNS-namespace-err.js:
     19        * fast/dom/Element/setAttributeNS-namespace-err-expected.txt:
     20
    1212017-04-24  Chris Dumez  <cdumez@apple.com>
    222
  • trunk/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt

    r203517 r215701  
    2424PASS createDocument("http://example.com/", "-div", null); threw INVALID_CHARACTER_ERR
    2525PASS createDocument("http://example.com/", ".div", null); threw INVALID_CHARACTER_ERR
    26 PASS createDocument(null, ":div", null); threw NAMESPACE_ERR
    27 PASS createDocument(null, "div:", null); threw NAMESPACE_ERR
    28 PASS createDocument("http://example.com/", ":div", null); threw NAMESPACE_ERR
    29 PASS createDocument("http://example.com/", "div:", null); threw NAMESPACE_ERR
     26PASS createDocument(null, ":div", null); threw INVALID_CHARACTER_ERR
     27PASS createDocument(null, "div:", null); threw INVALID_CHARACTER_ERR
     28PASS createDocument("http://example.com/", ":div", null); threw INVALID_CHARACTER_ERR
     29PASS createDocument("http://example.com/", "div:", null); threw INVALID_CHARACTER_ERR
    3030PASS createDocument(null, "d:iv", null); threw NAMESPACE_ERR
    31 PASS createDocument(null, "a:b:c", null); valid XML name, invalid QName; threw NAMESPACE_ERR
    32 PASS createDocument("http://example.com/", "a:b:c", null); valid XML name, invalid QName; threw NAMESPACE_ERR
    33 PASS createDocument(null, "a::c", null); valid XML name, invalid QName; threw NAMESPACE_ERR
    34 PASS createDocument("http://example.com/", "a::c", null); valid XML name, invalid QName; threw NAMESPACE_ERR
     31PASS createDocument(null, "a:b:c", null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
     32PASS createDocument("http://example.com/", "a:b:c", null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
     33PASS createDocument(null, "a::c", null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
     34PASS createDocument("http://example.com/", "a::c", null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
    3535PASS createDocument("http://example.com/", "a:0", null); valid XML name, not a valid QName; threw INVALID_CHARACTER_ERR
    3636PASS createDocument("http://example.com/", "0:a", null); 0 at start makes it not a valid XML name; threw INVALID_CHARACTER_ERR
    3737PASS createDocument("http://example.com/", "a:_", null)
    38 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
     38PASS 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
    3939PASS 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
    4040PASS createDocument("http://example.com/", "a:aெ", null)
  • trunk/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err-expected.txt

    r203701 r215701  
    1515PASS exceptionThrown.name is "TypeError"
    1616PASS exceptionThrown.name is "TypeError"
    17 PASS createDocumentType("a:", null, null); threw NAMESPACE_ERR
    18 PASS createDocumentType(":foo", null, null); threw NAMESPACE_ERR
    19 PASS createDocumentType(":", null, null); threw NAMESPACE_ERR
     17PASS createDocumentType("a:", null, null); threw INVALID_CHARACTER_ERR
     18PASS createDocumentType(":foo", null, null); threw INVALID_CHARACTER_ERR
     19PASS createDocumentType(":", null, null); threw INVALID_CHARACTER_ERR
    2020PASS createDocumentType("foo", null, null)
    2121PASS createDocumentType("foo:bar", null, null)
    22 PASS createDocumentType("foo::bar", null, null); threw NAMESPACE_ERR
     22PASS createDocumentType("foo::bar", null, null); threw INVALID_CHARACTER_ERR
    2323PASS createDocumentType("       :bar", null, null); threw INVALID_CHARACTER_ERR
    2424PASS createDocumentType("foo:   ", null, null); threw INVALID_CHARACTER_ERR
    2525PASS createDocumentType("foo :bar", null, null); threw INVALID_CHARACTER_ERR
    2626PASS createDocumentType("foo: bar", null, null); threw INVALID_CHARACTER_ERR
    27 PASS createDocumentType("a:b:c", null, null); valid XML name, invalid QName; threw NAMESPACE_ERR
     27PASS createDocumentType("a:b:c", null, null); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
    2828PASS successfullyParsed is true
    2929
  • trunk/LayoutTests/fast/dom/DOMImplementation/script-tests/createDocument-namespace-err.js

    r203517 r215701  
    6060   { args: ["http://example.com/", "-div"], code: 5 },
    6161   { args: ["http://example.com/", ".div"], code: 5 },
    62    { args: [null, ":div"], code: 14 },
    63    { args: [null, "div:"], code: 14 },
    64    { args: ["http://example.com/", ":div"], code: 14 },
    65    { args: ["http://example.com/", "div:"], code: 14 },
     62   { args: [null, ":div"], code: 5 },
     63   { args: [null, "div:"], code: 5 },
     64   { args: ["http://example.com/", ":div"], code: 5 },
     65   { args: ["http://example.com/", "div:"], code: 5 },
    6666   { args: [null, "d:iv"], code: 14 },
    67    { args: [null, "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
    68    { args: ["http://example.com/", "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
    69    { args: [null, "a::c"], code: 14, message: "valid XML name, invalid QName" },
    70    { args: ["http://example.com/", "a::c"], code: 14, message: "valid XML name, invalid QName" },
     67   { args: [null, "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
     68   { args: ["http://example.com/", "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
     69   { args: [null, "a::c"], code: 5, message: "valid XML name, invalid QName" },
     70   { args: ["http://example.com/", "a::c"], code: 5, message: "valid XML name, invalid QName" },
    7171   { args: ["http://example.com/", "a:0"], code: 5, message: "valid XML name, not a valid QName" },
    7272   { args: ["http://example.com/", "0:a"], code: 5, message: "0 at start makes it not a valid XML name" },
    7373   { args: ["http://example.com/", "a:_"] },
    74    { args: ["http://example.com/", "a:\u0BC6"], code: 14,
     74   { args: ["http://example.com/", "a:\u0BC6"], code: 5,
    7575     message: "non-ASCII character after colon is CombiningChar, which is " +
    7676              "NCNameChar but not (Letter | \"_\") so invalid at start of " +
  • trunk/LayoutTests/fast/dom/DOMImplementation/script-tests/createDocumentType-err.js

    r203701 r215701  
    3737   { args: ["", null], name: "TypeError" },
    3838   { args: ["", ""], name: "TypeError" },
    39    { args: ["a:", null, null], code: 14 },
    40    { args: [":foo", null, null], code: 14 },
    41    { args: [":", null, null], code: 14 },
     39   { args: ["a:", null, null], code: 5 },
     40   { args: [":foo", null, null], code: 5 },
     41   { args: [":", null, null], code: 5 },
    4242   { args: ["foo", null, null] },
    4343   { args: ["foo:bar", null, null] },
    44    { args: ["foo::bar", null, null], code: 14 },
     44   { args: ["foo::bar", null, null], code: 5 },
    4545   { args: ["\t:bar", null, null], code: 5 },
    4646   { args: ["foo:\t", null, null], code: 5 },
    4747   { args: ["foo :bar", null, null], code: 5 },
    4848   { args: ["foo: bar", null, null], code: 5 },
    49    { args: ["a:b:c", null, null], code: 14, message: "valid XML name, invalid QName" },
     49   { args: ["a:b:c", null, null], code: 5, message: "valid XML name, invalid QName" },
    5050];
    5151
  • trunk/LayoutTests/fast/dom/Document/createAttributeNS-namespace-err-expected.txt

    r203441 r215701  
    2424PASS createAttributeNS("http://example.com/", "-div"); threw INVALID_CHARACTER_ERR
    2525PASS createAttributeNS("http://example.com/", ".div"); threw INVALID_CHARACTER_ERR
    26 PASS createAttributeNS(null, ":div"); threw NAMESPACE_ERR
    27 PASS createAttributeNS(null, "div:"); threw NAMESPACE_ERR
    28 PASS createAttributeNS("http://example.com/", ":div"); threw NAMESPACE_ERR
    29 PASS createAttributeNS("http://example.com/", "div:"); threw NAMESPACE_ERR
     26PASS createAttributeNS(null, ":div"); threw INVALID_CHARACTER_ERR
     27PASS createAttributeNS(null, "div:"); threw INVALID_CHARACTER_ERR
     28PASS createAttributeNS("http://example.com/", ":div"); threw INVALID_CHARACTER_ERR
     29PASS createAttributeNS("http://example.com/", "div:"); threw INVALID_CHARACTER_ERR
    3030PASS createAttributeNS(null, "d:iv"); threw NAMESPACE_ERR
    31 PASS createAttributeNS(null, "a:b:c"); valid XML name, invalid QName; threw NAMESPACE_ERR
    32 PASS createAttributeNS("http://example.com/", "a:b:c"); valid XML name, invalid QName; threw NAMESPACE_ERR
    33 PASS createAttributeNS(null, "a::c"); valid XML name, invalid QName; threw NAMESPACE_ERR
    34 PASS createAttributeNS("http://example.com/", "a::c"); valid XML name, invalid QName; threw NAMESPACE_ERR
     31PASS createAttributeNS(null, "a:b:c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
     32PASS createAttributeNS("http://example.com/", "a:b:c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
     33PASS createAttributeNS(null, "a::c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
     34PASS createAttributeNS("http://example.com/", "a::c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
    3535PASS createAttributeNS("http://example.com/", "a:0"); valid XML name, not a valid QName; threw INVALID_CHARACTER_ERR
    3636PASS createAttributeNS("http://example.com/", "0:a"); 0 at start makes it not a valid XML name; threw INVALID_CHARACTER_ERR
  • trunk/LayoutTests/fast/dom/Document/createElementNS-namespace-err-expected.txt

    r203441 r215701  
    2525PASS createElementNS("http://example.com/", "-div"); threw INVALID_CHARACTER_ERR
    2626PASS createElementNS("http://example.com/", ".div"); threw INVALID_CHARACTER_ERR
    27 PASS createElementNS(null, ":div"); threw NAMESPACE_ERR
    28 PASS createElementNS(null, "div:"); threw NAMESPACE_ERR
    29 PASS createElementNS("http://example.com/", ":div"); threw NAMESPACE_ERR
    30 PASS createElementNS("http://example.com/", "div:"); threw NAMESPACE_ERR
     27PASS createElementNS(null, ":div"); threw INVALID_CHARACTER_ERR
     28PASS createElementNS(null, "div:"); threw INVALID_CHARACTER_ERR
     29PASS createElementNS("http://example.com/", ":div"); threw INVALID_CHARACTER_ERR
     30PASS createElementNS("http://example.com/", "div:"); threw INVALID_CHARACTER_ERR
    3131PASS createElementNS(null, "d:iv"); threw NAMESPACE_ERR
    32 PASS createElementNS(null, "a:b:c"); valid XML name, invalid QName; threw NAMESPACE_ERR
    33 PASS createElementNS("http://example.com/", "a:b:c"); valid XML name, invalid QName; threw NAMESPACE_ERR
    34 PASS createElementNS(null, "a::c"); valid XML name, invalid QName; threw NAMESPACE_ERR
    35 PASS createElementNS("http://example.com/", "a::c"); valid XML name, invalid QName; threw NAMESPACE_ERR
     32PASS createElementNS(null, "a:b:c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
     33PASS createElementNS("http://example.com/", "a:b:c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
     34PASS createElementNS(null, "a::c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
     35PASS createElementNS("http://example.com/", "a::c"); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
    3636PASS createElementNS("http://example.com/", "a:0"); valid XML name, not a valid QName; threw INVALID_CHARACTER_ERR
    3737PASS createElementNS("http://example.com/", "0:a"); 0 at start makes it not a valid XML name; threw INVALID_CHARACTER_ERR
  • trunk/LayoutTests/fast/dom/Document/script-tests/createAttributeNS-namespace-err.js

    r203441 r215701  
    5454   { args: ["http://example.com/", "-div"], code: 5 },
    5555   { args: ["http://example.com/", ".div"], code: 5 },
    56    { args: [null, ":div"], code: 14 },
    57    { args: [null, "div:"], code: 14 },
    58    { args: ["http://example.com/", ":div"], code: 14 },
    59    { args: ["http://example.com/", "div:"], code: 14 },
     56   { args: [null, ":div"], code: 5 },
     57   { args: [null, "div:"], code: 5 },
     58   { args: ["http://example.com/", ":div"], code: 5 },
     59   { args: ["http://example.com/", "div:"], code: 5 },
    6060   { args: [null, "d:iv"], code: 14 },
    61    { args: [null, "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
    62    { args: ["http://example.com/", "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
    63    { args: [null, "a::c"], code: 14, message: "valid XML name, invalid QName" },
    64    { args: ["http://example.com/", "a::c"], code: 14, message: "valid XML name, invalid QName" },
     61   { args: [null, "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
     62   { args: ["http://example.com/", "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
     63   { args: [null, "a::c"], code: 5, message: "valid XML name, invalid QName" },
     64   { args: ["http://example.com/", "a::c"], code: 5, message: "valid XML name, invalid QName" },
    6565   { args: ["http://example.com/", "a:0"], code: 5, message: "valid XML name, not a valid QName" },
    6666   { args: ["http://example.com/", "0:a"], code: 5, message: "0 at start makes it not a valid XML name" },
  • trunk/LayoutTests/fast/dom/Document/script-tests/createElementNS-namespace-err.js

    r203441 r215701  
    5454   { args: ["http://example.com/", "-div"], code: 5 },
    5555   { args: ["http://example.com/", ".div"], code: 5 },
    56    { args: [null, ":div"], code: 14 },
    57    { args: [null, "div:"], code: 14 },
    58    { args: ["http://example.com/", ":div"], code: 14 },
    59    { args: ["http://example.com/", "div:"], code: 14 },
     56   { args: [null, ":div"], code: 5 },
     57   { args: [null, "div:"], code: 5 },
     58   { args: ["http://example.com/", ":div"], code: 5 },
     59   { args: ["http://example.com/", "div:"], code: 5 },
    6060   { args: [null, "d:iv"], code: 14 },
    61    { args: [null, "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
    62    { args: ["http://example.com/", "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
    63    { args: [null, "a::c"], code: 14, message: "valid XML name, invalid QName" },
    64    { args: ["http://example.com/", "a::c"], code: 14, message: "valid XML name, invalid QName" },
     61   { args: [null, "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
     62   { args: ["http://example.com/", "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
     63   { args: [null, "a::c"], code: 5, message: "valid XML name, invalid QName" },
     64   { args: ["http://example.com/", "a::c"], code: 5, message: "valid XML name, invalid QName" },
    6565   { args: ["http://example.com/", "a:0"], code: 5, message: "valid XML name, not a valid QName" },
    6666   { args: ["http://example.com/", "0:a"], code: 5, message: "0 at start makes it not a valid XML name" },
  • trunk/LayoutTests/fast/dom/Element/script-tests/setAttributeNS-namespace-err.js

    r203546 r215701  
    5454   { args: ["http://example.com/", "-div"], code: 5 },
    5555   { args: ["http://example.com/", ".div"], code: 5 },
    56    { args: [null, ":div"], code: 14 },
    57    { args: [null, "div:"], code: 14 },
    58    { args: ["http://example.com/", ":div"], code: 14 },
    59    { args: ["http://example.com/", "div:"], code: 14 },
     56   { args: [null, ":div"], code: 5 },
     57   { args: [null, "div:"], code: 5 },
     58   { args: ["http://example.com/", ":div"], code: 5 },
     59   { args: ["http://example.com/", "div:"], code: 5 },
    6060   { args: [null, "d:iv"], code: 14 },
    61    { args: [null, "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
    62    { args: ["http://example.com/", "a:b:c"], code: 14, message: "valid XML name, invalid QName" },
    63    { args: [null, "a::c"], code: 14, message: "valid XML name, invalid QName" },
    64    { args: ["http://example.com/", "a::c"], code: 14, message: "valid XML name, invalid QName" },
     61   { args: [null, "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
     62   { args: ["http://example.com/", "a:b:c"], code: 5, message: "valid XML name, invalid QName" },
     63   { args: [null, "a::c"], code: 5, message: "valid XML name, invalid QName" },
     64   { args: ["http://example.com/", "a::c"], code: 5, message: "valid XML name, invalid QName" },
    6565   { args: ["http://example.com/", "a:0"], code: 5, message: "valid XML name, not a valid QName" },
    6666   { args: ["http://example.com/", "0:a"], code: 5, message: "0 at start makes it not a valid XML name" },
  • trunk/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err-expected.txt

    r203546 r215701  
    2525PASS element.setAttributeNS("http://example.com/", "-div", 'value'); threw INVALID_CHARACTER_ERR
    2626PASS element.setAttributeNS("http://example.com/", ".div", 'value'); threw INVALID_CHARACTER_ERR
    27 PASS element.setAttributeNS(null, ":div", 'value'); threw NAMESPACE_ERR
    28 PASS element.setAttributeNS(null, "div:", 'value'); threw NAMESPACE_ERR
    29 PASS element.setAttributeNS("http://example.com/", ":div", 'value'); threw NAMESPACE_ERR
    30 PASS element.setAttributeNS("http://example.com/", "div:", 'value'); threw NAMESPACE_ERR
     27PASS element.setAttributeNS(null, ":div", 'value'); threw INVALID_CHARACTER_ERR
     28PASS element.setAttributeNS(null, "div:", 'value'); threw INVALID_CHARACTER_ERR
     29PASS element.setAttributeNS("http://example.com/", ":div", 'value'); threw INVALID_CHARACTER_ERR
     30PASS element.setAttributeNS("http://example.com/", "div:", 'value'); threw INVALID_CHARACTER_ERR
    3131PASS element.setAttributeNS(null, "d:iv", 'value'); threw NAMESPACE_ERR
    32 PASS element.setAttributeNS(null, "a:b:c", 'value'); valid XML name, invalid QName; threw NAMESPACE_ERR
    33 PASS element.setAttributeNS("http://example.com/", "a:b:c", 'value'); valid XML name, invalid QName; threw NAMESPACE_ERR
    34 PASS element.setAttributeNS(null, "a::c", 'value'); valid XML name, invalid QName; threw NAMESPACE_ERR
    35 PASS element.setAttributeNS("http://example.com/", "a::c", 'value'); valid XML name, invalid QName; threw NAMESPACE_ERR
     32PASS element.setAttributeNS(null, "a:b:c", 'value'); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
     33PASS element.setAttributeNS("http://example.com/", "a:b:c", 'value'); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
     34PASS element.setAttributeNS(null, "a::c", 'value'); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
     35PASS element.setAttributeNS("http://example.com/", "a::c", 'value'); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
    3636PASS element.setAttributeNS("http://example.com/", "a:0", 'value'); valid XML name, not a valid QName; threw INVALID_CHARACTER_ERR
    3737PASS element.setAttributeNS("http://example.com/", "0:a", 'value'); 0 at start makes it not a valid XML name; threw INVALID_CHARACTER_ERR
  • trunk/LayoutTests/http/tests/misc/acid3.html

    r136393 r215701  
    34523452          if (retry > 0) {
    34533453            errors += 1;
    3454             log += "Test " + zeroPaddedIndex + " passed, but took " + retry + " attempts (less than perfect).\n";
     3454            // Commented out as this would make the layout test flaky.
     3455            // log += "Test " + zeroPaddedIndex + " passed, but took " + retry + " attempts (less than perfect).\n";
    34553456          } else if (elapsedTest > 33) { // 30fps
    34563457            errors += 1;
    3457             log += "Test " + zeroPaddedIndex + " passed, but took " + elapsedTest + "ms (less than 30fps)\n";
     3458            // Commented out as this would make the layout test flaky.
     3459            // log += "Test " + zeroPaddedIndex + " passed, but took " + elapsedTest + "ms (less than 30fps)\n";
    34583460          }
    34593461        } else {
     
    34763478      var endTime = new Date();
    34773479      var elapsedTime = ((endTime - startTime) - (delay * tests.length)) / 1000;
    3478       log += "Total elapsed time: " + elapsedTime.toFixed(2) + "s";
     3480      // Commented out as this would make the layout test flaky.
     3481      // log += "Total elapsed time: " + elapsedTime.toFixed(2) + "s";
    34793482      if (errors == 0)
    34803483        log += "\nNo JS errors and no timing issues.\nWas the rendering pixel-for-pixel perfect too?";
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r215648 r215701  
     12017-04-24  Chris Dumez  <cdumez@apple.com>
     2
     3        createElementNS() should now throw only InvalidCharacterError, not NamespaceError
     4        https://bugs.webkit.org/show_bug.cgi?id=171052
     5
     6        Reviewed by Sam Weinig.
     7
     8        Re-sync web-platform-tests/dom from upstream to gain test coverage.
     9
     10        * web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html:
     11        * web-platform-tests/dom/collections/HTMLCollection-empty-name.html:
     12        * web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html:
     13        * web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html:
     14        * web-platform-tests/dom/collections/domstringmap-supported-property-names.html:
     15        * web-platform-tests/dom/collections/namednodemap-supported-property-names.html:
     16        * web-platform-tests/dom/events/AddEventListenerOptions-once.html:
     17        * web-platform-tests/dom/events/AddEventListenerOptions-passive.html:
     18        * web-platform-tests/dom/events/CustomEvent.html:
     19        * web-platform-tests/dom/events/Event-cancelBubble.html:
     20        * web-platform-tests/dom/events/Event-constants.html:
     21        * web-platform-tests/dom/events/Event-constructors.html:
     22        * web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html:
     23        * web-platform-tests/dom/events/Event-defaultPrevented.html:
     24        * web-platform-tests/dom/events/Event-dispatch-bubble-canceled.html:
     25        * web-platform-tests/dom/events/Event-dispatch-bubbles-false.html:
     26        * web-platform-tests/dom/events/Event-dispatch-bubbles-true.html:
     27        * web-platform-tests/dom/events/Event-dispatch-click.html:
     28        * web-platform-tests/dom/events/Event-dispatch-detached-click.html:
     29        * web-platform-tests/dom/events/Event-dispatch-handlers-changed.html:
     30        * web-platform-tests/dom/events/Event-dispatch-multiple-cancelBubble.html:
     31        * web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html:
     32        * web-platform-tests/dom/events/Event-dispatch-omitted-capture.html:
     33        * web-platform-tests/dom/events/Event-dispatch-order.html:
     34        * web-platform-tests/dom/events/Event-dispatch-other-document.html:
     35        * web-platform-tests/dom/events/Event-dispatch-propagation-stopped.html:
     36        * web-platform-tests/dom/events/Event-dispatch-redispatch.html:
     37        * web-platform-tests/dom/events/Event-dispatch-reenter.html:
     38        * web-platform-tests/dom/events/Event-dispatch-target-moved.html:
     39        * web-platform-tests/dom/events/Event-dispatch-target-removed.html:
     40        * web-platform-tests/dom/events/Event-dispatch-throwing.html:
     41        * web-platform-tests/dom/events/Event-init-while-dispatching.html:
     42        * web-platform-tests/dom/events/Event-initEvent.html:
     43        * web-platform-tests/dom/events/Event-propagation.html:
     44        * web-platform-tests/dom/events/Event-subclasses-constructors.html:
     45        * web-platform-tests/dom/events/Event-type-empty.html:
     46        * web-platform-tests/dom/events/Event-type.html:
     47        * web-platform-tests/dom/events/EventListener-handleEvent.html:
     48        * web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html:
     49        * web-platform-tests/dom/events/EventListener-incumbent-global-2.sub.html:
     50        * web-platform-tests/dom/events/EventListener-invoke-legacy.html:
     51        * web-platform-tests/dom/events/EventListenerOptions-capture.html:
     52        * web-platform-tests/dom/events/EventTarget-addEventListener.html:
     53        * web-platform-tests/dom/events/EventTarget-dispatchEvent-returnvalue.html:
     54        * web-platform-tests/dom/events/EventTarget-dispatchEvent.html:
     55        * web-platform-tests/dom/events/EventTarget-removeEventListener.html:
     56        * web-platform-tests/dom/historical.html:
     57        * web-platform-tests/dom/interface-objects.html:
     58        * web-platform-tests/dom/interfaces.html:
     59        * web-platform-tests/dom/lists/DOMTokenList-Iterable.html:
     60        * web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html:
     61        * web-platform-tests/dom/lists/DOMTokenList-iteration.html:
     62        * web-platform-tests/dom/lists/DOMTokenList-stringifier.html:
     63        * web-platform-tests/dom/lists/DOMTokenList-value.html:
     64        * web-platform-tests/dom/nodes/CharacterData-appendChild.html:
     65        * web-platform-tests/dom/nodes/CharacterData-appendData.html:
     66        * web-platform-tests/dom/nodes/CharacterData-data.html:
     67        * web-platform-tests/dom/nodes/CharacterData-deleteData.html:
     68        * web-platform-tests/dom/nodes/CharacterData-insertData.html:
     69        * web-platform-tests/dom/nodes/CharacterData-remove.html:
     70        * web-platform-tests/dom/nodes/CharacterData-replaceData.html:
     71        * web-platform-tests/dom/nodes/CharacterData-substringData.html:
     72        * web-platform-tests/dom/nodes/CharacterData-surrogates.html:
     73        * web-platform-tests/dom/nodes/ChildNode-after.html:
     74        * web-platform-tests/dom/nodes/ChildNode-before.html:
     75        * web-platform-tests/dom/nodes/ChildNode-replaceWith.html:
     76        * web-platform-tests/dom/nodes/Comment-constructor.html:
     77        * web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt:
     78        * web-platform-tests/dom/nodes/DOMImplementation-createDocument.html:
     79        * web-platform-tests/dom/nodes/DOMImplementation-createDocumentType-expected.txt:
     80        * web-platform-tests/dom/nodes/DOMImplementation-createDocumentType.html:
     81        * web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument.html:
     82        * web-platform-tests/dom/nodes/DOMImplementation-hasFeature.html:
     83        * web-platform-tests/dom/nodes/Document-URL.sub.html:
     84        * web-platform-tests/dom/nodes/Document-adoptNode.html:
     85        * web-platform-tests/dom/nodes/Document-characterSet-normalization.html:
     86        * web-platform-tests/dom/nodes/Document-constructor.html:
     87        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_bmp.html:
     88        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_css.html:
     89        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_01.html:
     90        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_02.html:
     91        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_gif.html:
     92        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_html.html:
     93        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_javascripturi.html:
     94        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_jpg.html:
     95        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_01.html:
     96        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_02.html:
     97        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_png.html:
     98        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_txt.html:
     99        * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_xml.html:
     100        * web-platform-tests/dom/nodes/Document-contentType/contentType/createDocument.html:
     101        * web-platform-tests/dom/nodes/Document-contentType/contentType/createHTMLDocument.html:
     102        * web-platform-tests/dom/nodes/Document-contentType/contentType/xhr_responseType_document.html:
     103        * web-platform-tests/dom/nodes/Document-createAttribute.html:
     104        * web-platform-tests/dom/nodes/Document-createComment.html:
     105        * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/w3c-import.log:
     106        * web-platform-tests/dom/nodes/Document-createElement-namespace.html:
     107        * web-platform-tests/dom/nodes/Document-createElement.html:
     108        * web-platform-tests/dom/nodes/Document-createElementNS-expected.txt:
     109        * web-platform-tests/dom/nodes/Document-createElementNS.html:
     110        * web-platform-tests/dom/nodes/Document-createElementNS.js:
     111        * web-platform-tests/dom/nodes/Document-createEvent.html:
     112        * web-platform-tests/dom/nodes/Document-createProcessingInstruction-xhtml.xhtml:
     113        * web-platform-tests/dom/nodes/Document-createProcessingInstruction.html:
     114        * web-platform-tests/dom/nodes/Document-createTextNode.html:
     115        * web-platform-tests/dom/nodes/Document-createTreeWalker.html:
     116        * web-platform-tests/dom/nodes/Document-doctype.html:
     117        * web-platform-tests/dom/nodes/Document-getElementById.html:
     118        * web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml:
     119        * web-platform-tests/dom/nodes/Document-getElementsByTagName.html:
     120        * web-platform-tests/dom/nodes/Document-getElementsByTagNameNS.html:
     121        * web-platform-tests/dom/nodes/Document-implementation.html:
     122        * web-platform-tests/dom/nodes/Document-importNode.html:
     123        * web-platform-tests/dom/nodes/DocumentType-literal-xhtml.xhtml:
     124        * web-platform-tests/dom/nodes/DocumentType-literal.html:
     125        * web-platform-tests/dom/nodes/DocumentType-remove.html:
     126        * web-platform-tests/dom/nodes/Element-childElement-null-xhtml.xhtml:
     127        * web-platform-tests/dom/nodes/Element-childElement-null.html:
     128        * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml:
     129        * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.html:
     130        * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml:
     131        * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove.html:
     132        * web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml:
     133        * web-platform-tests/dom/nodes/Element-childElementCount-nochild.html:
     134        * web-platform-tests/dom/nodes/Element-childElementCount-xhtml.xhtml:
     135        * web-platform-tests/dom/nodes/Element-childElementCount.html:
     136        * web-platform-tests/dom/nodes/Element-children.html:
     137        * web-platform-tests/dom/nodes/Element-classlist.html:
     138        * web-platform-tests/dom/nodes/Element-closest.html:
     139        * web-platform-tests/dom/nodes/Element-firstElementChild-entity-xhtml.xhtml:
     140        * web-platform-tests/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml:
     141        * web-platform-tests/dom/nodes/Element-firstElementChild-namespace.html:
     142        * web-platform-tests/dom/nodes/Element-firstElementChild-xhtml.xhtml:
     143        * web-platform-tests/dom/nodes/Element-firstElementChild.html:
     144        * web-platform-tests/dom/nodes/Element-getElementsByClassName.html:
     145        * web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html:
     146        * web-platform-tests/dom/nodes/Element-getElementsByTagName.html:
     147        * web-platform-tests/dom/nodes/Element-getElementsByTagNameNS.html:
     148        * web-platform-tests/dom/nodes/Element-hasAttributes.html:
     149        * web-platform-tests/dom/nodes/Element-insertAdjacentElement.html:
     150        * web-platform-tests/dom/nodes/Element-insertAdjacentText.html:
     151        * web-platform-tests/dom/nodes/Element-lastElementChild-xhtml.xhtml:
     152        * web-platform-tests/dom/nodes/Element-lastElementChild.html:
     153        * web-platform-tests/dom/nodes/Element-matches.html:
     154        * web-platform-tests/dom/nodes/Element-nextElementSibling-xhtml.xhtml:
     155        * web-platform-tests/dom/nodes/Element-nextElementSibling.html:
     156        * web-platform-tests/dom/nodes/Element-previousElementSibling-xhtml.xhtml:
     157        * web-platform-tests/dom/nodes/Element-previousElementSibling.html:
     158        * web-platform-tests/dom/nodes/Element-remove.html:
     159        * web-platform-tests/dom/nodes/Element-removeAttributeNS.html:
     160        * web-platform-tests/dom/nodes/Element-siblingElement-null-xhtml.xhtml:
     161        * web-platform-tests/dom/nodes/Element-siblingElement-null.html:
     162        * web-platform-tests/dom/nodes/Element-tagName.html:
     163        * web-platform-tests/dom/nodes/Element-webkitMatchesSelector.html:
     164        * web-platform-tests/dom/nodes/MutationObserver-attributes.html:
     165        * web-platform-tests/dom/nodes/MutationObserver-characterData.html:
     166        * web-platform-tests/dom/nodes/MutationObserver-childList.html:
     167        * web-platform-tests/dom/nodes/MutationObserver-disconnect.html:
     168        * web-platform-tests/dom/nodes/MutationObserver-document.html:
     169        * web-platform-tests/dom/nodes/MutationObserver-inner-outer.html:
     170        * web-platform-tests/dom/nodes/MutationObserver-takeRecords.html:
     171        * web-platform-tests/dom/nodes/Node-appendChild.html:
     172        * web-platform-tests/dom/nodes/Node-baseURI.html:
     173        * web-platform-tests/dom/nodes/Node-childNodes.html:
     174        * web-platform-tests/dom/nodes/Node-cloneNode.html:
     175        * web-platform-tests/dom/nodes/Node-compareDocumentPosition.html:
     176        * web-platform-tests/dom/nodes/Node-constants.html:
     177        * web-platform-tests/dom/nodes/Node-contains-xml.xml:
     178        * web-platform-tests/dom/nodes/Node-contains.html:
     179        * web-platform-tests/dom/nodes/Node-insertBefore.html:
     180        * web-platform-tests/dom/nodes/Node-isConnected.html:
     181        * web-platform-tests/dom/nodes/Node-isEqualNode-xhtml.xhtml:
     182        * web-platform-tests/dom/nodes/Node-isEqualNode.html:
     183        * web-platform-tests/dom/nodes/Node-isSameNode.html:
     184        * web-platform-tests/dom/nodes/Node-lookupNamespaceURI.html:
     185        * web-platform-tests/dom/nodes/Node-lookupPrefix.xhtml:
     186        * web-platform-tests/dom/nodes/Node-nodeName-xhtml.xhtml:
     187        * web-platform-tests/dom/nodes/Node-nodeName.html:
     188        * web-platform-tests/dom/nodes/Node-nodeValue.html:
     189        * web-platform-tests/dom/nodes/Node-normalize.html:
     190        * web-platform-tests/dom/nodes/Node-parentElement.html:
     191        * web-platform-tests/dom/nodes/Node-parentNode.html:
     192        * web-platform-tests/dom/nodes/Node-properties.html:
     193        * web-platform-tests/dom/nodes/Node-removeChild.html:
     194        * web-platform-tests/dom/nodes/Node-replaceChild.html:
     195        * web-platform-tests/dom/nodes/Node-textContent.html:
     196        * web-platform-tests/dom/nodes/NodeList-Iterable.html:
     197        * web-platform-tests/dom/nodes/ParentNode-append.html:
     198        * web-platform-tests/dom/nodes/ParentNode-prepend.html:
     199        * web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht.xht:
     200        * web-platform-tests/dom/nodes/ParentNode-querySelector-All.html:
     201        * web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1.xhtml:
     202        * web-platform-tests/dom/nodes/ProcessingInstruction-literal-1.xhtml:
     203        * web-platform-tests/dom/nodes/ProcessingInstruction-literal-2.xhtml:
     204        * web-platform-tests/dom/nodes/Text-constructor.html:
     205        * web-platform-tests/dom/nodes/Text-splitText.html:
     206        * web-platform-tests/dom/nodes/append-on-Document.html:
     207        * web-platform-tests/dom/nodes/attributes-expected.txt:
     208        * web-platform-tests/dom/nodes/attributes.html:
     209        * web-platform-tests/dom/nodes/case.html:
     210        * web-platform-tests/dom/nodes/getElementsByClassName-01.htm:
     211        * web-platform-tests/dom/nodes/getElementsByClassName-02.htm:
     212        * web-platform-tests/dom/nodes/getElementsByClassName-03.htm:
     213        * web-platform-tests/dom/nodes/getElementsByClassName-04.htm:
     214        * web-platform-tests/dom/nodes/getElementsByClassName-05.htm:
     215        * web-platform-tests/dom/nodes/getElementsByClassName-06.htm:
     216        * web-platform-tests/dom/nodes/getElementsByClassName-07.htm:
     217        * web-platform-tests/dom/nodes/getElementsByClassName-08.htm:
     218        * web-platform-tests/dom/nodes/getElementsByClassName-09.htm:
     219        * web-platform-tests/dom/nodes/getElementsByClassName-10.xml:
     220        * web-platform-tests/dom/nodes/getElementsByClassName-11.xml:
     221        * web-platform-tests/dom/nodes/getElementsByClassName-12.htm:
     222        * web-platform-tests/dom/nodes/getElementsByClassName-13.htm:
     223        * web-platform-tests/dom/nodes/getElementsByClassName-14.htm:
     224        * web-platform-tests/dom/nodes/getElementsByClassName-15.htm:
     225        * web-platform-tests/dom/nodes/getElementsByClassName-16.htm:
     226        * web-platform-tests/dom/nodes/getElementsByClassName-17.htm:
     227        * web-platform-tests/dom/nodes/getElementsByClassName-18.htm:
     228        * web-platform-tests/dom/nodes/getElementsByClassName-19.htm:
     229        * web-platform-tests/dom/nodes/getElementsByClassName-20.htm:
     230        * web-platform-tests/dom/nodes/getElementsByClassName-21.htm:
     231        * web-platform-tests/dom/nodes/getElementsByClassName-22.htm:
     232        * web-platform-tests/dom/nodes/getElementsByClassName-23.htm:
     233        * web-platform-tests/dom/nodes/getElementsByClassName-24.htm:
     234        * web-platform-tests/dom/nodes/getElementsByClassName-25.htm:
     235        * web-platform-tests/dom/nodes/getElementsByClassName-26.htm:
     236        * web-platform-tests/dom/nodes/getElementsByClassName-27.htm:
     237        * web-platform-tests/dom/nodes/getElementsByClassName-28.htm:
     238        * web-platform-tests/dom/nodes/getElementsByClassName-29.htm:
     239        * web-platform-tests/dom/nodes/getElementsByClassName-30.htm:
     240        * web-platform-tests/dom/nodes/getElementsByClassName-31.htm:
     241        * web-platform-tests/dom/nodes/insert-adjacent.html:
     242        * web-platform-tests/dom/nodes/prepend-on-Document.html:
     243        * web-platform-tests/dom/nodes/remove-unscopable.html:
     244        * web-platform-tests/dom/nodes/rootNode.html:
     245        * web-platform-tests/dom/nodes/w3c-import.log:
     246        * web-platform-tests/dom/ranges/Range-attributes.html:
     247        * web-platform-tests/dom/ranges/Range-cloneContents.html:
     248        * web-platform-tests/dom/ranges/Range-cloneRange.html:
     249        * web-platform-tests/dom/ranges/Range-collapse.html:
     250        * web-platform-tests/dom/ranges/Range-commonAncestorContainer-2.html:
     251        * web-platform-tests/dom/ranges/Range-commonAncestorContainer.html:
     252        * web-platform-tests/dom/ranges/Range-compareBoundaryPoints.html:
     253        * web-platform-tests/dom/ranges/Range-comparePoint-2.html:
     254        * web-platform-tests/dom/ranges/Range-comparePoint.html:
     255        * web-platform-tests/dom/ranges/Range-constructor.html:
     256        * web-platform-tests/dom/ranges/Range-deleteContents.html:
     257        * web-platform-tests/dom/ranges/Range-detach.html:
     258        * web-platform-tests/dom/ranges/Range-extractContents.html:
     259        * web-platform-tests/dom/ranges/Range-insertNode.html:
     260        * web-platform-tests/dom/ranges/Range-intersectsNode-binding.html:
     261        * web-platform-tests/dom/ranges/Range-intersectsNode.html:
     262        * web-platform-tests/dom/ranges/Range-isPointInRange.html:
     263        * web-platform-tests/dom/ranges/Range-mutations-appendChild.html:
     264        * web-platform-tests/dom/ranges/Range-mutations-appendData.html:
     265        * web-platform-tests/dom/ranges/Range-mutations-dataChange.html:
     266        * web-platform-tests/dom/ranges/Range-mutations-deleteData.html:
     267        * web-platform-tests/dom/ranges/Range-mutations-insertBefore.html:
     268        * web-platform-tests/dom/ranges/Range-mutations-insertData.html:
     269        * web-platform-tests/dom/ranges/Range-mutations-removeChild.html:
     270        * web-platform-tests/dom/ranges/Range-mutations-replaceChild.html:
     271        * web-platform-tests/dom/ranges/Range-mutations-replaceData.html:
     272        * web-platform-tests/dom/ranges/Range-mutations-splitText.html:
     273        * web-platform-tests/dom/ranges/Range-selectNode.html:
     274        * web-platform-tests/dom/ranges/Range-set.html:
     275        * web-platform-tests/dom/ranges/Range-stringifier.html:
     276        * web-platform-tests/dom/ranges/Range-surroundContents.html:
     277        * web-platform-tests/dom/traversal/NodeFilter-constants.html:
     278        * web-platform-tests/dom/traversal/NodeIterator-removal.html:
     279        * web-platform-tests/dom/traversal/NodeIterator.html:
     280        * web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html:
     281        * web-platform-tests/dom/traversal/TreeWalker-basic.html:
     282        * web-platform-tests/dom/traversal/TreeWalker-currentNode.html:
     283        * web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html:
     284        * web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html:
     285        * web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html:
     286        * web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html:
     287        * web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html:
     288        * web-platform-tests/dom/traversal/TreeWalker-walking-outside-a-tree.html:
     289        * web-platform-tests/dom/traversal/TreeWalker.html:
     290
    12912017-04-21  Chris Dumez  <cdumez@apple.com>
    2292
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html

    r200309 r215701  
    22<meta charset=utf-8>
    33<title>Make sure browsers throw when getting .length on some random object whose proto is an HTMLCollection</title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66<script>
    77test(function() {
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-empty-name.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>HTMLCollection and empty names</title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66<div id=log></div>
    77<div id=test>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html

    r206999 r215701  
    22<meta charset=utf-8>
    33<title></title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66<!--  We want to use a tag name that will not interact with our test harness,
    77     so just make one up.  "foo" is a good one  -->
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html

    r206999 r215701  
    22<meta charset=utf-8>
    33<link rel=help href=https://dom.spec.whatwg.org/#interface-htmlcollection>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66
    77<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/domstringmap-supported-property-names.html

    r196079 r215701  
    22<meta charset=utf-8>
    33<title>DOMStringMap Test: Supported property names</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<div id="log"></div>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/namednodemap-supported-property-names.html

    r196079 r215701  
    22<meta charset=utf-8>
    33<title>NamedNodeMap Test: Supported property names</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<div id="log"></div>
    77<div id="simple" class="fancy">Simple</div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once.html

    r204079 r215701  
    44<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
    55<link rel="help" href="https://dom.spec.whatwg.org/#dom-addeventlisteneroptions-once">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-passive.html

    r201826 r215701  
    44<link rel="author" title="Rick Byers" href="mailto:rbyers@chromium.org">
    55<link rel="help" href="https://dom.spec.whatwg.org/#dom-addeventlisteneroptions-passive">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/CustomEvent.html

    r213517 r215701  
    11<!doctype html>
    22<title>CustomEvent</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id="log"></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-cancelBubble.html

    r210254 r215701  
    77  <link rel="help" href="https://dom.spec.whatwg.org/#dom-event-cancelbubble">
    88  <meta name="flags" content="dom">
    9   <script src="/resources/testharness.js"></script>
    10   <script src="/resources/testharnessreport.js"></script>
     9  <script src="../../../../../resources/testharness.js"></script>
     10  <script src="../../../../../resources/testharnessreport.js"></script>
    1111</head>
    1212<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constants.html

    r189471 r215701  
    11<!doctype html>
    22<title>Event constants</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<script src="../constants.js"></script>
    66<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.html

    r200309 r215701  
    11<!doctype html>
    22<title>Event constructors</title>
    3 <script src=/resources/testharness.js></script>
    4 <script src=/resources/testharnessreport.js></script>
     3<script src=../../../../../resources/testharness.js></script>
     4<script src=../../../../../resources/testharnessreport.js></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html

    r200309 r215701  
    22<meta charset=utf-8>
    33<title>Event.defaultPrevented is not reset after dipatchEvent()</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66</head>
    77<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented.html

    r202471 r215701  
    11<!doctype html>
    22<title>Event.defaultPrevented</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id="log"></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubble-canceled.html

    r210254 r215701  
    33<head>
    44<title>Setting cancelBubble=true prior to dispatchEvent()</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html

    r200309 r215701  
    44<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-initevent">
    55<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id=log></div>
    99<table id="table" border="1" style="display: none">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true.html

    r203164 r215701  
    44<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-initevent">
    55<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id=log></div>
    99<table id="table" border="1" style="display: none">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click.html

    r207939 r215701  
    11<!doctype html>
    22<title>Synthetic click event "magic"</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<div id=dump style=display:none></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-detached-click.html

    r203164 r215701  
    11<!DOCTYPE html>
    22<title>Click event on an element not in the document</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-handlers-changed.html

    r189471 r215701  
    33<title> Dispatch additional events inside an event listener </title>
    44<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id=log></div>
    88
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-cancelBubble.html

    r210254 r215701  
    33<head>
    44<title>Multiple dispatchEvent() and cancelBubble</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html

    r203164 r215701  
    33<head>
    44<title> Multiple dispatchEvent() and stopPropagation() </title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-omitted-capture.html

    r189471 r215701  
    44<link rel="help" href="https://dom.spec.whatwg.org/#dom-eventtarget-addeventlistener">
    55<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id=log></div>
    99<table id="table" border="1" style="display: none">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order.html

    r203164 r215701  
    11<!DOCTYPE html>
    22<title>Event phases order</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id="log"></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-other-document.html

    r206462 r215701  
    11<!doctype html>
    22<title>Custom event on an element in another document</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-propagation-stopped.html

    r196079 r215701  
    33<head>
    44<title> Calling stopPropagation() prior to dispatchEvent() </title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-redispatch.html

    r189471 r215701  
    22<meta charset=urf-8>
    33<title>EventTarget#dispatchEvent(): redispatching a native event</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<div id=log></div>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-reenter.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title> Dispatch additional events inside an event listener </title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<div id=log></div>
    77<table id="table" border="1" style="display: none">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-target-moved.html

    r189471 r215701  
    33<title> Determined event propagation path - target moved </title>
    44<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id=log></div>
    88<table id="table" border="1" style="display: none">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-target-removed.html

    r189471 r215701  
    33<title>Determined event propagation path - target removed</title>
    44<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-dispatch">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id=log></div>
    88<table id="table" border="1" style="display: none">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing.html

    r203164 r215701  
    22<meta charset="UTF-8">
    33<title>Throwing in event listeners</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<div id="log"></div>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-init-while-dispatching.html

    r203164 r215701  
    33<title>Re-initializing events while dispatching them</title>
    44<link rel="author" title="Josh Matthews" href="mailto:josh@joshmatthews.net">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id="log"></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-initEvent.html

    r213517 r215701  
    22<title>Event.initEvent</title>
    33<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<div id="log"></div>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-propagation.html

    r210254 r215701  
    33<link rel=author title="Aryeh Gregor" href=ayg@aryeh.name>
    44<div id=log></div>
    5 <script src=/resources/testharness.js></script>
    6 <script src=/resources/testharnessreport.js></script>
     5<script src=../../../../../resources/testharness.js></script>
     6<script src=../../../../../resources/testharnessreport.js></script>
    77<script>
    88"use strict";
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-subclasses-constructors.html

    r203164 r215701  
    22<meta charset="utf-8">
    33<title>Event constructors</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<div id="log"></div>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-type-empty.html

    r189471 r215701  
    33<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
    44<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-type">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id="log"></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-type.html

    r189471 r215701  
    33<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
    44<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-type">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id="log"></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-handleEvent.html

    r203164 r215701  
    22<meta charset=utf-8>
    33<title>EventListener::handleEvent()</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<div id=log></div>
    77<table id="table" border="1" style="display: none">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html

    r203164 r215701  
    22<meta charset=utf-8>
    33<title></title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66<iframe src="{{location[scheme]}}://{{domains[www1]}}:{{ports[http][0]}}{{location[path]}}/../EventListener-incumbent-global-subframe-1.sub.html"></iframe>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-2.sub.html

    r203164 r215701  
    22<meta charset=utf-8>
    33<title></title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66<iframe src="{{location[scheme]}}://{{domains[www1]}}:{{ports[http][0]}}{{location[path]}}/../EventListener-incumbent-global-subframe-2.sub.html"></iframe>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-invoke-legacy.html

    r212202 r215701  
    22<meta charset="utf-8">
    33<title>Invoke legacy event listener</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<style>
    77  @keyframes test {
     
    4444        return;
    4545      }
    46       elem.dispatchEvent(new ctor(type));
     46      elem.dispatchEvent(new window[ctor](type));
    4747      t.done();
    4848    }));
     
    6666}
    6767
    68 runLegacyEventTest('transitionend', 'webkitTransitionEnd', TransitionEvent, setupTransition);
    69 runLegacyEventTest('animationend', 'webkitAnimationEnd', AnimationEvent, setupAnimation);
    70 runLegacyEventTest('animationiteration', 'webkitAnimationIteration', AnimationEvent, setupAnimation);
    71 runLegacyEventTest('animationstart', 'webkitAnimationStart', AnimationEvent, setupAnimation);
     68runLegacyEventTest('transitionend', 'webkitTransitionEnd', "TransitionEvent", setupTransition);
     69runLegacyEventTest('animationend', 'webkitAnimationEnd', "AnimationEvent", setupAnimation);
     70runLegacyEventTest('animationiteration', 'webkitAnimationIteration', "AnimationEvent", setupAnimation);
     71runLegacyEventTest('animationstart', 'webkitAnimationStart', "AnimationEvent", setupAnimation);
    7272</script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListenerOptions-capture.html

    r201826 r215701  
    44<link rel="author" title="Rick Byers" href="mailto:rbyers@chromium.org">
    55<link rel="help" href="https://dom.spec.whatwg.org/#dom-eventlisteneroptions-capture">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-addEventListener.html

    r189471 r215701  
    44<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
    55<link rel="help" href="https://dom.spec.whatwg.org/#dom-eventtarget-addeventlistener">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent-returnvalue.html

    r189471 r215701  
    55<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-preventdefault">
    66<link rel="help" href="https://dom.spec.whatwg.org/#dom-event-defaultprevented">
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<div id=log></div>
    1010<table id="table" border="1" style="display: none">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent.html

    r204369 r215701  
    55<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
    66<link rel="help" href="https://dom.spec.whatwg.org/#dom-eventtarget-dispatchevent">
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<script src="/dom/nodes/Document-createEvent.js"></script>
    1010<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-removeEventListener.html

    r189471 r215701  
    44<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
    55<link rel="help" href="https://dom.spec.whatwg.org/#dom-eventtarget-removeeventlistener">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical.html

    r210823 r215701  
    11<!DOCTYPE html>
    22<title>Historical DOM features must be removed</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../resources/testharness.js"></script>
     4<script src="../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interface-objects.html

    r196079 r215701  
    11<!DOCTYPE html>
    22<title>Interfaces</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../resources/testharness.js"></script>
     4<script src="../../../../resources/testharnessreport.js"></script>
    55<div id="log"></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces.html

    r213517 r215701  
    22<meta charset=utf-8>
    33<title>DOM IDL tests</title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../resources/testharness.js></script>
     5<script src=../../../../resources/testharnessreport.js></script>
    66<script src=/resources/WebIDLParser.js></script>
    77<script src=/resources/idlharness.js></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-Iterable.html

    r206999 r215701  
    22<meta charset="utf-8">
    33<title>DOMTokenList Iterable Test</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<span class="foo   Foo foo   "></span>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html

    r213882 r215701  
    22<meta charset="utf-8">
    33<title>DOMTokenList coverage for attributes</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<div id=log></div>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-iteration.html

    r215164 r215701  
    22<meta charset=utf-8>
    33<title>DOMTokenList iteration: keys, values, etc.</title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66<span class="   a  a b "></span>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-stringifier.html

    r194580 r215701  
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-domtokenlist-stringifier">
    55<link rel=author title=Ms2ger href="mailto:Ms2ger@gmail.com">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id=log></div>
    99<span class="   a  a b "></span>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-value.html

    r200309 r215701  
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-domtokenlist-value">
    55<link rel=author title=Tangresh href="mailto:dmenzi@tangresh.ch">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<span class="   a  a b "></span>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-appendChild.html

    r200309 r215701  
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-node-appendchild">
    55<link rel=help href="https://dom.spec.whatwg.org/#introduction-to-the-dom">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-appendData.html

    r189471 r215701  
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-appenddata">
    55<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-data.html

    r189471 r215701  
    33<title>CharacterData.data</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id="log"></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-deleteData.html

    r189471 r215701  
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-deletedata">
    55<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-insertData.html

    r189471 r215701  
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-insertdata">
    55<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-remove.html

    r189471 r215701  
    33<title>CharacterData.remove</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-remove">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="ChildNode-remove.js"></script>
    88<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-replaceData.html

    r189471 r215701  
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-replacedata">
    55<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-substringData.html

    r189471 r215701  
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-substringdata">
    55<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-surrogates.html

    r189471 r215701  
    77<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-deletedata">
    88<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
    9 <script src="/resources/testharness.js"></script>
    10 <script src="/resources/testharnessreport.js"></script>
     9<script src="../../../../../resources/testharness.js"></script>
     10<script src="../../../../../resources/testharnessreport.js"></script>
    1111<div id="log"></div>
    1212<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ChildNode-after.html

    r189471 r215701  
    33<title>ChildNode.after</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-after">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script>
    88
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ChildNode-before.html

    r189471 r215701  
    33<title>ChildNode.before</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-before">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script>
    88
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ChildNode-replaceWith.html

    r189471 r215701  
    33<title>ChildNode.replaceWith</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-replaceWith">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script>
    88
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Comment-constructor.html

    r189471 r215701  
    33<title>Comment constructor</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-comment">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="Comment-Text-constructor.js"></script>
    88<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt

    r212202 r215701  
    3232PASS createDocument test: null,"-foo",null,"INVALID_CHARACTER_ERR"
    3333PASS createDocument test: null,".foo",null,"INVALID_CHARACTER_ERR"
    34 PASS createDocument test: null,":foo",null,"NAMESPACE_ERR"
     34PASS createDocument test: null,":foo",null,"INVALID_CHARACTER_ERR"
    3535PASS createDocument test: null,"f:oo",null,"NAMESPACE_ERR"
    36 PASS createDocument test: null,"foo:",null,"NAMESPACE_ERR"
    37 PASS createDocument test: null,"f:o:o",null,"NAMESPACE_ERR"
    38 PASS createDocument test: null,":",null,"NAMESPACE_ERR"
     36PASS createDocument test: null,"foo:",null,"INVALID_CHARACTER_ERR"
     37PASS createDocument test: null,"f:o:o",null,"INVALID_CHARACTER_ERR"
     38PASS createDocument test: null,":",null,"INVALID_CHARACTER_ERR"
    3939PASS createDocument test: null,"xml",null,null
    4040PASS createDocument test: metadata for null,"xml",null
     
    5151PASS createDocument test: metadata for "",null,null
    5252PASS createDocument test: characterSet aliases for "",null,null
    53 PASS createDocument test: "",":foo",null,"NAMESPACE_ERR"
     53PASS createDocument test: "",":foo",null,"INVALID_CHARACTER_ERR"
    5454PASS createDocument test: "","f:oo",null,"NAMESPACE_ERR"
    55 PASS createDocument test: "","foo:",null,"NAMESPACE_ERR"
     55PASS createDocument test: "","foo:",null,"INVALID_CHARACTER_ERR"
    5656PASS createDocument test: undefined,null,null,null
    5757PASS createDocument test: metadata for undefined,null,null
     
    7070PASS createDocument test: metadata for undefined,"foo1",null
    7171PASS createDocument test: characterSet aliases for undefined,"foo1",null
    72 PASS createDocument test: undefined,":foo",null,"NAMESPACE_ERR"
     72PASS createDocument test: undefined,":foo",null,"INVALID_CHARACTER_ERR"
    7373PASS createDocument test: undefined,"f:oo",null,"NAMESPACE_ERR"
    74 PASS createDocument test: undefined,"foo:",null,"NAMESPACE_ERR"
    75 PASS createDocument test: undefined,"f::oo",null,"NAMESPACE_ERR"
     74PASS createDocument test: undefined,"foo:",null,"INVALID_CHARACTER_ERR"
     75PASS createDocument test: undefined,"f::oo",null,"INVALID_CHARACTER_ERR"
    7676PASS createDocument test: undefined,"xml",null,null
    7777PASS createDocument test: metadata for undefined,"xml",null
     
    9898PASS createDocument test: metadata for "http://example.com/","foo1",null
    9999PASS createDocument test: characterSet aliases for "http://example.com/","foo1",null
    100 PASS createDocument test: "http://example.com/",":foo",null,"NAMESPACE_ERR"
     100PASS createDocument test: "http://example.com/",":foo",null,"INVALID_CHARACTER_ERR"
    101101PASS createDocument test: "http://example.com/","f:oo",null,null
    102102PASS createDocument test: metadata for "http://example.com/","f:oo",null
    103103PASS createDocument test: characterSet aliases for "http://example.com/","f:oo",null
    104 PASS createDocument test: "http://example.com/","f:o:o",null,"NAMESPACE_ERR"
    105 PASS createDocument test: "http://example.com/","foo:",null,"NAMESPACE_ERR"
    106 PASS createDocument test: "http://example.com/","f::oo",null,"NAMESPACE_ERR"
    107 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
     104PASS createDocument test: "http://example.com/","f:o:o",null,"INVALID_CHARACTER_ERR"
     105PASS createDocument test: "http://example.com/","foo:",null,"INVALID_CHARACTER_ERR"
     106PASS createDocument test: "http://example.com/","f::oo",null,"INVALID_CHARACTER_ERR"
     107PASS createDocument test: "http://example.com/","a:0",null,"INVALID_CHARACTER_ERR"
    108108PASS createDocument test: "http://example.com/","0:a",null,"INVALID_CHARACTER_ERR"
    109109PASS createDocument test: "http://example.com/","a:_",null,null
    110110PASS createDocument test: metadata for "http://example.com/","a:_",null
    111111PASS createDocument test: characterSet aliases for "http://example.com/","a:_",null
    112 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
     112PASS createDocument test: "http://example.com/","a:ெ",null,"INVALID_CHARACTER_ERR"
    113113PASS createDocument test: "http://example.com/","ெ:a",null,"INVALID_CHARACTER_ERR"
    114114PASS createDocument test: "http://example.com/","a:aெ",null,null
     
    171171PASS createDocument test: metadata for "http://example.com/","xmlfoo:bar",null
    172172PASS createDocument test: characterSet aliases for "http://example.com/","xmlfoo:bar",null
    173 PASS createDocument test: "http://example.com/","prefix::local",null,"NAMESPACE_ERR"
     173PASS createDocument test: "http://example.com/","prefix::local",null,"INVALID_CHARACTER_ERR"
    174174PASS createDocument test: "http://example.com/","namespaceURI:{",null,"INVALID_CHARACTER_ERR"
    175175PASS createDocument test: "http://example.com/","namespaceURI:}",null,"INVALID_CHARACTER_ERR"
     
    209209PASS createDocument test: metadata for "/","foo1",null
    210210PASS createDocument test: characterSet aliases for "/","foo1",null
    211 PASS createDocument test: "/",":foo",null,"NAMESPACE_ERR"
     211PASS createDocument test: "/",":foo",null,"INVALID_CHARACTER_ERR"
    212212PASS createDocument test: "/","f:oo",null,null
    213213PASS createDocument test: metadata for "/","f:oo",null
    214214PASS createDocument test: characterSet aliases for "/","f:oo",null
    215 PASS createDocument test: "/","foo:",null,"NAMESPACE_ERR"
     215PASS createDocument test: "/","foo:",null,"INVALID_CHARACTER_ERR"
    216216PASS createDocument test: "/","xml",null,null
    217217PASS createDocument test: metadata for "/","xml",null
     
    236236PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","foo1",null
    237237PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","foo1",null
    238 PASS createDocument test: "http://www.w3.org/XML/1998/namespace",":foo",null,"NAMESPACE_ERR"
     238PASS createDocument test: "http://www.w3.org/XML/1998/namespace",":foo",null,"INVALID_CHARACTER_ERR"
    239239PASS createDocument test: "http://www.w3.org/XML/1998/namespace","f:oo",null,null
    240240PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","f:oo",null
    241241PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/namespace","f:oo",null
    242 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","foo:",null,"NAMESPACE_ERR"
     242PASS createDocument test: "http://www.w3.org/XML/1998/namespace","foo:",null,"INVALID_CHARACTER_ERR"
    243243PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xml",null,null
    244244PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","xml",null
     
    261261PASS createDocument test: "http://www.w3.org/2000/xmlns/","f1oo",null,"NAMESPACE_ERR"
    262262PASS createDocument test: "http://www.w3.org/2000/xmlns/","foo1",null,"NAMESPACE_ERR"
    263 PASS createDocument test: "http://www.w3.org/2000/xmlns/",":foo",null,"NAMESPACE_ERR"
     263PASS createDocument test: "http://www.w3.org/2000/xmlns/",":foo",null,"INVALID_CHARACTER_ERR"
    264264PASS createDocument test: "http://www.w3.org/2000/xmlns/","f:oo",null,"NAMESPACE_ERR"
    265 PASS createDocument test: "http://www.w3.org/2000/xmlns/","foo:",null,"NAMESPACE_ERR"
     265PASS createDocument test: "http://www.w3.org/2000/xmlns/","foo:",null,"INVALID_CHARACTER_ERR"
    266266PASS createDocument test: "http://www.w3.org/2000/xmlns/","xml",null,"NAMESPACE_ERR"
    267267PASS createDocument test: "http://www.w3.org/2000/xmlns/","xmlns",null,null
     
    285285PASS createDocument test: metadata for "foo:","foo1",null
    286286PASS createDocument test: characterSet aliases for "foo:","foo1",null
    287 PASS createDocument test: "foo:",":foo",null,"NAMESPACE_ERR"
     287PASS createDocument test: "foo:",":foo",null,"INVALID_CHARACTER_ERR"
    288288PASS createDocument test: "foo:","f:oo",null,null
    289289PASS createDocument test: metadata for "foo:","f:oo",null
    290290PASS createDocument test: characterSet aliases for "foo:","f:oo",null
    291 PASS createDocument test: "foo:","foo:",null,"NAMESPACE_ERR"
     291PASS createDocument test: "foo:","foo:",null,"INVALID_CHARACTER_ERR"
    292292PASS createDocument test: "foo:","xml",null,null
    293293PASS createDocument test: metadata for "foo:","xml",null
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument.html

    r212202 r215701  
    77<link rel=help href="https://dom.spec.whatwg.org/#dom-document-documentelement">
    88<link rel=help href="https://dom.spec.whatwg.org/#dom-document-doctype">
    9 <script src="/resources/testharness.js"></script>
    10 <script src="/resources/testharnessreport.js"></script>
     9<script src="../../../../../resources/testharness.js"></script>
     10<script src="../../../../../resources/testharnessreport.js"></script>
    1111<script src="Document-createElementNS.js"></script>
    1212<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocumentType-expected.txt

    r189471 r215701  
    6969PASS createDocumentType(")", "", "") should throw INVALID_CHARACTER_ERR
    7070PASS createDocumentType("f:oo", "", "") should work
    71 PASS createDocumentType(":foo", "", "") should throw NAMESPACE_ERR
    72 PASS createDocumentType("foo:", "", "") should throw NAMESPACE_ERR
    73 PASS createDocumentType("prefix::local", "", "") should throw NAMESPACE_ERR
     71PASS createDocumentType(":foo", "", "") should throw INVALID_CHARACTER_ERR
     72PASS createDocumentType("foo:", "", "") should throw INVALID_CHARACTER_ERR
     73PASS createDocumentType("prefix::local", "", "") should throw INVALID_CHARACTER_ERR
    7474PASS createDocumentType("foo", "foo", "") should work
    7575PASS createDocumentType("foo", "", "foo") should work
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocumentType.html

    r189471 r215701  
    77<link rel=help href="https://dom.spec.whatwg.org/#dom-documenttype-systemid">
    88<link rel=help href="https://dom.spec.whatwg.org/#dom-node-ownerdocument">
    9 <script src="/resources/testharness.js"></script>
    10 <script src="/resources/testharnessreport.js"></script>
     9<script src="../../../../../resources/testharness.js"></script>
     10<script src="../../../../../resources/testharnessreport.js"></script>
    1111<div id="log"></div>
    1212<script>
     
    8181    [")", "", "", "INVALID_CHARACTER_ERR"],
    8282    ["f:oo", "", "", null],
    83     [":foo", "", "", "NAMESPACE_ERR"],
    84     ["foo:", "", "", "NAMESPACE_ERR"],
    85     ["prefix::local", "", "", "NAMESPACE_ERR"],
     83    [":foo", "", "", "INVALID_CHARACTER_ERR"],
     84    ["foo:", "", "", "INVALID_CHARACTER_ERR"],
     85    ["prefix::local", "", "", "INVALID_CHARACTER_ERR"],
    8686    ["foo", "foo", "", null],
    8787    ["foo", "", "foo", null],
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument.html

    r191379 r215701  
    99<link rel=help href="https://dom.spec.whatwg.org/#dom-documenttype-systemid">
    1010<link rel=help href="https://dom.spec.whatwg.org/#dom-document-documentelement">
    11 <script src="/resources/testharness.js"></script>
    12 <script src="/resources/testharnessreport.js"></script>
     11<script src="../../../../../resources/testharness.js"></script>
     12<script src="../../../../../resources/testharnessreport.js"></script>
    1313<script src="DOMImplementation-createHTMLDocument.js"></script>
    1414<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-hasFeature.html

    r205743 r215701  
    33<title>DOMImplementation.hasFeature(feature, version)</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id="log"></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-URL.sub.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>Document.URL with redirect</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<div id=log></div>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-adoptNode.html

    r191379 r215701  
    33<title>Document.adoptNode</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-document-adoptnode">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id="log"></div>
    88<!-- creates an element with local name "x<":  --><x<>x</x<>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html

    r202471 r215701  
    44<meta name=timeout content=long>
    55<div id=log></div>
    6 <script src=/resources/testharness.js></script>
    7 <script src=/resources/testharnessreport.js></script>
     6<script src=../../../../../resources/testharness.js></script>
     7<script src=../../../../../resources/testharnessreport.js></script>
    88<style>iframe { display: none }</style>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-constructor.html

    r191379 r215701  
    55<title>Document constructor</title>
    66<link rel=help href="https://dom.spec.whatwg.org/#dom-document">
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<div id="log"></div>
    1010<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_bmp.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>BMP document.contentType === 'image/bmp'</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_css.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>CSS document.contentType === 'text/css'</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_01.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>Data URI document.contentType === 'text/plain' when data URI MIME type is not set</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_02.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>Data URI document.contentType === 'text/html' when data URI MIME type is set</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_gif.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>GIF document.contentType === 'image/gif'</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_html.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>HTM document.contentType === 'text/html'</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_javascripturi.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>Javascript URI document.contentType === 'text/html'</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_jpg.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>JPG document.contentType === 'image/jpeg'</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_01.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>Custom document.contentType === 'text/xml' when explicitly set to this value</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_02.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<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>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_png.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>PNG document.contentType === 'image/png'</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_txt.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>TXT document.contentType === 'text/plain'</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_xml.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>XML document.contentType === 'application/xml'</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/createDocument.html

    r202471 r215701  
    11<!DOCTYPE html>
    22<title>document.implementation.createDocument: document.contentType === 'application/xhtml+xml'</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/createHTMLDocument.html

    r189471 r215701  
    11<!DOCTYPE html>
    22<title>document.implementation.createHTMLDocument: document.contentType === 'text/html'</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-contentType/contentType/xhr_responseType_document.html

    r189471 r215701  
    11<!DOCTYPE html>
    22<title>XHR - retrieve HTML document: document.contentType === 'application/xml'</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../../../resources/testharness.js"></script>
     4<script src="../../../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createAttribute.html

    r191379 r215701  
    22<meta charset=utf-8>
    33<title>Document.createAttribute</title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66<script src=attributes.js></script>
    77<script src=productions.js></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createComment.html

    r189471 r215701  
    1313<link rel=help href="https://dom.spec.whatwg.org/#dom-node-firstchild">
    1414<link rel=help href="https://dom.spec.whatwg.org/#dom-node-lastchild">
    15 <script src="/resources/testharness.js"></script>
    16 <script src="/resources/testharnessreport.js"></script>
     15<script src="../../../../../resources/testharness.js"></script>
     16<script src="../../../../../resources/testharnessreport.js"></script>
    1717<script src="Document-createComment-createTextNode.js"></script>
    1818<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/w3c-import.log

    r205743 r215701  
    2828/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/bare_xhtml.xhtml
    2929/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/bare_xhtml.xml
     30/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.html
     31/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.svg
     32/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xhtml
     33/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xml
    3034/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/generate.py
    3135/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests/mathml.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace.html

    r202471 r215701  
    33<link rel=author title="Aryeh Gregor" href=ayg@aryeh.name>
    44<div id=log></div>
    5 <script src=/resources/testharness.js></script>
    6 <script src=/resources/testharnessreport.js></script>
     5<script src=../../../../../resources/testharness.js></script>
     6<script src=../../../../../resources/testharnessreport.js></script>
    77<script>
    88"use strict";
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement.html

    r209861 r215701  
    77<link rel=help href="https://dom.spec.whatwg.org/#dom-element-prefix">
    88<link rel=help href="https://dom.spec.whatwg.org/#dom-element-namespaceuri">
    9 <script src="/resources/testharness.js"></script>
    10 <script src="/resources/testharnessreport.js"></script>
     9<script src="../../../../../resources/testharness.js"></script>
     10<script src="../../../../../resources/testharnessreport.js"></script>
    1111<div id="log"></div>
    1212<iframe src="/common/dummy.xml"></iframe>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS-expected.txt

    r212202 r215701  
    6363PASS createElementNS test in XML document: null,".foo","INVALID_CHARACTER_ERR"
    6464PASS createElementNS test in XHTML document: null,".foo","INVALID_CHARACTER_ERR"
    65 PASS createElementNS test in HTML document: null,":foo","NAMESPACE_ERR"
    66 PASS createElementNS test in XML document: null,":foo","NAMESPACE_ERR"
    67 PASS createElementNS test in XHTML document: null,":foo","NAMESPACE_ERR"
     65PASS createElementNS test in HTML document: null,":foo","INVALID_CHARACTER_ERR"
     66PASS createElementNS test in XML document: null,":foo","INVALID_CHARACTER_ERR"
     67PASS createElementNS test in XHTML document: null,":foo","INVALID_CHARACTER_ERR"
    6868PASS createElementNS test in HTML document: null,"f:oo","NAMESPACE_ERR"
    6969PASS createElementNS test in XML document: null,"f:oo","NAMESPACE_ERR"
    7070PASS createElementNS test in XHTML document: null,"f:oo","NAMESPACE_ERR"
    71 PASS createElementNS test in HTML document: null,"foo:","NAMESPACE_ERR"
    72 PASS createElementNS test in XML document: null,"foo:","NAMESPACE_ERR"
    73 PASS createElementNS test in XHTML document: null,"foo:","NAMESPACE_ERR"
    74 PASS createElementNS test in HTML document: null,"f:o:o","NAMESPACE_ERR"
    75 PASS createElementNS test in XML document: null,"f:o:o","NAMESPACE_ERR"
    76 PASS createElementNS test in XHTML document: null,"f:o:o","NAMESPACE_ERR"
    77 PASS createElementNS test in HTML document: null,":","NAMESPACE_ERR"
    78 PASS createElementNS test in XML document: null,":","NAMESPACE_ERR"
    79 PASS createElementNS test in XHTML document: null,":","NAMESPACE_ERR"
     71PASS createElementNS test in HTML document: null,"foo:","INVALID_CHARACTER_ERR"
     72PASS createElementNS test in XML document: null,"foo:","INVALID_CHARACTER_ERR"
     73PASS createElementNS test in XHTML document: null,"foo:","INVALID_CHARACTER_ERR"
     74PASS createElementNS test in HTML document: null,"f:o:o","INVALID_CHARACTER_ERR"
     75PASS createElementNS test in XML document: null,"f:o:o","INVALID_CHARACTER_ERR"
     76PASS createElementNS test in XHTML document: null,"f:o:o","INVALID_CHARACTER_ERR"
     77PASS createElementNS test in HTML document: null,":","INVALID_CHARACTER_ERR"
     78PASS createElementNS test in XML document: null,":","INVALID_CHARACTER_ERR"
     79PASS createElementNS test in XHTML document: null,":","INVALID_CHARACTER_ERR"
    8080PASS createElementNS test in HTML document: null,"xml",null
    8181PASS createElementNS test in XML document: null,"xml",null
     
    102102PASS createElementNS test in XML document: "",null,null
    103103PASS createElementNS test in XHTML document: "",null,null
    104 PASS createElementNS test in HTML document: "",":foo","NAMESPACE_ERR"
    105 PASS createElementNS test in XML document: "",":foo","NAMESPACE_ERR"
    106 PASS createElementNS test in XHTML document: "",":foo","NAMESPACE_ERR"
     104PASS createElementNS test in HTML document: "",":foo","INVALID_CHARACTER_ERR"
     105PASS createElementNS test in XML document: "",":foo","INVALID_CHARACTER_ERR"
     106PASS createElementNS test in XHTML document: "",":foo","INVALID_CHARACTER_ERR"
    107107PASS createElementNS test in HTML document: "","f:oo","NAMESPACE_ERR"
    108108PASS createElementNS test in XML document: "","f:oo","NAMESPACE_ERR"
    109109PASS createElementNS test in XHTML document: "","f:oo","NAMESPACE_ERR"
    110 PASS createElementNS test in HTML document: "","foo:","NAMESPACE_ERR"
    111 PASS createElementNS test in XML document: "","foo:","NAMESPACE_ERR"
    112 PASS createElementNS test in XHTML document: "","foo:","NAMESPACE_ERR"
     110PASS createElementNS test in HTML document: "","foo:","INVALID_CHARACTER_ERR"
     111PASS createElementNS test in XML document: "","foo:","INVALID_CHARACTER_ERR"
     112PASS createElementNS test in XHTML document: "","foo:","INVALID_CHARACTER_ERR"
    113113PASS createElementNS test in HTML document: undefined,null,null
    114114PASS createElementNS test in XML document: undefined,null,null
     
    129129PASS createElementNS test in XML document: undefined,"foo1",null
    130130PASS createElementNS test in XHTML document: undefined,"foo1",null
    131 PASS createElementNS test in HTML document: undefined,":foo","NAMESPACE_ERR"
    132 PASS createElementNS test in XML document: undefined,":foo","NAMESPACE_ERR"
    133 PASS createElementNS test in XHTML document: undefined,":foo","NAMESPACE_ERR"
     131PASS createElementNS test in HTML document: undefined,":foo","INVALID_CHARACTER_ERR"
     132PASS createElementNS test in XML document: undefined,":foo","INVALID_CHARACTER_ERR"
     133PASS createElementNS test in XHTML document: undefined,":foo","INVALID_CHARACTER_ERR"
    134134PASS createElementNS test in HTML document: undefined,"f:oo","NAMESPACE_ERR"
    135135PASS createElementNS test in XML document: undefined,"f:oo","NAMESPACE_ERR"
    136136PASS createElementNS test in XHTML document: undefined,"f:oo","NAMESPACE_ERR"
    137 PASS createElementNS test in HTML document: undefined,"foo:","NAMESPACE_ERR"
    138 PASS createElementNS test in XML document: undefined,"foo:","NAMESPACE_ERR"
    139 PASS createElementNS test in XHTML document: undefined,"foo:","NAMESPACE_ERR"
    140 PASS createElementNS test in HTML document: undefined,"f::oo","NAMESPACE_ERR"
    141 PASS createElementNS test in XML document: undefined,"f::oo","NAMESPACE_ERR"
    142 PASS createElementNS test in XHTML document: undefined,"f::oo","NAMESPACE_ERR"
     137PASS createElementNS test in HTML document: undefined,"foo:","INVALID_CHARACTER_ERR"
     138PASS createElementNS test in XML document: undefined,"foo:","INVALID_CHARACTER_ERR"
     139PASS createElementNS test in XHTML document: undefined,"foo:","INVALID_CHARACTER_ERR"
     140PASS createElementNS test in HTML document: undefined,"f::oo","INVALID_CHARACTER_ERR"
     141PASS createElementNS test in XML document: undefined,"f::oo","INVALID_CHARACTER_ERR"
     142PASS createElementNS test in XHTML document: undefined,"f::oo","INVALID_CHARACTER_ERR"
    143143PASS createElementNS test in HTML document: undefined,"xml",null
    144144PASS createElementNS test in XML document: undefined,"xml",null
     
    183183PASS createElementNS test in XML document: "http://example.com/","foo1",null
    184184PASS createElementNS test in XHTML document: "http://example.com/","foo1",null
    185 PASS createElementNS test in HTML document: "http://example.com/",":foo","NAMESPACE_ERR"
    186 PASS createElementNS test in XML document: "http://example.com/",":foo","NAMESPACE_ERR"
    187 PASS createElementNS test in XHTML document: "http://example.com/",":foo","NAMESPACE_ERR"
     185PASS createElementNS test in HTML document: "http://example.com/",":foo","INVALID_CHARACTER_ERR"
     186PASS createElementNS test in XML document: "http://example.com/",":foo","INVALID_CHARACTER_ERR"
     187PASS createElementNS test in XHTML document: "http://example.com/",":foo","INVALID_CHARACTER_ERR"
    188188PASS createElementNS test in HTML document: "http://example.com/","f:oo",null
    189189PASS createElementNS test in XML document: "http://example.com/","f:oo",null
    190190PASS createElementNS test in XHTML document: "http://example.com/","f:oo",null
    191 PASS createElementNS test in HTML document: "http://example.com/","f:o:o","NAMESPACE_ERR"
    192 PASS createElementNS test in XML document: "http://example.com/","f:o:o","NAMESPACE_ERR"
    193 PASS createElementNS test in XHTML document: "http://example.com/","f:o:o","NAMESPACE_ERR"
    194 PASS createElementNS test in HTML document: "http://example.com/","foo:","NAMESPACE_ERR"
    195 PASS createElementNS test in XML document: "http://example.com/","foo:","NAMESPACE_ERR"
    196 PASS createElementNS test in XHTML document: "http://example.com/","foo:","NAMESPACE_ERR"
    197 PASS createElementNS test in HTML document: "http://example.com/","f::oo","NAMESPACE_ERR"
    198 PASS createElementNS test in XML document: "http://example.com/","f::oo","NAMESPACE_ERR"
    199 PASS createElementNS test in XHTML document: "http://example.com/","f::oo","NAMESPACE_ERR"
    200 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
    201 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
    202 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
     191PASS createElementNS test in HTML document: "http://example.com/","f:o:o","INVALID_CHARACTER_ERR"
     192PASS createElementNS test in XML document: "http://example.com/","f:o:o","INVALID_CHARACTER_ERR"
     193PASS createElementNS test in XHTML document: "http://example.com/","f:o:o","INVALID_CHARACTER_ERR"
     194PASS createElementNS test in HTML document: "http://example.com/","foo:","INVALID_CHARACTER_ERR"
     195PASS createElementNS test in XML document: "http://example.com/","foo:","INVALID_CHARACTER_ERR"
     196PASS createElementNS test in XHTML document: "http://example.com/","foo:","INVALID_CHARACTER_ERR"
     197PASS createElementNS test in HTML document: "http://example.com/","f::oo","INVALID_CHARACTER_ERR"
     198PASS createElementNS test in XML document: "http://example.com/","f::oo","INVALID_CHARACTER_ERR"
     199PASS createElementNS test in XHTML document: "http://example.com/","f::oo","INVALID_CHARACTER_ERR"
     200PASS createElementNS test in HTML document: "http://example.com/","a:0","INVALID_CHARACTER_ERR"
     201PASS createElementNS test in XML document: "http://example.com/","a:0","INVALID_CHARACTER_ERR"
     202PASS createElementNS test in XHTML document: "http://example.com/","a:0","INVALID_CHARACTER_ERR"
    203203PASS createElementNS test in HTML document: "http://example.com/","0:a","INVALID_CHARACTER_ERR"
    204204PASS createElementNS test in XML document: "http://example.com/","0:a","INVALID_CHARACTER_ERR"
     
    207207PASS createElementNS test in XML document: "http://example.com/","a:_",null
    208208PASS createElementNS test in XHTML document: "http://example.com/","a:_",null
    209 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
    210 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
    211 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
     209PASS createElementNS test in HTML document: "http://example.com/","a:ெ","INVALID_CHARACTER_ERR"
     210PASS createElementNS test in XML document: "http://example.com/","a:ெ","INVALID_CHARACTER_ERR"
     211PASS createElementNS test in XHTML document: "http://example.com/","a:ெ","INVALID_CHARACTER_ERR"
    212212PASS createElementNS test in HTML document: "http://example.com/","ெ:a","INVALID_CHARACTER_ERR"
    213213PASS createElementNS test in XML document: "http://example.com/","ெ:a","INVALID_CHARACTER_ERR"
     
    282282PASS createElementNS test in XML document: "http://example.com/","xmlfoo:bar",null
    283283PASS createElementNS test in XHTML document: "http://example.com/","xmlfoo:bar",null
    284 PASS createElementNS test in HTML document: "http://example.com/","prefix::local","NAMESPACE_ERR"
    285 PASS createElementNS test in XML document: "http://example.com/","prefix::local","NAMESPACE_ERR"
    286 PASS createElementNS test in XHTML document: "http://example.com/","prefix::local","NAMESPACE_ERR"
     284PASS createElementNS test in HTML document: "http://example.com/","prefix::local","INVALID_CHARACTER_ERR"
     285PASS createElementNS test in XML document: "http://example.com/","prefix::local","INVALID_CHARACTER_ERR"
     286PASS createElementNS test in XHTML document: "http://example.com/","prefix::local","INVALID_CHARACTER_ERR"
    287287PASS createElementNS test in HTML document: "http://example.com/","namespaceURI:{","INVALID_CHARACTER_ERR"
    288288PASS createElementNS test in XML document: "http://example.com/","namespaceURI:{","INVALID_CHARACTER_ERR"
     
    378378PASS createElementNS test in XML document: "/","foo1",null
    379379PASS createElementNS test in XHTML document: "/","foo1",null
    380 PASS createElementNS test in HTML document: "/",":foo","NAMESPACE_ERR"
    381 PASS createElementNS test in XML document: "/",":foo","NAMESPACE_ERR"
    382 PASS createElementNS test in XHTML document: "/",":foo","NAMESPACE_ERR"
     380PASS createElementNS test in HTML document: "/",":foo","INVALID_CHARACTER_ERR"
     381PASS createElementNS test in XML document: "/",":foo","INVALID_CHARACTER_ERR"
     382PASS createElementNS test in XHTML document: "/",":foo","INVALID_CHARACTER_ERR"
    383383PASS createElementNS test in HTML document: "/","f:oo",null
    384384PASS createElementNS test in XML document: "/","f:oo",null
    385385PASS createElementNS test in XHTML document: "/","f:oo",null
    386 PASS createElementNS test in HTML document: "/","foo:","NAMESPACE_ERR"
    387 PASS createElementNS test in XML document: "/","foo:","NAMESPACE_ERR"
    388 PASS createElementNS test in XHTML document: "/","foo:","NAMESPACE_ERR"
     386PASS createElementNS test in HTML document: "/","foo:","INVALID_CHARACTER_ERR"
     387PASS createElementNS test in XML document: "/","foo:","INVALID_CHARACTER_ERR"
     388PASS createElementNS test in XHTML document: "/","foo:","INVALID_CHARACTER_ERR"
    389389PASS createElementNS test in HTML document: "/","xml",null
    390390PASS createElementNS test in XML document: "/","xml",null
     
    417417PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo1",null
    418418PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","foo1",null
    419 PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace",":foo","NAMESPACE_ERR"
    420 PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace",":foo","NAMESPACE_ERR"
    421 PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace",":foo","NAMESPACE_ERR"
     419PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace",":foo","INVALID_CHARACTER_ERR"
     420PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace",":foo","INVALID_CHARACTER_ERR"
     421PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace",":foo","INVALID_CHARACTER_ERR"
    422422PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","f:oo",null
    423423PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","f:oo",null
    424424PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","f:oo",null
    425 PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","foo:","NAMESPACE_ERR"
    426 PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo:","NAMESPACE_ERR"
    427 PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","foo:","NAMESPACE_ERR"
     425PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","foo:","INVALID_CHARACTER_ERR"
     426PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo:","INVALID_CHARACTER_ERR"
     427PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","foo:","INVALID_CHARACTER_ERR"
    428428PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","xml",null
    429429PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","xml",null
     
    462462PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo1","NAMESPACE_ERR"
    463463PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","foo1","NAMESPACE_ERR"
    464 PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/",":foo","NAMESPACE_ERR"
    465 PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/",":foo","NAMESPACE_ERR"
    466 PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/",":foo","NAMESPACE_ERR"
     464PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/",":foo","INVALID_CHARACTER_ERR"
     465PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/",":foo","INVALID_CHARACTER_ERR"
     466PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/",":foo","INVALID_CHARACTER_ERR"
    467467PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","f:oo","NAMESPACE_ERR"
    468468PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","f:oo","NAMESPACE_ERR"
    469469PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","f:oo","NAMESPACE_ERR"
    470 PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","foo:","NAMESPACE_ERR"
    471 PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo:","NAMESPACE_ERR"
    472 PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","foo:","NAMESPACE_ERR"
     470PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","foo:","INVALID_CHARACTER_ERR"
     471PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo:","INVALID_CHARACTER_ERR"
     472PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","foo:","INVALID_CHARACTER_ERR"
    473473PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","xml","NAMESPACE_ERR"
    474474PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","xml","NAMESPACE_ERR"
     
    504504PASS createElementNS test in XML document: "foo:","foo1",null
    505505PASS createElementNS test in XHTML document: "foo:","foo1",null
    506 PASS createElementNS test in HTML document: "foo:",":foo","NAMESPACE_ERR"
    507 PASS createElementNS test in XML document: "foo:",":foo","NAMESPACE_ERR"
    508 PASS createElementNS test in XHTML document: "foo:",":foo","NAMESPACE_ERR"
     506PASS createElementNS test in HTML document: "foo:",":foo","INVALID_CHARACTER_ERR"
     507PASS createElementNS test in XML document: "foo:",":foo","INVALID_CHARACTER_ERR"
     508PASS createElementNS test in XHTML document: "foo:",":foo","INVALID_CHARACTER_ERR"
    509509PASS createElementNS test in HTML document: "foo:","f:oo",null
    510510PASS createElementNS test in XML document: "foo:","f:oo",null
    511511PASS createElementNS test in XHTML document: "foo:","f:oo",null
    512 PASS createElementNS test in HTML document: "foo:","foo:","NAMESPACE_ERR"
    513 PASS createElementNS test in XML document: "foo:","foo:","NAMESPACE_ERR"
    514 PASS createElementNS test in XHTML document: "foo:","foo:","NAMESPACE_ERR"
     512PASS createElementNS test in HTML document: "foo:","foo:","INVALID_CHARACTER_ERR"
     513PASS createElementNS test in XML document: "foo:","foo:","INVALID_CHARACTER_ERR"
     514PASS createElementNS test in XHTML document: "foo:","foo:","INVALID_CHARACTER_ERR"
    515515PASS createElementNS test in HTML document: "foo:","xml",null
    516516PASS createElementNS test in XML document: "foo:","xml",null
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS.html

    r212202 r215701  
    33<title>Document.createElementNS</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-document-createelementns">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="Document-createElementNS.js"></script>
    88<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS.js

    r212202 r215701  
    2626  [null, "-foo", "INVALID_CHARACTER_ERR"],
    2727  [null, ".foo", "INVALID_CHARACTER_ERR"],
    28   [null, ":foo", "NAMESPACE_ERR"],
     28  [null, ":foo", "INVALID_CHARACTER_ERR"],
    2929  [null, "f:oo", "NAMESPACE_ERR"],
    30   [null, "foo:", "NAMESPACE_ERR"],
    31   [null, "f:o:o", "NAMESPACE_ERR"],
    32   [null, ":", "NAMESPACE_ERR"],
     30  [null, "foo:", "INVALID_CHARACTER_ERR"],
     31  [null, "f:o:o", "INVALID_CHARACTER_ERR"],
     32  [null, ":", "INVALID_CHARACTER_ERR"],
    3333  [null, "xml", null],
    3434  [null, "xmlns", "NAMESPACE_ERR"],
     
    3939  [null, "null:xml", "NAMESPACE_ERR"],
    4040  ["", null, null],
    41   ["", ":foo", "NAMESPACE_ERR"],
     41  ["", ":foo", "INVALID_CHARACTER_ERR"],
    4242  ["", "f:oo", "NAMESPACE_ERR"],
    43   ["", "foo:", "NAMESPACE_ERR"],
     43  ["", "foo:", "INVALID_CHARACTER_ERR"],
    4444  [undefined, null, null],
    4545  [undefined, undefined, null],
     
    4848  [undefined, "f1oo", null],
    4949  [undefined, "foo1", null],
    50   [undefined, ":foo", "NAMESPACE_ERR"],
     50  [undefined, ":foo", "INVALID_CHARACTER_ERR"],
    5151  [undefined, "f:oo", "NAMESPACE_ERR"],
    52   [undefined, "foo:", "NAMESPACE_ERR"],
    53   [undefined, "f::oo", "NAMESPACE_ERR"],
     52  [undefined, "foo:", "INVALID_CHARACTER_ERR"],
     53  [undefined, "f::oo", "INVALID_CHARACTER_ERR"],
    5454  [undefined, "xml", null],
    5555  [undefined, "xmlns", "NAMESPACE_ERR"],
     
    6666  ["http://example.com/", "f1oo", null],
    6767  ["http://example.com/", "foo1", null],
    68   ["http://example.com/", ":foo", "NAMESPACE_ERR"],
     68  ["http://example.com/", ":foo", "INVALID_CHARACTER_ERR"],
    6969  ["http://example.com/", "f:oo", null],
    70   ["http://example.com/", "f:o:o", "NAMESPACE_ERR"],
    71   ["http://example.com/", "foo:", "NAMESPACE_ERR"],
    72   ["http://example.com/", "f::oo", "NAMESPACE_ERR"],
    73   ["http://example.com/", "a:0", "NAMESPACE_ERR"],
     70  ["http://example.com/", "f:o:o", "INVALID_CHARACTER_ERR"],
     71  ["http://example.com/", "foo:", "INVALID_CHARACTER_ERR"],
     72  ["http://example.com/", "f::oo", "INVALID_CHARACTER_ERR"],
     73  ["http://example.com/", "a:0", "INVALID_CHARACTER_ERR"],
    7474  ["http://example.com/", "0:a", "INVALID_CHARACTER_ERR"],
    7575  ["http://example.com/", "a:_", null],
    76   ["http://example.com/", "a:\u0BC6", "NAMESPACE_ERR"],
     76  ["http://example.com/", "a:\u0BC6", "INVALID_CHARACTER_ERR"],
    7777  ["http://example.com/", "\u0BC6:a", "INVALID_CHARACTER_ERR"],
    7878  ["http://example.com/", "a:a\u0BC6", null],
     
    9999  ["http://example.com/", "XMLNS:foo", null],
    100100  ["http://example.com/", "xmlfoo:bar", null],
    101   ["http://example.com/", "prefix::local", "NAMESPACE_ERR"],
     101  ["http://example.com/", "prefix::local", "INVALID_CHARACTER_ERR"],
    102102  ["http://example.com/", "namespaceURI:{", "INVALID_CHARACTER_ERR"],
    103103  ["http://example.com/", "namespaceURI:}", "INVALID_CHARACTER_ERR"],
     
    131131  ["/", "f1oo", null],
    132132  ["/", "foo1", null],
    133   ["/", ":foo", "NAMESPACE_ERR"],
     133  ["/", ":foo", "INVALID_CHARACTER_ERR"],
    134134  ["/", "f:oo", null],
    135   ["/", "foo:", "NAMESPACE_ERR"],
     135  ["/", "foo:", "INVALID_CHARACTER_ERR"],
    136136  ["/", "xml", null],
    137137  ["/", "xmlns", "NAMESPACE_ERR"],
     
    144144  ["http://www.w3.org/XML/1998/namespace", "f1oo", null],
    145145  ["http://www.w3.org/XML/1998/namespace", "foo1", null],
    146   ["http://www.w3.org/XML/1998/namespace", ":foo", "NAMESPACE_ERR"],
     146  ["http://www.w3.org/XML/1998/namespace", ":foo", "INVALID_CHARACTER_ERR"],
    147147  ["http://www.w3.org/XML/1998/namespace", "f:oo", null],
    148   ["http://www.w3.org/XML/1998/namespace", "foo:", "NAMESPACE_ERR"],
     148  ["http://www.w3.org/XML/1998/namespace", "foo:", "INVALID_CHARACTER_ERR"],
    149149  ["http://www.w3.org/XML/1998/namespace", "xml", null],
    150150  ["http://www.w3.org/XML/1998/namespace", "xmlns", "NAMESPACE_ERR"],
     
    159159  ["http://www.w3.org/2000/xmlns/", "f1oo", "NAMESPACE_ERR"],
    160160  ["http://www.w3.org/2000/xmlns/", "foo1", "NAMESPACE_ERR"],
    161   ["http://www.w3.org/2000/xmlns/", ":foo", "NAMESPACE_ERR"],
     161  ["http://www.w3.org/2000/xmlns/", ":foo", "INVALID_CHARACTER_ERR"],
    162162  ["http://www.w3.org/2000/xmlns/", "f:oo", "NAMESPACE_ERR"],
    163   ["http://www.w3.org/2000/xmlns/", "foo:", "NAMESPACE_ERR"],
     163  ["http://www.w3.org/2000/xmlns/", "foo:", "INVALID_CHARACTER_ERR"],
    164164  ["http://www.w3.org/2000/xmlns/", "xml", "NAMESPACE_ERR"],
    165165  ["http://www.w3.org/2000/xmlns/", "xmlns", null],
     
    173173  ["foo:", "f1oo", null],
    174174  ["foo:", "foo1", null],
    175   ["foo:", ":foo", "NAMESPACE_ERR"],
     175  ["foo:", ":foo", "INVALID_CHARACTER_ERR"],
    176176  ["foo:", "f:oo", null],
    177   ["foo:", "foo:", "NAMESPACE_ERR"],
     177  ["foo:", "foo:", "INVALID_CHARACTER_ERR"],
    178178  ["foo:", "xml", null],
    179179  ["foo:", "xmlns", "NAMESPACE_ERR"],
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.html

    r215164 r215701  
    33<title>Document.createEvent</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-document-createevent">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="Document-createEvent.js"></script>
    88<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createProcessingInstruction-xhtml.xhtml

    r189471 r215701  
    66<link rel="help" href="https://dom.spec.whatwg.org/#dom-characterdata-data"/>
    77<link rel="help" href="https://dom.spec.whatwg.org/#dom-node-ownerdocument"/>
    8 <script src="/resources/testharness.js"></script>
    9 <script src="/resources/testharnessreport.js"></script>
     8<script src="../../../../../resources/testharness.js"></script>
     9<script src="../../../../../resources/testharnessreport.js"></script>
    1010</head>
    1111<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createProcessingInstruction.html

    r189471 r215701  
    66<link rel=help href="https://dom.spec.whatwg.org/#dom-characterdata-data">
    77<link rel=help href="https://dom.spec.whatwg.org/#dom-node-ownerdocument">
    8 <script src="/resources/testharness.js"></script>
    9 <script src="/resources/testharnessreport.js"></script>
     8<script src="../../../../../resources/testharness.js"></script>
     9<script src="../../../../../resources/testharnessreport.js"></script>
    1010<div id=log></div>
    1111<script src="Document-createProcessingInstruction.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createTextNode.html

    r189471 r215701  
    1313<link rel=help href="https://dom.spec.whatwg.org/#dom-node-firstchild">
    1414<link rel=help href="https://dom.spec.whatwg.org/#dom-node-lastchild">
    15 <script src="/resources/testharness.js"></script>
    16 <script src="/resources/testharnessreport.js"></script>
     15<script src="../../../../../resources/testharness.js"></script>
     16<script src="../../../../../resources/testharnessreport.js"></script>
    1717<script src="Document-createComment-createTextNode.js"></script>
    1818<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createTreeWalker.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>Document.createTreeWalker</title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66<div id=log></div>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-doctype.html

    r191379 r215701  
    44<title>Document.doctype</title>
    55<link rel=help href="https://dom.spec.whatwg.org/#dom-document-doctype">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementById.html

    r191379 r215701  
    44<link rel="author" title="Tetsuharu OHZEKI" href="mailto:saneyuki.snyk@gmail.com">
    55<link rel=help href="https://dom.spec.whatwg.org/#dom-document-getelementbyid">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<body>
    99  <div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml

    r204441 r215701  
    33<head>
    44<title>Document.getElementsByTagName</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName.html

    r189471 r215701  
    33<title>Document.getElementsByTagName</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-document-getelementsbytagname">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="Document-Element-getElementsByTagName.js"></script>
    88<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagNameNS.html

    r189471 r215701  
    33<title>Document.getElementsByTagNameNS</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-document-getelementsbytagnamens">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="Document-Element-getElementsByTagNameNS.js"></script>
    88<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-implementation.html

    r189471 r215701  
    33<title>Document.implementation</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-document-implementation">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id="log"></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-importNode.html

    r189471 r215701  
    33<title>Document.importNode</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-document-importnode">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id="log"></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal-xhtml.xhtml

    r194580 r215701  
    66<link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-publicid"/>
    77<link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-systemid"/>
    8 <script src="/resources/testharness.js"></script>
    9 <script src="/resources/testharnessreport.js"></script>
     8<script src="../../../../../resources/testharness.js"></script>
     9<script src="../../../../../resources/testharnessreport.js"></script>
    1010</head>
    1111<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal.html

    r189471 r215701  
    44<link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-publicid">
    55<link rel="help" href="https://dom.spec.whatwg.org/#dom-documenttype-systemid">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id="log"></div>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-remove.html

    r189471 r215701  
    33<title>DocumentType.remove</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-remove">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="ChildNode-remove.js"></script>
    88<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElement-null-xhtml.xhtml

    r189471 r215701  
    33<head>
    44<title>Null Test</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElement-null.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>Null test</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<h1>Test of firstElementChild and lastChildElement returning null</h1>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml

    r194580 r215701  
    33<head>
    44<title>Dynamic Adding of Elements</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>Dynamic Adding of Elements</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<h1>Test of Dynamic Adding of Elements</h1>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml

    r189471 r215701  
    33<head>
    44<title>Dynamic Removal of Elements</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>Dynamic Removal of Elements</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<h1>Test of Dynamic Removal of Elements</h1>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml

    r194580 r215701  
    33<head>
    44<title>childElementCount without Child Element Nodes</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>childElementCount without Child Element Nodes</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<h1>Test of childElementCount with No Child Element Nodes</h1>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-xhtml.xhtml

    r189471 r215701  
    33<head>
    44<title>childElementCount</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>childElementCount</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<h1>Test of childElementCount</h1>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-children.html

    r194580 r215701  
    11<!DOCTYPE html>
    22<title>HTMLCollection edge cases</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id="log"></div>
    66<div id="test"><img><img id=foo><img id=foo><img name="bar"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-classlist.html

    r202471 r215701  
    44    <title class=" ">Element.classList in case-sensitive documents</title>
    55    <link rel="help" href="https://dom.spec.whatwg.org/#concept-class">
    6     <script type="text/javascript" src="/resources/testharness.js"></script>
    7     <script type="text/javascript" src="/resources/testharnessreport.js"></script>
     6    <script type="text/javascript" src="../../../../../resources/testharness.js"></script>
     7    <script type="text/javascript" src="../../../../../resources/testharnessreport.js"></script>
    88    <style type="text/css">
    99.foo { font-style: italic; }
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-closest.html

    r209861 r215701  
    22<meta charset=utf8>
    33<title>Test for Element.closest</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<body id="body">
    77  <div id="test8" class="div3" style="display:none">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-entity-xhtml.xhtml

    r189471 r215701  
    88<head>
    99<title>Entity References</title>
    10 <script src="/resources/testharness.js"></script>
    11 <script src="/resources/testharnessreport.js"></script>
     10<script src="../../../../../resources/testharness.js"></script>
     11<script src="../../../../../resources/testharnessreport.js"></script>
    1212</head>
    1313<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml

    r189471 r215701  
    44<head>
    55<title>firstElementChild with namespaces</title>
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88</head>
    99<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-namespace.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>firstElementChild with namespaces</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<h1>Test of firstElementChild with namespaces</h1>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-xhtml.xhtml

    r194580 r215701  
    33<head>
    44<title>firstElementChild</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>firstElementChild</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<h1>Test of firstElementChild</h1>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByClassName.html

    r189471 r215701  
    11<!DOCTYPE html>
    22<title>Element.getElementsByClassName</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id="log"></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html

    r194580 r215701  
    22<meta charset=utf-8>
    33<title></title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66<iframe src="Element-getElementsByTagName-change-document-HTMLNess-iframe.xml"></iframe>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName.html

    r189471 r215701  
    33<title>Element.getElementsByTagName</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-element-getelementsbytagname">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="Document-Element-getElementsByTagName.js"></script>
    88<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagNameNS.html

    r189471 r215701  
    33<title>Element.getElementsByTagNameNS</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-element-getelementsbytagnamens">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="Document-Element-getElementsByTagNameNS.js"></script>
    88<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-hasAttributes.html

    r200309 r215701  
    22<meta charset="utf-8">
    33<title></title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<body>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentElement.html

    r200309 r215701  
    22<meta charset=utf-8>
    33<title></title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66
    77<div id="target"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentText.html

    r200309 r215701  
    22<meta charset=utf-8>
    33<title></title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66<body style="visibility:hidden">
    77<div id="target"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-lastElementChild-xhtml.xhtml

    r189471 r215701  
    33<head>
    44<title>firstElementChild</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-lastElementChild.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>lastElementChild</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<h1>Test of lastElementChild</h1>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches.html

    r213882 r215701  
    33<title>Selectors-API Level 2 Test Suite: HTML with Selectors Level 3</title>
    44<!--  Selectors API Test Suite Version 3  -->
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="/dom/nodes/selectors.js"></script>
    88<script src="/dom/nodes/ParentNode-querySelector-All.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-nextElementSibling-xhtml.xhtml

    r194580 r215701  
    33<head>
    44<title>nextElementSibling</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-nextElementSibling.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>nextElementSibling</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<h1>Test of nextElementSibling</h1>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-previousElementSibling-xhtml.xhtml

    r194580 r215701  
    33<head>
    44<title>previousElementSibling</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-previousElementSibling.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>previousElementSibling</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<h1>Test of previousElementSibling</h1>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-remove.html

    r189471 r215701  
    33<title>Element.remove</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-remove">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="ChildNode-remove.js"></script>
    88<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-removeAttributeNS.html

    r189471 r215701  
    11<!DOCTYPE html>
    22<title>Element.removeAttributeNS</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<script src="attributes.js"></script>
    66<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-siblingElement-null-xhtml.xhtml

    r189471 r215701  
    33<head>
    44<title>Null Test</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-siblingElement-null.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>Null test</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<h1>Test of previousElementSibling and nextElementSibling returning null</h1>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-tagName.html

    r189471 r215701  
    11<!DOCTYPE html>
    22<title>Element.tagName</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id="log"></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-webkitMatchesSelector.html

    r213882 r215701  
    33<title>Selectors-API Level 2 Test Suite: HTML with Selectors Level 3</title>
    44<!--  Selectors API Test Suite Version 3  -->
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="/dom/nodes/selectors.js"></script>
    88<script src="/dom/nodes/ParentNode-querySelector-All.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/MutationObserver-attributes.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>MutationObservers: attributes mutations</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<script src="mutationobservers.js"></script>
    77<h1>MutationObservers: attributes mutations</h1>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/MutationObserver-characterData.html

    r191379 r215701  
    22<meta charset=utf-8>
    33<title>MutationObservers: characterData mutations</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<script src="mutationobservers.js"></script>
    77<h1>MutationObservers: characterData mutations</h1>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/MutationObserver-childList.html

    r194580 r215701  
    22<meta charset=utf-8>
    33<title>MutationObservers: childList mutations</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<script src="mutationobservers.js"></script>
    77<h1>MutationObservers: childList mutations</h1>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/MutationObserver-disconnect.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>MutationObservers: disconnect</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<h1>MutationObservers: disconnect</h1>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/MutationObserver-document.html

    r194580 r215701  
    22<meta charset=utf-8>
    33<title>MutationObservers: takeRecords</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<script src="mutationobservers.js"></script>
    77<h1>MutationObservers: document mutations</h1>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/MutationObserver-inner-outer.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>MutationObservers: innerHTML, outerHTML mutations</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<script src="mutationobservers.js"></script>
    77<h1>MutationObservers: innerHTML, outerHTML mutations</h1>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/MutationObserver-takeRecords.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>MutationObservers: takeRecords</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<script src="mutationobservers.js"></script>
    77<h1>MutationObservers: takeRecords</h1>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-appendChild.html

    r189471 r215701  
    33<title>Node.appendChild</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-node-appendchild">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id="log"></div>
    88<iframe src=about:blank></iframe>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-baseURI.html

    r189471 r215701  
    11<!DOCTYPE html>
    22<title>Node.baseURI</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id="log"></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-childNodes.html

    r206999 r215701  
    55<link rel=author title="Tim Taubert" href="mailto:ttaubert@mozilla.com">
    66<link rel=author title="Ms2ger" href="mailto:Ms2ger@gmail.com">
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<div id="log"></div>
    1010<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-cloneNode.html

    r210823 r215701  
    33<title>Node.cloneNode</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-node-clonenode">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id=log></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-compareDocumentPosition.html

    r191379 r215701  
    33<link rel=author title="Aryeh Gregor" href=ayg@aryeh.name>
    44<div id=log></div>
    5 <script src=/resources/testharness.js></script>
    6 <script src=/resources/testharnessreport.js></script>
     5<script src=../../../../../resources/testharness.js></script>
     6<script src=../../../../../resources/testharnessreport.js></script>
    77<script src=../common.js></script>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-constants.html

    r189471 r215701  
    11<!doctype html>
    22<title>Node constants</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<script src="../constants.js"></script>
    66<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml.xml

    r200309 r215701  
    55<link rel="author" title="Olli Pettay" href="mailto:Olli@Pettay.fi"/>
    66<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"/>
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99</head>
    1010<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains.html

    r207939 r215701  
    33<link rel=author title="Aryeh Gregor" href=ayg@aryeh.name>
    44<div id=log></div>
    5 <script src=/resources/testharness.js></script>
    6 <script src=/resources/testharnessreport.js></script>
     5<script src=../../../../../resources/testharness.js></script>
     6<script src=../../../../../resources/testharnessreport.js></script>
    77<script src=../common.js></script>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-insertBefore.html

    r189471 r215701  
    11<!DOCTYPE html>
    22<title>Node.insertBefore</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id="log"></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isConnected.html

    r202870 r215701  
    44<title>Node.prototype.isConnected</title>
    55<link rel=help href="https://dom.spec.whatwg.org/#dom-node-isconnected">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88</head>
    99<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-xhtml.xhtml

    r196079 r215701  
    22<head>
    33<title>Node.isEqualNode</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66</head>
    77<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode.html

    r196079 r215701  
    33<title>Node.prototype.isEqualNode</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-node-isequalnode">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isSameNode.html

    r212202 r215701  
    33<title>Node.prototype.isSameNode</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-node-issamenode">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script>
    88"use strict";
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-lookupNamespaceURI.html

    r213882 r215701  
    33<head>
    44<title>LookupNamespaceURI and IsDefaultNamespace tests</title>
    5 <script src=/resources/testharness.js></script>
    6 <script src=/resources/testharnessreport.js></script>
     5<script src=../../../../../resources/testharness.js></script>
     6<script src=../../../../../resources/testharnessreport.js></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-lookupPrefix.xhtml

    r191379 r215701  
    22<head>
    33<title>Node.lookupPrefix</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66</head>
    77<body xmlns:s="test">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-nodeName-xhtml.xhtml

    r189471 r215701  
    33<head>
    44<title>Node.nodeName</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-nodeName.html

    r189471 r215701  
    11<!DOCTYPE html>
    22<title>Node.nodeName</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id="log"></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-nodeValue.html

    r189471 r215701  
    33<title>Node.nodeValue</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-node-nodevalue">
    5 <script src=/resources/testharness.js></script>
    6 <script src=/resources/testharnessreport.js></script>
     5<script src=../../../../../resources/testharness.js></script>
     6<script src=../../../../../resources/testharnessreport.js></script>
    77<div id=log></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-normalize.html

    r189471 r215701  
    11<!DOCTYPE html>
    22<title>Node.normalize()</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-parentElement.html

    r200309 r215701  
    11<!DOCTYPE html>
    22<title>Node.parentElement</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id="log"></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-parentNode.html

    r191379 r215701  
    11<!DOCTYPE html>
    22<title>Node.parentNode</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<div id="log"></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-properties.html

    r204623 r215701  
    44<meta charset=utf-8>
    55<div id=log></div>
    6 <script src=/resources/testharness.js></script>
    7 <script src=/resources/testharnessreport.js></script>
     6<script src=../../../../../resources/testharness.js></script>
     7<script src=../../../../../resources/testharnessreport.js></script>
    88<script src=../common.js></script>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-removeChild.html

    r189471 r215701  
    11<!DOCTYPE html>
    22<title>Node.removeChild</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<script src="creators.js"></script>
    66<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-replaceChild.html

    r200309 r215701  
    22<meta charset=utf-8>
    33<title>Node.replaceChild</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<body><a><b></b><c></c></a>
    77<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-textContent.html

    r189471 r215701  
    22<meta charset=utf-8>
    33<title>Node.textContent</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<div id="log"></div>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/NodeList-Iterable.html

    r212202 r215701  
    22<meta charset="utf-8">
    33<title>NodeList Iterable Test</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66    <p id="1"></p>
    77    <p id="2"></p>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-append.html

    r189471 r215701  
    33<title>ParentNode.append</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-parentnode-append">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script>
    88
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-prepend.html

    r189471 r215701  
    33<title>ParentNode.prepend</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-parentnode-prepend">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script>
    88
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht.xht

    r194580 r215701  
    33<head id="head">
    44<title>Selectors-API Test Suite: XHTML</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="selectors.js"></script>
    88<script src="ParentNode-querySelector-All.js"></script>
     
    1515async_test(function() {
    1616  var frame = document.createElement("iframe");
    17   frame.onload = this.step_func_done(init);
     17  var self = this;
     18  frame.onload = function() {
     19    // :target doesn't work before a page rendering on some browsers.  We run
     20    // tests after an animation frame because it may be later than the first
     21    // page rendering.
     22    requestAnimationFrame(self.step_func_done(init.bind(self, frame)));
     23  };
    1824  frame.src = "ParentNode-querySelector-All-content.xht#target";
    1925  document.body.appendChild(frame);
    2026})
    2127
    22 function init(e) {
     28function init(target) {
    2329  /*
    2430   * This test suite tests Selectors API methods in 4 different contexts:
     
    5965
    6066  // Prepare the nodes for testing
    61   var doc = e.target.contentDocument;                 // Document Node tests
     67  var doc = target.contentDocument;                 // Document Node tests
    6268
    6369  var element = doc.getElementById("root");   // In-document Element Node tests
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All.html

    r191379 r215701  
    22<meta charset="UTF-8">
    33<title>Selectors-API Test Suite: HTML</title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<script src="selectors.js"></script>
    77<script src="ParentNode-querySelector-All.js"></script>
     
    1313async_test(function() {
    1414  var frame = document.createElement("iframe");
    15   frame.onload = this.step_func_done(init);
     15  var self = this;
     16  frame.onload = function() {
     17    // :target doesn't work before a page rendering on some browsers.  We run
     18    // tests after an animation frame because it may be later than the first
     19    // page rendering.
     20    requestAnimationFrame(self.step_func_done(init.bind(self, frame)));
     21  };
    1622  frame.src = "ParentNode-querySelector-All-content.html#target";
    1723  document.body.appendChild(frame);
    1824});
    1925
    20 function init(e) {
     26function init(target) {
    2127  /*
    2228   * This test suite tests Selectors API methods in 4 different contexts:
     
    5763
    5864  // Prepare the nodes for testing
    59   var doc = e.target.contentDocument;                 // Document Node tests
     65  var doc = target.contentDocument;                 // Document Node tests
    6066
    6167  var element = doc.getElementById("root");   // In-document Element Node tests
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1.xhtml

    r203164 r215701  
    88<link rel="help" href="https://dom.spec.whatwg.org/#dom-processinginstruction-target"/>
    99<link rel="help" href="https://dom.spec.whatwg.org/#dom-characterdata-data"/>
    10 <script src="/resources/testharness.js"></script>
    11 <script src="/resources/testharnessreport.js"></script>
     10<script src="../../../../../resources/testharness.js"></script>
     11<script src="../../../../../resources/testharnessreport.js"></script>
    1212</head>
    1313<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ProcessingInstruction-literal-1.xhtml

    r189471 r215701  
    33<head>
    44<title>&lt;?xml?> is not a ProcessingInstruction</title>
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77</head>
    88<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ProcessingInstruction-literal-2.xhtml

    r189471 r215701  
    55<link rel="help" href="https://dom.spec.whatwg.org/#dom-processinginstruction-target"/>
    66<link rel="help" href="https://dom.spec.whatwg.org/#dom-characterdata-data"/>
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99</head>
    1010<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Text-constructor.html

    r189471 r215701  
    33<title>Text constructor</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-text">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script src="Comment-Text-constructor.js"></script>
    88<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Text-splitText.html

    r189471 r215701  
    33<title>Text.splitText()</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-text-splittextoffset">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id="log"></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/append-on-Document.html

    r189471 r215701  
    33<title>DocumentType.append</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-parentnode-append">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script>
    88
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes-expected.txt

    r211930 r215701  
    1111PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown. (setAttributeNS)
    1212PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown, even if the attribute is already present. (setAttributeNS)
    13 PASS When qualifiedName does not match the QName production, an NAMESPACE_ERR exception is to be thrown.
     13PASS When qualifiedName does not match the QName production, an INVALID_CHARACTER_ERR exception is to be thrown.
    1414PASS null and the empty string should result in a null namespace.
    1515PASS A namespace is required to use a prefix.
     
    4040PASS Basic functionality of getAttributeNode/getAttributeNodeNS
    4141PASS Basic functionality of setAttributeNode
     42PASS setAttributeNode should distinguish attributes with same local name and different namespaces
     43PASS setAttributeNode doesn't have case-insensitivity even with an HTMLElement
    4244PASS Basic functionality of setAttributeNodeNS
    4345PASS If attr’s element is neither null nor element, throw an InUseAttributeError.
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.html

    r205077 r215701  
    55<link rel=help href="https://dom.spec.whatwg.org/#dom-element-setattribute">
    66<link rel=help href="https://dom.spec.whatwg.org/#dom-element-setattributens">
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<script src="attributes.js"></script>
    1010<script src="productions.js"></script>
     
    131131  var el = document.createElement("foo")
    132132  for (var i = 0, il = invalid_qnames.length; i < il; ++i) {
    133     assert_throws("NAMESPACE_ERR",
     133    assert_throws("INVALID_CHARACTER_ERR",
    134134                  function() { el.setAttributeNS("a", invalid_qnames[i], "fail") },
    135135                  "Expected exception for " + invalid_qnames[i] + ".")
    136136  }
    137137}, "When qualifiedName does not match the QName production, an " +
    138    "NAMESPACE_ERR exception is to be thrown.")
     138   "INVALID_CHARACTER_ERR exception is to be thrown.")
    139139
    140140// Step 3
     
    446446
    447447test(function() {
     448  var el = document.createElement("div");
     449  var attr1 = document.createAttributeNS("ns1", "p1:name");
     450  attr1.value = "value1";
     451  var attr2 = document.createAttributeNS("ns2", "p2:name");
     452  attr2.value = "value2";
     453  el.setAttributeNode(attr1);
     454  el.setAttributeNode(attr2);
     455  assert_equals(el.getAttributeNodeNS("ns1", "name").value, "value1");
     456  assert_equals(el.getAttributeNodeNS("ns2", "name").value, "value2");
     457}, "setAttributeNode should distinguish attributes with same local name and different namespaces")
     458
     459test(function() {
     460  var el = document.createElement("div");
     461  var attr1 = document.createAttributeNS("ns1", "p1:name");
     462  attr1.value = "value1";
     463  var attr2 = document.createAttributeNS("ns1", "p1:NAME");
     464  attr2.value = "VALUE2";
     465  el.setAttributeNode(attr1);
     466  el.setAttributeNode(attr2);
     467  assert_equals(el.getAttributeNodeNS("ns1", "name").value, "value1");
     468  assert_equals(el.getAttributeNodeNS("ns1", "NAME").value, "VALUE2");
     469}, "setAttributeNode doesn't have case-insensitivity even with an HTMLElement")
     470
     471test(function() {
    448472  var el = document.createElement("div")
    449473  el.setAttributeNS("x", "foo", "bar")
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/case.html

    r189471 r215701  
    1313<link rel=help href="https://dom.spec.whatwg.org/#dom-element-getelementsbytagnamens">
    1414<script>var is_html = true;</script>
    15 <script src="/resources/testharness.js"></script>
    16 <script src="/resources/testharnessreport.js"></script>
     15<script src="../../../../../resources/testharness.js"></script>
     16<script src="../../../../../resources/testharnessreport.js"></script>
    1717<script src="case.js"></script>
    1818<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-01.htm

    r189471 r215701  
    33 <head>
    44  <title>document.getElementsByClassName(): simple</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-02.htm

    r189471 r215701  
    44 <head>
    55  <title>document.getElementsByClassName(): also simple</title>
    6   <script src="/resources/testharness.js"></script>
    7   <script src="/resources/testharnessreport.js"></script>
     6  <script src="../../../../../resources/testharness.js"></script>
     7  <script src="../../../../../resources/testharnessreport.js"></script>
    88 </head>
    99 <body class="a
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-03.htm

    r189471 r215701  
    33 <head>
    44  <title>document.getElementsByClassName(): changing classes</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-04.htm

    r189471 r215701  
    33 <head>
    44  <title>document.getElementsByClassName(): changing classes</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-05.htm

    r189471 r215701  
    33 <head>
    44  <title>document.getElementsByClassName(): changing classes</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-06.htm

    r189471 r215701  
    33 <head>
    44  <title>document.getElementsByClassName(): adding element with class</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-07.htm

    r189471 r215701  
    33 <head>
    44  <title>document.getElementsByClassName(): multiple classes</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a b">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-08.htm

    r189471 r215701  
    33 <head>
    44  <title>document.getElementsByClassName(): multiple classes</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-09.htm

    r189471 r215701  
    33 <head>
    44  <title>document.getElementsByClassName(): case sensitive</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a a">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-10.xml

    r194580 r215701  
    22 <head>
    33  <title>document.getElementsByClassName(): compound</title>
    4   <script src="/resources/testharness.js"></script>
    5   <script src="/resources/testharnessreport.js"></script>
     4  <script src="../../../../../resources/testharness.js"></script>
     5  <script src="../../../../../resources/testharnessreport.js"></script>
    66 </head>
    77 <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-11.xml

    r194580 r215701  
    22 <head>
    33  <title>document.getElementsByClassName(): "tricky" compound</title>
    4   <script src="/resources/testharness.js"></script>
    5   <script src="/resources/testharnessreport.js"></script>
     4  <script src="../../../../../resources/testharness.js"></script>
     5  <script src="../../../../../resources/testharnessreport.js"></script>
    66 </head>
    77 <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-12.htm

    r189471 r215701  
    33 <head>
    44  <title>element.getElementsByClassName(): simple</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-13.htm

    r189471 r215701  
    33 <head>
    44  <title>element.getElementsByClassName(): adding an element</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-14.htm

    r191379 r215701  
    33 <head>
    44  <title>document.getElementsByClassName(): case-insensitive (quirks mode)</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a a">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-15.htm

    r189471 r215701  
    44 <head>
    55  <title>document.getElementsByClassName(array): "a\n"</title>
    6   <script src="/resources/testharness.js"></script>
    7   <script src="/resources/testharnessreport.js"></script>
     6  <script src="../../../../../resources/testharness.js"></script>
     7  <script src="../../../../../resources/testharnessreport.js"></script>
    88 </head>
    99 <body class="a
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-16.htm

    r189471 r215701  
    44 <head>
    55  <title>document.getElementsByClassName(array): "b","a"</title>
    6   <script src="/resources/testharness.js"></script>
    7   <script src="/resources/testharnessreport.js"></script>
     6  <script src="../../../../../resources/testharness.js"></script>
     7  <script src="../../../../../resources/testharnessreport.js"></script>
    88 </head>
    99 <body class="b,a">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-17.htm

    r189471 r215701  
    33 <head>
    44  <title>document.getElementsByClassName(array): "b a"</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a b">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-18.htm

    r189471 r215701  
    33 <head>
    44  <title>element.getElementsByClassName(array): "a", "b"</title>
    5   <script src="/resources/testharness.js"></script>
    6   <script src="/resources/testharnessreport.js"></script>
     5  <script src="../../../../../resources/testharness.js"></script>
     6  <script src="../../../../../resources/testharnessreport.js"></script>
    77 </head>
    88 <body class="a,b x">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-19.htm

    r189471 r215701  
    44    <meta content="get elements in document" name="description">
    55    <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname" rel="help">
    6     <script src="/resources/testharness.js"></script>
    7     <script src="/resources/testharnessreport.js"></script>
     6    <script src="../../../../../resources/testharness.js"></script>
     7    <script src="../../../../../resources/testharnessreport.js"></script>
    88</head>
    99    <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-20.htm

    r189471 r215701  
    44        <meta content="get elements in document then add element to collection" name="description">
    55    <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname" rel="help">
    6     <script src="/resources/testharness.js"></script>
    7     <script src="/resources/testharnessreport.js"></script>
     6    <script src="../../../../../resources/testharness.js"></script>
     7    <script src="../../../../../resources/testharnessreport.js"></script>
    88</head>
    99    <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-21.htm

    r189471 r215701  
    44        <meta content="delete element from collection" name="description">
    55    <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname" rel="help">
    6     <script src="/resources/testharness.js"></script>
    7     <script src="/resources/testharnessreport.js"></script>
     6    <script src="../../../../../resources/testharness.js"></script>
     7    <script src="../../../../../resources/testharnessreport.js"></script>
    88</head>
    99    <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-22.htm

    r189471 r215701  
    44        <meta content="move item in collection order" name="description">
    55    <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname" rel="help">
    6     <script src="/resources/testharness.js"></script>
    7     <script src="/resources/testharnessreport.js"></script>
     6    <script src="../../../../../resources/testharness.js"></script>
     7    <script src="../../../../../resources/testharnessreport.js"></script>
    88</head>
    99    <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-23.htm

    r189471 r215701  
    44        <meta content="multiple defined classes" name="description">
    55    <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname" rel="help">
    6     <script src="/resources/testharness.js"></script>
    7     <script src="/resources/testharnessreport.js"></script>
     6    <script src="../../../../../resources/testharness.js"></script>
     7    <script src="../../../../../resources/testharnessreport.js"></script>
    88</head>
    99    <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-24.htm

    r189471 r215701  
    55        <meta content="handle unicode chars" name="description">
    66    <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname" rel="help">
    7     <script src="/resources/testharness.js"></script>
    8     <script src="/resources/testharnessreport.js"></script>
     7    <script src="../../../../../resources/testharness.js"></script>
     8    <script src="../../../../../resources/testharnessreport.js"></script>
    99</head>
    1010    <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-25.htm

    r189471 r215701  
    44        <meta content="verify spacing is handled correctly" name="description">
    55    <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname" rel="help">
    6     <script src="/resources/testharness.js"></script>
    7     <script src="/resources/testharnessreport.js"></script>
     6    <script src="../../../../../resources/testharness.js"></script>
     7    <script src="../../../../../resources/testharnessreport.js"></script>
    88</head>
    99    <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-26.htm

    r189471 r215701  
    44        <meta content="multiple class attributes" name="description">
    55    <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname" rel="help">
    6     <script src="/resources/testharness.js"></script>
    7     <script src="/resources/testharnessreport.js"></script>
     6    <script src="../../../../../resources/testharness.js"></script>
     7    <script src="../../../../../resources/testharnessreport.js"></script>
    88</head>
    99    <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-27.htm

    r189471 r215701  
    44        <meta content="generic element listed" name="description">
    55    <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname" rel="help">
    6     <script src="/resources/testharness.js"></script>
    7     <script src="/resources/testharnessreport.js"></script>
     6    <script src="../../../../../resources/testharness.js"></script>
     7    <script src="../../../../../resources/testharnessreport.js"></script>
    88</head>
    99    <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-28.htm

    r191379 r215701  
    44        <meta content="generic element listed" name="description">
    55    <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname" rel="help">
    6     <script src="/resources/testharness.js"></script>
    7     <script src="/resources/testharnessreport.js"></script>
     6    <script src="../../../../../resources/testharness.js"></script>
     7    <script src="../../../../../resources/testharnessreport.js"></script>
    88</head>
    99    <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-29.htm

    r189471 r215701  
    44    <meta content="get class from children of element" name="description">
    55    <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname" rel="help">
    6     <script src="/resources/testharness.js"></script>
    7     <script src="/resources/testharnessreport.js"></script>
     6    <script src="../../../../../resources/testharness.js"></script>
     7    <script src="../../../../../resources/testharnessreport.js"></script>
    88</head>
    99    <body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-30.htm

    r189471 r215701  
    77        <script class="foo"></script>
    88        <style class="foo"></style>
    9     <script src="/resources/testharness.js"></script>
    10     <script src="/resources/testharnessreport.js"></script>
     9    <script src="../../../../../resources/testharness.js"></script>
     10    <script src="../../../../../resources/testharnessreport.js"></script>
    1111    <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname" rel="help">
    1212</head>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-31.htm

    r189471 r215701  
    44<title>getElementsByClassName across documents</title>
    55<link rel=help href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname">
    6 <script src="/resources/testharness.js"></script>
    7 <script src="/resources/testharnessreport.js"></script>
     6<script src="../../../../../resources/testharness.js"></script>
     7<script src="../../../../../resources/testharnessreport.js"></script>
    88<div id=log></div>
    99<script class=foo>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/insert-adjacent.html

    r200309 r215701  
    22<meta charset="utf-8">
    33<title></title>
    4 <script src="/resources/testharness.js"></script>
    5 <script src="/resources/testharnessreport.js"></script>
     4<script src="../../../../../resources/testharness.js"></script>
     5<script src="../../../../../resources/testharnessreport.js"></script>
    66<style>
    77#element {
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/prepend-on-Document.html

    r189471 r215701  
    33<title>DocumentType.prepend</title>
    44<link rel=help href="https://dom.spec.whatwg.org/#dom-parentnode-prepend">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<script>
    88
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/remove-unscopable.html

    r202471 r215701  
    22<meta charset=utf-8>
    33<title></title>
    4 <script src=/resources/testharness.js></script>
    5 <script src=/resources/testharnessreport.js></script>
     4<script src=../../../../../resources/testharness.js></script>
     5<script src=../../../../../resources/testharnessreport.js></script>
    66<div id="testDiv" onclick="result1 = remove; result2 = this.remove;"></div>
    77<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/rootNode.html

    r206260 r215701  
    55<title>Node.prototype.getRootNode()</title>
    66<link rel="help" href="https://dom.spec.whatwg.org/#dom-node-getrootnode">
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99</head>
    1010<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/w3c-import.log

    r213882 r215701  
    6666/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal.html
    6767/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-remove.html
     68/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElement-null-svg.svg
    6869/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElement-null-xhtml.xhtml
    6970/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElement-null.html
     71/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-svg.svg
    7072/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml
    7173/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.html
     74/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-svg.svg
    7275/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml
    7376/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove.html
     77/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild-svg.svg
    7478/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml
    7579/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild.html
     80/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-svg.svg
    7681/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-xhtml.xhtml
    7782/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount.html
     
    8085/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-closest.html
    8186/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-entity-xhtml.xhtml
     87/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-entity.svg
     88/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-namespace-svg.svg
    8289/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml
    8390/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-namespace.html
     91/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-svg.svg
    8492/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-xhtml.xhtml
    8593/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild.html
     
    92100/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentElement.html
    93101/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentText.html
     102/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-lastElementChild-svg.svg
    94103/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-lastElementChild-xhtml.xhtml
    95104/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-lastElementChild.html
    96105/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches.html
    97106/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches.js
     107/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-nextElementSibling-svg.svg
    98108/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-nextElementSibling-xhtml.xhtml
    99109/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-nextElementSibling.html
     110/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-previousElementSibling-svg.svg
    100111/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-previousElementSibling-xhtml.xhtml
    101112/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-previousElementSibling.html
    102113/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-remove.html
    103114/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-removeAttributeNS.html
     115/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-siblingElement-null-svg.svg
    104116/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-siblingElement-null-xhtml.xhtml
    105117/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-siblingElement-null.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-attributes.html

    r189471 r215701  
    33<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
    44<meta name=timeout content=long>
    5 <script src=/resources/testharness.js></script>
    6 <script src=/resources/testharnessreport.js></script>
     5<script src=../../../../../resources/testharness.js></script>
     6<script src=../../../../../resources/testharnessreport.js></script>
    77<div id=log></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-cloneContents.html

    r189471 r215701  
    77iframe in the DOM.
    88<div id=log></div>
    9 <script src=/resources/testharness.js></script>
    10 <script src=/resources/testharnessreport.js></script>
     9<script src=../../../../../resources/testharness.js></script>
     10<script src=../../../../../resources/testharnessreport.js></script>
    1111<script src=../common.js></script>
    1212<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-cloneRange.html

    r189471 r215701  
    44<meta name=timeout content=long>
    55<div id=log></div>
    6 <script src=/resources/testharness.js></script>
    7 <script src=/resources/testharnessreport.js></script>
     6<script src=../../../../../resources/testharness.js></script>
     7<script src=../../../../../resources/testharnessreport.js></script>
    88<script src=../common.js></script>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-collapse.html

    r189471 r215701  
    44<meta name=timeout content=long>
    55<div id=log></div>
    6 <script src=/resources/testharness.js></script>
    7 <script src=/resources/testharnessreport.js></script>
     6<script src=../../../../../resources/testharness.js></script>
     7<script src=../../../../../resources/testharnessreport.js></script>
    88<script src=../common.js></script>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-commonAncestorContainer-2.html

    r189471 r215701  
    11<!doctype html>
    22<title>Range.commonAncestorContainer</title>
    3 <script src=/resources/testharness.js></script>
    4 <script src=/resources/testharnessreport.js></script>
     3<script src=../../../../../resources/testharness.js></script>
     4<script src=../../../../../resources/testharnessreport.js></script>
    55<div id=log></div>
    66<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-commonAncestorContainer.html

    r189471 r215701  
    44<meta name=timeout content=long>
    55<div id=log></div>
    6 <script src=/resources/testharness.js></script>
    7 <script src=/resources/testharnessreport.js></script>
     6<script src=../../../../../resources/testharness.js></script>
     7<script src=../../../../../resources/testharnessreport.js></script>
    88<script src=../common.js></script>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-compareBoundaryPoints.html

    r189471 r215701  
    55
    66<div id=log></div>
    7 <script src=/resources/testharness.js></script>
    8 <script src=/resources/testharnessreport.js></script>
     7<script src=../../../../../resources/testharness.js></script>
     8<script src=../../../../../resources/testharnessreport.js></script>
    99<script src=../common.js></script>
    1010<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-comparePoint-2.html

    r189471 r215701  
    33<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
    44<meta name=timeout content=long>
    5 <script src=/resources/testharness.js></script>
    6 <script src=/resources/testharnessreport.js></script>
     5<script src=../../../../../resources/testharness.js></script>
     6<script src=../../../../../resources/testharnessreport.js></script>
    77<div id=log></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-comparePoint.html

    r189471 r215701  
    44<meta name=timeout content=long>
    55<div id=log></div>
    6 <script src=/resources/testharness.js></script>
    7 <script src=/resources/testharnessreport.js></script>
     6<script src=../../../../../resources/testharness.js></script>
     7<script src=../../../../../resources/testharnessreport.js></script>
    88<script src=../common.js></script>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-constructor.html

    r196079 r215701  
    33<link rel="author" title="Aryeh Gregor" href=ayg@aryeh.name>
    44<div id=log></div>
    5 <script src=/resources/testharness.js></script>
    6 <script src=/resources/testharnessreport.js></script>
     5<script src=../../../../../resources/testharness.js></script>
     6<script src=../../../../../resources/testharnessreport.js></script>
    77<script>
    88"use strict";
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-deleteContents.html

    r194580 r215701  
    77iframe in the DOM.
    88<div id=log></div>
    9 <script src=/resources/testharness.js></script>
    10 <script src=/resources/testharnessreport.js></script>
     9<script src=../../../../../resources/testharness.js></script>
     10<script src=../../../../../resources/testharnessreport.js></script>
    1111<script src=../common.js></script>
    1212<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-detach.html

    r189471 r215701  
    33<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
    44<meta name=timeout content=long>
    5 <script src=/resources/testharness.js></script>
    6 <script src=/resources/testharnessreport.js></script>
     5<script src=../../../../../resources/testharness.js></script>
     6<script src=../../../../../resources/testharnessreport.js></script>
    77<div id=log></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-extractContents.html

    r189471 r215701  
    77iframe in the DOM.
    88<div id=log></div>
    9 <script src=/resources/testharness.js></script>
    10 <script src=/resources/testharnessreport.js></script>
     9<script src=../../../../../resources/testharness.js></script>
     10<script src=../../../../../resources/testharnessreport.js></script>
    1111<script src=../common.js></script>
    1212<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-insertNode.html

    r189471 r215701  
    77iframes in the DOM.
    88<div id=log></div>
    9 <script src=/resources/testharness.js></script>
    10 <script src=/resources/testharnessreport.js></script>
     9<script src=../../../../../resources/testharness.js></script>
     10<script src=../../../../../resources/testharnessreport.js></script>
    1111<script src=../common.js></script>
    1212<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-intersectsNode-binding.html

    r189471 r215701  
    33<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
    44<meta name=timeout content=long>
    5 <script src=/resources/testharness.js></script>
    6 <script src=/resources/testharnessreport.js></script>
     5<script src=../../../../../resources/testharness.js></script>
     6<script src=../../../../../resources/testharnessreport.js></script>
    77<div id=log></div>
    88<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-intersectsNode.html

    r194580 r215701  
    44<meta name=timeout content=long>
    55<div id=log></div>
    6 <script src=/resources/testharness.js></script>
    7 <script src=/resources/testharnessreport.js></script>
     6<script src=../../../../../resources/testharness.js></script>
     7<script src=../../../../../resources/testharnessreport.js></script>
    88<script src=../common.js></script>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-isPointInRange.html

    r189471 r215701  
    44<meta name=timeout content=long>
    55<div id=log></div>
    6 <script src=/resources/testharness.js></script>
    7 <script src=/resources/testharnessreport.js></script>
     6<script src=../../../../../resources/testharness.js></script>
     7<script src=../../../../../resources/testharnessreport.js></script>
    88<script src=../common.js></script>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-mutations-appendChild.html

    r207939 r215701  
    55
    66<div id=log></div>
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<script src="../common.js"></script>
    1010<script src="Range-mutations.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-mutations-appendData.html

    r207939 r215701  
    55
    66<div id=log></div>
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<script src="../common.js"></script>
    1010<script src="Range-mutations.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-mutations-dataChange.html

    r207939 r215701  
    55
    66<div id=log></div>
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<script src="../common.js"></script>
    1010<script src="Range-mutations.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-mutations-deleteData.html

    r207939 r215701  
    55
    66<div id=log></div>
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<script src="../common.js"></script>
    1010<script src="Range-mutations.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-mutations-insertBefore.html

    r207939 r215701  
    55
    66<div id=log></div>
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<script src="../common.js"></script>
    1010<script src="Range-mutations.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-mutations-insertData.html

    r207939 r215701  
    55
    66<div id=log></div>
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<script src="../common.js"></script>
    1010<script src="Range-mutations.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-mutations-removeChild.html

    r207939 r215701  
    55
    66<div id=log></div>
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<script src="../common.js"></script>
    1010<script src="Range-mutations.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-mutations-replaceChild.html

    r207939 r215701  
    55
    66<div id=log></div>
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<script src="../common.js"></script>
    1010<script src="Range-mutations.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-mutations-replaceData.html

    r207939 r215701  
    55
    66<div id=log></div>
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<script src="../common.js"></script>
    1010<script src="Range-mutations.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-mutations-splitText.html

    r207939 r215701  
    55
    66<div id=log></div>
    7 <script src="/resources/testharness.js"></script>
    8 <script src="/resources/testharnessreport.js"></script>
     7<script src="../../../../../resources/testharness.js"></script>
     8<script src="../../../../../resources/testharnessreport.js"></script>
    99<script src="../common.js"></script>
    1010<script src="Range-mutations.js"></script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-selectNode.html

    r212202 r215701  
    44<meta name=timeout content=long>
    55<div id=log></div>
    6 <script src=/resources/testharness.js></script>
    7 <script src=/resources/testharnessreport.js></script>
     6<script src=../../../../../resources/testharness.js></script>
     7<script src=../../../../../resources/testharnessreport.js></script>
    88<script src=../common.js></script>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-set.html

    r189471 r215701  
    55
    66<div id=log></div>
    7 <script src=/resources/testharness.js></script>
    8 <script src=/resources/testharnessreport.js></script>
     7<script src=../../../../../resources/testharness.js></script>
     8<script src=../../../../../resources/testharnessreport.js></script>
    99<script src=../common.js></script>
    1010<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-stringifier.html

    r200309 r215701  
    33<title>Range stringifier</title>
    44<link rel="author" title="KiChjang" href="mailto:kungfukeith11@gmail.com">
    5 <script src="/resources/testharness.js"></script>
    6 <script src="/resources/testharnessreport.js"></script>
     5<script src="../../../../../resources/testharness.js"></script>
     6<script src="../../../../../resources/testharnessreport.js"></script>
    77<div id=test>Test div</div>
    88<div id=another>Another div</div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-surroundContents.html

    r194580 r215701  
    88iframes in the DOM.
    99<div id=log></div>
    10 <script src=/resources/testharness.js></script>
    11 <script src=/resources/testharnessreport.js></script>
     10<script src=../../../../../resources/testharness.js></script>
     11<script src=../../../../../resources/testharnessreport.js></script>
    1212<script src=../common.js></script>
    1313<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/NodeFilter-constants.html

    r189471 r215701  
    11<!doctype html>
    22<title>NodeFilter constants</title>
    3 <script src="/resources/testharness.js"></script>
    4 <script src="/resources/testharnessreport.js"></script>
     3<script src="../../../../../resources/testharness.js"></script>
     4<script src="../../../../../resources/testharnessreport.js"></script>
    55<script src="../constants.js"></script>
    66<div id="log"></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/NodeIterator-removal.html

    r189471 r215701  
    44<meta name=timeout content=long>
    55<div id=log></div>
    6 <script src=/resources/testharness.js></script>
    7 <script src=/resources/testharnessreport.js></script>
     6<script src=../../../../../resources/testharness.js></script>
     7<script src=../../../../../resources/testharnessreport.js></script>
    88<script src=../common.js></script>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/NodeIterator.html

    r189471 r215701  
    44<meta name=timeout content=long>
    55<div id=log></div>
    6 <script src=/resources/testharness.js></script>
    7 <script src=/resources/testharnessreport.js></script>
     6<script src=../../../../../resources/testharness.js></script>
     7<script src=../../../../../resources/testharnessreport.js></script>
    88<script src=../common.js></script>
    99<script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html

    r205077 r215701  
    66<head>
    77<title>TreeWalker: acceptNode-filter</title>
    8 <script src="/resources/testharness.js"></script>
    9 <script src="/resources/testharnessreport.js"></script>
     8<script src="../../../../../resources/testharness.js"></script>
     9<script src="../../../../../resources/testharnessreport.js"></script>
    1010<script src="traversal-support.js"></script>
    1111<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-basic.html

    r205077 r215701  
    66<head>
    77<title>TreeWalker: Basic test</title>
    8 <script src="/resources/testharness.js"></script>
    9 <script src="/resources/testharnessreport.js"></script>
     8<script src="../../../../../resources/testharness.js"></script>
     9<script src="../../../../../resources/testharnessreport.js"></script>
    1010<script src="traversal-support.js"></script>
    1111<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-currentNode.html

    r205077 r215701  
    66<head>
    77<title>TreeWalker: currentNode</title>
    8 <script src="/resources/testharness.js"></script>
    9 <script src="/resources/testharnessreport.js"></script>
     8<script src="../../../../../resources/testharness.js"></script>
     9<script src="../../../../../resources/testharnessreport.js"></script>
    1010<script src="traversal-support.js"></script>
    1111<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html

    r205077 r215701  
    66<head>
    77<title>TreeWalker: previousNodeLastChildReject</title>
    8 <script src="/resources/testharness.js"></script>
    9 <script src="/resources/testharnessreport.js"></script>
     8<script src="../../../../../resources/testharness.js"></script>
     9<script src="../../../../../resources/testharnessreport.js"></script>
    1010<script src="traversal-support.js"></script>
    1111<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html

    r205077 r215701  
    66<head>
    77<title>TreeWalker: previousSiblingLastChildSkip</title>
    8 <script src="/resources/testharness.js"></script>
    9 <script src="/resources/testharnessreport.js"></script>
     8<script src="../../../../../resources/testharness.js"></script>
     9<script src="../../../../../resources/testharnessreport.js"></script>
    1010<script src="traversal-support.js"></script>
    1111<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html

    r205077 r215701  
    66<head>
    77<title>TreeWalker: traversal-reject</title>
    8 <script src="/resources/testharness.js"></script>
    9 <script src="/resources/testharnessreport.js"></script>
     8<script src="../../../../../resources/testharness.js"></script>
     9<script src="../../../../../resources/testharnessreport.js"></script>
    1010<script src="traversal-support.js"></script>
    1111<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html

    r205077 r215701  
    66<head>
    77<title>TreeWalker: traversal-skip-most</title>
    8 <script src="/resources/testharness.js"></script>
    9 <script src="/resources/testharnessreport.js"></script>
     8<script src="../../../../../resources/testharness.js"></script>
     9<script src="../../../../../resources/testharnessreport.js"></script>
    1010<script src="traversal-support.js"></script>
    1111<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html

    r205077 r215701  
    66<head>
    77<title>TreeWalker: traversal-skip</title>
    8 <script src="/resources/testharness.js"></script>
    9 <script src="/resources/testharnessreport.js"></script>
     8<script src="../../../../../resources/testharness.js"></script>
     9<script src="../../../../../resources/testharnessreport.js"></script>
    1010<script src="traversal-support.js"></script>
    1111<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-walking-outside-a-tree.html

    r200309 r215701  
    66<head>
    77<title>TreeWalker: walking-outside-a-tree</title>
    8 <script src="/resources/testharness.js"></script>
    9 <script src="/resources/testharnessreport.js"></script>
     8<script src="../../../../../resources/testharness.js"></script>
     9<script src="../../../../../resources/testharnessreport.js"></script>
    1010<script src="traversal-support.js"></script>
    1111<div id=log></div>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker.html

    r189471 r215701  
    44<meta name=timeout content=long>
    55<div id=log></div>
    6 <script src=/resources/testharness.js></script>
    7 <script src=/resources/testharnessreport.js></script>
     6<script src=../../../../../resources/testharness.js></script>
     7<script src=../../../../../resources/testharnessreport.js></script>
    88<script src=../common.js></script>
    99<script>
  • trunk/LayoutTests/platform/mac/http/tests/misc/acid3-expected.txt

    r187489 r215701  
    11CONSOLE MESSAGE: Did not parse stylesheet at 'http://127.0.0.1:8000/misc/resources/acid3/empty.css' because non CSS MIME types are not allowed in strict mode.
     2ALERT: Test 23 failed: expected '14' but got '5' - wrong exception for createElementNS('null', ':div')
     3Test 25 failed: wrong exception
     4
    25layer at (0,0) size 800x600
    36  RenderView at (0,0) size 800x600
     
    1013      RenderBlock {DIV} at (41,121) size 562x312
    1114        RenderBlock {P} at (7,80) size 54x42 [bgcolor=#FF0000] [border: (1px solid #000000)]
    12         RenderBlock {P} at (70,64) size 64x50 [bgcolor=#FFA500] [border: (1px solid #000000)]
     15        RenderBlock {P} at (70,64) size 64x50 [bgcolor=#C0C0C0] [border: (1px solid #000000)]
    1316        RenderBlock {P} at (144,48) size 75x58 [bgcolor=#FFFF00] [border: (1px solid #000000)]
    1417        RenderBlock {P} at (230,32) size 87x66 [bgcolor=#00FF00] [border: (1px solid #000000)]
     
    1720        RenderText {#text} at (0,0) size 0x0
    1821      RenderBlock {P} at (41,214) size 568x120
    19         RenderInline {SPAN} at (0,0) size 168x112
    20           RenderText {#text} at (206,4) size 168x112
    21             text run at (206,4) width 168: "100"
     22        RenderInline {SPAN} at (0,0) size 112x112
     23          RenderText {#text} at (262,4) size 112x112
     24            text run at (262,4) width 112: "98"
    2225        RenderInline {SPAN} at (0,0) size 29x112
    2326          RenderText {#text} at (373,4) size 29x112
  • trunk/Source/WebCore/ChangeLog

    r215700 r215701  
     12017-04-24  Chris Dumez  <cdumez@apple.com>
     2
     3        createElementNS() should now throw only InvalidCharacterError, not NamespaceError
     4        https://bugs.webkit.org/show_bug.cgi?id=171052
     5
     6        Reviewed by Sam Weinig.
     7
     8        Validating a qualified name should only throw InvalidCharacterError, not NamespaceError,
     9        after:
     10        - https://github.com/whatwg/dom/issues/319
     11        - https://github.com/w3c/web-platform-tests/issues/5161
     12        - https://github.com/whatwg/dom/issues/423
     13
     14        Latest spec:
     15        - https://dom.spec.whatwg.org/#validate
     16
     17        No new tests, updated web-platform-tests.
     18
     19        * dom/Document.cpp:
     20        (WebCore::Document::parseQualifiedName):
     21
    1222017-04-24  Chris Dumez  <cdumez@apple.com>
    223
  • trunk/Source/WebCore/dom/Document.cpp

    r215607 r215701  
    44264426        if (c == ':') {
    44274427            if (sawColon)
    4428                 return Exception { NAMESPACE_ERR };
     4428                return Exception { INVALID_CHARACTER_ERR };
    44294429            nameStart = true;
    44304430            sawColon = true;
     
    44444444
    44454445    if (!colonPosition || length - colonPosition <= 1)
    4446         return Exception { NAMESPACE_ERR };
     4446        return Exception { INVALID_CHARACTER_ERR };
    44474447
    44484448    return std::pair<AtomicString, AtomicString> { StringView { qualifiedName }.substring(0, colonPosition).toAtomicString(), StringView { qualifiedName }.substring(colonPosition + 1).toAtomicString() };
Note: See TracChangeset for help on using the changeset viewer.