From 371f97950f34385ae58c1e98f77a870797cacc94 Mon Sep 17 00:00:00 2001 From: "cdumez@apple.com" Date: Mon, 24 Apr 2017 23:43:24 +0000 Subject: [PATCH] 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: - https://github.com/whatwg/dom/issues/319 - https://github.com/w3c/web-platform-tests/issues/5161 - https://github.com/whatwg/dom/issues/423 Latest spec: - https://dom.spec.whatwg.org/#validate No new tests, updated web-platform-tests. * dom/Document.cpp: (WebCore::Document::parseQualifiedName): LayoutTests: Updated / rebaselined existing tests to reflect behavior change. * fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt: * fast/dom/DOMImplementation/createDocumentType-err-expected.txt: * fast/dom/DOMImplementation/script-tests/createDocument-namespace-err.js: * fast/dom/DOMImplementation/script-tests/createDocumentType-err.js: * fast/dom/Document/createAttributeNS-namespace-err-expected.txt: * fast/dom/Document/createElementNS-namespace-err-expected.txt: * fast/dom/Document/script-tests/createAttributeNS-namespace-err.js: * fast/dom/Document/script-tests/createElementNS-namespace-err.js: * fast/dom/Element/script-tests/setAttributeNS-namespace-err.js: * fast/dom/Element/setAttributeNS-namespace-err-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@215701 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- LayoutTests/ChangeLog | 20 ++ .../createDocument-namespace-err-expected.txt | 18 +- .../createDocumentType-err-expected.txt | 10 +- .../createDocument-namespace-err.js | 18 +- .../script-tests/createDocumentType-err.js | 10 +- ...eateAttributeNS-namespace-err-expected.txt | 16 +- ...createElementNS-namespace-err-expected.txt | 16 +- .../createAttributeNS-namespace-err.js | 16 +- .../createElementNS-namespace-err.js | 16 +- .../setAttributeNS-namespace-err.js | 16 +- .../setAttributeNS-namespace-err-expected.txt | 16 +- LayoutTests/http/tests/misc/acid3.html | 9 +- LayoutTests/imported/w3c/ChangeLog | 290 ++++++++++++++++++ ...Collection-as-proto-length-get-throws.html | 4 +- .../HTMLCollection-empty-name.html | 4 +- ...Collection-supported-property-indices.html | 4 +- ...MLCollection-supported-property-names.html | 4 +- ...domstringmap-supported-property-names.html | 4 +- ...namednodemap-supported-property-names.html | 4 +- .../events/AddEventListenerOptions-once.html | 4 +- .../AddEventListenerOptions-passive.html | 4 +- .../dom/events/CustomEvent.html | 4 +- .../dom/events/Event-cancelBubble.html | 4 +- .../dom/events/Event-constants.html | 4 +- .../dom/events/Event-constructors.html | 4 +- ...Event-defaultPrevented-after-dispatch.html | 4 +- .../dom/events/Event-defaultPrevented.html | 4 +- .../Event-dispatch-bubble-canceled.html | 4 +- .../events/Event-dispatch-bubbles-false.html | 4 +- .../events/Event-dispatch-bubbles-true.html | 4 +- .../dom/events/Event-dispatch-click.html | 4 +- .../events/Event-dispatch-detached-click.html | 4 +- .../Event-dispatch-handlers-changed.html | 4 +- .../Event-dispatch-multiple-cancelBubble.html | 4 +- ...ent-dispatch-multiple-stopPropagation.html | 4 +- .../Event-dispatch-omitted-capture.html | 4 +- .../dom/events/Event-dispatch-order.html | 4 +- .../events/Event-dispatch-other-document.html | 4 +- .../Event-dispatch-propagation-stopped.html | 4 +- .../dom/events/Event-dispatch-redispatch.html | 4 +- .../dom/events/Event-dispatch-reenter.html | 4 +- .../events/Event-dispatch-target-moved.html | 4 +- .../events/Event-dispatch-target-removed.html | 4 +- .../dom/events/Event-dispatch-throwing.html | 4 +- .../events/Event-init-while-dispatching.html | 4 +- .../dom/events/Event-initEvent.html | 4 +- .../dom/events/Event-propagation.html | 4 +- .../events/Event-subclasses-constructors.html | 4 +- .../dom/events/Event-type-empty.html | 4 +- .../dom/events/Event-type.html | 4 +- .../dom/events/EventListener-handleEvent.html | 4 +- .../EventListener-incumbent-global-1.sub.html | 4 +- .../EventListener-incumbent-global-2.sub.html | 4 +- .../events/EventListener-invoke-legacy.html | 14 +- .../events/EventListenerOptions-capture.html | 4 +- .../events/EventTarget-addEventListener.html | 4 +- ...EventTarget-dispatchEvent-returnvalue.html | 4 +- .../dom/events/EventTarget-dispatchEvent.html | 4 +- .../EventTarget-removeEventListener.html | 4 +- .../web-platform-tests/dom/historical.html | 4 +- .../dom/interface-objects.html | 4 +- .../web-platform-tests/dom/interfaces.html | 4 +- .../dom/lists/DOMTokenList-Iterable.html | 4 +- .../DOMTokenList-coverage-for-attributes.html | 4 +- .../dom/lists/DOMTokenList-iteration.html | 4 +- .../dom/lists/DOMTokenList-stringifier.html | 4 +- .../dom/lists/DOMTokenList-value.html | 4 +- .../dom/nodes/CharacterData-appendChild.html | 4 +- .../dom/nodes/CharacterData-appendData.html | 4 +- .../dom/nodes/CharacterData-data.html | 4 +- .../dom/nodes/CharacterData-deleteData.html | 4 +- .../dom/nodes/CharacterData-insertData.html | 4 +- .../dom/nodes/CharacterData-remove.html | 4 +- .../dom/nodes/CharacterData-replaceData.html | 4 +- .../nodes/CharacterData-substringData.html | 4 +- .../dom/nodes/CharacterData-surrogates.html | 4 +- .../dom/nodes/ChildNode-after.html | 4 +- .../dom/nodes/ChildNode-before.html | 4 +- .../dom/nodes/ChildNode-replaceWith.html | 4 +- .../dom/nodes/Comment-constructor.html | 4 +- ...Implementation-createDocument-expected.txt | 48 +-- .../DOMImplementation-createDocument.html | 4 +- ...ementation-createDocumentType-expected.txt | 6 +- .../DOMImplementation-createDocumentType.html | 10 +- .../DOMImplementation-createHTMLDocument.html | 4 +- .../nodes/DOMImplementation-hasFeature.html | 4 +- .../dom/nodes/Document-URL.sub.html | 4 +- .../dom/nodes/Document-adoptNode.html | 4 +- .../Document-characterSet-normalization.html | 4 +- .../dom/nodes/Document-constructor.html | 4 +- .../contentType/contenttype_bmp.html | 4 +- .../contentType/contenttype_css.html | 4 +- .../contentType/contenttype_datauri_01.html | 4 +- .../contentType/contenttype_datauri_02.html | 4 +- .../contentType/contenttype_gif.html | 4 +- .../contentType/contenttype_html.html | 4 +- .../contenttype_javascripturi.html | 4 +- .../contentType/contenttype_jpg.html | 4 +- .../contenttype_mimeheader_01.html | 4 +- .../contenttype_mimeheader_02.html | 4 +- .../contentType/contenttype_png.html | 4 +- .../contentType/contenttype_txt.html | 4 +- .../contentType/contenttype_xml.html | 4 +- .../contentType/createDocument.html | 4 +- .../contentType/createHTMLDocument.html | 4 +- .../xhr_responseType_document.html | 4 +- .../dom/nodes/Document-createAttribute.html | 4 +- .../dom/nodes/Document-createComment.html | 4 +- .../w3c-import.log | 4 + .../Document-createElement-namespace.html | 4 +- .../dom/nodes/Document-createElement.html | 4 +- .../Document-createElementNS-expected.txt | 144 ++++----- .../dom/nodes/Document-createElementNS.html | 4 +- .../dom/nodes/Document-createElementNS.js | 48 +-- .../dom/nodes/Document-createEvent.html | 4 +- ...nt-createProcessingInstruction-xhtml.xhtml | 4 +- .../Document-createProcessingInstruction.html | 4 +- .../dom/nodes/Document-createTextNode.html | 4 +- .../dom/nodes/Document-createTreeWalker.html | 4 +- .../dom/nodes/Document-doctype.html | 4 +- .../dom/nodes/Document-getElementById.html | 4 +- .../Document-getElementsByTagName-xhtml.xhtml | 4 +- .../nodes/Document-getElementsByTagName.html | 4 +- .../Document-getElementsByTagNameNS.html | 4 +- .../dom/nodes/Document-implementation.html | 4 +- .../dom/nodes/Document-importNode.html | 4 +- .../nodes/DocumentType-literal-xhtml.xhtml | 4 +- .../dom/nodes/DocumentType-literal.html | 4 +- .../dom/nodes/DocumentType-remove.html | 4 +- .../Element-childElement-null-xhtml.xhtml | 4 +- .../dom/nodes/Element-childElement-null.html | 4 +- ...-childElementCount-dynamic-add-xhtml.xhtml | 4 +- ...Element-childElementCount-dynamic-add.html | 4 +- ...ildElementCount-dynamic-remove-xhtml.xhtml | 4 +- ...ment-childElementCount-dynamic-remove.html | 4 +- ...ment-childElementCount-nochild-xhtml.xhtml | 4 +- .../Element-childElementCount-nochild.html | 4 +- .../Element-childElementCount-xhtml.xhtml | 4 +- .../dom/nodes/Element-childElementCount.html | 4 +- .../dom/nodes/Element-children.html | 4 +- .../dom/nodes/Element-classlist.html | 4 +- .../dom/nodes/Element-closest.html | 4 +- ...ement-firstElementChild-entity-xhtml.xhtml | 4 +- ...nt-firstElementChild-namespace-xhtml.xhtml | 4 +- .../Element-firstElementChild-namespace.html | 4 +- .../Element-firstElementChild-xhtml.xhtml | 4 +- .../dom/nodes/Element-firstElementChild.html | 4 +- .../nodes/Element-getElementsByClassName.html | 4 +- ...ntsByTagName-change-document-HTMLNess.html | 4 +- .../nodes/Element-getElementsByTagName.html | 4 +- .../nodes/Element-getElementsByTagNameNS.html | 4 +- .../dom/nodes/Element-hasAttributes.html | 4 +- .../nodes/Element-insertAdjacentElement.html | 4 +- .../dom/nodes/Element-insertAdjacentText.html | 4 +- .../Element-lastElementChild-xhtml.xhtml | 4 +- .../dom/nodes/Element-lastElementChild.html | 4 +- .../dom/nodes/Element-matches.html | 4 +- .../Element-nextElementSibling-xhtml.xhtml | 4 +- .../dom/nodes/Element-nextElementSibling.html | 4 +- ...Element-previousElementSibling-xhtml.xhtml | 4 +- .../nodes/Element-previousElementSibling.html | 4 +- .../dom/nodes/Element-remove.html | 4 +- .../dom/nodes/Element-removeAttributeNS.html | 4 +- .../Element-siblingElement-null-xhtml.xhtml | 4 +- .../nodes/Element-siblingElement-null.html | 4 +- .../dom/nodes/Element-tagName.html | 4 +- .../nodes/Element-webkitMatchesSelector.html | 4 +- .../nodes/MutationObserver-attributes.html | 4 +- .../nodes/MutationObserver-characterData.html | 4 +- .../dom/nodes/MutationObserver-childList.html | 4 +- .../nodes/MutationObserver-disconnect.html | 4 +- .../dom/nodes/MutationObserver-document.html | 4 +- .../nodes/MutationObserver-inner-outer.html | 4 +- .../nodes/MutationObserver-takeRecords.html | 4 +- .../dom/nodes/Node-appendChild.html | 4 +- .../dom/nodes/Node-baseURI.html | 4 +- .../dom/nodes/Node-childNodes.html | 4 +- .../dom/nodes/Node-cloneNode.html | 4 +- .../nodes/Node-compareDocumentPosition.html | 4 +- .../dom/nodes/Node-constants.html | 4 +- .../dom/nodes/Node-contains-xml.xml | 4 +- .../dom/nodes/Node-contains.html | 4 +- .../dom/nodes/Node-insertBefore.html | 4 +- .../dom/nodes/Node-isConnected.html | 4 +- .../dom/nodes/Node-isEqualNode-xhtml.xhtml | 4 +- .../dom/nodes/Node-isEqualNode.html | 4 +- .../dom/nodes/Node-isSameNode.html | 4 +- .../dom/nodes/Node-lookupNamespaceURI.html | 4 +- .../dom/nodes/Node-lookupPrefix.xhtml | 4 +- .../dom/nodes/Node-nodeName-xhtml.xhtml | 4 +- .../dom/nodes/Node-nodeName.html | 4 +- .../dom/nodes/Node-nodeValue.html | 4 +- .../dom/nodes/Node-normalize.html | 4 +- .../dom/nodes/Node-parentElement.html | 4 +- .../dom/nodes/Node-parentNode.html | 4 +- .../dom/nodes/Node-properties.html | 4 +- .../dom/nodes/Node-removeChild.html | 4 +- .../dom/nodes/Node-replaceChild.html | 4 +- .../dom/nodes/Node-textContent.html | 4 +- .../dom/nodes/NodeList-Iterable.html | 4 +- .../dom/nodes/ParentNode-append.html | 4 +- .../dom/nodes/ParentNode-prepend.html | 4 +- .../ParentNode-querySelector-All-xht.xht | 16 +- .../nodes/ParentNode-querySelector-All.html | 16 +- .../ProcessingInstruction-escapes-1.xhtml | 4 +- .../ProcessingInstruction-literal-1.xhtml | 4 +- .../ProcessingInstruction-literal-2.xhtml | 4 +- .../dom/nodes/Text-constructor.html | 4 +- .../dom/nodes/Text-splitText.html | 4 +- .../dom/nodes/append-on-Document.html | 4 +- .../dom/nodes/attributes-expected.txt | 4 +- .../dom/nodes/attributes.html | 32 +- .../web-platform-tests/dom/nodes/case.html | 4 +- .../dom/nodes/getElementsByClassName-01.htm | 4 +- .../dom/nodes/getElementsByClassName-02.htm | 4 +- .../dom/nodes/getElementsByClassName-03.htm | 4 +- .../dom/nodes/getElementsByClassName-04.htm | 4 +- .../dom/nodes/getElementsByClassName-05.htm | 4 +- .../dom/nodes/getElementsByClassName-06.htm | 4 +- .../dom/nodes/getElementsByClassName-07.htm | 4 +- .../dom/nodes/getElementsByClassName-08.htm | 4 +- .../dom/nodes/getElementsByClassName-09.htm | 4 +- .../dom/nodes/getElementsByClassName-10.xml | 4 +- .../dom/nodes/getElementsByClassName-11.xml | 4 +- .../dom/nodes/getElementsByClassName-12.htm | 4 +- .../dom/nodes/getElementsByClassName-13.htm | 4 +- .../dom/nodes/getElementsByClassName-14.htm | 4 +- .../dom/nodes/getElementsByClassName-15.htm | 4 +- .../dom/nodes/getElementsByClassName-16.htm | 4 +- .../dom/nodes/getElementsByClassName-17.htm | 4 +- .../dom/nodes/getElementsByClassName-18.htm | 4 +- .../dom/nodes/getElementsByClassName-19.htm | 4 +- .../dom/nodes/getElementsByClassName-20.htm | 4 +- .../dom/nodes/getElementsByClassName-21.htm | 4 +- .../dom/nodes/getElementsByClassName-22.htm | 4 +- .../dom/nodes/getElementsByClassName-23.htm | 4 +- .../dom/nodes/getElementsByClassName-24.htm | 4 +- .../dom/nodes/getElementsByClassName-25.htm | 4 +- .../dom/nodes/getElementsByClassName-26.htm | 4 +- .../dom/nodes/getElementsByClassName-27.htm | 4 +- .../dom/nodes/getElementsByClassName-28.htm | 4 +- .../dom/nodes/getElementsByClassName-29.htm | 4 +- .../dom/nodes/getElementsByClassName-30.htm | 4 +- .../dom/nodes/getElementsByClassName-31.htm | 4 +- .../dom/nodes/insert-adjacent.html | 4 +- .../dom/nodes/prepend-on-Document.html | 4 +- .../dom/nodes/remove-unscopable.html | 4 +- .../dom/nodes/rootNode.html | 4 +- .../dom/nodes/w3c-import.log | 12 + .../dom/ranges/Range-attributes.html | 4 +- .../dom/ranges/Range-cloneContents.html | 4 +- .../dom/ranges/Range-cloneRange.html | 4 +- .../dom/ranges/Range-collapse.html | 4 +- .../Range-commonAncestorContainer-2.html | 4 +- .../ranges/Range-commonAncestorContainer.html | 4 +- .../ranges/Range-compareBoundaryPoints.html | 4 +- .../dom/ranges/Range-comparePoint-2.html | 4 +- .../dom/ranges/Range-comparePoint.html | 4 +- .../dom/ranges/Range-constructor.html | 4 +- .../dom/ranges/Range-deleteContents.html | 4 +- .../dom/ranges/Range-detach.html | 4 +- .../dom/ranges/Range-extractContents.html | 4 +- .../dom/ranges/Range-insertNode.html | 4 +- .../ranges/Range-intersectsNode-binding.html | 4 +- .../dom/ranges/Range-intersectsNode.html | 4 +- .../dom/ranges/Range-isPointInRange.html | 4 +- .../ranges/Range-mutations-appendChild.html | 4 +- .../ranges/Range-mutations-appendData.html | 4 +- .../ranges/Range-mutations-dataChange.html | 4 +- .../ranges/Range-mutations-deleteData.html | 4 +- .../ranges/Range-mutations-insertBefore.html | 4 +- .../ranges/Range-mutations-insertData.html | 4 +- .../ranges/Range-mutations-removeChild.html | 4 +- .../ranges/Range-mutations-replaceChild.html | 4 +- .../ranges/Range-mutations-replaceData.html | 4 +- .../dom/ranges/Range-mutations-splitText.html | 4 +- .../dom/ranges/Range-selectNode.html | 4 +- .../dom/ranges/Range-set.html | 4 +- .../dom/ranges/Range-stringifier.html | 4 +- .../dom/ranges/Range-surroundContents.html | 4 +- .../dom/traversal/NodeFilter-constants.html | 4 +- .../dom/traversal/NodeIterator-removal.html | 4 +- .../dom/traversal/NodeIterator.html | 4 +- .../TreeWalker-acceptNode-filter.html | 4 +- .../dom/traversal/TreeWalker-basic.html | 4 +- .../dom/traversal/TreeWalker-currentNode.html | 4 +- ...reeWalker-previousNodeLastChildReject.html | 4 +- ...eeWalker-previousSiblingLastChildSkip.html | 4 +- .../TreeWalker-traversal-reject.html | 4 +- .../TreeWalker-traversal-skip-most.html | 4 +- .../traversal/TreeWalker-traversal-skip.html | 4 +- .../TreeWalker-walking-outside-a-tree.html | 4 +- .../dom/traversal/TreeWalker.html | 4 +- .../mac/http/tests/misc/acid3-expected.txt | 11 +- Source/WebCore/ChangeLog | 21 ++ Source/WebCore/dom/Document.cpp | 4 +- 296 files changed, 1162 insertions(+), 771 deletions(-) diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index 6515a39d100c2..a4fb8e8d3162f 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,3 +1,23 @@ +2017-04-24 Chris Dumez + + createElementNS() should now throw only InvalidCharacterError, not NamespaceError + https://bugs.webkit.org/show_bug.cgi?id=171052 + + Reviewed by Sam Weinig. + + Updated / rebaselined existing tests to reflect behavior change. + + * fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt: + * fast/dom/DOMImplementation/createDocumentType-err-expected.txt: + * fast/dom/DOMImplementation/script-tests/createDocument-namespace-err.js: + * fast/dom/DOMImplementation/script-tests/createDocumentType-err.js: + * fast/dom/Document/createAttributeNS-namespace-err-expected.txt: + * fast/dom/Document/createElementNS-namespace-err-expected.txt: + * fast/dom/Document/script-tests/createAttributeNS-namespace-err.js: + * fast/dom/Document/script-tests/createElementNS-namespace-err.js: + * fast/dom/Element/script-tests/setAttributeNS-namespace-err.js: + * fast/dom/Element/setAttributeNS-namespace-err-expected.txt: + 2017-04-24 Chris Dumez REGRESSION (214503): Webkit crash under RenderElement::repaintForPausedImageAnimationsIfNeeded() when scrolling giphy pages diff --git a/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt b/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt index 11f428b1cac1d..d64a2c4f644f6 100644 --- a/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt +++ b/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt @@ -23,19 +23,19 @@ PASS createDocument("http://example.com/", "0div", null); threw INVALID_CHARACTE PASS createDocument("http://example.com/", "di 0) { errors += 1; - log += "Test " + zeroPaddedIndex + " passed, but took " + retry + " attempts (less than perfect).\n"; + // Commented out as this would make the layout test flaky. + // log += "Test " + zeroPaddedIndex + " passed, but took " + retry + " attempts (less than perfect).\n"; } else if (elapsedTest > 33) { // 30fps errors += 1; - log += "Test " + zeroPaddedIndex + " passed, but took " + elapsedTest + "ms (less than 30fps)\n"; + // Commented out as this would make the layout test flaky. + // log += "Test " + zeroPaddedIndex + " passed, but took " + elapsedTest + "ms (less than 30fps)\n"; } } else { fail("no error message"); @@ -3475,7 +3477,8 @@ } else { var endTime = new Date(); var elapsedTime = ((endTime - startTime) - (delay * tests.length)) / 1000; - log += "Total elapsed time: " + elapsedTime.toFixed(2) + "s"; + // Commented out as this would make the layout test flaky. + // log += "Total elapsed time: " + elapsedTime.toFixed(2) + "s"; if (errors == 0) log += "\nNo JS errors and no timing issues.\nWas the rendering pixel-for-pixel perfect too?"; diff --git a/LayoutTests/imported/w3c/ChangeLog b/LayoutTests/imported/w3c/ChangeLog index 19b65de594846..697b77ddd3754 100644 --- a/LayoutTests/imported/w3c/ChangeLog +++ b/LayoutTests/imported/w3c/ChangeLog @@ -1,3 +1,293 @@ +2017-04-24 Chris Dumez + + createElementNS() should now throw only InvalidCharacterError, not NamespaceError + https://bugs.webkit.org/show_bug.cgi?id=171052 + + Reviewed by Sam Weinig. + + Re-sync web-platform-tests/dom from upstream to gain test coverage. + + * web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html: + * web-platform-tests/dom/collections/HTMLCollection-empty-name.html: + * web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html: + * web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html: + * web-platform-tests/dom/collections/domstringmap-supported-property-names.html: + * web-platform-tests/dom/collections/namednodemap-supported-property-names.html: + * web-platform-tests/dom/events/AddEventListenerOptions-once.html: + * web-platform-tests/dom/events/AddEventListenerOptions-passive.html: + * web-platform-tests/dom/events/CustomEvent.html: + * web-platform-tests/dom/events/Event-cancelBubble.html: + * web-platform-tests/dom/events/Event-constants.html: + * web-platform-tests/dom/events/Event-constructors.html: + * web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html: + * web-platform-tests/dom/events/Event-defaultPrevented.html: + * web-platform-tests/dom/events/Event-dispatch-bubble-canceled.html: + * web-platform-tests/dom/events/Event-dispatch-bubbles-false.html: + * web-platform-tests/dom/events/Event-dispatch-bubbles-true.html: + * web-platform-tests/dom/events/Event-dispatch-click.html: + * web-platform-tests/dom/events/Event-dispatch-detached-click.html: + * web-platform-tests/dom/events/Event-dispatch-handlers-changed.html: + * web-platform-tests/dom/events/Event-dispatch-multiple-cancelBubble.html: + * web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html: + * web-platform-tests/dom/events/Event-dispatch-omitted-capture.html: + * web-platform-tests/dom/events/Event-dispatch-order.html: + * web-platform-tests/dom/events/Event-dispatch-other-document.html: + * web-platform-tests/dom/events/Event-dispatch-propagation-stopped.html: + * web-platform-tests/dom/events/Event-dispatch-redispatch.html: + * web-platform-tests/dom/events/Event-dispatch-reenter.html: + * web-platform-tests/dom/events/Event-dispatch-target-moved.html: + * web-platform-tests/dom/events/Event-dispatch-target-removed.html: + * web-platform-tests/dom/events/Event-dispatch-throwing.html: + * web-platform-tests/dom/events/Event-init-while-dispatching.html: + * web-platform-tests/dom/events/Event-initEvent.html: + * web-platform-tests/dom/events/Event-propagation.html: + * web-platform-tests/dom/events/Event-subclasses-constructors.html: + * web-platform-tests/dom/events/Event-type-empty.html: + * web-platform-tests/dom/events/Event-type.html: + * web-platform-tests/dom/events/EventListener-handleEvent.html: + * web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html: + * web-platform-tests/dom/events/EventListener-incumbent-global-2.sub.html: + * web-platform-tests/dom/events/EventListener-invoke-legacy.html: + * web-platform-tests/dom/events/EventListenerOptions-capture.html: + * web-platform-tests/dom/events/EventTarget-addEventListener.html: + * web-platform-tests/dom/events/EventTarget-dispatchEvent-returnvalue.html: + * web-platform-tests/dom/events/EventTarget-dispatchEvent.html: + * web-platform-tests/dom/events/EventTarget-removeEventListener.html: + * web-platform-tests/dom/historical.html: + * web-platform-tests/dom/interface-objects.html: + * web-platform-tests/dom/interfaces.html: + * web-platform-tests/dom/lists/DOMTokenList-Iterable.html: + * web-platform-tests/dom/lists/DOMTokenList-coverage-for-attributes.html: + * web-platform-tests/dom/lists/DOMTokenList-iteration.html: + * web-platform-tests/dom/lists/DOMTokenList-stringifier.html: + * web-platform-tests/dom/lists/DOMTokenList-value.html: + * web-platform-tests/dom/nodes/CharacterData-appendChild.html: + * web-platform-tests/dom/nodes/CharacterData-appendData.html: + * web-platform-tests/dom/nodes/CharacterData-data.html: + * web-platform-tests/dom/nodes/CharacterData-deleteData.html: + * web-platform-tests/dom/nodes/CharacterData-insertData.html: + * web-platform-tests/dom/nodes/CharacterData-remove.html: + * web-platform-tests/dom/nodes/CharacterData-replaceData.html: + * web-platform-tests/dom/nodes/CharacterData-substringData.html: + * web-platform-tests/dom/nodes/CharacterData-surrogates.html: + * web-platform-tests/dom/nodes/ChildNode-after.html: + * web-platform-tests/dom/nodes/ChildNode-before.html: + * web-platform-tests/dom/nodes/ChildNode-replaceWith.html: + * web-platform-tests/dom/nodes/Comment-constructor.html: + * web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt: + * web-platform-tests/dom/nodes/DOMImplementation-createDocument.html: + * web-platform-tests/dom/nodes/DOMImplementation-createDocumentType-expected.txt: + * web-platform-tests/dom/nodes/DOMImplementation-createDocumentType.html: + * web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument.html: + * web-platform-tests/dom/nodes/DOMImplementation-hasFeature.html: + * web-platform-tests/dom/nodes/Document-URL.sub.html: + * web-platform-tests/dom/nodes/Document-adoptNode.html: + * web-platform-tests/dom/nodes/Document-characterSet-normalization.html: + * web-platform-tests/dom/nodes/Document-constructor.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_bmp.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_css.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_01.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_datauri_02.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_gif.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_html.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_javascripturi.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_jpg.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_01.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_02.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_png.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_txt.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/contenttype_xml.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/createDocument.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/createHTMLDocument.html: + * web-platform-tests/dom/nodes/Document-contentType/contentType/xhr_responseType_document.html: + * web-platform-tests/dom/nodes/Document-createAttribute.html: + * web-platform-tests/dom/nodes/Document-createComment.html: + * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/w3c-import.log: + * web-platform-tests/dom/nodes/Document-createElement-namespace.html: + * web-platform-tests/dom/nodes/Document-createElement.html: + * web-platform-tests/dom/nodes/Document-createElementNS-expected.txt: + * web-platform-tests/dom/nodes/Document-createElementNS.html: + * web-platform-tests/dom/nodes/Document-createElementNS.js: + * web-platform-tests/dom/nodes/Document-createEvent.html: + * web-platform-tests/dom/nodes/Document-createProcessingInstruction-xhtml.xhtml: + * web-platform-tests/dom/nodes/Document-createProcessingInstruction.html: + * web-platform-tests/dom/nodes/Document-createTextNode.html: + * web-platform-tests/dom/nodes/Document-createTreeWalker.html: + * web-platform-tests/dom/nodes/Document-doctype.html: + * web-platform-tests/dom/nodes/Document-getElementById.html: + * web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml: + * web-platform-tests/dom/nodes/Document-getElementsByTagName.html: + * web-platform-tests/dom/nodes/Document-getElementsByTagNameNS.html: + * web-platform-tests/dom/nodes/Document-implementation.html: + * web-platform-tests/dom/nodes/Document-importNode.html: + * web-platform-tests/dom/nodes/DocumentType-literal-xhtml.xhtml: + * web-platform-tests/dom/nodes/DocumentType-literal.html: + * web-platform-tests/dom/nodes/DocumentType-remove.html: + * web-platform-tests/dom/nodes/Element-childElement-null-xhtml.xhtml: + * web-platform-tests/dom/nodes/Element-childElement-null.html: + * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml: + * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.html: + * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml: + * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove.html: + * web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml: + * web-platform-tests/dom/nodes/Element-childElementCount-nochild.html: + * web-platform-tests/dom/nodes/Element-childElementCount-xhtml.xhtml: + * web-platform-tests/dom/nodes/Element-childElementCount.html: + * web-platform-tests/dom/nodes/Element-children.html: + * web-platform-tests/dom/nodes/Element-classlist.html: + * web-platform-tests/dom/nodes/Element-closest.html: + * web-platform-tests/dom/nodes/Element-firstElementChild-entity-xhtml.xhtml: + * web-platform-tests/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml: + * web-platform-tests/dom/nodes/Element-firstElementChild-namespace.html: + * web-platform-tests/dom/nodes/Element-firstElementChild-xhtml.xhtml: + * web-platform-tests/dom/nodes/Element-firstElementChild.html: + * web-platform-tests/dom/nodes/Element-getElementsByClassName.html: + * web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html: + * web-platform-tests/dom/nodes/Element-getElementsByTagName.html: + * web-platform-tests/dom/nodes/Element-getElementsByTagNameNS.html: + * web-platform-tests/dom/nodes/Element-hasAttributes.html: + * web-platform-tests/dom/nodes/Element-insertAdjacentElement.html: + * web-platform-tests/dom/nodes/Element-insertAdjacentText.html: + * web-platform-tests/dom/nodes/Element-lastElementChild-xhtml.xhtml: + * web-platform-tests/dom/nodes/Element-lastElementChild.html: + * web-platform-tests/dom/nodes/Element-matches.html: + * web-platform-tests/dom/nodes/Element-nextElementSibling-xhtml.xhtml: + * web-platform-tests/dom/nodes/Element-nextElementSibling.html: + * web-platform-tests/dom/nodes/Element-previousElementSibling-xhtml.xhtml: + * web-platform-tests/dom/nodes/Element-previousElementSibling.html: + * web-platform-tests/dom/nodes/Element-remove.html: + * web-platform-tests/dom/nodes/Element-removeAttributeNS.html: + * web-platform-tests/dom/nodes/Element-siblingElement-null-xhtml.xhtml: + * web-platform-tests/dom/nodes/Element-siblingElement-null.html: + * web-platform-tests/dom/nodes/Element-tagName.html: + * web-platform-tests/dom/nodes/Element-webkitMatchesSelector.html: + * web-platform-tests/dom/nodes/MutationObserver-attributes.html: + * web-platform-tests/dom/nodes/MutationObserver-characterData.html: + * web-platform-tests/dom/nodes/MutationObserver-childList.html: + * web-platform-tests/dom/nodes/MutationObserver-disconnect.html: + * web-platform-tests/dom/nodes/MutationObserver-document.html: + * web-platform-tests/dom/nodes/MutationObserver-inner-outer.html: + * web-platform-tests/dom/nodes/MutationObserver-takeRecords.html: + * web-platform-tests/dom/nodes/Node-appendChild.html: + * web-platform-tests/dom/nodes/Node-baseURI.html: + * web-platform-tests/dom/nodes/Node-childNodes.html: + * web-platform-tests/dom/nodes/Node-cloneNode.html: + * web-platform-tests/dom/nodes/Node-compareDocumentPosition.html: + * web-platform-tests/dom/nodes/Node-constants.html: + * web-platform-tests/dom/nodes/Node-contains-xml.xml: + * web-platform-tests/dom/nodes/Node-contains.html: + * web-platform-tests/dom/nodes/Node-insertBefore.html: + * web-platform-tests/dom/nodes/Node-isConnected.html: + * web-platform-tests/dom/nodes/Node-isEqualNode-xhtml.xhtml: + * web-platform-tests/dom/nodes/Node-isEqualNode.html: + * web-platform-tests/dom/nodes/Node-isSameNode.html: + * web-platform-tests/dom/nodes/Node-lookupNamespaceURI.html: + * web-platform-tests/dom/nodes/Node-lookupPrefix.xhtml: + * web-platform-tests/dom/nodes/Node-nodeName-xhtml.xhtml: + * web-platform-tests/dom/nodes/Node-nodeName.html: + * web-platform-tests/dom/nodes/Node-nodeValue.html: + * web-platform-tests/dom/nodes/Node-normalize.html: + * web-platform-tests/dom/nodes/Node-parentElement.html: + * web-platform-tests/dom/nodes/Node-parentNode.html: + * web-platform-tests/dom/nodes/Node-properties.html: + * web-platform-tests/dom/nodes/Node-removeChild.html: + * web-platform-tests/dom/nodes/Node-replaceChild.html: + * web-platform-tests/dom/nodes/Node-textContent.html: + * web-platform-tests/dom/nodes/NodeList-Iterable.html: + * web-platform-tests/dom/nodes/ParentNode-append.html: + * web-platform-tests/dom/nodes/ParentNode-prepend.html: + * web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht.xht: + * web-platform-tests/dom/nodes/ParentNode-querySelector-All.html: + * web-platform-tests/dom/nodes/ProcessingInstruction-escapes-1.xhtml: + * web-platform-tests/dom/nodes/ProcessingInstruction-literal-1.xhtml: + * web-platform-tests/dom/nodes/ProcessingInstruction-literal-2.xhtml: + * web-platform-tests/dom/nodes/Text-constructor.html: + * web-platform-tests/dom/nodes/Text-splitText.html: + * web-platform-tests/dom/nodes/append-on-Document.html: + * web-platform-tests/dom/nodes/attributes-expected.txt: + * web-platform-tests/dom/nodes/attributes.html: + * web-platform-tests/dom/nodes/case.html: + * web-platform-tests/dom/nodes/getElementsByClassName-01.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-02.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-03.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-04.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-05.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-06.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-07.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-08.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-09.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-10.xml: + * web-platform-tests/dom/nodes/getElementsByClassName-11.xml: + * web-platform-tests/dom/nodes/getElementsByClassName-12.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-13.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-14.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-15.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-16.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-17.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-18.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-19.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-20.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-21.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-22.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-23.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-24.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-25.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-26.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-27.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-28.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-29.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-30.htm: + * web-platform-tests/dom/nodes/getElementsByClassName-31.htm: + * web-platform-tests/dom/nodes/insert-adjacent.html: + * web-platform-tests/dom/nodes/prepend-on-Document.html: + * web-platform-tests/dom/nodes/remove-unscopable.html: + * web-platform-tests/dom/nodes/rootNode.html: + * web-platform-tests/dom/nodes/w3c-import.log: + * web-platform-tests/dom/ranges/Range-attributes.html: + * web-platform-tests/dom/ranges/Range-cloneContents.html: + * web-platform-tests/dom/ranges/Range-cloneRange.html: + * web-platform-tests/dom/ranges/Range-collapse.html: + * web-platform-tests/dom/ranges/Range-commonAncestorContainer-2.html: + * web-platform-tests/dom/ranges/Range-commonAncestorContainer.html: + * web-platform-tests/dom/ranges/Range-compareBoundaryPoints.html: + * web-platform-tests/dom/ranges/Range-comparePoint-2.html: + * web-platform-tests/dom/ranges/Range-comparePoint.html: + * web-platform-tests/dom/ranges/Range-constructor.html: + * web-platform-tests/dom/ranges/Range-deleteContents.html: + * web-platform-tests/dom/ranges/Range-detach.html: + * web-platform-tests/dom/ranges/Range-extractContents.html: + * web-platform-tests/dom/ranges/Range-insertNode.html: + * web-platform-tests/dom/ranges/Range-intersectsNode-binding.html: + * web-platform-tests/dom/ranges/Range-intersectsNode.html: + * web-platform-tests/dom/ranges/Range-isPointInRange.html: + * web-platform-tests/dom/ranges/Range-mutations-appendChild.html: + * web-platform-tests/dom/ranges/Range-mutations-appendData.html: + * web-platform-tests/dom/ranges/Range-mutations-dataChange.html: + * web-platform-tests/dom/ranges/Range-mutations-deleteData.html: + * web-platform-tests/dom/ranges/Range-mutations-insertBefore.html: + * web-platform-tests/dom/ranges/Range-mutations-insertData.html: + * web-platform-tests/dom/ranges/Range-mutations-removeChild.html: + * web-platform-tests/dom/ranges/Range-mutations-replaceChild.html: + * web-platform-tests/dom/ranges/Range-mutations-replaceData.html: + * web-platform-tests/dom/ranges/Range-mutations-splitText.html: + * web-platform-tests/dom/ranges/Range-selectNode.html: + * web-platform-tests/dom/ranges/Range-set.html: + * web-platform-tests/dom/ranges/Range-stringifier.html: + * web-platform-tests/dom/ranges/Range-surroundContents.html: + * web-platform-tests/dom/traversal/NodeFilter-constants.html: + * web-platform-tests/dom/traversal/NodeIterator-removal.html: + * web-platform-tests/dom/traversal/NodeIterator.html: + * web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html: + * web-platform-tests/dom/traversal/TreeWalker-basic.html: + * web-platform-tests/dom/traversal/TreeWalker-currentNode.html: + * web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html: + * web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html: + * web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html: + * web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html: + * web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html: + * web-platform-tests/dom/traversal/TreeWalker-walking-outside-a-tree.html: + * web-platform-tests/dom/traversal/TreeWalker.html: + 2017-04-21 Chris Dumez Regression(r206240): XMLSerializer.serializeToString() does not properly escape '<' / '>' in attribute values diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html b/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html index 225c9e61a3883..fb337de99ae8b 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html @@ -1,8 +1,8 @@ Make sure browsers throw when getting .length on some random object whose proto is an HTMLCollection - - + + - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html b/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html index 8034b5964a424..2d6b4d44c84f2 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html @@ -1,8 +1,8 @@ - - + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html b/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html index 5cead02a23b49..f15fc1d7fd7c0 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html @@ -1,8 +1,8 @@ - - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/collections/domstringmap-supported-property-names.html b/LayoutTests/imported/w3c/web-platform-tests/dom/collections/domstringmap-supported-property-names.html index 430aa44c3af29..9185423c7f547 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/collections/domstringmap-supported-property-names.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/collections/domstringmap-supported-property-names.html @@ -1,8 +1,8 @@ DOMStringMap Test: Supported property names - - + +
Simple
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/collections/namednodemap-supported-property-names.html b/LayoutTests/imported/w3c/web-platform-tests/dom/collections/namednodemap-supported-property-names.html index 2c5dee4efd687..a1b5f873c8e88 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/collections/namednodemap-supported-property-names.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/collections/namednodemap-supported-property-names.html @@ -1,8 +1,8 @@ NamedNodeMap Test: Supported property names - - + +
Simple
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once.html index ae750702c79d0..3d3db8bbb7b25 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-once.html @@ -3,8 +3,8 @@ AddEventListenerOptions.once - - + +
- + +
- + +
- + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constants.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constants.html index 635e9894d9a3a..64081505053cc 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constants.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constants.html @@ -1,7 +1,7 @@ Event constants - - + +
- + +
- + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented.html index 2a3d171b1074a..902bd947af53c 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented.html @@ -1,7 +1,7 @@ Event.defaultPrevented - - + +
- + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html index 0f43cb0275662..01a9f33aa2a09 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html @@ -3,8 +3,8 @@ Event.bubbles attribute is set to false - - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true.html index b23605a1ebc31..1b0ac0a43a67c 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-true.html @@ -3,8 +3,8 @@ Event.bubbles attribute is set to false - - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click.html index 760116beae90e..3533c2bc43b41 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-click.html @@ -1,7 +1,7 @@ Synthetic click event "magic" - - + +
- + +
- + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-cancelBubble.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-cancelBubble.html index 2873fd7794b78..c6bb6d6bcbcfa 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-cancelBubble.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-cancelBubble.html @@ -2,8 +2,8 @@ Multiple dispatchEvent() and cancelBubble - - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html index 72644bd861ea1..d7efc1987dceb 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-multiple-stopPropagation.html @@ -2,8 +2,8 @@ Multiple dispatchEvent() and stopPropagation() - - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-omitted-capture.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-omitted-capture.html index 77074d9a3ec2b..2c23e21501b64 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-omitted-capture.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-omitted-capture.html @@ -3,8 +3,8 @@ EventTarget.addEventListener: capture argument omitted - - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order.html index ca94434595c6e..54da1bdd623cf 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-order.html @@ -1,7 +1,7 @@ Event phases order - - + +
- + +
- + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-redispatch.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-redispatch.html index 4027587bff482..6cefe630e0b4c 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-redispatch.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-redispatch.html @@ -1,8 +1,8 @@ EventTarget#dispatchEvent(): redispatching a native event - - + +
- + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-target-moved.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-target-moved.html index facb2c7b9568f..d1bb0dd8d4b8f 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-target-moved.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-target-moved.html @@ -2,8 +2,8 @@ Determined event propagation path - target moved - - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-target-removed.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-target-removed.html index 531799c3ade6b..1f46a6814bc27 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-target-removed.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-target-removed.html @@ -2,8 +2,8 @@ Determined event propagation path - target removed - - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing.html index 7d1c0d94a0845..35ba3db20d9c9 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-throwing.html @@ -1,8 +1,8 @@ Throwing in event listeners - - + +
- + +
- + +
- + + - + +
- + +
- + +
- + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html b/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html index 9d941385cbc48..bf83999db413f 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventListener-incumbent-global-1.sub.html @@ -1,8 +1,8 @@ - - + + - + + - + + - + +
- + +
- + +
- + +
- + +
- + +
- + +
- + +
- + +
- + +
- + +
- + +
- + +
- + +
- + +
- + +
- + +
- + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createComment.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createComment.html index a175c3a2f842e..3f12fd94d87df 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createComment.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createComment.html @@ -12,8 +12,8 @@ - - + +
- + + - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS-expected.txt index 6b780744a232a..92df8064f4be0 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS-expected.txt +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS-expected.txt @@ -62,21 +62,21 @@ PASS createElementNS test in XHTML document: null,"-foo","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: null,".foo","INVALID_CHARACTER_ERR" PASS createElementNS test in XML document: null,".foo","INVALID_CHARACTER_ERR" PASS createElementNS test in XHTML document: null,".foo","INVALID_CHARACTER_ERR" -PASS createElementNS test in HTML document: null,":foo","NAMESPACE_ERR" -PASS createElementNS test in XML document: null,":foo","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: null,":foo","NAMESPACE_ERR" +PASS createElementNS test in HTML document: null,":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: null,":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: null,":foo","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: null,"f:oo","NAMESPACE_ERR" PASS createElementNS test in XML document: null,"f:oo","NAMESPACE_ERR" PASS createElementNS test in XHTML document: null,"f:oo","NAMESPACE_ERR" -PASS createElementNS test in HTML document: null,"foo:","NAMESPACE_ERR" -PASS createElementNS test in XML document: null,"foo:","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: null,"foo:","NAMESPACE_ERR" -PASS createElementNS test in HTML document: null,"f:o:o","NAMESPACE_ERR" -PASS createElementNS test in XML document: null,"f:o:o","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: null,"f:o:o","NAMESPACE_ERR" -PASS createElementNS test in HTML document: null,":","NAMESPACE_ERR" -PASS createElementNS test in XML document: null,":","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: null,":","NAMESPACE_ERR" +PASS createElementNS test in HTML document: null,"foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: null,"foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: null,"foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in HTML document: null,"f:o:o","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: null,"f:o:o","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: null,"f:o:o","INVALID_CHARACTER_ERR" +PASS createElementNS test in HTML document: null,":","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: null,":","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: null,":","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: null,"xml",null PASS createElementNS test in XML document: null,"xml",null PASS createElementNS test in XHTML document: null,"xml",null @@ -101,15 +101,15 @@ PASS createElementNS test in XHTML document: null,"null:xml","NAMESPACE_ERR" PASS createElementNS test in HTML document: "",null,null PASS createElementNS test in XML document: "",null,null PASS createElementNS test in XHTML document: "",null,null -PASS createElementNS test in HTML document: "",":foo","NAMESPACE_ERR" -PASS createElementNS test in XML document: "",":foo","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "",":foo","NAMESPACE_ERR" +PASS createElementNS test in HTML document: "",":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "",":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "",":foo","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "","f:oo","NAMESPACE_ERR" PASS createElementNS test in XML document: "","f:oo","NAMESPACE_ERR" PASS createElementNS test in XHTML document: "","f:oo","NAMESPACE_ERR" -PASS createElementNS test in HTML document: "","foo:","NAMESPACE_ERR" -PASS createElementNS test in XML document: "","foo:","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "","foo:","NAMESPACE_ERR" +PASS createElementNS test in HTML document: "","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "","foo:","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: undefined,null,null PASS createElementNS test in XML document: undefined,null,null PASS createElementNS test in XHTML document: undefined,null,null @@ -128,18 +128,18 @@ PASS createElementNS test in XHTML document: undefined,"f1oo",null PASS createElementNS test in HTML document: undefined,"foo1",null PASS createElementNS test in XML document: undefined,"foo1",null PASS createElementNS test in XHTML document: undefined,"foo1",null -PASS createElementNS test in HTML document: undefined,":foo","NAMESPACE_ERR" -PASS createElementNS test in XML document: undefined,":foo","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: undefined,":foo","NAMESPACE_ERR" +PASS createElementNS test in HTML document: undefined,":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: undefined,":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: undefined,":foo","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: undefined,"f:oo","NAMESPACE_ERR" PASS createElementNS test in XML document: undefined,"f:oo","NAMESPACE_ERR" PASS createElementNS test in XHTML document: undefined,"f:oo","NAMESPACE_ERR" -PASS createElementNS test in HTML document: undefined,"foo:","NAMESPACE_ERR" -PASS createElementNS test in XML document: undefined,"foo:","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: undefined,"foo:","NAMESPACE_ERR" -PASS createElementNS test in HTML document: undefined,"f::oo","NAMESPACE_ERR" -PASS createElementNS test in XML document: undefined,"f::oo","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: undefined,"f::oo","NAMESPACE_ERR" +PASS createElementNS test in HTML document: undefined,"foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: undefined,"foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: undefined,"foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in HTML document: undefined,"f::oo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: undefined,"f::oo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: undefined,"f::oo","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: undefined,"xml",null PASS createElementNS test in XML document: undefined,"xml",null PASS createElementNS test in XHTML document: undefined,"xml",null @@ -182,33 +182,33 @@ PASS createElementNS test in XHTML document: "http://example.com/","f1oo",null PASS createElementNS test in HTML document: "http://example.com/","foo1",null PASS createElementNS test in XML document: "http://example.com/","foo1",null PASS createElementNS test in XHTML document: "http://example.com/","foo1",null -PASS createElementNS test in HTML document: "http://example.com/",":foo","NAMESPACE_ERR" -PASS createElementNS test in XML document: "http://example.com/",":foo","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "http://example.com/",":foo","NAMESPACE_ERR" +PASS createElementNS test in HTML document: "http://example.com/",":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "http://example.com/",":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "http://example.com/",":foo","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "http://example.com/","f:oo",null PASS createElementNS test in XML document: "http://example.com/","f:oo",null PASS createElementNS test in XHTML document: "http://example.com/","f:oo",null -PASS createElementNS test in HTML document: "http://example.com/","f:o:o","NAMESPACE_ERR" -PASS createElementNS test in XML document: "http://example.com/","f:o:o","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "http://example.com/","f:o:o","NAMESPACE_ERR" -PASS createElementNS test in HTML document: "http://example.com/","foo:","NAMESPACE_ERR" -PASS createElementNS test in XML document: "http://example.com/","foo:","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "http://example.com/","foo:","NAMESPACE_ERR" -PASS createElementNS test in HTML document: "http://example.com/","f::oo","NAMESPACE_ERR" -PASS createElementNS test in XML document: "http://example.com/","f::oo","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "http://example.com/","f::oo","NAMESPACE_ERR" -FAIL createElementNS test in HTML document: "http://example.com/","a:0","NAMESPACE_ERR" assert_throws: function "function () { doc.createElementNS(namespace, qualifiedName) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14 -FAIL createElementNS test in XML document: "http://example.com/","a:0","NAMESPACE_ERR" assert_throws: function "function () { doc.createElementNS(namespace, qualifiedName) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14 -FAIL createElementNS test in XHTML document: "http://example.com/","a:0","NAMESPACE_ERR" assert_throws: function "function () { doc.createElementNS(namespace, qualifiedName) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14 +PASS createElementNS test in HTML document: "http://example.com/","f:o:o","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "http://example.com/","f:o:o","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "http://example.com/","f:o:o","INVALID_CHARACTER_ERR" +PASS createElementNS test in HTML document: "http://example.com/","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "http://example.com/","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "http://example.com/","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in HTML document: "http://example.com/","f::oo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "http://example.com/","f::oo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "http://example.com/","f::oo","INVALID_CHARACTER_ERR" +PASS createElementNS test in HTML document: "http://example.com/","a:0","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "http://example.com/","a:0","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "http://example.com/","a:0","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "http://example.com/","0:a","INVALID_CHARACTER_ERR" PASS createElementNS test in XML document: "http://example.com/","0:a","INVALID_CHARACTER_ERR" PASS createElementNS test in XHTML document: "http://example.com/","0:a","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "http://example.com/","a:_",null PASS createElementNS test in XML document: "http://example.com/","a:_",null PASS createElementNS test in XHTML document: "http://example.com/","a:_",null -FAIL createElementNS test in HTML document: "http://example.com/","a:ெ","NAMESPACE_ERR" assert_throws: function "function () { doc.createElementNS(namespace, qualifiedName) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14 -FAIL createElementNS test in XML document: "http://example.com/","a:ெ","NAMESPACE_ERR" assert_throws: function "function () { doc.createElementNS(namespace, qualifiedName) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14 -FAIL createElementNS test in XHTML document: "http://example.com/","a:ெ","NAMESPACE_ERR" assert_throws: function "function () { doc.createElementNS(namespace, qualifiedName) }" threw object "InvalidCharacterError (DOM Exception 5): The string contains invalid characters." that is not a DOMException NAMESPACE_ERR: property "code" is equal to 5, expected 14 +PASS createElementNS test in HTML document: "http://example.com/","a:ெ","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "http://example.com/","a:ெ","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "http://example.com/","a:ெ","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "http://example.com/","ெ:a","INVALID_CHARACTER_ERR" PASS createElementNS test in XML document: "http://example.com/","ெ:a","INVALID_CHARACTER_ERR" PASS createElementNS test in XHTML document: "http://example.com/","ெ:a","INVALID_CHARACTER_ERR" @@ -281,9 +281,9 @@ PASS createElementNS test in XHTML document: "http://example.com/","XMLNS:foo",n PASS createElementNS test in HTML document: "http://example.com/","xmlfoo:bar",null PASS createElementNS test in XML document: "http://example.com/","xmlfoo:bar",null PASS createElementNS test in XHTML document: "http://example.com/","xmlfoo:bar",null -PASS createElementNS test in HTML document: "http://example.com/","prefix::local","NAMESPACE_ERR" -PASS createElementNS test in XML document: "http://example.com/","prefix::local","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "http://example.com/","prefix::local","NAMESPACE_ERR" +PASS createElementNS test in HTML document: "http://example.com/","prefix::local","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "http://example.com/","prefix::local","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "http://example.com/","prefix::local","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "http://example.com/","namespaceURI:{","INVALID_CHARACTER_ERR" PASS createElementNS test in XML document: "http://example.com/","namespaceURI:{","INVALID_CHARACTER_ERR" PASS createElementNS test in XHTML document: "http://example.com/","namespaceURI:{","INVALID_CHARACTER_ERR" @@ -377,15 +377,15 @@ PASS createElementNS test in XHTML document: "/","f1oo",null PASS createElementNS test in HTML document: "/","foo1",null PASS createElementNS test in XML document: "/","foo1",null PASS createElementNS test in XHTML document: "/","foo1",null -PASS createElementNS test in HTML document: "/",":foo","NAMESPACE_ERR" -PASS createElementNS test in XML document: "/",":foo","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "/",":foo","NAMESPACE_ERR" +PASS createElementNS test in HTML document: "/",":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "/",":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "/",":foo","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "/","f:oo",null PASS createElementNS test in XML document: "/","f:oo",null PASS createElementNS test in XHTML document: "/","f:oo",null -PASS createElementNS test in HTML document: "/","foo:","NAMESPACE_ERR" -PASS createElementNS test in XML document: "/","foo:","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "/","foo:","NAMESPACE_ERR" +PASS createElementNS test in HTML document: "/","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "/","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "/","foo:","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "/","xml",null PASS createElementNS test in XML document: "/","xml",null PASS createElementNS test in XHTML document: "/","xml",null @@ -416,15 +416,15 @@ PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespa PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","foo1",null PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo1",null PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","foo1",null -PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace",":foo","NAMESPACE_ERR" -PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace",":foo","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace",":foo","NAMESPACE_ERR" +PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace",":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace",":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace",":foo","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","f:oo",null PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","f:oo",null PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","f:oo",null -PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","foo:","NAMESPACE_ERR" -PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo:","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","foo:","NAMESPACE_ERR" +PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","foo:","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "http://www.w3.org/XML/1998/namespace","xml",null PASS createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","xml",null PASS createElementNS test in XHTML document: "http://www.w3.org/XML/1998/namespace","xml",null @@ -461,15 +461,15 @@ PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","f1 PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","foo1","NAMESPACE_ERR" PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo1","NAMESPACE_ERR" PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","foo1","NAMESPACE_ERR" -PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/",":foo","NAMESPACE_ERR" -PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/",":foo","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/",":foo","NAMESPACE_ERR" +PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/",":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/",":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/",":foo","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","f:oo","NAMESPACE_ERR" PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","f:oo","NAMESPACE_ERR" PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","f:oo","NAMESPACE_ERR" -PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","foo:","NAMESPACE_ERR" -PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo:","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","foo:","NAMESPACE_ERR" +PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","foo:","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "http://www.w3.org/2000/xmlns/","xml","NAMESPACE_ERR" PASS createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","xml","NAMESPACE_ERR" PASS createElementNS test in XHTML document: "http://www.w3.org/2000/xmlns/","xml","NAMESPACE_ERR" @@ -503,15 +503,15 @@ PASS createElementNS test in XHTML document: "foo:","f1oo",null PASS createElementNS test in HTML document: "foo:","foo1",null PASS createElementNS test in XML document: "foo:","foo1",null PASS createElementNS test in XHTML document: "foo:","foo1",null -PASS createElementNS test in HTML document: "foo:",":foo","NAMESPACE_ERR" -PASS createElementNS test in XML document: "foo:",":foo","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "foo:",":foo","NAMESPACE_ERR" +PASS createElementNS test in HTML document: "foo:",":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "foo:",":foo","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "foo:",":foo","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "foo:","f:oo",null PASS createElementNS test in XML document: "foo:","f:oo",null PASS createElementNS test in XHTML document: "foo:","f:oo",null -PASS createElementNS test in HTML document: "foo:","foo:","NAMESPACE_ERR" -PASS createElementNS test in XML document: "foo:","foo:","NAMESPACE_ERR" -PASS createElementNS test in XHTML document: "foo:","foo:","NAMESPACE_ERR" +PASS createElementNS test in HTML document: "foo:","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XML document: "foo:","foo:","INVALID_CHARACTER_ERR" +PASS createElementNS test in XHTML document: "foo:","foo:","INVALID_CHARACTER_ERR" PASS createElementNS test in HTML document: "foo:","xml",null PASS createElementNS test in XML document: "foo:","xml",null PASS createElementNS test in XHTML document: "foo:","xml",null diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS.html index 6df8c785b8bd9..3411d3b442b95 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS.html @@ -2,8 +2,8 @@ Document.createElementNS - - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS.js b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS.js index 1abd3330183c1..bf5e12cf95181 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS.js +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElementNS.js @@ -25,11 +25,11 @@ var createElementNS_tests = [ [null, "fo o", "INVALID_CHARACTER_ERR"], [null, "-foo", "INVALID_CHARACTER_ERR"], [null, ".foo", "INVALID_CHARACTER_ERR"], - [null, ":foo", "NAMESPACE_ERR"], + [null, ":foo", "INVALID_CHARACTER_ERR"], [null, "f:oo", "NAMESPACE_ERR"], - [null, "foo:", "NAMESPACE_ERR"], - [null, "f:o:o", "NAMESPACE_ERR"], - [null, ":", "NAMESPACE_ERR"], + [null, "foo:", "INVALID_CHARACTER_ERR"], + [null, "f:o:o", "INVALID_CHARACTER_ERR"], + [null, ":", "INVALID_CHARACTER_ERR"], [null, "xml", null], [null, "xmlns", "NAMESPACE_ERR"], [null, "xmlfoo", null], @@ -38,19 +38,19 @@ var createElementNS_tests = [ [null, "xmlfoo:bar", "NAMESPACE_ERR"], [null, "null:xml", "NAMESPACE_ERR"], ["", null, null], - ["", ":foo", "NAMESPACE_ERR"], + ["", ":foo", "INVALID_CHARACTER_ERR"], ["", "f:oo", "NAMESPACE_ERR"], - ["", "foo:", "NAMESPACE_ERR"], + ["", "foo:", "INVALID_CHARACTER_ERR"], [undefined, null, null], [undefined, undefined, null], [undefined, "foo", null], [undefined, "1foo", "INVALID_CHARACTER_ERR"], [undefined, "f1oo", null], [undefined, "foo1", null], - [undefined, ":foo", "NAMESPACE_ERR"], + [undefined, ":foo", "INVALID_CHARACTER_ERR"], [undefined, "f:oo", "NAMESPACE_ERR"], - [undefined, "foo:", "NAMESPACE_ERR"], - [undefined, "f::oo", "NAMESPACE_ERR"], + [undefined, "foo:", "INVALID_CHARACTER_ERR"], + [undefined, "f::oo", "INVALID_CHARACTER_ERR"], [undefined, "xml", null], [undefined, "xmlns", "NAMESPACE_ERR"], [undefined, "xmlfoo", null], @@ -65,15 +65,15 @@ var createElementNS_tests = [ ["http://example.com/", ".foo", "INVALID_CHARACTER_ERR"], ["http://example.com/", "f1oo", null], ["http://example.com/", "foo1", null], - ["http://example.com/", ":foo", "NAMESPACE_ERR"], + ["http://example.com/", ":foo", "INVALID_CHARACTER_ERR"], ["http://example.com/", "f:oo", null], - ["http://example.com/", "f:o:o", "NAMESPACE_ERR"], - ["http://example.com/", "foo:", "NAMESPACE_ERR"], - ["http://example.com/", "f::oo", "NAMESPACE_ERR"], - ["http://example.com/", "a:0", "NAMESPACE_ERR"], + ["http://example.com/", "f:o:o", "INVALID_CHARACTER_ERR"], + ["http://example.com/", "foo:", "INVALID_CHARACTER_ERR"], + ["http://example.com/", "f::oo", "INVALID_CHARACTER_ERR"], + ["http://example.com/", "a:0", "INVALID_CHARACTER_ERR"], ["http://example.com/", "0:a", "INVALID_CHARACTER_ERR"], ["http://example.com/", "a:_", null], - ["http://example.com/", "a:\u0BC6", "NAMESPACE_ERR"], + ["http://example.com/", "a:\u0BC6", "INVALID_CHARACTER_ERR"], ["http://example.com/", "\u0BC6:a", "INVALID_CHARACTER_ERR"], ["http://example.com/", "a:a\u0BC6", null], ["http://example.com/", "a\u0BC6:a", null], @@ -98,7 +98,7 @@ var createElementNS_tests = [ ["http://example.com/", "xmlns:foo", "NAMESPACE_ERR"], ["http://example.com/", "XMLNS:foo", null], ["http://example.com/", "xmlfoo:bar", null], - ["http://example.com/", "prefix::local", "NAMESPACE_ERR"], + ["http://example.com/", "prefix::local", "INVALID_CHARACTER_ERR"], ["http://example.com/", "namespaceURI:{", "INVALID_CHARACTER_ERR"], ["http://example.com/", "namespaceURI:}", "INVALID_CHARACTER_ERR"], ["http://example.com/", "namespaceURI:~", "INVALID_CHARACTER_ERR"], @@ -130,9 +130,9 @@ var createElementNS_tests = [ ["/", "1foo", "INVALID_CHARACTER_ERR"], ["/", "f1oo", null], ["/", "foo1", null], - ["/", ":foo", "NAMESPACE_ERR"], + ["/", ":foo", "INVALID_CHARACTER_ERR"], ["/", "f:oo", null], - ["/", "foo:", "NAMESPACE_ERR"], + ["/", "foo:", "INVALID_CHARACTER_ERR"], ["/", "xml", null], ["/", "xmlns", "NAMESPACE_ERR"], ["/", "xmlfoo", null], @@ -143,9 +143,9 @@ var createElementNS_tests = [ ["http://www.w3.org/XML/1998/namespace", "1foo", "INVALID_CHARACTER_ERR"], ["http://www.w3.org/XML/1998/namespace", "f1oo", null], ["http://www.w3.org/XML/1998/namespace", "foo1", null], - ["http://www.w3.org/XML/1998/namespace", ":foo", "NAMESPACE_ERR"], + ["http://www.w3.org/XML/1998/namespace", ":foo", "INVALID_CHARACTER_ERR"], ["http://www.w3.org/XML/1998/namespace", "f:oo", null], - ["http://www.w3.org/XML/1998/namespace", "foo:", "NAMESPACE_ERR"], + ["http://www.w3.org/XML/1998/namespace", "foo:", "INVALID_CHARACTER_ERR"], ["http://www.w3.org/XML/1998/namespace", "xml", null], ["http://www.w3.org/XML/1998/namespace", "xmlns", "NAMESPACE_ERR"], ["http://www.w3.org/XML/1998/namespace", "xmlfoo", null], @@ -158,9 +158,9 @@ var createElementNS_tests = [ ["http://www.w3.org/2000/xmlns/", "1foo", "INVALID_CHARACTER_ERR"], ["http://www.w3.org/2000/xmlns/", "f1oo", "NAMESPACE_ERR"], ["http://www.w3.org/2000/xmlns/", "foo1", "NAMESPACE_ERR"], - ["http://www.w3.org/2000/xmlns/", ":foo", "NAMESPACE_ERR"], + ["http://www.w3.org/2000/xmlns/", ":foo", "INVALID_CHARACTER_ERR"], ["http://www.w3.org/2000/xmlns/", "f:oo", "NAMESPACE_ERR"], - ["http://www.w3.org/2000/xmlns/", "foo:", "NAMESPACE_ERR"], + ["http://www.w3.org/2000/xmlns/", "foo:", "INVALID_CHARACTER_ERR"], ["http://www.w3.org/2000/xmlns/", "xml", "NAMESPACE_ERR"], ["http://www.w3.org/2000/xmlns/", "xmlns", null], ["http://www.w3.org/2000/xmlns/", "xmlfoo", "NAMESPACE_ERR"], @@ -172,9 +172,9 @@ var createElementNS_tests = [ ["foo:", "1foo", "INVALID_CHARACTER_ERR"], ["foo:", "f1oo", null], ["foo:", "foo1", null], - ["foo:", ":foo", "NAMESPACE_ERR"], + ["foo:", ":foo", "INVALID_CHARACTER_ERR"], ["foo:", "f:oo", null], - ["foo:", "foo:", "NAMESPACE_ERR"], + ["foo:", "foo:", "INVALID_CHARACTER_ERR"], ["foo:", "xml", null], ["foo:", "xmlns", "NAMESPACE_ERR"], ["foo:", "xmlfoo", null], diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.html index 29657e05b886b..32dded363cf49 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.html @@ -2,8 +2,8 @@ Document.createEvent - - + +
- + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createProcessingInstruction.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createProcessingInstruction.html index c57a792face56..ad7bc00e60d23 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createProcessingInstruction.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createProcessingInstruction.html @@ -5,7 +5,7 @@ - - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createTextNode.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createTextNode.html index ccc1b1b77f51d..7d058df836e90 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createTextNode.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createTextNode.html @@ -12,8 +12,8 @@ - - + +
- + +
- + +
- + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml index 309a29ae77235..583cddf302821 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml @@ -2,8 +2,8 @@ Document.getElementsByTagName - - + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName.html index 00e3435c4c396..3960656b83c24 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName.html @@ -2,8 +2,8 @@ Document.getElementsByTagName - - + +
- + +
- + +
- + +
- + +
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal.html index a755c397b0e06..5e339bb26498d 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal.html @@ -3,8 +3,8 @@ - - + +
- + +
- + +

Test of firstElementChild and lastChildElement returning null

diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElement-null.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElement-null.html index 1863a41da57fc..d154d2d0de8e9 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElement-null.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElement-null.html @@ -1,8 +1,8 @@ Null test - - + +

Test of firstElementChild and lastChildElement returning null

Test.

diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml index c97ed1965b54c..6efc1606492fa 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml @@ -2,8 +2,8 @@ Dynamic Adding of Elements - - + +

Test of Dynamic Adding of Elements

diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.html index 3e7490b21d6c2..ee6495dd68f2d 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.html @@ -1,8 +1,8 @@ Dynamic Adding of Elements - - + +

Test of Dynamic Adding of Elements

The result of this test is diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml index f0009b0a77805..ff5a998dd8cf6 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml @@ -2,8 +2,8 @@ Dynamic Removal of Elements - - + +

Test of Removal Adding of Elements

diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove.html index 3f7e7c7eadca4..4e43517282ac4 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove.html @@ -1,8 +1,8 @@ Dynamic Removal of Elements - - + +

Test of Dynamic Removal of Elements

The result of this test is diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml index f567a20c234ba..2946cf351688a 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml @@ -2,8 +2,8 @@ childElementCount without Child Element Nodes - - + +

Test of childElementCount with No Child Element Nodes

diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild.html index fb52fb205c8e9..c20cc1533401e 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild.html @@ -1,8 +1,8 @@ childElementCount without Child Element Nodes - - + +

Test of childElementCount with No Child Element Nodes

Test.

diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-xhtml.xhtml b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-xhtml.xhtml index 6b719ff7a838e..1f5c1848922a0 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-xhtml.xhtml +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-xhtml.xhtml @@ -2,8 +2,8 @@ childElementCount - - + +

Test of childElementCount

diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount.html index 8cfe567f91423..07361a41b0bd1 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount.html @@ -1,8 +1,8 @@ childElementCount - - + +

Test of childElementCount

The result of this test is diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-children.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-children.html index c0210f9667afe..e1c38335c1ce6 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-children.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-children.html @@ -1,7 +1,7 @@ HTMLCollection edge cases - - + +

- + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-closest.html b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-closest.html index e5af1a43b629e..c86aff46eb05f 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-closest.html +++ b/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-closest.html @@ -1,8 +1,8 @@ Test for Element.closest - - + +