Changeset 194580 in webkit
- Timestamp:
- Jan 5, 2016, 1:28:20 AM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 25 added
- 9 deleted
- 118 edited
- 1 copied
- 15 moved
-
ChangeLog (modified) (1 diff)
-
TestExpectations (modified) (2 diffs)
-
imported/w3c/ChangeLog (modified) (1 diff)
-
imported/w3c/resources/ImportExpectations (modified) (9 diffs)
-
imported/w3c/resources/TestRepositories (modified) (1 diff)
-
imported/w3c/resources/web-platform-tests-modules.json (modified) (4 diffs)
-
imported/w3c/web-platform-tests/README.md (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/interfaces-expected.txt (modified) (5 diffs)
-
imported/w3c/web-platform-tests/XMLHttpRequest/open-url-worker-simple.htm (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/resources/empty-div-utf8-html.py (added)
-
imported/w3c/web-platform-tests/XMLHttpRequest/resources/img-utf8-html.py (added)
-
imported/w3c/web-platform-tests/XMLHttpRequest/resources/w3c-import.log (modified) (2 diffs)
-
imported/w3c/web-platform-tests/XMLHttpRequest/send-content-type-charset-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/send-content-type-charset.htm (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/send-content-type-string-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/send-content-type-string.htm (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document.htm (modified) (3 diffs)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-aborted.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-overrides.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-simple.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-synconmain.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-twice.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-aborted.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-simple.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-synconworker.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/common.js (modified) (5 diffs)
-
imported/w3c/web-platform-tests/dom/interfaces-expected.txt (modified) (26 diffs)
-
imported/w3c/web-platform-tests/dom/lists/DOMTokenList-stringifier-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/lists/DOMTokenList-stringifier.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/Document-Element-getElementsByTagName.js (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal-xhtml-expected.txt (added)
-
imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal-xhtml.xhtml (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal.xhtml )
-
imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml-expected.txt (added)
-
imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.xhtml )
-
imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml-expected.txt (added)
-
imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild.xhtml )
-
imported/w3c/web-platform-tests/dom/nodes/Element-children-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/Element-children.html (modified) (3 diffs)
-
imported/w3c/web-platform-tests/dom/nodes/Element-classlist-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/Element-classlist.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-xhtml-expected.txt (added)
-
imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-xhtml.xhtml (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild.xhtml )
-
imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess-expected.txt (added)
-
imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess-iframe.xml (added)
-
imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html (added)
-
imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/Element-matches-expected.txt (modified) (8 diffs)
-
imported/w3c/web-platform-tests/dom/nodes/Element-nextElementSibling-xhtml-expected.txt (added)
-
imported/w3c/web-platform-tests/dom/nodes/Element-nextElementSibling-xhtml.xhtml (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-nextElementSibling.xhtml )
-
imported/w3c/web-platform-tests/dom/nodes/Element-previousElementSibling-xhtml-expected.txt (added)
-
imported/w3c/web-platform-tests/dom/nodes/Element-previousElementSibling-xhtml.xhtml (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-previousElementSibling.xhtml )
-
imported/w3c/web-platform-tests/dom/nodes/MutationObserver-childList.html (modified) (2 diffs)
-
imported/w3c/web-platform-tests/dom/nodes/MutationObserver-document-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/MutationObserver-document.html (modified) (2 diffs)
-
imported/w3c/web-platform-tests/dom/nodes/Node-contains-xhtml-expected.txt (deleted)
-
imported/w3c/web-platform-tests/dom/nodes/Node-contains-xhtml.xhtml (deleted)
-
imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-expected.txt (modified) (2 diffs)
-
imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-iframe1.xml (added)
-
imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-iframe2.xml (added)
-
imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode.xhtml (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/Node-lookupNamespaceURI-expected.txt (modified) (4 diffs)
-
imported/w3c/web-platform-tests/dom/nodes/Node-lookupNamespaceURI.html (modified) (6 diffs)
-
imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt (modified) (8 diffs)
-
imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xhtml-expected.txt ) (8 diffs)
-
imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht.xht (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xhtml.xht ) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/attributes-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/attributes.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-10.xml (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-11.xml (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/nodes/resources (deleted)
-
imported/w3c/web-platform-tests/dom/nodes/selectors.js (modified) (4 diffs)
-
imported/w3c/web-platform-tests/dom/nodes/w3c-import.log (modified) (4 diffs)
-
imported/w3c/web-platform-tests/dom/ranges/Range-deleteContents-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/ranges/Range-deleteContents.html (modified) (3 diffs)
-
imported/w3c/web-platform-tests/dom/ranges/Range-extractContents-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/ranges/Range-insertNode-expected.txt (modified) (13 diffs)
-
imported/w3c/web-platform-tests/dom/ranges/Range-intersectsNode-expected.txt (modified) (37 diffs)
-
imported/w3c/web-platform-tests/dom/ranges/Range-intersectsNode.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/ranges/Range-mutations.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/dom/ranges/Range-surroundContents-expected.txt (modified) (8 diffs)
-
imported/w3c/web-platform-tests/dom/ranges/Range-surroundContents.html (modified) (6 diffs)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml-expected.txt (added)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml.xhtml (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.xhtml )
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml-expected.txt (added)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml.xhtml (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.xhtml )
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml-expected.txt (added)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml.xhtml (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.xhtml )
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml-expected.txt (copied) (copied from trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-expected.txt )
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.xhtml )
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef-xhtml-expected.txt (added)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef-xhtml.xhtml (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef.xhtml )
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml-expected.txt (added)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml.xhtml (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.xhtml )
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/w3c-import.log (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-03-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-03.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-09-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-09.html (modified) (3 diffs)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/nameditem-06-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/nameditem-06.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/dom/documents/resource-metadata-management/document-lastModified-01.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/010-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/dom/elements-embedded.js (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/dom/elements-text.js (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref-expected.html (added)
-
imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref.html (added)
-
imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref-expected.html (added)
-
imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref.html (added)
-
imported/w3c/web-platform-tests/html/dom/elements/global-attributes/w3c-import.log (modified) (2 diffs)
-
imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt (modified) (146 diffs)
-
imported/w3c/web-platform-tests/html/dom/interfaces.html (modified) (6 diffs)
-
imported/w3c/web-platform-tests/html/dom/reflection.js (modified) (6 diffs)
-
imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource (deleted)
-
imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/location-of-the-media-resource (deleted)
-
imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/ready-states (deleted)
-
imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/seeking (deleted)
-
imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/synchronising-multiple-media-elements (deleted)
-
imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element (deleted)
-
imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/Image-constructor.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/current-pixel-density/basic-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/current-pixel-density/basic.html (modified) (2 diffs)
-
imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-checkValidity-expected.txt (modified) (6 diffs)
-
imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valid-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/forms/constraints/support/validator.js (modified) (2 diffs)
-
imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete-expected.txt (modified) (3 diffs)
-
imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/forms/the-label-element/label-attributes-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/forms/the-label-element/label-attributes.html (modified) (3 diffs)
-
imported/w3c/web-platform-tests/html/semantics/forms/the-label-element/labelable-elements-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/forms/the-label-element/labelable-elements.html (modified) (7 diffs)
-
imported/w3c/web-platform-tests/html/semantics/forms/the-option-element/option-text-recurse-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/forms/the-option-element/option-text-recurse.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html (modified) (2 diffs)
-
imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log (modified) (2 diffs)
-
imported/w3c/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/disabled-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/disabled.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/tabular-data/html-table-section-element.js (added)
-
imported/w3c/web-platform-tests/html/semantics/tabular-data/the-tbody-element/deleteRow-expected.txt (modified) (2 diffs)
-
imported/w3c/web-platform-tests/html/semantics/tabular-data/the-tbody-element/deleteRow.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/tabular-data/the-tbody-element/insertRow-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/tabular-data/the-tbody-element/insertRow.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/tabular-data/the-tr-element/deleteCell-expected.txt (modified) (2 diffs)
-
imported/w3c/web-platform-tests/html/semantics/tabular-data/the-tr-element/deleteCell.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/html/semantics/tabular-data/w3c-import.log (moved) (moved from trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/styling/w3c-import.log ) (1 diff)
-
imported/w3c/web-platform-tests/lint (modified) (1 diff)
-
imported/w3c/web-platform-tests/lint.whitelist (modified) (3 diffs)
-
imported/w3c/web-platform-tests/media/2048x1360-random.jpg (added)
-
imported/w3c/web-platform-tests/media/w3c-import.log (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r194568 r194580 1 2016-01-05 Youenn Fablet <youenn.fablet@crf.canon.fr> 2 3 Update web-platform-tests test suite 4 https://bugs.webkit.org/show_bug.cgi?id=151984 5 6 Reviewed by Daniel Bates. 7 8 * TestExpectations: updated expectations for newly failing tests. 9 1 10 2016-01-04 Devin Rousso <dcrousso+webkit@gmail.com> 2 11 -
trunk/LayoutTests/TestExpectations
r194217 r194580 237 237 imported/w3c/web-platform-tests/common/blank.html [ Skip ] 238 238 imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-tests [ Skip ] 239 imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess-iframe.xml [ Skip ] 240 imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-iframe1.xml [ Skip ] 241 imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-iframe2.xml [ Skip ] 239 242 imported/w3c/web-platform-tests/dom/nodes/Node-parentNode-iframe.html [ Skip ] 240 243 imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-content.html [ Skip ] … … 276 279 webkit.org/b/148736 [ Debug ] imported/w3c/web-platform-tests/html/dom/interfaces.html [ Skip ] 277 280 webkit.org/b/148822 [ Debug ] imported/w3c/web-platform-tests/html/semantics/interfaces.html [ Skip ] 281 282 # WPT tests that fail after doing full test repository reimport and need further investigation 283 imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document.htm [ Pass Failure ] 284 imported/w3c/web-platform-tests/dom/nodes/MutationObserver-childList.html [ Timeout ] 285 imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace.html [ Pass Failure ] 278 286 279 287 # W3C XMLHttpRequest tests -
trunk/LayoutTests/imported/w3c/ChangeLog
r194391 r194580 1 2016-01-05 Youenn Fablet <youenn.fablet@crf.canon.fr> 2 3 Update web-platform-tests test suite 4 https://bugs.webkit.org/show_bug.cgi?id=151984 5 6 Reviewed by Daniel Bates. 7 8 Bumping WPT test revision from dd553279c3 to 5932fd48d519a83b4cca6ed69778547a4fdfc5ae. 9 New revision includes test improvements, test renaming to ensure WebKit test expectations do not clash and XHR test clean-up. 10 11 * resources/ImportExpectations: Updated to not include new tests. Improved ordering. 12 * resources/TestRepositories: Updated revision. 13 * resources/web-platform-tests-modules.json: Updated revision. 14 * web-platform-tests/README.md: 15 * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials-expected.txt: 16 * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js: 17 * web-platform-tests/XMLHttpRequest/interfaces-expected.txt: 18 * web-platform-tests/XMLHttpRequest/open-url-worker-simple.htm: 19 * web-platform-tests/XMLHttpRequest/resources/empty-div-utf8-html.py: Added. 20 (main): 21 * web-platform-tests/XMLHttpRequest/resources/img-utf8-html.py: Added. 22 (main): 23 * web-platform-tests/XMLHttpRequest/resources/w3c-import.log: 24 * web-platform-tests/XMLHttpRequest/send-content-type-charset-expected.txt: 25 * web-platform-tests/XMLHttpRequest/send-content-type-charset.htm: 26 * web-platform-tests/XMLHttpRequest/send-content-type-string-expected.txt: 27 * web-platform-tests/XMLHttpRequest/send-content-type-string.htm: 28 * web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt: 29 * web-platform-tests/XMLHttpRequest/send-entity-body-document.htm: 30 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-aborted.html: 31 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html: 32 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-overrides.html: 33 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html: 34 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-simple.html: 35 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-synconmain.html: 36 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-twice.html: 37 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-aborted.html: 38 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html: 39 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html: 40 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-simple.html: 41 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-synconworker.html: 42 * web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html: 43 * web-platform-tests/dom/common.js: 44 (myExtractContents): 45 (myInsertNode): 46 * web-platform-tests/dom/interfaces-expected.txt: 47 * web-platform-tests/dom/lists/DOMTokenList-stringifier-expected.txt: 48 * web-platform-tests/dom/lists/DOMTokenList-stringifier.html: 49 * web-platform-tests/dom/nodes/Document-Element-getElementsByTagName.js: 50 (test_getElementsByTagName): 51 * web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt: 52 * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.html: Added. 53 * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.svg: Added. 54 * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xhtml: Added. 55 * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xml: Added. 56 * web-platform-tests/dom/nodes/Document-createElement-namespace.html: 57 * web-platform-tests/dom/nodes/Document-getElementsByTagName-expected.txt: 58 * web-platform-tests/dom/nodes/DocumentType-literal-xhtml-expected.txt: Added. 59 * web-platform-tests/dom/nodes/DocumentType-literal-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal.xhtml. 60 * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml-expected.txt: Added. 61 * web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.xhtml. 62 * web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml-expected.txt: Added. 63 * web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild.xhtml. 64 * web-platform-tests/dom/nodes/Element-children-expected.txt: 65 * web-platform-tests/dom/nodes/Element-children.html: 66 * web-platform-tests/dom/nodes/Element-classlist-expected.txt: 67 * web-platform-tests/dom/nodes/Element-classlist.html: 68 * web-platform-tests/dom/nodes/Element-firstElementChild-xhtml-expected.txt: Added. 69 * web-platform-tests/dom/nodes/Element-firstElementChild-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild.xhtml. 70 * web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess-expected.txt: Added. 71 * web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess-iframe-expected.txt: Added. 72 * web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess-iframe.xml: Added. 73 * web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html: Added. 74 * web-platform-tests/dom/nodes/Element-getElementsByTagName-expected.txt: 75 * web-platform-tests/dom/nodes/Element-matches-expected.txt: 76 * web-platform-tests/dom/nodes/Element-nextElementSibling-xhtml-expected.txt: Added. 77 * web-platform-tests/dom/nodes/Element-nextElementSibling-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-nextElementSibling.xhtml. 78 * web-platform-tests/dom/nodes/Element-previousElementSibling-xhtml-expected.txt: Added. 79 * web-platform-tests/dom/nodes/Element-previousElementSibling-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-previousElementSibling.xhtml. 80 * web-platform-tests/dom/nodes/MutationObserver-childList-expected.txt: 81 * web-platform-tests/dom/nodes/MutationObserver-childList.html: 82 * web-platform-tests/dom/nodes/MutationObserver-document-expected.txt: 83 * web-platform-tests/dom/nodes/MutationObserver-document.html: 84 * web-platform-tests/dom/nodes/Node-contains-xhtml-expected.txt: Removed. 85 * web-platform-tests/dom/nodes/Node-contains-xhtml.xhtml: Removed. 86 * web-platform-tests/dom/nodes/Node-isEqualNode-expected.txt: 87 * web-platform-tests/dom/nodes/Node-isEqualNode-iframe1-expected.txt: Added. 88 * web-platform-tests/dom/nodes/Node-isEqualNode-iframe1.xml: Added. 89 * web-platform-tests/dom/nodes/Node-isEqualNode-iframe2-expected.txt: Added. 90 * web-platform-tests/dom/nodes/Node-isEqualNode-iframe2.xml: Added. 91 * web-platform-tests/dom/nodes/Node-isEqualNode.xhtml: 92 * web-platform-tests/dom/nodes/Node-lookupNamespaceURI-expected.txt: 93 * web-platform-tests/dom/nodes/Node-lookupNamespaceURI.html: 94 * web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt: 95 * web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xhtml-expected.txt. 96 * web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht.xht: Renamed from LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xhtml.xht. 97 * web-platform-tests/dom/nodes/attributes-expected.txt: 98 * web-platform-tests/dom/nodes/attributes.html: 99 * web-platform-tests/dom/nodes/getElementsByClassName-10.xml: 100 * web-platform-tests/dom/nodes/getElementsByClassName-11.xml: 101 * web-platform-tests/dom/nodes/resources/ParentNode-querySelector-All-content.xht: Removed. 102 * web-platform-tests/dom/nodes/selectors.js: 103 * web-platform-tests/dom/nodes/w3c-import.log: 104 * web-platform-tests/dom/ranges/Range-deleteContents-expected.txt: 105 * web-platform-tests/dom/ranges/Range-deleteContents.html: 106 * web-platform-tests/dom/ranges/Range-extractContents-expected.txt: 107 * web-platform-tests/dom/ranges/Range-insertNode-expected.txt: 108 * web-platform-tests/dom/ranges/Range-intersectsNode-expected.txt: 109 * web-platform-tests/dom/ranges/Range-intersectsNode.html: 110 * web-platform-tests/dom/ranges/Range-mutations.html: 111 * web-platform-tests/dom/ranges/Range-surroundContents-expected.txt: 112 * web-platform-tests/dom/ranges/Range-surroundContents.html: 113 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml-expected.txt: Added. 114 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.xhtml. 115 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml-expected.txt: Added. 116 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.xhtml. 117 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml-expected.txt: Added. 118 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.xhtml. 119 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-expected.txt: 120 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-expected.txt. 121 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.xhtml. 122 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html: 123 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef-xhtml-expected.txt: Added. 124 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef.xhtml. 125 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml-expected.txt: Added. 126 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml.xhtml: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.xhtml. 127 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/w3c-import.log: 128 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-03-expected.txt: 129 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-03.html: 130 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-09-expected.txt: 131 * web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-09.html: 132 * web-platform-tests/html/dom/documents/dom-tree-accessors/nameditem-06-expected.txt: 133 * web-platform-tests/html/dom/documents/dom-tree-accessors/nameditem-06.html: 134 * web-platform-tests/html/dom/documents/resource-metadata-management/document-lastModified-01.html: 135 * web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/010-expected.txt: 136 * web-platform-tests/html/dom/elements-embedded.js: 137 * web-platform-tests/html/dom/elements-text.js: 138 * web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref-expected.html: Added. 139 * web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref.html: Added. 140 * web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref-expected.html: Added. 141 * web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref.html: Added. 142 * web-platform-tests/html/dom/elements/global-attributes/w3c-import.log: 143 * web-platform-tests/html/dom/interfaces-expected.txt: 144 * web-platform-tests/html/dom/interfaces.html: 145 * web-platform-tests/html/dom/reflection.js: 146 (ReflectionTests.doReflects): 147 * web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resources/delayed-broken-video.py: Removed. 148 * web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/resources/w3c-import.log: Removed. 149 * web-platform-tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/w3c-import.log: Removed. 150 * web-platform-tests/html/semantics/embedded-content/media-elements/location-of-the-media-resource/w3c-import.log: Removed. 151 * web-platform-tests/html/semantics/embedded-content/media-elements/ready-states/w3c-import.log: Removed. 152 * web-platform-tests/html/semantics/embedded-content/media-elements/seeking/w3c-import.log: Removed. 153 * web-platform-tests/html/semantics/embedded-content/media-elements/synchronising-multiple-media-elements/media-controllers/w3c-import.log: Removed. 154 * web-platform-tests/html/semantics/embedded-content/the-iframe-element/w3c-import.log: Removed. 155 * web-platform-tests/html/semantics/embedded-content/the-img-element/Image-constructor.html: 156 * web-platform-tests/html/semantics/embedded-content/the-img-element/current-pixel-density/basic-expected.txt: 157 * web-platform-tests/html/semantics/embedded-content/the-img-element/current-pixel-density/basic.html: 158 * web-platform-tests/html/semantics/forms/constraints/form-validation-checkValidity-expected.txt: 159 * web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valid-expected.txt: 160 * web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing-expected.txt: 161 * web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing.html: 162 * web-platform-tests/html/semantics/forms/constraints/support/validator.js: 163 (validator.set_conditions): 164 (validator.set_dirty): Deleted. 165 (validator.pre_check): Deleted. 166 * web-platform-tests/html/semantics/forms/textfieldselection/selection.html: 167 * web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete-expected.txt: 168 * web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html: 169 * web-platform-tests/html/semantics/forms/the-label-element/label-attributes-expected.txt: 170 * web-platform-tests/html/semantics/forms/the-label-element/label-attributes.html: 171 * web-platform-tests/html/semantics/forms/the-label-element/labelable-elements-expected.txt: 172 * web-platform-tests/html/semantics/forms/the-label-element/labelable-elements.html: 173 * web-platform-tests/html/semantics/forms/the-option-element/option-text-recurse-expected.txt: 174 * web-platform-tests/html/semantics/forms/the-option-element/option-text-recurse.html: 175 * web-platform-tests/html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem-expected.txt: 176 * web-platform-tests/html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html: 177 * web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log: 178 * web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html: 179 * web-platform-tests/html/semantics/selectors/pseudo-classes/disabled-expected.txt: 180 * web-platform-tests/html/semantics/selectors/pseudo-classes/disabled.html: 181 * web-platform-tests/html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex-expected.txt: 182 * web-platform-tests/html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html: 183 * web-platform-tests/html/semantics/tabular-data/html-table-section-element.js: Added. 184 (testRowsAttribute): 185 * web-platform-tests/html/semantics/tabular-data/the-tbody-element/deleteRow-expected.txt: 186 * web-platform-tests/html/semantics/tabular-data/the-tbody-element/deleteRow.html: 187 * web-platform-tests/html/semantics/tabular-data/the-tbody-element/insertRow-expected.txt: 188 * web-platform-tests/html/semantics/tabular-data/the-tbody-element/insertRow.html: 189 * web-platform-tests/html/semantics/tabular-data/the-tr-element/deleteCell-expected.txt: 190 * web-platform-tests/html/semantics/tabular-data/the-tr-element/deleteCell.html: 191 * web-platform-tests/html/semantics/tabular-data/w3c-import.log: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/styling/w3c-import.log. 192 * web-platform-tests/lint: 193 * web-platform-tests/lint.whitelist: 194 * web-platform-tests/media/2048x1360-random.jpg: Added. 195 * web-platform-tests/media/w3c-import.log: Added. 196 1 197 2015-12-23 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 198 -
trunk/LayoutTests/imported/w3c/resources/ImportExpectations
r191546 r194580 74 74 web-platform-tests/cors [ Skip ] 75 75 web-platform-tests/custom-elements [ Skip ] 76 web-platform-tests/cssom-view [ Skip ] 76 77 #web-platform-tests/dom [ Pass ] 78 web-platform-tests/dom/collections/domstringmap-supported-property-names.html [ Skip ] 79 web-platform-tests/dom/collections/namednodemap-supported-property-names.html [ Skip ] 80 web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-svg.svg [ Skip ] 81 web-platform-tests/dom/nodes/Element-nextElementSibling-svg.svg [ Skip ] 82 web-platform-tests/dom/nodes/Element-lastElementChild-svg.svg [ Skip ] 83 web-platform-tests/dom/nodes/Element-firstElementChild-svg.svg [ Skip ] 84 web-platform-tests/dom/nodes/Element-childElement-null-svg.svg [ Skip ] 85 web-platform-tests/dom/nodes/Element-childElementCount-nochild-svg.svg [ Skip ] 86 web-platform-tests/dom/nodes/Element-childElementCount-svg.svg [ Skip ] 87 web-platform-tests/dom/nodes/Element-siblingElement-null-svg.svg [ Skip ] 88 web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-svg.svg [ Skip ] 89 web-platform-tests/dom/nodes/Element-firstElementChild-namespace-svg.svg [ Skip ] 90 web-platform-tests/dom/nodes/Element-previousElementSibling-svg.svg [ Skip ] 77 91 web-platform-tests/dom/events/Event-dispatch-propagation-stopped.html [ Skip ] 78 92 web-platform-tests/dom/nodes/Document-createProcessingInstruction.xhtml [ Skip ] … … 100 114 web-platform-tests/dom/nodes/Node-nodeName.xhtml [ Skip ] 101 115 web-platform-tests/dom/nodes/ParentNode-querySelector-All.xht [ Skip ] 116 web-platform-tests/dom/ranges/Range-constructor.html [ Skip ] 102 117 web-platform-tests/dom/traversal/unfinished [ Skip ] 103 118 #web-platform-tests/domparsing [ Pass ] … … 116 131 web-platform-tests/html/browsers [ Skip ] 117 132 web-platform-tests/html/dom/documents/dom-tree-accessors/Document.currentScript.sub.html [ Skip ] 133 web-platform-tests/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-03.html [ Skip ] 118 134 web-platform-tests/html/dom/reflection-embedded.html [ Skip ] 119 135 web-platform-tests/html/dom/reflection-forms.html [ Skip ] … … 131 147 web-platform-tests/html/obsolete [ Skip ] 132 148 web-platform-tests/html/rendering [ Skip ] 133 149 web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/ [ Skip ] 134 150 web-platform-tests/html/semantics/document-metadata/styling/LinkStyle.html [ Skip ] 135 151 web-platform-tests/html/semantics/embedded-content/media-elements/error-codes [ Skip ] … … 157 173 web-platform-tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html [ Skip ] 158 174 web-platform-tests/html/semantics/embedded-content/the-object-element/object-events.html [ Skip ] 175 web-platform-tests/html/semantics/forms/form-submission-0/url-encoded.html [ Skip ] 159 176 web-platform-tests/html/semantics/forms/textfieldselection/select-event.html [ Skip ] 160 177 web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html [ Skip ] 178 web-platform-tests/html/semantics/forms/the-input-element/maxlength.html [ Skip ] 179 web-platform-tests/html/semantics/forms/the-option-element/option-selected.html [ Skip ] 180 web-platform-tests/html/semantics/forms/the-select-element/select-ask-for-reset.html [ Skip ] 161 181 web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent.html [ Skip ] 162 182 web-platform-tests/html/semantics/scripting-1/the-script-element/async_001.htm [ Skip ] … … 173 193 web-platform-tests/html/semantics/scripting-1/the-script-element/script-for-event.xhtml [ Skip ] 174 194 web-platform-tests/html/semantics/scripting-1/the-script-element/script-text.xhtml [ Skip ] 195 web-platform-tests/html/semantics/tabular-data/the-tbody-element/rows.html [ Skip ] 196 web-platform-tests/html/semantics/tabular-data/the-tfoot-element [ Skip ] 197 web-platform-tests/html/semantics/tabular-data/the-thead-element [ Skip ] 198 web-platform-tests/html/semantics/tabular-data/the-tr-element/cells.html [ Skip ] 175 199 web-platform-tests/html/syntax [ Skip ] 176 200 web-platform-tests/html/tools [ Skip ] … … 181 205 web-platform-tests/http [ Skip ] 182 206 web-platform-tests/infrastructure [ Skip ] 207 web-platform-tests/innerText [ Skip ] 183 208 web-platform-tests/js [ Skip ] 184 web-platform-tests/media [ Skip ]185 209 web-platform-tests/media-source [ Skip ] 186 210 web-platform-tests/mediacapture-streams [ Skip ] … … 207 231 web-platform-tests/subresource-integrity [ Skip ] 208 232 web-platform-tests/svg [ Skip ] 233 web-platform-tests/testharness_runner.html [ Skip ] 209 234 web-platform-tests/touch-events [ Skip ] 210 235 web-platform-tests/typedarrays [ Skip ] … … 223 248 web-platform-tests/webvtt [ Skip ] 224 249 web-platform-tests/workers [ Skip ] 225 226 web-platform-tests/testharness_runner.html [ Skip ] -
trunk/LayoutTests/imported/w3c/resources/TestRepositories
r191043 r194580 16 16 "name": "web-platform-tests", 17 17 "url": "https://github.com/w3c/web-platform-tests.git", 18 "revision": " dd553279c3",18 "revision": "5932fd48d519a83b4cca6ed69778547a4fdfc5ae", 19 19 "paths_to_skip": [ 20 20 "conformance-checkers", -
trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json
r191192 r194580 5 5 "." 6 6 ], 7 "url": "https://github.com/w3c/testharness.js/archive/ 7756b113373ec09f7159c68c4ba7eb8f0ad7c964.tar.gz",8 "url_subpath": "testharness.js- 7756b113373ec09f7159c68c4ba7eb8f0ad7c964"7 "url": "https://github.com/w3c/testharness.js/archive/698441212391d5177b2f1806d97c7fd15cc46715.tar.gz", 8 "url_subpath": "testharness.js-698441212391d5177b2f1806d97c7fd15cc46715" 9 9 }, 10 10 { … … 13 13 "resources" 14 14 ], 15 "url": "https://github.com/darobin/webidl2.js/archive/ 997fb214e02980ef4c27137553857ae6da533590.tar.gz",16 "url_subpath": "webidl2.js- 997fb214e02980ef4c27137553857ae6da533590"15 "url": "https://github.com/darobin/webidl2.js/archive/bd216bcd5596d60734450adc938155deab1e1a80.tar.gz", 16 "url_subpath": "webidl2.js-bd216bcd5596d60734450adc938155deab1e1a80" 17 17 }, 18 18 { … … 21 21 "." 22 22 ], 23 "url": "https://github.com/w3c/wpt-tools/archive/ 92f14770d10d44027a1c27b72958578ddc381ce3.tar.gz",24 "url_subpath": "wpt-tools- 92f14770d10d44027a1c27b72958578ddc381ce3"23 "url": "https://github.com/w3c/wpt-tools/archive/80bc792988aff1422f43b9e1d5909673eca960a2.tar.gz", 24 "url_subpath": "wpt-tools-80bc792988aff1422f43b9e1d5909673eca960a2" 25 25 }, 26 26 { … … 53 53 "tools" 54 54 ], 55 "url": "https://github.com/w3c/wptserve/archive/b 6b082fb70c592c6164c76aa167ae4dc284ebb69.tar.gz",56 "url_subpath": "wptserve-b 6b082fb70c592c6164c76aa167ae4dc284ebb69"55 "url": "https://github.com/w3c/wptserve/archive/b12d799c0be4fab1055df9a1e4dd5e45646b46ea.tar.gz", 56 "url_subpath": "wptserve-b12d799c0be4fab1055df9a1e4dd5e45646b46ea" 57 57 } 58 58 ] -
trunk/LayoutTests/imported/w3c/web-platform-tests/README.md
r191043 r194580 3 3 4 4 The Web Platform Tests Project is a W3C-coordinated attempt to build a 5 cross-browser testsuite for the Web-platform stack. Writing tests in a 6 way that allows them to be run in all browsers gives browser projects 5 cross-browser testsuite for the Web-platform stack. However, for mainly 6 historic reasons, the CSS WG testsuite is in a separate repository, 7 [csswg-test](https://github.com/w3c/csswg-test). Writing tests in a way 8 that allows them to be run in all browsers gives browser projects 7 9 confidence that they are shipping software that is compatible with other 8 10 implementations, and that later implementations will be compatible with -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials-expected.txt
r191546 r194580 6 6 }" did not throw 7 7 PASS setting withCredentials when not in UNSENT, OPENED state (asynchronous) 8 FAIL setting withCredentials when in DONE state (synchronous) assert_throws: function "function () { client.withCredentials = true }" did not throw 8 PASS setting withCredentials when in DONE state (synchronous) 9 9 -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js
r191546 r194580 44 44 var client = new XMLHttpRequest() 45 45 client.open("GET", "resources/delay.py?ms=1000", false) 46 client.send(); 46 47 assert_throws("InvalidStateError", function() { client.withCredentials = true }) 47 48 }, "setting withCredentials when in DONE state (synchronous)") -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/interfaces-expected.txt
r194154 r194580 18 18 FAIL XMLHttpRequestEventTarget interface: existence and properties of interface object assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing 19 19 FAIL XMLHttpRequestEventTarget interface object length assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing 20 FAIL XMLHttpRequestEventTarget interface object name assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing 20 21 FAIL XMLHttpRequestEventTarget interface: existence and properties of interface prototype object assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing 21 22 FAIL XMLHttpRequestEventTarget interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing … … 29 30 FAIL XMLHttpRequestUpload interface: existence and properties of interface object assert_equals: class string of XMLHttpRequestUpload expected "[object Function]" but got "[object XMLHttpRequestUploadConstructor]" 30 31 PASS XMLHttpRequestUpload interface object length 32 PASS XMLHttpRequestUpload interface object name 31 33 FAIL XMLHttpRequestUpload interface: existence and properties of interface prototype object assert_own_property: should inherit from XMLHttpRequestEventTarget, but self has no such property expected property "XMLHttpRequestEventTarget" missing 32 34 FAIL XMLHttpRequestUpload interface: existence and properties of interface prototype object's "constructor" property assert_true: XMLHttpRequestUpload.prototype.constructor is not writable expected true got false … … 52 54 FAIL XMLHttpRequest interface: existence and properties of interface object assert_equals: class string of XMLHttpRequest expected "[object Function]" but got "[object XMLHttpRequestConstructor]" 53 55 PASS XMLHttpRequest interface object length 56 PASS XMLHttpRequest interface object name 54 57 FAIL XMLHttpRequest interface: existence and properties of interface prototype object assert_own_property: should inherit from XMLHttpRequestEventTarget, but self has no such property expected property "XMLHttpRequestEventTarget" missing 55 58 FAIL XMLHttpRequest interface: existence and properties of interface prototype object's "constructor" property assert_true: XMLHttpRequest.prototype.constructor is not writable expected true got false … … 156 159 FAIL FormData interface: existence and properties of interface object assert_equals: class string of FormData expected "[object Function]" but got "[object FormDataConstructor]" 157 160 PASS FormData interface object length 161 PASS FormData interface object name 158 162 PASS FormData interface: existence and properties of interface prototype object 159 163 FAIL FormData interface: existence and properties of interface prototype object's "constructor" property assert_true: FormData.prototype.constructor is not writable expected true got false … … 212 216 FAIL ProgressEvent interface: existence and properties of interface object assert_equals: class string of ProgressEvent expected "[object Function]" but got "[object ProgressEventConstructor]" 213 217 PASS ProgressEvent interface object length 218 PASS ProgressEvent interface object name 214 219 PASS ProgressEvent interface: existence and properties of interface prototype object 215 220 FAIL ProgressEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: ProgressEvent.prototype.constructor is not writable expected true got false -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/open-url-worker-simple.htm
r191546 r194580 4 4 <meta charset="utf-8" /> 5 5 <title>XMLHttpRequest: relative URLs in worker scripts resolved by script URL</title> 6 <link rel="stylesheet" href="/resources/testharness.css" />7 6 <script src="/resources/testharness.js"></script> 8 7 <script src="/resources/testharnessreport.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/w3c-import.log
r191546 r194580 25 25 /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/delay.py 26 26 /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/echo-method.py 27 /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/empty-div-utf8-html.py 27 28 /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/folder.txt 28 29 /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/form.py … … 30 31 /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/headers.py 31 32 /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/image.gif 33 /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/img-utf8-html.py 32 34 /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/img.jpg 33 35 /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/infinite-redirects.py -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-content-type-charset-expected.txt
r191546 r194580 7 7 PASS If no charset= param is given, implementation should not add one - known MIME 8 8 FAIL charset given but wrong, fix it (unknown MIME, bogus charset) assert_equals: expected "text/x-thepiano;charset=UTF-8" but got "text/x-thepiano;charset= UTF-8" 9 PASS charset given but wrong, fix it (known MIME, bogus charset) 9 FAIL charset given but wrong, fix it (known MIME, bogus charset) assert_equals: expected "text/plain;charset=utf-8;charset=UTF-8" but got "text/plain;charset=UTF-8;charset=UTF-8" 10 10 PASS charset given but wrong, fix it (known MIME, actual charset) 11 11 PASS If multiple charset parameters are given, all should be rewritten -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-content-type-charset.htm
r191546 r194580 59 59 "charset given but wrong, fix it (unknown MIME, bogus charset)" 60 60 ) 61 request( /**/61 request( 62 62 "text/plain;charset=utf-8;charset=waddup", 63 "text/plain;charset= UTF-8;charset=UTF-8",63 "text/plain;charset=utf-8;charset=UTF-8", 64 64 "charset given but wrong, fix it (known MIME, bogus charset)" 65 65 ) -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-content-type-string-expected.txt
r191546 r194580 6 6 7 7 PASS XMLHttpRequest: send() - Content-Type 8 FAIL XMLHttpRequest: send() - Content-Type 1 assert_equals: expected "application/xml;charset= windows-1252" but got "NO"9 FAIL XMLHttpRequest: send() - Content-Type 2 assert_equals: expected "text/html;charset= windows-1252" but got "NO"8 FAIL XMLHttpRequest: send() - Content-Type 1 assert_equals: expected "application/xml;charset=UTF-8" but got "NO" 9 FAIL XMLHttpRequest: send() - Content-Type 2 assert_equals: expected "text/html;charset=UTF-8" but got "NO" 10 10 -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-content-type-string.htm
r191546 r194580 21 21 function init(fr) { request(fr.contentDocument, fr.getAttribute("data-t")) } 22 22 </script> 23 <iframe src='data:text/xml;charset=windows-1252,<%FF/>' onload="init(this)" data-t="application/xml;charset= windows-1252"></iframe>24 <iframe src='data:text/html;charset=windows-1252,%FF' onload="init(this)" data-t="text/html;charset= windows-1252"></iframe>23 <iframe src='data:text/xml;charset=windows-1252,<%FF/>' onload="init(this)" data-t="application/xml;charset=UTF-8"></iframe> 24 <iframe src='data:text/html;charset=windows-1252,%FF' onload="init(this)" data-t="text/html;charset=UTF-8"></iframe> 25 25 </body> 26 26 </html> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt
r191546 r194580 1 1 2 2 3 FAIL XMLHttpRequest: send() - Document Can't find variable: number 4 FAIL XMLHttpRequest: send() - Document 1 Can't find variable: number 5 FAIL XMLHttpRequest: send() - Document 2 Can't find variable: number 6 FAIL XMLHttpRequest: send() - Document 3 Can't find variable: number 7 FAIL XMLHttpRequest: send() - Document 4 Can't find variable: number 3 PASS XML document, windows-1252 4 PASS HTML document, invalid UTF-8 5 PASS HTML document, shift-jis 6 PASS img tag 7 PASS plain text file 8 PASS image file 9 PASS empty div 8 10 -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document.htm
r191546 r194580 17 17 { contentType: 'text/html;charset=UTF-8', responseText : '<body>\u30C6\u30b9\u30c8<\/body>' } /* correctly serialized Shift-JIS */, 18 18 { contentType: 'text/html;charset=UTF-8', responseText: 'top' }, /* There's some markup included, but it's not really relevant for this test suite, so we do an indexOf() test */ 19 { contentType: 'text/html;charset=UTF-8' } 19 { contentType: 'text/html;charset=UTF-8' }, 20 { contentType: 'text/html;charset=UTF-8', responseText: '<img>foo' }, 21 { contentType: 'text/html;charset=UTF-8', responseText: '<!DOCTYPE html><html><head></head><body><div></div></body></html>' } 20 22 ] 21 23 22 24 23 function request(input, isHTML, title) {25 function request(input, number, title) { 24 26 test(function() { 25 27 var client = new XMLHttpRequest() … … 31 33 // However, arguably these things have little to do with the XHR functionality we're testing. 32 34 if(exp.responseText){ // This test does not want to assert anything about what markup a standalone IMG should be wrapped in. Hence the GIF test lacks a responseText expectation. 33 assert_true(client.responseText.indexOf(exp.responseText) != -1); 35 assert_true(client.responseText.indexOf(exp.responseText) != -1, 36 JSON.stringify(exp.responseText) + " not in " + 37 JSON.stringify(client.responseText)); 34 38 } 35 39 assert_equals(client.responseXML, null) 36 40 }, title) 37 41 } 38 function init(fr, number, title) { request(fr.contentDocument, number ) }42 function init(fr, number, title) { request(fr.contentDocument, number, title) } 39 43 </script> 40 44 <!-- … … 51 55 <iframe src='folder.txt' onload="init(this, 3, 'plain text file')"></iframe> 52 56 <iframe src='resources/image.gif' onload="init(this, 4, 'image file')"></iframe> 57 <iframe src='resources/img-utf8-html.py' onload="init(this, 5, 'img tag')"></iframe> 58 <iframe src='resources/empty-div-utf8-html.py' onload="init(this, 6, 'empty div')"></iframe> 53 59 54 60 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-aborted.html
r191546 r194580 12 12 <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol/li[9]"/> 13 13 <link rel="help" href="https://xhr.spec.whatwg.org/#infrastructure-for-the-send()-method" data-tested-assertations="following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/.. following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/../following-sibling::dd following::dt[1] following::dd[1]" /> 14 <link rel="stylesheet" href="/resources/testharness.css" />15 14 <meta name=timeout content=long> 16 15 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html
r191546 r194580 8 8 <link rel="help" href="https://xhr.spec.whatwg.org/#event-xhr-abort" data-tested-assertations="../.." /> 9 9 <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol/li[9]"/> 10 <link rel="stylesheet" href="/resources/testharness.css" />11 10 <meta name=timeout content=long> 12 11 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-overrides.html
r191546 r194580 8 8 <link rel="help" href="https://xhr.spec.whatwg.org/#timeout-error" data-tested-assertations=".."/> 9 9 <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol[1]/li[9]"/> 10 <link rel="stylesheet" href="/resources/testharness.css" />11 10 <meta name=timeout content=long> 12 11 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html
r191546 r194580 9 9 <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol[1]/li[9]"/> 10 10 <link rel="help" href="https://xhr.spec.whatwg.org/#infrastructure-for-the-send()-method" data-tested-assertations="following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/.. following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/../following-sibling::dd following::dt[1] following::dd[1]" /> 11 <link rel="stylesheet" href="/resources/testharness.css" />12 11 <meta name=timeout content=long> 13 12 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-simple.html
r191546 r194580 9 9 <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol[1]/li[9]"/> 10 10 <link rel="help" href="https://xhr.spec.whatwg.org/#infrastructure-for-the-send()-method" data-tested-assertations="following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/.. following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/../following-sibling::dd following::dt[1] following::dd[1]" /> 11 <link rel="stylesheet" href="/resources/testharness.css" />12 11 <meta name=timeout content=long> 13 12 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-synconmain.html
r191546 r194580 6 6 <link rel="help" href="https://xhr.spec.whatwg.org/#the-timeout-attribute" data-tested-assertations="following::ol[1]/li[1]" /> 7 7 <link rel="help" href="https://xhr.spec.whatwg.org/#the-open()-method" data-tested-assertations="following::ol[1]/li[10]" /> 8 <link rel="stylesheet" href="/resources/testharness.css" />9 8 <meta name=timeout content=long> 10 9 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-twice.html
r191546 r194580 5 5 <title>XHR2 Timeout Property Tests</title> 6 6 <link rel="help" href="https://xhr.spec.whatwg.org/#timeout-error" /> 7 <link rel="stylesheet" href="/resources/testharness.css" />8 7 <link rel="help" href="https://xhr.spec.whatwg.org/#the-timeout-attribute" data-tested-assertations="following::ol[1]/li[2]" /> 9 8 <link rel="help" href="https://xhr.spec.whatwg.org/#handler-xhr-ontimeout" data-tested-assertations="../.."/> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-aborted.html
r191546 r194580 12 12 <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol/li[9]"/> 13 13 <link rel="help" href="https://xhr.spec.whatwg.org/#infrastructure-for-the-send()-method" data-tested-assertations="following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/.. following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/../following-sibling::dd following::dt[1] following::dd[1]" /> 14 <link rel="stylesheet" href="/resources/testharness.css" />15 14 <meta name=timeout content=long> 16 15 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html
r191546 r194580 8 8 <link rel="help" href="https://xhr.spec.whatwg.org/#timeout-error" data-tested-assertations=".."/> 9 9 <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol[1]/li[9]"/> 10 <link rel="stylesheet" href="/resources/testharness.css" />11 10 <meta name=timeout content=long> 12 11 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html
r191546 r194580 9 9 <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol[1]/li[9]"/> 10 10 <link rel="help" href="https://xhr.spec.whatwg.org/#infrastructure-for-the-send()-method" data-tested-assertations="following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/.. following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/../following-sibling::dd following::dt[1] following::dd[1]" /> 11 <link rel="stylesheet" href="/resources/testharness.css" />12 11 <meta name=timeout content=long> 13 12 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-simple.html
r191546 r194580 9 9 <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol[1]/li[9]"/> 10 10 <link rel="help" href="https://xhr.spec.whatwg.org/#infrastructure-for-the-send()-method" data-tested-assertations="following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/.. following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/../following-sibling::dd following::dt[1] following::dd[1]" /> 11 <link rel="stylesheet" href="/resources/testharness.css" />12 11 <meta name=timeout content=long> 13 12 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-synconworker.html
r191546 r194580 9 9 <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol[1]/li[9]"/> 10 10 <link rel="help" href="https://xhr.spec.whatwg.org/#infrastructure-for-the-send()-method" data-tested-assertations="following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/.. following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/../following-sibling::dd following::dt[1] following::dd[1]" /> 11 <link rel="stylesheet" href="/resources/testharness.css" />12 11 <meta name=timeout content=long> 13 12 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html
r191546 r194580 9 9 <link rel="help" href="https://xhr.spec.whatwg.org/#request-error" data-tested-assertations="following::ol[1]/li[9]"/> 10 10 <link rel="help" href="https://xhr.spec.whatwg.org/#infrastructure-for-the-send()-method" data-tested-assertations="following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/.. following-sibling::dl//code[contains(@title,'dom-XMLHttpRequest-timeout')]/../following-sibling::dd following::dt[1] following::dd[1]" /> 11 <link rel="stylesheet" href="/resources/testharness.css" />12 11 <meta name=timeout content=long> 13 12 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/common.js
r189471 r194580 572 572 */ 573 573 function myExtractContents(range) { 574 // "If the context object's detached flag is set, raise an575 // INVALID_STATE_ERR exception and abort these steps."576 try {577 range.collapsed;578 } catch (e) {579 return "INVALID_STATE_ERR";580 }581 582 574 // "Let frag be a new DocumentFragment whose ownerDocument is the same as 583 575 // the ownerDocument of the context object's start node." … … 602 594 var originalEndOffset = range.endOffset; 603 595 604 // "If original start node and original end node are the same, and they are605 // a Textor Comment node:"596 // "If original start node is original end node, and they are a Text, 597 // ProcessingInstruction, or Comment node:" 606 598 if (range.startContainer == range.endContainer 607 599 && (range.startContainer.nodeType == Node.TEXT_NODE 600 || range.startContainer.nodeType == Node.PROCESSING_INSTRUCTION_NODE 608 601 || range.startContainer.nodeType == Node.COMMENT_NODE)) { 609 602 // "Let clone be the result of calling cloneNode(false) on original … … 717 710 } 718 711 719 // "If first partially contained child is a Text or Comment node:" 712 // "If first partially contained child is a Text, ProcessingInstruction, or 713 // Comment node:" 720 714 if (firstPartiallyContainedChild 721 715 && (firstPartiallyContainedChild.nodeType == Node.TEXT_NODE 716 || firstPartiallyContainedChild.nodeType == Node.PROCESSING_INSTRUCTION_NODE 722 717 || firstPartiallyContainedChild.nodeType == Node.COMMENT_NODE)) { 723 718 // "Let clone be the result of calling cloneNode(false) on original … … 774 769 } 775 770 776 // "If last partially contained child is a Text or Comment node:" 771 // "If last partially contained child is a Text, ProcessingInstruction, or 772 // Comment node:" 777 773 if (lastPartiallyContainedChild 778 774 && (lastPartiallyContainedChild.nodeType == Node.TEXT_NODE 775 || lastPartiallyContainedChild.nodeType == Node.PROCESSING_INSTRUCTION_NODE 779 776 || lastPartiallyContainedChild.nodeType == Node.COMMENT_NODE)) { 780 777 // "Let clone be the result of calling cloneNode(false) on original … … 832 829 */ 833 830 function myInsertNode(range, node) { 834 // "If range's start node is either a ProcessingInstruction or Comment835 // node, or a Text node whose parent is null, throw an831 // "If range's start node is a ProcessingInstruction or Comment node, or is 832 // a Text node whose parent is null, or is node, throw an 836 833 // "HierarchyRequestError" exception and terminate these steps." 837 834 if (range.startContainer.nodeType == Node.PROCESSING_INSTRUCTION_NODE 838 835 || range.startContainer.nodeType == Node.COMMENT_NODE 839 836 || (range.startContainer.nodeType == Node.TEXT_NODE 840 && !range.startContainer.parentNode)) { 837 && !range.startContainer.parentNode) 838 || range.startContainer == node) { 841 839 return "HIERARCHY_REQUEST_ERR"; 842 840 } -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt
r194217 r194580 107 107 FAIL Event interface: existence and properties of interface object assert_equals: class string of Event expected "[object Function]" but got "[object EventConstructor]" 108 108 PASS Event interface object length 109 PASS Event interface object name 109 110 PASS Event interface: existence and properties of interface prototype object 110 111 FAIL Event interface: existence and properties of interface prototype object's "constructor" property assert_true: Event.prototype.constructor is not writable expected true got false … … 191 192 FAIL CustomEvent interface: existence and properties of interface object assert_equals: class string of CustomEvent expected "[object Function]" but got "[object CustomEventConstructor]" 192 193 PASS CustomEvent interface object length 194 PASS CustomEvent interface object name 193 195 PASS CustomEvent interface: existence and properties of interface prototype object 194 196 FAIL CustomEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: CustomEvent.prototype.constructor is not writable expected true got false … … 224 226 FAIL EventTarget interface: existence and properties of interface object assert_equals: class string of EventTarget expected "[object Function]" but got "[object EventTargetConstructor]" 225 227 PASS EventTarget interface object length 228 PASS EventTarget interface object name 226 229 PASS EventTarget interface: existence and properties of interface prototype object 227 230 FAIL EventTarget interface: existence and properties of interface prototype object's "constructor" property assert_true: EventTarget.prototype.constructor is not writable expected true got false … … 235 238 FAIL NodeList interface: existence and properties of interface object assert_equals: class string of NodeList expected "[object Function]" but got "[object NodeListConstructor]" 236 239 PASS NodeList interface object length 240 PASS NodeList interface object name 237 241 PASS NodeList interface: existence and properties of interface prototype object 238 242 FAIL NodeList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: NodeList.prototype does not have own property "constructor" expected property "constructor" missing … … 246 250 FAIL HTMLCollection interface: existence and properties of interface object assert_equals: class string of HTMLCollection expected "[object Function]" but got "[object HTMLCollectionConstructor]" 247 251 PASS HTMLCollection interface object length 252 PASS HTMLCollection interface object name 248 253 PASS HTMLCollection interface: existence and properties of interface prototype object 249 254 FAIL HTMLCollection interface: existence and properties of interface prototype object's "constructor" property assert_own_property: HTMLCollection.prototype does not have own property "constructor" expected property "constructor" missing … … 264 269 FAIL MutationObserver interface: existence and properties of interface object assert_equals: class string of MutationObserver expected "[object Function]" but got "[object MutationObserverConstructor]" 265 270 PASS MutationObserver interface object length 271 PASS MutationObserver interface object name 266 272 PASS MutationObserver interface: existence and properties of interface prototype object 267 273 FAIL MutationObserver interface: existence and properties of interface prototype object's "constructor" property assert_true: MutationObserver.prototype.constructor is not writable expected true got false … … 271 277 FAIL MutationRecord interface: existence and properties of interface object assert_equals: class string of MutationRecord expected "[object Function]" but got "[object MutationRecordConstructor]" 272 278 PASS MutationRecord interface object length 279 PASS MutationRecord interface object name 273 280 PASS MutationRecord interface: existence and properties of interface prototype object 274 281 FAIL MutationRecord interface: existence and properties of interface prototype object's "constructor" property assert_true: MutationRecord.prototype.constructor is not writable expected true got false … … 302 309 FAIL Node interface: existence and properties of interface object assert_equals: class string of Node expected "[object Function]" but got "[object NodeConstructor]" 303 310 PASS Node interface object length 311 PASS Node interface object name 304 312 FAIL Node interface: existence and properties of interface prototype object assert_equals: prototype of Node.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 305 313 FAIL Node interface: existence and properties of interface prototype object's "constructor" property assert_true: Node.prototype.constructor is not writable expected true got false … … 394 402 FAIL Document interface: existence and properties of interface object assert_equals: class string of Document expected "[object Function]" but got "[object DocumentConstructor]" 395 403 PASS Document interface object length 404 PASS Document interface object name 396 405 PASS Document interface: existence and properties of interface prototype object 397 406 FAIL Document interface: existence and properties of interface prototype object's "constructor" property assert_true: Document.prototype.constructor is not writable expected true got false … … 467 476 FAIL XMLDocument interface: existence and properties of interface object assert_equals: class string of XMLDocument expected "[object Function]" but got "[object DocumentConstructor]" 468 477 PASS XMLDocument interface object length 478 FAIL XMLDocument interface object name assert_equals: wrong value for XMLDocument.name expected "XMLDocument" but got "Document" 469 479 FAIL XMLDocument interface: existence and properties of interface prototype object assert_equals: prototype of XMLDocument.prototype is not Document.prototype expected Node object of unknown type but got Node object of unknown type 470 480 FAIL XMLDocument interface: existence and properties of interface prototype object's "constructor" property assert_true: XMLDocument.prototype.constructor is not writable expected true got false … … 639 649 FAIL DOMImplementation interface: existence and properties of interface object assert_equals: class string of DOMImplementation expected "[object Function]" but got "[object DOMImplementationConstructor]" 640 650 PASS DOMImplementation interface object length 651 PASS DOMImplementation interface object name 641 652 PASS DOMImplementation interface: existence and properties of interface prototype object 642 653 FAIL DOMImplementation interface: existence and properties of interface prototype object's "constructor" property assert_true: DOMImplementation.prototype.constructor is not writable expected true got false … … 660 671 FAIL DocumentFragment interface: existence and properties of interface object assert_equals: class string of DocumentFragment expected "[object Function]" but got "[object DocumentFragmentConstructor]" 661 672 PASS DocumentFragment interface object length 673 PASS DocumentFragment interface object name 662 674 PASS DocumentFragment interface: existence and properties of interface prototype object 663 675 FAIL DocumentFragment interface: existence and properties of interface prototype object's "constructor" property assert_true: DocumentFragment.prototype.constructor is not writable expected true got false … … 784 796 FAIL DocumentType interface: existence and properties of interface object assert_equals: class string of DocumentType expected "[object Function]" but got "[object DocumentTypeConstructor]" 785 797 PASS DocumentType interface object length 798 PASS DocumentType interface object name 786 799 PASS DocumentType interface: existence and properties of interface prototype object 787 800 FAIL DocumentType interface: existence and properties of interface prototype object's "constructor" property assert_true: DocumentType.prototype.constructor is not writable expected true got false … … 892 905 FAIL Element interface: existence and properties of interface object assert_equals: class string of Element expected "[object Function]" but got "[object ElementConstructor]" 893 906 PASS Element interface object length 907 PASS Element interface object name 894 908 PASS Element interface: existence and properties of interface prototype object 895 909 FAIL Element interface: existence and properties of interface prototype object's "constructor" property assert_true: Element.prototype.constructor is not writable expected true got false … … 1146 1160 FAIL NamedNodeMap interface: existence and properties of interface object assert_equals: class string of NamedNodeMap expected "[object Function]" but got "[object NamedNodeMapConstructor]" 1147 1161 PASS NamedNodeMap interface object length 1162 PASS NamedNodeMap interface object name 1148 1163 PASS NamedNodeMap interface: existence and properties of interface prototype object 1149 1164 FAIL NamedNodeMap interface: existence and properties of interface prototype object's "constructor" property assert_own_property: NamedNodeMap.prototype does not have own property "constructor" expected property "constructor" missing … … 1158 1173 FAIL Attr interface: existence and properties of interface object assert_equals: class string of Attr expected "[object Function]" but got "[object AttrConstructor]" 1159 1174 PASS Attr interface object length 1175 PASS Attr interface object name 1160 1176 FAIL Attr interface: existence and properties of interface prototype object assert_equals: prototype of Attr.prototype is not Object.prototype expected object "[object Object]" but got Node object of unknown type 1161 1177 FAIL Attr interface: existence and properties of interface prototype object's "constructor" property assert_true: Attr.prototype.constructor is not writable expected true got false … … 1200 1216 FAIL CharacterData interface: existence and properties of interface object assert_equals: class string of CharacterData expected "[object Function]" but got "[object CharacterDataConstructor]" 1201 1217 PASS CharacterData interface object length 1218 PASS CharacterData interface object name 1202 1219 PASS CharacterData interface: existence and properties of interface prototype object 1203 1220 FAIL CharacterData interface: existence and properties of interface prototype object's "constructor" property assert_true: CharacterData.prototype.constructor is not writable expected true got false … … 1225 1242 FAIL Text interface: existence and properties of interface object assert_equals: class string of Text expected "[object Function]" but got "[object TextConstructor]" 1226 1243 PASS Text interface object length 1244 PASS Text interface object name 1227 1245 PASS Text interface: existence and properties of interface prototype object 1228 1246 FAIL Text interface: existence and properties of interface prototype object's "constructor" property assert_true: Text.prototype.constructor is not writable expected true got false … … 1338 1356 FAIL ProcessingInstruction interface: existence and properties of interface object assert_equals: class string of ProcessingInstruction expected "[object Function]" but got "[object ProcessingInstructionConstructor]" 1339 1357 PASS ProcessingInstruction interface object length 1358 PASS ProcessingInstruction interface object name 1340 1359 PASS ProcessingInstruction interface: existence and properties of interface prototype object 1341 1360 FAIL ProcessingInstruction interface: existence and properties of interface prototype object's "constructor" property assert_true: ProcessingInstruction.prototype.constructor is not writable expected true got false … … 1448 1467 FAIL Comment interface: existence and properties of interface object assert_equals: class string of Comment expected "[object Function]" but got "[object CommentConstructor]" 1449 1468 PASS Comment interface object length 1469 PASS Comment interface object name 1450 1470 PASS Comment interface: existence and properties of interface prototype object 1451 1471 FAIL Comment interface: existence and properties of interface prototype object's "constructor" property assert_true: Comment.prototype.constructor is not writable expected true got false … … 1554 1574 FAIL Range interface: existence and properties of interface object assert_equals: class string of Range expected "[object Function]" but got "[object RangeConstructor]" 1555 1575 PASS Range interface object length 1576 PASS Range interface object name 1556 1577 PASS Range interface: existence and properties of interface prototype object 1557 1578 FAIL Range interface: existence and properties of interface prototype object's "constructor" property assert_true: Range.prototype.constructor is not writable expected true got false … … 1715 1736 FAIL NodeIterator interface: existence and properties of interface object assert_equals: class string of NodeIterator expected "[object Function]" but got "[object NodeIteratorConstructor]" 1716 1737 PASS NodeIterator interface object length 1738 PASS NodeIterator interface object name 1717 1739 PASS NodeIterator interface: existence and properties of interface prototype object 1718 1740 FAIL NodeIterator interface: existence and properties of interface prototype object's "constructor" property assert_true: NodeIterator.prototype.constructor is not writable expected true got false … … 1747 1769 FAIL TreeWalker interface: existence and properties of interface object assert_equals: class string of TreeWalker expected "[object Function]" but got "[object TreeWalkerConstructor]" 1748 1770 PASS TreeWalker interface object length 1771 PASS TreeWalker interface object name 1749 1772 PASS TreeWalker interface: existence and properties of interface prototype object 1750 1773 FAIL TreeWalker interface: existence and properties of interface prototype object's "constructor" property assert_true: TreeWalker.prototype.constructor is not writable expected true got false … … 1782 1805 PASS TreeWalker interface: document.createTreeWalker(document.body, NodeFilter.SHOW_ALL, null, false) must inherit property "nextNode" with the proper type (10) 1783 1806 PASS NodeFilter interface: existence and properties of interface object 1807 PASS NodeFilter interface object name 1784 1808 PASS NodeFilter interface: existence and properties of interface prototype object 1785 1809 PASS NodeFilter interface: existence and properties of interface prototype object's "constructor" property … … 1819 1843 FAIL DOMTokenList interface: existence and properties of interface object assert_equals: class string of DOMTokenList expected "[object Function]" but got "[object DOMTokenListConstructor]" 1820 1844 PASS DOMTokenList interface object length 1845 PASS DOMTokenList interface object name 1821 1846 PASS DOMTokenList interface: existence and properties of interface prototype object 1822 1847 FAIL DOMTokenList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: DOMTokenList.prototype does not have own property "constructor" expected property "constructor" missing … … 1843 1868 FAIL DOMSettableTokenList interface: existence and properties of interface object assert_equals: class string of DOMSettableTokenList expected "[object Function]" but got "[object DOMSettableTokenListConstructor]" 1844 1869 PASS DOMSettableTokenList interface object length 1870 PASS DOMSettableTokenList interface object name 1845 1871 PASS DOMSettableTokenList interface: existence and properties of interface prototype object 1846 1872 FAIL DOMSettableTokenList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: DOMSettableTokenList.prototype does not have own property "constructor" expected property "constructor" missing -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-stringifier-expected.txt
r189632 r194580 1 1 2 PASS DOMTokenList stringifier 2 FAIL DOMTokenList stringifier assert_equals: String(classList) should return the literal value expected " a a b " but got "a b" 3 3 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-stringifier.html
r189471 r194580 7 7 <script src="/resources/testharnessreport.js"></script> 8 8 <div id=log></div> 9 <span class=" a a b "></span>9 <span class=" a a b "></span> 10 10 <script> 11 11 test(function() { 12 assert_equals(String(document.createElement("span").classList), "", 13 "String(classList) should return the empty list for an undefined class attribute"); 12 14 var span = document.querySelector("span"); 13 assert_equals(span.getAttribute("class"), " a a b ",15 assert_equals(span.getAttribute("class"), " a a b ", 14 16 "getAttribute should return the literal value"); 15 assert_equals(span.className, " a a b ",17 assert_equals(span.className, " a a b ", 16 18 "className should return the literal value"); 17 assert_equals(String(span.classList), " a b",18 "String(classList) should compress whitespace");19 assert_equals(span.classList.toString(), " a b",20 "classList.toString() should compress whitespace");19 assert_equals(String(span.classList), " a a b ", 20 "String(classList) should return the literal value"); 21 assert_equals(span.classList.toString(), " a a b ", 22 "classList.toString() should return the literal value"); 21 23 assert_class_string(span.classList, "DOMTokenList"); 22 24 }); -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-Element-getElementsByTagName.js
r189471 r194580 51 51 52 52 test(function() { 53 var t = element.appendChild(document.createElement("pre")); 54 t.id = "x"; 55 this.add_cleanup(function() {element.removeChild(t)}); 53 var t1 = element.appendChild(document.createElement("pre")); 54 t1.id = "x"; 55 var t2 = element.appendChild(document.createElement("pre")); 56 t2.setAttribute("name", "y"); 57 var t3 = element.appendChild(document.createElementNS("", "pre")); 58 t3.setAttribute("id", "z"); 59 var t4 = element.appendChild(document.createElementNS("", "pre")); 60 t4.setAttribute("name", "w"); 61 this.add_cleanup(function() { 62 element.removeChild(t1) 63 element.removeChild(t2) 64 element.removeChild(t3) 65 element.removeChild(t4) 66 }); 56 67 57 68 var list = context.getElementsByTagName('pre'); 58 69 var pre = list[0]; 59 70 assert_equals(pre.id, "x"); 60 assert_equals(list['x'], pre);61 71 62 assert_true('x' in list, "'x' in list"); 63 assert_true(list.hasOwnProperty('x'), "list.hasOwnProperty('x')"); 72 var exposedNames = { 'x': 0, 'y': 1, 'z': 2 }; 73 for (var exposedName in exposedNames) { 74 assert_equals(list[exposedName], list[exposedNames[exposedName]]); 75 assert_equals(list[exposedName], list.namedItem(exposedName)); 76 assert_true(exposedName in list, "'" + exposedName + "' in list"); 77 assert_true(list.hasOwnProperty(exposedName), 78 "list.hasOwnProperty('" + exposedName + "')"); 79 } 64 80 65 assert_array_equals(Object.getOwnPropertyNames(list).sort(), ["0", "x"]); 81 var unexposedNames = ["w"]; 82 for (var unexposedName of unexposedNames) { 83 assert_false(unexposedName in list); 84 assert_false(list.hasOwnProperty(unexposedName)); 85 assert_equals(list[unexposedName], undefined); 86 assert_equals(list.namedItem(unexposedName), null); 87 } 88 89 assert_array_equals(Object.getOwnPropertyNames(list).sort(), 90 ["0", "1", "2", "3", "x", "y", "z"]); 66 91 67 92 var desc = Object.getOwnPropertyDescriptor(list, '0'); -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt
r191379 r194580 2 2 PASS Created element's namespace in current document 3 3 PASS Created element's namespace in created HTML document 4 PASS Created element's namespace in created XML document 4 FAIL Created element's namespace in created XML document assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 5 5 FAIL Created element's namespace in created XHTML document assert_equals: Wrong MIME type -- incorrect server config? expected "application/xml" but got "application/xhtml+xml" 6 6 FAIL Created element's namespace in created SVG document assert_equals: Wrong MIME type -- incorrect server config? expected "application/xml" but got "image/svg+xml" 7 PASS Created element's namespace in created MathML document 8 FAIL Created element's namespace in empty.html assert_equals: Wrong MIME type -- incorrect server config? expected "text/html" but got "application/json" 9 FAIL Created element's namespace in empty.xhtml assert_equals: Wrong MIME type -- incorrect server config? expected "application/xhtml+xml" but got "application/json" 10 FAIL Created element's namespace in empty.xml assert_equals: Wrong MIME type -- incorrect server config? expected "application/xml" but got "application/json"11 FAIL Created element's namespace in empty.svg assert_equals: Wrong MIME type -- incorrect server config? expected "image/svg+xml" but got "application/json"7 FAIL Created element's namespace in created MathML document assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 8 PASS Created element's namespace in empty.html 9 PASS Created element's namespace in empty.xhtml 10 FAIL Created element's namespace in empty.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 11 FAIL Created element's namespace in empty.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 12 12 PASS Created element's namespace in minimal_html.html 13 13 PASS Created element's namespace in minimal_html.xhtml 14 PASS Created element's namespace in minimal_html.xml 15 PASS Created element's namespace in minimal_html.svg 14 FAIL Created element's namespace in minimal_html.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 15 FAIL Created element's namespace in minimal_html.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 16 16 PASS Created element's namespace in xhtml.html 17 17 PASS Created element's namespace in xhtml.xhtml 18 PASS Created element's namespace in xhtml.xml 19 PASS Created element's namespace in xhtml.svg 18 FAIL Created element's namespace in xhtml.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 19 FAIL Created element's namespace in xhtml.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 20 20 PASS Created element's namespace in svg.html 21 21 PASS Created element's namespace in svg.xhtml 22 PASS Created element's namespace in svg.xml 23 PASS Created element's namespace in svg.svg 22 FAIL Created element's namespace in svg.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 23 FAIL Created element's namespace in svg.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 24 24 PASS Created element's namespace in mathml.html 25 25 PASS Created element's namespace in mathml.xhtml 26 PASS Created element's namespace in mathml.xml 27 PASS Created element's namespace in mathml.svg 26 FAIL Created element's namespace in mathml.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 27 FAIL Created element's namespace in mathml.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 28 28 PASS Created element's namespace in bare_xhtml.html 29 29 PASS Created element's namespace in bare_xhtml.xhtml 30 PASS Created element's namespace in bare_xhtml.xml 31 PASS Created element's namespace in bare_xhtml.svg 30 FAIL Created element's namespace in bare_xhtml.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 31 FAIL Created element's namespace in bare_xhtml.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 32 32 PASS Created element's namespace in bare_svg.html 33 33 PASS Created element's namespace in bare_svg.xhtml 34 PASS Created element's namespace in bare_svg.xml 35 PASS Created element's namespace in bare_svg.svg 34 FAIL Created element's namespace in bare_svg.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 35 FAIL Created element's namespace in bare_svg.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 36 36 PASS Created element's namespace in bare_mathml.html 37 37 PASS Created element's namespace in bare_mathml.xhtml 38 PASS Created element's namespace in bare_mathml.xml 39 PASS Created element's namespace in bare_mathml.svg 38 FAIL Created element's namespace in bare_mathml.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 39 FAIL Created element's namespace in bare_mathml.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 40 40 PASS Created element's namespace in xhtml_ns_removed.html 41 41 PASS Created element's namespace in xhtml_ns_removed.xhtml 42 PASS Created element's namespace in xhtml_ns_removed.xml 43 PASS Created element's namespace in xhtml_ns_removed.svg 42 FAIL Created element's namespace in xhtml_ns_removed.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 43 FAIL Created element's namespace in xhtml_ns_removed.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 44 44 PASS Created element's namespace in xhtml_ns_changed.html 45 45 PASS Created element's namespace in xhtml_ns_changed.xhtml 46 PASS Created element's namespace in xhtml_ns_changed.xml 47 PASS Created element's namespace in xhtml_ns_changed.svg 46 FAIL Created element's namespace in xhtml_ns_changed.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 47 FAIL Created element's namespace in xhtml_ns_changed.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 48 48 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace.html
r191379 r194580 14 14 15 15 /** 16 * Test that an element created using the Document object doc has the namespace17 * that would be expected for the given contentType.16 * Test that an element created using the Document object doc has the HTML 17 * namespace. 18 18 */ 19 19 function testDoc(doc, contentType) { 20 // WebKit doesn't support document.contentType, so they don't get this sanity21 // check :(22 20 if (doc.contentType !== undefined) { 21 // Sanity check 23 22 assert_equals(doc.contentType, contentType, 24 23 "Wrong MIME type -- incorrect server config?"); 25 24 } 26 25 27 var expectedNamespace = contentType == "text/html" || 28 contentType == "application/xhtml+xml" 29 ? "http://www.w3.org/1999/xhtml" : null; 30 31 assert_equals(doc.createElement("x").namespaceURI, expectedNamespace); 26 assert_equals(doc.createElement("x").namespaceURI, "http://www.w3.org/1999/xhtml"); 32 27 } 33 28 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-expected.txt
r190280 r194580 9 9 PASS Should be able to set expando shadowing a proto prop (item) 10 10 PASS Should be able to set expando shadowing a proto prop (namedItem) 11 FAIL hasOwnProperty, getOwnPropertyDescriptor, getOwnPropertyNames assert_ array_equals: lengths differ, expected 2 got 411 FAIL hasOwnProperty, getOwnPropertyDescriptor, getOwnPropertyNames assert_false: expected false got true 12 12 PASS HTML element with uppercase tagName never matches in HTML Documents 13 13 PASS Element in non-HTML namespace, no prefix, lowercase name -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-children-expected.txt
r189471 r194580 2 2 3 3 PASS HTMLCollection edge cases 4 FAIL HTMLCollection edge cases 1 assert_array_equals: lengths differ, expected 3 got 44 FAIL HTMLCollection edge cases 1 assert_array_equals: lengths differ, expected 6 got 7 5 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-children.html
r189471 r194580 4 4 <script src="/resources/testharnessreport.js"></script> 5 5 <div id="log"></div> 6 <div id="test"><img><img id=foo><img id=foo>< /div>6 <div id="test"><img><img id=foo><img id=foo><img name="bar"></div> 7 7 <script> 8 setup(function() { 9 // Add some non-HTML elements in there to test what happens with those. 10 var container = document.getElementById("test"); 11 var child = document.createElementNS("", "img"); 12 child.setAttribute("id", "baz"); 13 container.appendChild(child); 14 15 child = document.createElementNS("", "img"); 16 child.setAttribute("name", "qux"); 17 container.appendChild(child); 18 }); 19 8 20 test(function() { 9 21 var container = document.getElementById("test"); … … 12 24 assert_false(result.hasAttribute("id"), "Expected the IDless Element.") 13 25 }) 26 14 27 test(function() { 15 28 var container = document.getElementById("test"); … … 21 34 } 22 35 } 23 assert_array_equals(result, ['0', '1', '2' ]);36 assert_array_equals(result, ['0', '1', '2', '3', '4', '5']); 24 37 result = Object.getOwnPropertyNames(list); 25 assert_array_equals(result, ['0', '1', '2', 'foo']); 38 assert_array_equals(result, ['0', '1', '2', '3', '4', '5', 'foo', 'bar', 'baz']); 39 40 // Mapping of exposed names to their indices in the list. 41 var exposedNames = { 'foo': 1, 'bar': 3, 'baz': 4 }; 42 for (var exposedName in exposedNames) { 43 assert_true(exposedName in list); 44 assert_true(list.hasOwnProperty(exposedName)); 45 assert_equals(list[exposedName], list.namedItem(exposedName)); 46 assert_equals(list[exposedName], list.item(exposedNames[exposedName])); 47 assert_true(list[exposedName] instanceof Element); 48 } 49 50 var unexposedNames = ['qux']; 51 for (var unexposedName of unexposedNames) { 52 assert_false(unexposedName in list); 53 assert_false(list.hasOwnProperty(unexposedName)); 54 assert_equals(list[unexposedName], undefined); 55 assert_equals(list.namedItem(unexposedName), null); 56 } 26 57 }); 27 58 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-classlist-expected.txt
r189632 r194580 14 14 PASS classList[index] must be undefined for negative index 15 15 PASS className should contain initial markup whitespace 16 PASS empty classList should return the empty string since the ordered set parser skip the whitespaces 16 FAIL classList should contain initial markup whitespace assert_equals: implicit expected " " but got "" 17 17 PASS .contains(empty_string) must throw a SYNTAX_ERR 18 18 PASS .add(empty_string) must throw a SYNTAX_ERR -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-classlist.html
r189471 r194580 63 63 }, 'className should contain initial markup whitespace'); 64 64 test(function () { 65 assert_equals( elem.classList + '', ' ', 'implicit' );66 assert_equals( elem.classList.toString(), ' ', 'explicit' );67 }, ' empty classList should return the empty string since the ordered set parser skip the whitespaces');65 assert_equals( elem.classList + '', ' ', 'implicit' ); 66 assert_equals( elem.classList.toString(), ' ', 'explicit' ); 67 }, 'classList should contain initial markup whitespace'); 68 68 test(function () { 69 69 assert_throws( 'SYNTAX_ERR', function () { elem.classList.contains(''); } ); -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-expected.txt
r190280 r194580 9 9 PASS Should be able to set expando shadowing a proto prop (item) 10 10 PASS Should be able to set expando shadowing a proto prop (namedItem) 11 FAIL hasOwnProperty, getOwnPropertyDescriptor, getOwnPropertyNames assert_array_equals: lengths differ, expected 2 got 411 FAIL hasOwnProperty, getOwnPropertyDescriptor, getOwnPropertyNames assert_array_equals: lengths differ, expected 7 got 9 12 12 PASS HTML element with uppercase tagName never matches in HTML Documents 13 13 PASS Element in non-HTML namespace, no prefix, lowercase name -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches-expected.txt
r189471 r194580 184 184 PASS In-document Element.matches: Class selector, chained, matching only elements with all specified classes (with no refNodes): #class .apple.orange.banana 185 185 PASS In-document Element.matches: Class Selector, chained, with type selector (with no refNodes): div.apple.banana.orange 186 PASS In-document Element.matches: Class selector, matching element with class value using non-ASCII characters ( with no refNodes): .台北Táiběi186 PASS In-document Element.matches: Class selector, matching element with class value using non-ASCII characters (1) (with no refNodes): .台北Táiběi 187 187 PASS In-document Element.matches: Class selector, matching multiple elements with class value using non-ASCII characters (with no refNodes): .台北 188 PASS In-document Element.matches: Class selector, chained, matching element with multiple class values using non-ASCII characters ( with no refNodes): .台北Táiběi.台北188 PASS In-document Element.matches: Class selector, chained, matching element with multiple class values using non-ASCII characters (1) (with no refNodes): .台北Táiběi.台北 189 189 PASS In-document Element.matches: Class selector, matching element with class with escaped character (with no refNodes): .foo\:bar 190 190 PASS In-document Element.matches: Class selector, matching element with class with escaped character (with no refNodes): .test\.foo\[5\]bar … … 194 194 PASS In-document Element.matches: ID Selector, chained, with type selector (with no refNodes): div#id-div1, div#id-div2 195 195 PASS In-document Element.matches: ID selector, matching multiple elements with duplicate id (with no refNodes): #id-li-duplicate 196 PASS In-document Element.matches: ID selector, matching id value using non-ASCII characters ( with no refNodes): #台北Táiběi197 PASS In-document Element.matches: ID selector, matching id value using non-ASCII characters ( with no refNodes): #台北198 PASS In-document Element.matches: ID selector, matching id values using non-ASCII characters ( with no refNodes): #台北Táiběi, #台北196 PASS In-document Element.matches: ID selector, matching id value using non-ASCII characters (1) (with no refNodes): #台北Táiběi 197 PASS In-document Element.matches: ID selector, matching id value using non-ASCII characters (2) (with no refNodes): #台北 198 PASS In-document Element.matches: ID selector, matching id values using non-ASCII characters (1) (with no refNodes): #台北Táiběi, #台北 199 199 PASS In-document Element.matches: Descendant combinator, matching element that is a descendant of an element with id (with no refNodes): #descendant div 200 200 PASS In-document Element.matches: Descendant combinator, matching element with id that is a descendant of an element (with no refNodes): body #descendant-div1 … … 344 344 PASS Detached Element.matches: Class selector, chained, matching only elements with all specified classes (with no refNodes): #class .apple.orange.banana 345 345 PASS Detached Element.matches: Class Selector, chained, with type selector (with no refNodes): div.apple.banana.orange 346 PASS Detached Element.matches: Class selector, matching element with class value using non-ASCII characters ( with no refNodes): .台北Táiběi346 PASS Detached Element.matches: Class selector, matching element with class value using non-ASCII characters (1) (with no refNodes): .台北Táiběi 347 347 PASS Detached Element.matches: Class selector, matching multiple elements with class value using non-ASCII characters (with no refNodes): .台北 348 PASS Detached Element.matches: Class selector, chained, matching element with multiple class values using non-ASCII characters ( with no refNodes): .台北Táiběi.台北348 PASS Detached Element.matches: Class selector, chained, matching element with multiple class values using non-ASCII characters (1) (with no refNodes): .台北Táiběi.台北 349 349 PASS Detached Element.matches: Class selector, matching element with class with escaped character (with no refNodes): .foo\:bar 350 350 PASS Detached Element.matches: Class selector, matching element with class with escaped character (with no refNodes): .test\.foo\[5\]bar … … 354 354 PASS Detached Element.matches: ID Selector, chained, with type selector (with no refNodes): div#id-div1, div#id-div2 355 355 PASS Detached Element.matches: ID selector, matching multiple elements with duplicate id (with no refNodes): #id-li-duplicate 356 PASS Detached Element.matches: ID selector, matching id value using non-ASCII characters ( with no refNodes): #台北Táiběi357 PASS Detached Element.matches: ID selector, matching id value using non-ASCII characters ( with no refNodes): #台北358 PASS Detached Element.matches: ID selector, matching id values using non-ASCII characters ( with no refNodes): #台北Táiběi, #台北356 PASS Detached Element.matches: ID selector, matching id value using non-ASCII characters (1) (with no refNodes): #台北Táiběi 357 PASS Detached Element.matches: ID selector, matching id value using non-ASCII characters (2) (with no refNodes): #台北 358 PASS Detached Element.matches: ID selector, matching id values using non-ASCII characters (1) (with no refNodes): #台北Táiběi, #台北 359 359 PASS Detached Element.matches: Descendant combinator, matching element that is a descendant of an element with id (with no refNodes): #descendant div 360 360 PASS Detached Element.matches: Descendant combinator, matching element with id that is a descendant of an element (with no refNodes): div #descendant-div1 … … 503 503 PASS Fragment Element.matches: Class selector, chained, matching only elements with all specified classes (with no refNodes): #class .apple.orange.banana 504 504 PASS Fragment Element.matches: Class Selector, chained, with type selector (with no refNodes): div.apple.banana.orange 505 PASS Fragment Element.matches: Class selector, matching element with class value using non-ASCII characters ( with no refNodes): .台北Táiběi505 PASS Fragment Element.matches: Class selector, matching element with class value using non-ASCII characters (1) (with no refNodes): .台北Táiběi 506 506 PASS Fragment Element.matches: Class selector, matching multiple elements with class value using non-ASCII characters (with no refNodes): .台北 507 PASS Fragment Element.matches: Class selector, chained, matching element with multiple class values using non-ASCII characters ( with no refNodes): .台北Táiběi.台北507 PASS Fragment Element.matches: Class selector, chained, matching element with multiple class values using non-ASCII characters (1) (with no refNodes): .台北Táiběi.台北 508 508 PASS Fragment Element.matches: Class selector, matching element with class with escaped character (with no refNodes): .foo\:bar 509 509 PASS Fragment Element.matches: Class selector, matching element with class with escaped character (with no refNodes): .test\.foo\[5\]bar … … 513 513 PASS Fragment Element.matches: ID Selector, chained, with type selector (with no refNodes): div#id-div1, div#id-div2 514 514 PASS Fragment Element.matches: ID selector, matching multiple elements with duplicate id (with no refNodes): #id-li-duplicate 515 PASS Fragment Element.matches: ID selector, matching id value using non-ASCII characters ( with no refNodes): #台北Táiběi516 PASS Fragment Element.matches: ID selector, matching id value using non-ASCII characters ( with no refNodes): #台北517 PASS Fragment Element.matches: ID selector, matching id values using non-ASCII characters ( with no refNodes): #台北Táiběi, #台北515 PASS Fragment Element.matches: ID selector, matching id value using non-ASCII characters (1) (with no refNodes): #台北Táiběi 516 PASS Fragment Element.matches: ID selector, matching id value using non-ASCII characters (2) (with no refNodes): #台北 517 PASS Fragment Element.matches: ID selector, matching id values using non-ASCII characters (1) (with no refNodes): #台北Táiběi, #台北 518 518 PASS Fragment Element.matches: Descendant combinator, matching element that is a descendant of an element with id (with no refNodes): #descendant div 519 519 PASS Fragment Element.matches: Descendant combinator, matching element with id that is a descendant of an element (with no refNodes): div #descendant-div1 … … 664 664 PASS In-document Element.matches: Class selector, chained, matching only elements with all specified classes (1) (with no refNodes): #class .apple.orange.banana 665 665 PASS In-document Element.matches: Class Selector, chained, with type selector (1) (with no refNodes): div.apple.banana.orange 666 FAIL In-document Element.matches: Class selector, matching element with class value using non-ASCII characters (with no refNodes): .台北Táiběi assert_true: The element #class-span1 should match the selector. expected true got false 666 PASS In-document Element.matches: Class selector, matching element with class value using non-ASCII characters (2) (with no refNodes): .台北Táiběi 667 667 PASS In-document Element.matches: Class selector, matching multiple elements with class value using non-ASCII characters (1) (with no refNodes): .台北 668 FAIL In-document Element.matches: Class selector, chained, matching element with multiple class values using non-ASCII characters (with no refNodes): .台北Táiběi.台北 assert_true: The element #class-span1 should match the selector. expected true got false 668 PASS In-document Element.matches: Class selector, chained, matching element with multiple class values using non-ASCII characters (2) (with no refNodes): .台北Táiběi.台北 669 669 PASS In-document Element.matches: Class selector, matching element with class with escaped character (1) (with no refNodes): .foo\:bar 670 670 PASS In-document Element.matches: Class selector, matching element with class with escaped character (1) (with no refNodes): .test\.foo\[5\]bar … … 674 674 PASS In-document Element.matches: ID Selector, chained, with type selector (1) (with no refNodes): div#id-div1, div#id-div2 675 675 PASS In-document Element.matches: ID selector, matching multiple elements with duplicate id (1) (with no refNodes): #id-li-duplicate 676 FAIL In-document Element.matches: ID selector, matching id value using non-ASCII characters (with no refNodes): #台北Táiběi null is not an object (evaluating 'element.matches') 677 PASS In-document Element.matches: ID selector, matching id value using non-ASCII characters ( 1) (with no refNodes): #台北678 FAIL In-document Element.matches: ID selector, matching id values using non-ASCII characters (with no refNodes): #台北Táiběi, #台北 null is not an object (evaluating 'element.matches') 676 PASS In-document Element.matches: ID selector, matching id value using non-ASCII characters (3) (with no refNodes): #台北Táiběi 677 PASS In-document Element.matches: ID selector, matching id value using non-ASCII characters (4) (with no refNodes): #台北 678 PASS In-document Element.matches: ID selector, matching id values using non-ASCII characters (2) (with no refNodes): #台北Táiběi, #台北 679 679 PASS In-document Element.matches: Descendant combinator, matching element that is a descendant of an element with id (1) (with no refNodes): #descendant div 680 680 PASS In-document Element.matches: Descendant combinator, matching element with id that is a descendant of an element (1) (with no refNodes): body #descendant-div1 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/MutationObserver-childList.html
r189471 r194580 48 48 <p id='n51'><span>text content</span></p> 49 49 <p id='n52'><span>NO </span><span>CHANGED</span></p> 50 <p id='n53'><span>text content</span></p> 50 51 51 52 <p id='n60'><span>text content</span></p> … … 286 287 "childList Node.replaceChild: internal replacement mutation"); 287 288 289 var n53 = document.getElementById('n53'); 290 runMutationTest(n53, 291 {"childList":true}, 292 [{type: "childList", 293 removedNodes: [n53.firstChild]}, 294 {type: "childList", 295 addedNodes: [n53.firstChild]}], 296 function() { n53.replaceChild(n53.firstChild, n53.firstChild); }, 297 "childList Node.replaceChild: self internal replacement mutation"); 298 288 299 var n60 = document.getElementById('n60'); 289 300 runMutationTest(n60, -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/MutationObserver-document-expected.txt
r189471 r194580 4 4 PASS setup test 5 5 PASS parser insertion mutations 6 PASS parser script insertion mutation 6 FAIL parser script insertion mutation assert_equals: target node must match expected Element node <p id="n00"><script id="inserted_script">document.body.ap... but got Element node <body><h1>MutationObservers: document mutations</h1> 7 <div... 7 8 PASS removal of parent during parsing 8 9 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/MutationObserver-document.html
r189471 r194580 50 50 [{type: "childList", 51 51 addedNodes: function () { 52 return [ document.getElementById("inserted_script") ]; 53 }, 54 target: function () { 55 return document.getElementById("n00"); 56 }}, 57 {type: "childList", 58 addedNodes: function () { 52 59 return [ document.getElementById("inserted_element") ]; 53 60 }, … … 55 62 return document.getElementById("s002"); 56 63 }, 57 target: document.body}, 58 {type: "childList", 59 addedNodes: function () { 60 return [ document.getElementById("inserted_script") ]; 61 }, 62 target: function () { 63 return document.getElementById("n00"); 64 }} 64 target: document.body} 65 65 ]); 66 66 }); -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-expected.txt
r194142 r194580 1 CONSOLE MESSAGE: line 1380: Blocked a frame with origin "http://localhost:8800" from accessing a frame with origin "null". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "data". Protocols must match.2 3 CONSOLE MESSAGE: line 1380: Blocked a frame with origin "http://localhost:8800" from accessing a frame with origin "null". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "data". Protocols must match.4 5 1 6 2 … … 18 14 PASS isEqualNode should return false if elements have different local name 19 15 PASS isEqualNode should return true when the attributes have different prefixes 20 FAIL isEqualNode should return true when only the internal subsets of DocumentTypes differ. null is not an object (evaluating 'doc1.doctype') 16 PASS isEqualNode should return true when only the internal subsets of DocumentTypes differ. 21 17 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode.xhtml
r189471 r194580 79 79 } 80 80 </script> 81 <iframe id="subset1" onload="iframeLoaded()" src=" data:application/xml,<!DOCTYPE foo [ <!ELEMENT foo (%23PCDATA)> ]><foo/>" />82 <iframe id="subset2" onload="iframeLoaded()" src=" data:application/xml,<!DOCTYPE foo [ <!ELEMENT foo EMPTY> ]><foo/>" />81 <iframe id="subset1" onload="iframeLoaded()" src="Node-isEqualNode-iframe1.xml" /> 82 <iframe id="subset2" onload="iframeLoaded()" src="Node-isEqualNode-iframe2.xml" /> 83 83 </body> 84 84 </html> -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-lookupNamespaceURI-expected.txt
r189471 r194580 2 2 3 3 4 PASS DocumentFragment should have null namespace 5 PASS DocumentFragment should have null namespace 6 PASS DocumentFragment should have null namespace 7 PASS DocumentFragment should have null namespace 8 FAIL DocumentFragment is in default namespace assert_equals: expected true but got false9 FAIL DocumentFragment is in default namespace assert_equals: expected true but got false10 PASS DocumentFragment is in default namespace 11 PASS DocumentFragment is in default namespace 12 PASS Element should have null namespace 13 PASS Element should have null namespace 4 PASS DocumentFragment should have null namespace, prefix null 5 PASS DocumentFragment should have null namespace, prefix "" 6 PASS DocumentFragment should have null namespace, prefix "foo" 7 PASS DocumentFragment should have null namespace, prefix "xmlns" 8 FAIL DocumentFragment is in default namespace, prefix null assert_equals: expected true but got false 9 FAIL DocumentFragment is in default namespace, prefix "" assert_equals: expected true but got false 10 PASS DocumentFragment is in default namespace, prefix "foo" 11 PASS DocumentFragment is in default namespace, prefix "xmlns" 12 PASS Element should have null namespace, prefix null 13 PASS Element should have null namespace, prefix "" 14 14 PASS Element should not have namespace matching prefix with namespaceURI value 15 15 PASS Element should not have XMLNS namespace 16 16 PASS Element has namespace URI matching prefix 17 FAIL Empty namespace is not default assert_equals: expected true but got false18 FAIL Empty namespace is not default assert_equals: expected true but got false17 FAIL Empty namespace is not default, prefix null assert_equals: expected true but got false 18 FAIL Empty namespace is not default, prefix "" assert_equals: expected true but got false 19 19 PASS fooNamespace is not default 20 20 PASS xmlns namespace is not default 21 PASS Element should have baz namespace 22 FAIL Element should have baz namespace assert_equals: expected (string) "bazURI" but got (object) null 23 PASS Element has namespace URI matching prefix 21 PASS Element should have baz namespace, prefix null 22 FAIL Element should have baz namespace, prefix "" assert_equals: expected (string) "bazURI" but got (object) null 24 23 PASS Element does not has namespace with xlmns prefix 25 24 PASS Element has bar namespace 26 PASS Empty namespace is not default 27 PASS Empty namespace is not default 28 PASS fooNamespace is not default 29 PASS xmlns namespace is not default 25 PASS Empty namespace is not default on fooElem, prefix null 26 PASS Empty namespace is not default on fooElem, prefix "" 30 27 PASS bar namespace is not default 31 28 PASS baz namespace is default … … 34 31 PASS Comment should inherit namespace URI matching prefix 35 32 PASS Comment should inherit bar namespace 36 PASS For comment, empty namespace is not default 37 PASS For comment, empty namespace is not default 33 PASS For comment, empty namespace is not default, prefix null 34 PASS For comment, empty namespace is not default, prefix "" 38 35 PASS For comment, fooNamespace is not default 39 36 PASS For comment, xmlns namespace is not default … … 44 41 PASS Child element should not have XMLNS namespace 45 42 PASS Child element has namespace URI matching prefix 46 PASS Empty namespace is not default for child 47 PASS Empty namespace is not default for child 43 PASS Empty namespace is not default for child, prefix null 44 PASS Empty namespace is not default for child, prefix "" 48 45 PASS fooNamespace is not default for child 49 46 PASS xmlns namespace is not default for child … … 51 48 PASS baz namespace is default for child 52 49 PASS childNamespace is default for child 53 PASS Document should have xhtml namespace 54 FAIL Document should have xhtml namespace assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null50 PASS Document should have xhtml namespace, prefix null 51 FAIL Document should have xhtml namespace, prefix "" assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null 55 52 PASS Document has no namespace URI matching prefix 56 53 PASS Document has bar namespace 57 PASS For document, Empty namespace is not default58 PASS For document, Empty namespace is not default54 PASS For document, empty namespace is not default, prefix null 55 PASS For document, empty namespace is not default, prefix "" 59 56 PASS For document, fooNamespace is not default 60 57 PASS For document, xmlns namespace is not default -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-lookupNamespaceURI.html
r189471 r194580 24 24 25 25 var frag = document.createDocumentFragment(); 26 lookupNamespaceURI(frag, null, null, 'DocumentFragment should have null namespace ');27 lookupNamespaceURI(frag, '', null, 'DocumentFragment should have null namespace ');28 lookupNamespaceURI(frag, 'foo', null, 'DocumentFragment should have null namespace ');29 lookupNamespaceURI(frag, 'xmlns', null, 'DocumentFragment should have null namespace ');30 isDefaultNamespace(frag, null, true, 'DocumentFragment is in default namespace ');31 isDefaultNamespace(frag, '', true, 'DocumentFragment is in default namespace ');32 isDefaultNamespace(frag, 'foo', false, 'DocumentFragment is in default namespace ');33 isDefaultNamespace(frag, 'xmlns', false, 'DocumentFragment is in default namespace ');26 lookupNamespaceURI(frag, null, null, 'DocumentFragment should have null namespace, prefix null'); 27 lookupNamespaceURI(frag, '', null, 'DocumentFragment should have null namespace, prefix ""'); 28 lookupNamespaceURI(frag, 'foo', null, 'DocumentFragment should have null namespace, prefix "foo"'); 29 lookupNamespaceURI(frag, 'xmlns', null, 'DocumentFragment should have null namespace, prefix "xmlns"'); 30 isDefaultNamespace(frag, null, true, 'DocumentFragment is in default namespace, prefix null'); 31 isDefaultNamespace(frag, '', true, 'DocumentFragment is in default namespace, prefix ""'); 32 isDefaultNamespace(frag, 'foo', false, 'DocumentFragment is in default namespace, prefix "foo"'); 33 isDefaultNamespace(frag, 'xmlns', false, 'DocumentFragment is in default namespace, prefix "xmlns"'); 34 34 35 35 … … 38 38 fooElem.setAttribute('bar', 'value'); 39 39 40 lookupNamespaceURI(fooElem, null, null, 'Element should have null namespace ');41 lookupNamespaceURI(fooElem, '', null, 'Element should have null namespace ');40 lookupNamespaceURI(fooElem, null, null, 'Element should have null namespace, prefix null'); 41 lookupNamespaceURI(fooElem, '', null, 'Element should have null namespace, prefix ""'); 42 42 lookupNamespaceURI(fooElem, 'fooNamespace', null, 'Element should not have namespace matching prefix with namespaceURI value'); 43 43 lookupNamespaceURI(fooElem, 'xmlns', null, 'Element should not have XMLNS namespace'); 44 44 lookupNamespaceURI(fooElem, 'prefix', 'fooNamespace', 'Element has namespace URI matching prefix'); 45 isDefaultNamespace(fooElem, null, true, 'Empty namespace is not default ');46 isDefaultNamespace(fooElem, '', true, 'Empty namespace is not default ');45 isDefaultNamespace(fooElem, null, true, 'Empty namespace is not default, prefix null'); 46 isDefaultNamespace(fooElem, '', true, 'Empty namespace is not default, prefix ""'); 47 47 isDefaultNamespace(fooElem, 'fooNamespace', false, 'fooNamespace is not default'); 48 48 isDefaultNamespace(fooElem, 'http://www.w3.org/2000/xmlns/', false, 'xmlns namespace is not default'); … … 51 51 fooElem.setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns', 'bazURI'); 52 52 53 lookupNamespaceURI(fooElem, null, 'bazURI', 'Element should have baz namespace'); 54 lookupNamespaceURI(fooElem, '', 'bazURI', 'Element should have baz namespace'); 55 lookupNamespaceURI(fooElem, 'prefix', 'fooNamespace', 'Element has namespace URI matching prefix'); 53 lookupNamespaceURI(fooElem, null, 'bazURI', 'Element should have baz namespace, prefix null'); 54 lookupNamespaceURI(fooElem, '', 'bazURI', 'Element should have baz namespace, prefix ""'); 56 55 lookupNamespaceURI(fooElem, 'xmlns', null, 'Element does not has namespace with xlmns prefix'); 57 56 lookupNamespaceURI(fooElem, 'bar', 'barURI', 'Element has bar namespace'); 58 57 59 isDefaultNamespace(fooElem, null, false, 'Empty namespace is not default'); 60 isDefaultNamespace(fooElem, '', false, 'Empty namespace is not default'); 61 isDefaultNamespace(fooElem, 'fooNamespace', false, 'fooNamespace is not default'); 62 isDefaultNamespace(fooElem, 'http://www.w3.org/2000/xmlns/', false, 'xmlns namespace is not default'); 58 isDefaultNamespace(fooElem, null, false, 'Empty namespace is not default on fooElem, prefix null'); 59 isDefaultNamespace(fooElem, '', false, 'Empty namespace is not default on fooElem, prefix ""'); 63 60 isDefaultNamespace(fooElem, 'barURI', false, 'bar namespace is not default'); 64 61 isDefaultNamespace(fooElem, 'bazURI', true, 'baz namespace is default'); … … 72 69 lookupNamespaceURI(comment, 'bar', 'barURI', 'Comment should inherit bar namespace'); 73 70 74 isDefaultNamespace(comment, null, false, 'For comment, empty namespace is not default ');75 isDefaultNamespace(comment, '', false, 'For comment, empty namespace is not default ');71 isDefaultNamespace(comment, null, false, 'For comment, empty namespace is not default, prefix null'); 72 isDefaultNamespace(comment, '', false, 'For comment, empty namespace is not default, prefix ""'); 76 73 isDefaultNamespace(comment, 'fooNamespace', false, 'For comment, fooNamespace is not default'); 77 74 isDefaultNamespace(comment, 'http://www.w3.org/2000/xmlns/', false, 'For comment, xmlns namespace is not default'); … … 87 84 lookupNamespaceURI(fooChild, 'prefix', 'fooNamespace', 'Child element has namespace URI matching prefix'); 88 85 89 isDefaultNamespace(fooChild, null, false, 'Empty namespace is not default for child ');90 isDefaultNamespace(fooChild, '', false, 'Empty namespace is not default for child ');86 isDefaultNamespace(fooChild, null, false, 'Empty namespace is not default for child, prefix null'); 87 isDefaultNamespace(fooChild, '', false, 'Empty namespace is not default for child, prefix ""'); 91 88 isDefaultNamespace(fooChild, 'fooNamespace', false, 'fooNamespace is not default for child'); 92 89 isDefaultNamespace(fooChild, 'http://www.w3.org/2000/xmlns/', false, 'xmlns namespace is not default for child'); … … 98 95 document.documentElement.setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns', 'bazURI'); 99 96 100 lookupNamespaceURI(document, null, 'http://www.w3.org/1999/xhtml', 'Document should have xhtml namespace ');101 lookupNamespaceURI(document, '', 'http://www.w3.org/1999/xhtml', 'Document should have xhtml namespace ');97 lookupNamespaceURI(document, null, 'http://www.w3.org/1999/xhtml', 'Document should have xhtml namespace, prefix null'); 98 lookupNamespaceURI(document, '', 'http://www.w3.org/1999/xhtml', 'Document should have xhtml namespace, prefix ""'); 102 99 lookupNamespaceURI(document, 'prefix', null, 'Document has no namespace URI matching prefix'); 103 100 lookupNamespaceURI(document, 'bar', 'barURI', 'Document has bar namespace'); 104 101 105 isDefaultNamespace(document, null, false, 'For document, Empty namespace is not default');106 isDefaultNamespace(document, '', false, 'For document, Empty namespace is not default');102 isDefaultNamespace(document, null, false, 'For document, empty namespace is not default, prefix null'); 103 isDefaultNamespace(document, '', false, 'For document, empty namespace is not default, prefix ""'); 107 104 isDefaultNamespace(document, 'fooNamespace', false, 'For document, fooNamespace is not default'); 108 105 isDefaultNamespace(document, 'http://www.w3.org/2000/xmlns/', false, 'For document, xmlns namespace is not default'); -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt
r189471 r194580 600 600 PASS Document.querySelectorAll: Class Selector, chained, with type selector: div.apple.banana.orange 601 601 PASS Document.querySelector: Class Selector, chained, with type selector: div.apple.banana.orange 602 PASS Document.querySelectorAll: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi603 PASS Document.querySelector: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi602 PASS Document.querySelectorAll: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 603 PASS Document.querySelector: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 604 604 PASS Document.querySelectorAll: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 605 605 PASS Document.querySelector: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 606 PASS Document.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北607 PASS Document.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北606 PASS Document.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 607 PASS Document.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 608 608 PASS Document.querySelectorAll: Class selector, matching element with class with escaped character: .foo\:bar 609 609 PASS Document.querySelector: Class selector, matching element with class with escaped character: .foo\:bar … … 624 624 PASS Document.querySelectorAll: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 625 625 PASS Document.querySelector: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 626 PASS Document.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北Táiběi627 PASS Document.querySelector: ID selector, matching id value using non-ASCII characters : #台北Táiběi628 PASS Document.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北629 PASS Document.querySelector: ID selector, matching id value using non-ASCII characters : #台北630 PASS Document.querySelectorAll: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北631 PASS Document.querySelector: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北626 PASS Document.querySelectorAll: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 627 PASS Document.querySelector: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 628 PASS Document.querySelectorAll: ID selector, matching id value using non-ASCII characters (2): #台北 629 PASS Document.querySelector: ID selector, matching id value using non-ASCII characters (2): #台北 630 PASS Document.querySelectorAll: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 631 PASS Document.querySelector: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 632 632 PASS Document.querySelectorAll: ID selector, matching element with id with escaped character: #\#foo\:bar 633 633 PASS Document.querySelector: ID selector, matching element with id with escaped character: #\#foo\:bar … … 1018 1018 PASS Detached Element.querySelectorAll: Class Selector, chained, with type selector: div.apple.banana.orange 1019 1019 PASS Detached Element.querySelector: Class Selector, chained, with type selector: div.apple.banana.orange 1020 PASS Detached Element.querySelectorAll: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi1021 PASS Detached Element.querySelector: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi1020 PASS Detached Element.querySelectorAll: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 1021 PASS Detached Element.querySelector: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 1022 1022 PASS Detached Element.querySelectorAll: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 1023 1023 PASS Detached Element.querySelector: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 1024 PASS Detached Element.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北1025 PASS Detached Element.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北1024 PASS Detached Element.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 1025 PASS Detached Element.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 1026 1026 PASS Detached Element.querySelectorAll: Class selector, matching element with class with escaped character: .foo\:bar 1027 1027 PASS Detached Element.querySelector: Class selector, matching element with class with escaped character: .foo\:bar … … 1042 1042 PASS Detached Element.querySelectorAll: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 1043 1043 PASS Detached Element.querySelector: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 1044 PASS Detached Element.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北Táiběi1045 PASS Detached Element.querySelector: ID selector, matching id value using non-ASCII characters : #台北Táiběi1046 PASS Detached Element.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北1047 PASS Detached Element.querySelector: ID selector, matching id value using non-ASCII characters : #台北1048 PASS Detached Element.querySelectorAll: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北1049 PASS Detached Element.querySelector: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北1044 PASS Detached Element.querySelectorAll: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 1045 PASS Detached Element.querySelector: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 1046 PASS Detached Element.querySelectorAll: ID selector, matching id value using non-ASCII characters (2): #台北 1047 PASS Detached Element.querySelector: ID selector, matching id value using non-ASCII characters (2): #台北 1048 PASS Detached Element.querySelectorAll: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 1049 PASS Detached Element.querySelector: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 1050 1050 PASS Detached Element.querySelectorAll: ID selector, matching element with id with escaped character: #\#foo\:bar 1051 1051 PASS Detached Element.querySelector: ID selector, matching element with id with escaped character: #\#foo\:bar … … 1434 1434 PASS Fragment.querySelectorAll: Class Selector, chained, with type selector: div.apple.banana.orange 1435 1435 PASS Fragment.querySelector: Class Selector, chained, with type selector: div.apple.banana.orange 1436 PASS Fragment.querySelectorAll: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi1437 PASS Fragment.querySelector: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi1436 PASS Fragment.querySelectorAll: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 1437 PASS Fragment.querySelector: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 1438 1438 PASS Fragment.querySelectorAll: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 1439 1439 PASS Fragment.querySelector: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 1440 PASS Fragment.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北1441 PASS Fragment.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北1440 PASS Fragment.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 1441 PASS Fragment.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 1442 1442 PASS Fragment.querySelectorAll: Class selector, matching element with class with escaped character: .foo\:bar 1443 1443 PASS Fragment.querySelector: Class selector, matching element with class with escaped character: .foo\:bar … … 1458 1458 PASS Fragment.querySelectorAll: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 1459 1459 PASS Fragment.querySelector: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 1460 PASS Fragment.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北Táiběi1461 PASS Fragment.querySelector: ID selector, matching id value using non-ASCII characters : #台北Táiběi1462 PASS Fragment.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北1463 PASS Fragment.querySelector: ID selector, matching id value using non-ASCII characters : #台北1464 PASS Fragment.querySelectorAll: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北1465 PASS Fragment.querySelector: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北1460 PASS Fragment.querySelectorAll: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 1461 PASS Fragment.querySelector: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 1462 PASS Fragment.querySelectorAll: ID selector, matching id value using non-ASCII characters (2): #台北 1463 PASS Fragment.querySelector: ID selector, matching id value using non-ASCII characters (2): #台北 1464 PASS Fragment.querySelectorAll: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 1465 PASS Fragment.querySelector: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 1466 1466 PASS Fragment.querySelectorAll: ID selector, matching element with id with escaped character: #\#foo\:bar 1467 1467 PASS Fragment.querySelector: ID selector, matching element with id with escaped character: #\#foo\:bar … … 1850 1850 PASS In-document Element.querySelectorAll: Class Selector, chained, with type selector: div.apple.banana.orange 1851 1851 PASS In-document Element.querySelector: Class Selector, chained, with type selector: div.apple.banana.orange 1852 PASS In-document Element.querySelectorAll: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi1853 PASS In-document Element.querySelector: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi1852 PASS In-document Element.querySelectorAll: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 1853 PASS In-document Element.querySelector: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 1854 1854 PASS In-document Element.querySelectorAll: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 1855 1855 PASS In-document Element.querySelector: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 1856 PASS In-document Element.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北1857 PASS In-document Element.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北1856 PASS In-document Element.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 1857 PASS In-document Element.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 1858 1858 PASS In-document Element.querySelectorAll: Class selector, matching element with class with escaped character: .foo\:bar 1859 1859 PASS In-document Element.querySelector: Class selector, matching element with class with escaped character: .foo\:bar … … 1874 1874 PASS In-document Element.querySelectorAll: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 1875 1875 PASS In-document Element.querySelector: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 1876 PASS In-document Element.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北Táiběi1877 PASS In-document Element.querySelector: ID selector, matching id value using non-ASCII characters : #台北Táiběi1878 PASS In-document Element.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北1879 PASS In-document Element.querySelector: ID selector, matching id value using non-ASCII characters : #台北1880 PASS In-document Element.querySelectorAll: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北1881 PASS In-document Element.querySelector: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北1876 PASS In-document Element.querySelectorAll: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 1877 PASS In-document Element.querySelector: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 1878 PASS In-document Element.querySelectorAll: ID selector, matching id value using non-ASCII characters (2): #台北 1879 PASS In-document Element.querySelector: ID selector, matching id value using non-ASCII characters (2): #台北 1880 PASS In-document Element.querySelectorAll: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 1881 PASS In-document Element.querySelector: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 1882 1882 PASS In-document Element.querySelectorAll: ID selector, matching element with id with escaped character: #\#foo\:bar 1883 1883 PASS In-document Element.querySelector: ID selector, matching element with id with escaped character: #\#foo\:bar -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt
r194579 r194580 600 600 PASS Document.querySelectorAll: Class Selector, chained, with type selector: div.apple.banana.orange 601 601 PASS Document.querySelector: Class Selector, chained, with type selector: div.apple.banana.orange 602 PASS Document.querySelectorAll: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi603 PASS Document.querySelector: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi602 PASS Document.querySelectorAll: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 603 PASS Document.querySelector: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 604 604 PASS Document.querySelectorAll: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 605 605 PASS Document.querySelector: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 606 PASS Document.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北607 PASS Document.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北606 PASS Document.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 607 PASS Document.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 608 608 PASS Document.querySelectorAll: Class selector, matching element with class with escaped character: .foo\:bar 609 609 PASS Document.querySelector: Class selector, matching element with class with escaped character: .foo\:bar … … 624 624 PASS Document.querySelectorAll: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 625 625 PASS Document.querySelector: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 626 PASS Document.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北Táiběi627 PASS Document.querySelector: ID selector, matching id value using non-ASCII characters : #台北Táiběi628 PASS Document.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北629 PASS Document.querySelector: ID selector, matching id value using non-ASCII characters : #台北630 PASS Document.querySelectorAll: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北631 PASS Document.querySelector: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北626 PASS Document.querySelectorAll: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 627 PASS Document.querySelector: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 628 PASS Document.querySelectorAll: ID selector, matching id value using non-ASCII characters (2): #台北 629 PASS Document.querySelector: ID selector, matching id value using non-ASCII characters (2): #台北 630 PASS Document.querySelectorAll: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 631 PASS Document.querySelector: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 632 632 PASS Document.querySelectorAll: ID selector, matching element with id with escaped character: #\#foo\:bar 633 633 PASS Document.querySelector: ID selector, matching element with id with escaped character: #\#foo\:bar … … 1018 1018 PASS Detached Element.querySelectorAll: Class Selector, chained, with type selector: div.apple.banana.orange 1019 1019 PASS Detached Element.querySelector: Class Selector, chained, with type selector: div.apple.banana.orange 1020 PASS Detached Element.querySelectorAll: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi1021 PASS Detached Element.querySelector: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi1020 PASS Detached Element.querySelectorAll: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 1021 PASS Detached Element.querySelector: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 1022 1022 PASS Detached Element.querySelectorAll: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 1023 1023 PASS Detached Element.querySelector: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 1024 PASS Detached Element.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北1025 PASS Detached Element.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北1024 PASS Detached Element.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 1025 PASS Detached Element.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 1026 1026 PASS Detached Element.querySelectorAll: Class selector, matching element with class with escaped character: .foo\:bar 1027 1027 PASS Detached Element.querySelector: Class selector, matching element with class with escaped character: .foo\:bar … … 1042 1042 PASS Detached Element.querySelectorAll: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 1043 1043 PASS Detached Element.querySelector: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 1044 PASS Detached Element.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北Táiběi1045 PASS Detached Element.querySelector: ID selector, matching id value using non-ASCII characters : #台北Táiběi1046 PASS Detached Element.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北1047 PASS Detached Element.querySelector: ID selector, matching id value using non-ASCII characters : #台北1048 PASS Detached Element.querySelectorAll: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北1049 PASS Detached Element.querySelector: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北1044 PASS Detached Element.querySelectorAll: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 1045 PASS Detached Element.querySelector: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 1046 PASS Detached Element.querySelectorAll: ID selector, matching id value using non-ASCII characters (2): #台北 1047 PASS Detached Element.querySelector: ID selector, matching id value using non-ASCII characters (2): #台北 1048 PASS Detached Element.querySelectorAll: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 1049 PASS Detached Element.querySelector: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 1050 1050 PASS Detached Element.querySelectorAll: ID selector, matching element with id with escaped character: #\#foo\:bar 1051 1051 PASS Detached Element.querySelector: ID selector, matching element with id with escaped character: #\#foo\:bar … … 1434 1434 PASS Fragment.querySelectorAll: Class Selector, chained, with type selector: div.apple.banana.orange 1435 1435 PASS Fragment.querySelector: Class Selector, chained, with type selector: div.apple.banana.orange 1436 PASS Fragment.querySelectorAll: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi1437 PASS Fragment.querySelector: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi1436 PASS Fragment.querySelectorAll: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 1437 PASS Fragment.querySelector: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 1438 1438 PASS Fragment.querySelectorAll: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 1439 1439 PASS Fragment.querySelector: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 1440 PASS Fragment.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北1441 PASS Fragment.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北1440 PASS Fragment.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 1441 PASS Fragment.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 1442 1442 PASS Fragment.querySelectorAll: Class selector, matching element with class with escaped character: .foo\:bar 1443 1443 PASS Fragment.querySelector: Class selector, matching element with class with escaped character: .foo\:bar … … 1458 1458 PASS Fragment.querySelectorAll: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 1459 1459 PASS Fragment.querySelector: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 1460 PASS Fragment.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北Táiběi1461 PASS Fragment.querySelector: ID selector, matching id value using non-ASCII characters : #台北Táiběi1462 PASS Fragment.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北1463 PASS Fragment.querySelector: ID selector, matching id value using non-ASCII characters : #台北1464 PASS Fragment.querySelectorAll: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北1465 PASS Fragment.querySelector: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北1460 PASS Fragment.querySelectorAll: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 1461 PASS Fragment.querySelector: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 1462 PASS Fragment.querySelectorAll: ID selector, matching id value using non-ASCII characters (2): #台北 1463 PASS Fragment.querySelector: ID selector, matching id value using non-ASCII characters (2): #台北 1464 PASS Fragment.querySelectorAll: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 1465 PASS Fragment.querySelector: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 1466 1466 PASS Fragment.querySelectorAll: ID selector, matching element with id with escaped character: #\#foo\:bar 1467 1467 PASS Fragment.querySelector: ID selector, matching element with id with escaped character: #\#foo\:bar … … 1850 1850 PASS In-document Element.querySelectorAll: Class Selector, chained, with type selector: div.apple.banana.orange 1851 1851 PASS In-document Element.querySelector: Class Selector, chained, with type selector: div.apple.banana.orange 1852 PASS In-document Element.querySelectorAll: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi1853 PASS In-document Element.querySelector: Class selector, matching element with class value using non-ASCII characters : .台北Táiběi1852 PASS In-document Element.querySelectorAll: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 1853 PASS In-document Element.querySelector: Class selector, matching element with class value using non-ASCII characters (1): .台北Táiběi 1854 1854 PASS In-document Element.querySelectorAll: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 1855 1855 PASS In-document Element.querySelector: Class selector, matching multiple elements with class value using non-ASCII characters: .台北 1856 PASS In-document Element.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北1857 PASS In-document Element.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters : .台北Táiběi.台北1856 PASS In-document Element.querySelectorAll: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 1857 PASS In-document Element.querySelector: Class selector, chained, matching element with multiple class values using non-ASCII characters (1): .台北Táiběi.台北 1858 1858 PASS In-document Element.querySelectorAll: Class selector, matching element with class with escaped character: .foo\:bar 1859 1859 PASS In-document Element.querySelector: Class selector, matching element with class with escaped character: .foo\:bar … … 1874 1874 PASS In-document Element.querySelectorAll: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 1875 1875 PASS In-document Element.querySelector: ID selector, matching multiple elements with duplicate id: #id-li-duplicate 1876 PASS In-document Element.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北Táiběi1877 PASS In-document Element.querySelector: ID selector, matching id value using non-ASCII characters : #台北Táiběi1878 PASS In-document Element.querySelectorAll: ID selector, matching id value using non-ASCII characters : #台北1879 PASS In-document Element.querySelector: ID selector, matching id value using non-ASCII characters : #台北1880 PASS In-document Element.querySelectorAll: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北1881 PASS In-document Element.querySelector: ID selector, matching id values using non-ASCII characters : #台北Táiběi, #台北1876 PASS In-document Element.querySelectorAll: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 1877 PASS In-document Element.querySelector: ID selector, matching id value using non-ASCII characters (1): #台北Táiběi 1878 PASS In-document Element.querySelectorAll: ID selector, matching id value using non-ASCII characters (2): #台北 1879 PASS In-document Element.querySelector: ID selector, matching id value using non-ASCII characters (2): #台北 1880 PASS In-document Element.querySelectorAll: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 1881 PASS In-document Element.querySelector: ID selector, matching id values using non-ASCII characters (1): #台北Táiběi, #台北 1882 1882 PASS In-document Element.querySelectorAll: ID selector, matching element with id with escaped character: #\#foo\:bar 1883 1883 PASS In-document Element.querySelector: ID selector, matching element with id with escaped character: #\#foo\:bar -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht.xht
r194579 r194580 16 16 var frame = document.createElement("iframe"); 17 17 frame.onload = this.step_func_done(init); 18 frame.src = " resources/ParentNode-querySelector-All-content.xht#target";18 frame.src = "ParentNode-querySelector-All-content.xht#target"; 19 19 document.body.appendChild(frame); 20 20 }) -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes-expected.txt
r189893 r194580 37 37 PASS Attribute with prefix in local name 38 38 PASS Attribute loses its owner when removed 39 PASS Basic functionality of getAttributeNode/getAttributeNodeNS 40 PASS Basic functionality of setAttributeNode 41 PASS Basic functionality of setAttributeNodeNS 42 PASS Basic functionality of removeAttributeNode 43 FAIL setAttributeNode on bound attribute should throw InUseAttributeError Test bug: unrecognized DOMException code "INUSE_ATTRIBUTE_ERR" passed to assert_throws() 44 FAIL getAttributeNames tests el.getAttributeNames is not a function. (In 'el.getAttributeNames()', 'el.getAttributeNames' is undefined) 45 FAIL Own property correctness with basic attributes assert_array_equals: lengths differ, expected 2 got 3 46 FAIL Own property correctness with non-namespaced attribute before same-name namespaced one assert_array_equals: lengths differ, expected 3 got 4 47 FAIL Own property correctness with namespaced attribute before same-name non-namespaced one assert_array_equals: lengths differ, expected 3 got 4 48 FAIL Own property correctness with two namespaced attributes with the same name-with-prefix assert_array_equals: lengths differ, expected 3 got 4 39 49 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.html
r189471 r194580 395 395 assert_equals(attr.ownerElement, null) 396 396 }, "Attribute loses its owner when removed") 397 398 test(function() { 399 var el = document.createElement("div") 400 el.setAttribute("foo", "bar") 401 var attr = el.attributes[0] 402 var attrNode = el.getAttributeNode("foo"); 403 var attrNodeNS = el.getAttributeNodeNS("", "foo"); 404 assert_equals(attr, attrNode); 405 assert_equals(attr, attrNodeNS); 406 el.setAttributeNS("x", "foo2", "bar2"); 407 var attr2 = el.attributes[1]; 408 var attrNodeNS2 = el.getAttributeNodeNS("x", "foo2"); 409 assert_equals(attr2, attrNodeNS2); 410 }, "Basic functionality of getAttributeNode/getAttributeNodeNS") 411 412 test(function() { 413 var el = document.createElement("div") 414 el.setAttribute("foo", "bar") 415 var attrNode = el.getAttributeNode("foo"); 416 var attrNodeNS = el.getAttributeNodeNS("", "foo"); 417 assert_equals(attrNode, attrNodeNS); 418 el.removeAttribute("foo"); 419 var el2 = document.createElement("div"); 420 el2.setAttributeNode(attrNode); 421 assert_equals(attrNode, el2.getAttributeNode("foo")); 422 assert_equals(attrNode, el2.attributes[0]); 423 assert_equals(attrNode.ownerElement, el2); 424 assert_equals(attrNode.value, "bar"); 425 426 var el3 = document.createElement("div"); 427 el2.removeAttribute("foo"); 428 el3.setAttribute("foo", "baz"); 429 el3.setAttributeNode(attrNode); 430 assert_equals(el3.getAttribute("foo"), "bar"); 431 }, "Basic functionality of setAttributeNode") 432 433 test(function() { 434 var el = document.createElement("div") 435 el.setAttributeNS("x", "foo", "bar") 436 var attrNode = el.getAttributeNodeNS("x", "foo"); 437 el.removeAttribute("foo"); 438 var el2 = document.createElement("div"); 439 el2.setAttributeNS("x", "foo", "baz"); 440 el2.setAttributeNodeNS(attrNode); 441 assert_equals(el2.getAttributeNS("x", "foo"), "bar"); 442 }, "Basic functionality of setAttributeNodeNS") 443 444 test(function() { 445 var el = document.createElement("div") 446 el.setAttribute("foo", "bar") 447 var attrNode = el.getAttributeNode("foo"); 448 el.removeAttributeNode(attrNode); 449 var el2 = document.createElement("div"); 450 el2.setAttributeNode(attrNode); 451 assert_equals(el2.attributes[0], attrNode); 452 assert_equals(el.attributes.length, 0); 453 }, "Basic functionality of removeAttributeNode") 454 455 test(function() { 456 var el = document.createElement("div") 457 el.setAttribute("foo", "bar") 458 var attrNode = el.getAttributeNode("foo"); 459 var el2 = document.createElement("div"); 460 assert_throws("INUSE_ATTRIBUTE_ERR", function(){el2.setAttributeNode(attrNode)}); 461 }, "setAttributeNode on bound attribute should throw InUseAttributeError") 462 463 test(function() { 464 var el = document.createElement("div"); 465 el.setAttribute("foo", "bar"); 466 assert_equals(el.getAttributeNames().length, 1); 467 assert_equals(el.getAttributeNames()[0], el.attributes[0].name); 468 assert_equals(el.getAttributeNames()[0], "foo"); 469 470 el.removeAttribute("foo"); 471 assert_equals(el.getAttributeNames().length, 0); 472 473 el.setAttribute("foo", "bar"); 474 el.setAttributeNS("", "FOO", "bar"); 475 el.setAttributeNS("dummy1", "foo", "bar"); 476 el.setAttributeNS("dummy2", "dummy:foo", "bar"); 477 assert_equals(el.getAttributeNames().length, 4); 478 assert_equals(el.getAttributeNames()[0], "foo"); 479 assert_equals(el.getAttributeNames()[1], "FOO"); 480 assert_equals(el.getAttributeNames()[2], "foo"); 481 assert_equals(el.getAttributeNames()[3], "dummy:foo"); 482 assert_equals(el.getAttributeNames()[0], el.attributes[0].name); 483 assert_equals(el.getAttributeNames()[1], el.attributes[1].name); 484 assert_equals(el.getAttributeNames()[2], el.attributes[2].name); 485 assert_equals(el.getAttributeNames()[3], el.attributes[3].name); 486 487 el.removeAttributeNS("", "FOO"); 488 assert_equals(el.getAttributeNames().length, 3); 489 assert_equals(el.getAttributeNames()[0], "foo"); 490 assert_equals(el.getAttributeNames()[1], "foo"); 491 assert_equals(el.getAttributeNames()[2], "dummy:foo"); 492 assert_equals(el.getAttributeNames()[0], el.attributes[0].name); 493 assert_equals(el.getAttributeNames()[1], el.attributes[1].name); 494 assert_equals(el.getAttributeNames()[2], el.attributes[2].name); 495 }, "getAttributeNames tests"); 496 497 function getEnumerableOwnProps1(obj) { 498 var arr = []; 499 for (var prop in obj) { 500 if (obj.hasOwnProperty(prop)) { 501 arr.push(prop); 502 } 503 } 504 return arr; 505 } 506 507 function getEnumerableOwnProps2(obj) { 508 return Object.getOwnPropertyNames(obj).filter( 509 (name) => Object.getOwnPropertyDescriptor(obj, name).enumerable) 510 } 511 512 test(function() { 513 var el = document.createElement("div"); 514 el.setAttribute("a", ""); 515 el.setAttribute("b", ""); 516 assert_array_equals(getEnumerableOwnProps1(el.attributes), 517 ["0", "1"]) 518 assert_array_equals(getEnumerableOwnProps2(el.attributes), 519 ["0", "1"]) 520 assert_array_equals(Object.getOwnPropertyNames(el.attributes), 521 ["0", "1", "a", "b"]) 522 }, "Own property correctness with basic attributes"); 523 524 test(function() { 525 var el = document.createElement("div"); 526 el.setAttributeNS("", "a", ""); 527 el.setAttribute("b", ""); 528 el.setAttributeNS("foo", "a", ""); 529 assert_array_equals(getEnumerableOwnProps1(el.attributes), 530 ["0", "1", "2"]) 531 assert_array_equals(getEnumerableOwnProps2(el.attributes), 532 ["0", "1", "2"]) 533 assert_array_equals(Object.getOwnPropertyNames(el.attributes), 534 ["0", "1", "2", "a", "b"]) 535 }, "Own property correctness with non-namespaced attribute before same-name namespaced one"); 536 537 test(function() { 538 var el = document.createElement("div"); 539 el.setAttributeNS("foo", "a", ""); 540 el.setAttribute("b", ""); 541 el.setAttributeNS("", "a", ""); 542 assert_array_equals(getEnumerableOwnProps1(el.attributes), 543 ["0", "1", "2"]) 544 assert_array_equals(getEnumerableOwnProps2(el.attributes), 545 ["0", "1", "2"]) 546 assert_array_equals(Object.getOwnPropertyNames(el.attributes), 547 ["0", "1", "2", "a", "b"]) 548 }, "Own property correctness with namespaced attribute before same-name non-namespaced one"); 549 550 test(function() { 551 var el = document.createElement("div"); 552 el.setAttributeNS("foo", "a:b", ""); 553 el.setAttributeNS("foo", "c:d", ""); 554 el.setAttributeNS("bar", "a:b", ""); 555 assert_array_equals(getEnumerableOwnProps1(el.attributes), 556 ["0", "1", "2"]) 557 assert_array_equals(getEnumerableOwnProps2(el.attributes), 558 ["0", "1", "2"]) 559 assert_array_equals(Object.getOwnPropertyNames(el.attributes), 560 ["0", "1", "2", "a:b", "c:d"]) 561 }, "Own property correctness with two namespaced attributes with the same name-with-prefix"); 397 562 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-10.xml
r189471 r194580 7 7 <body> 8 8 <div id="log"/> 9 <x class="a"/> 10 <g:x class="a"/> 9 <div id="tests"> 10 <x class="a"/> 11 <g:x class="a"/> 12 </div> 11 13 <script>test(function() { 12 14 assert_array_equals(document.getElementsByClassName("a"), 13 document.getElement sByTagName("x"));15 document.getElementById("tests").children); 14 16 }) 15 17 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-11.xml
r189471 r194580 7 7 <body> 8 8 <div id="log" /> 9 <x class="a"/> 10 <g:x class="a"/> 11 <x t:class="a" h:class="a" g:class="a"/> 12 <g:x t:class="a" h:class="a" g:class="a"/> 13 <t:x class="a" t:class="a" h:class="a" g:class="a"/> 9 <div id="tests"> 10 <x class="a"/> 11 <g:x class="a"/> 12 <x t:class="a" h:class="a" g:class="a"/> 13 <g:x t:class="a" h:class="a" g:class="a"/> 14 <t:x class="a" t:class="a" h:class="a" g:class="a"/> 15 </div> 14 16 <script> 15 17 test(function() { 16 18 var collection = document.getElementsByClassName("a"); 17 var test = document.getElement sByTagName("x");18 assert_array_equals(collection, [test[0], test[1] ]);19 var test = document.getElementById("tests").children; 20 assert_array_equals(collection, [test[0], test[1], test[4]]); 19 21 }) 20 22 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/selectors.js
r189471 r194580 267 267 {name: "Class selector, chained, matching only elements with all specified classes", selector: "#class .apple.orange.banana", expect: ["class-div1", "class-div2", "class-p4", "class-div3", "class-p6", "class-div4"], level: 1, testType: TEST_QSA | TEST_MATCH}, 268 268 {name: "Class Selector, chained, with type selector", selector: "div.apple.banana.orange", expect: ["class-div1", "class-div2", "class-div3", "class-div4"], level: 1, testType: TEST_QSA | TEST_MATCH}, 269 // Caution: If copying and pasting the folowing non-ASCII classes, ensure unicode normalisation is not performed in the process. 270 {name: "Class selector, matching element with class value using non-ASCII characters", selector: ".台北Táiběi", expect: ["class-span1"], level: 1, testType: TEST_QSA | TEST_MATCH}, 271 {name: "Class selector, matching multiple elements with class value using non-ASCII characters", selector: ".台北", expect: ["class-span1","class-span2"], level: 1, testType: TEST_QSA | TEST_MATCH}, 272 {name: "Class selector, chained, matching element with multiple class values using non-ASCII characters", selector: ".台北Táiběi.台北", expect: ["class-span1"], level: 1, testType: TEST_QSA | TEST_MATCH}, 269 {name: "Class selector, matching element with class value using non-ASCII characters (1)", selector: ".\u53F0\u5317Ta\u0301ibe\u030Ci", expect: ["class-span1"], level: 1, testType: TEST_QSA | TEST_MATCH}, 270 {name: "Class selector, matching multiple elements with class value using non-ASCII characters", selector: ".\u53F0\u5317", expect: ["class-span1","class-span2"], level: 1, testType: TEST_QSA | TEST_MATCH}, 271 {name: "Class selector, chained, matching element with multiple class values using non-ASCII characters (1)", selector: ".\u53F0\u5317Ta\u0301ibe\u030Ci.\u53F0\u5317", expect: ["class-span1"], level: 1, testType: TEST_QSA | TEST_MATCH}, 273 272 {name: "Class selector, matching element with class with escaped character", selector: ".foo\\:bar", expect: ["class-span3"], level: 1, testType: TEST_QSA | TEST_MATCH}, 274 273 {name: "Class selector, matching element with class with escaped character", selector: ".test\\.foo\\[5\\]bar", expect: ["class-span4"], level: 1, testType: TEST_QSA | TEST_MATCH}, … … 283 282 {name: "ID selector, matching multiple elements with duplicate id", selector: "#id-li-duplicate", expect: ["id-li-duplicate", "id-li-duplicate", "id-li-duplicate", "id-li-duplicate"], level: 1, testType: TEST_QSA | TEST_MATCH}, 284 283 285 // Caution: If copying and pasting the folowing non-ASCII IDs, ensure unicode normalisation is not performed in the process. 286 {name: "ID selector, matching id value using non-ASCII characters", selector: "#台北Táiběi", expect: ["台北Táiběi"], level: 1, testType: TEST_QSA | TEST_MATCH}, 287 {name: "ID selector, matching id value using non-ASCII characters", selector: "#台北", expect: ["台北"], level: 1, testType: TEST_QSA | TEST_MATCH}, 288 {name: "ID selector, matching id values using non-ASCII characters", selector: "#台北Táiběi, #台北", expect: ["台北Táiběi", "台北"], level: 1, testType: TEST_QSA | TEST_MATCH}, 284 {name: "ID selector, matching id value using non-ASCII characters (1)", selector: "#\u53F0\u5317Ta\u0301ibe\u030Ci", expect: ["\u53F0\u5317Ta\u0301ibe\u030Ci"], level: 1, testType: TEST_QSA | TEST_MATCH}, 285 {name: "ID selector, matching id value using non-ASCII characters (2)", selector: "#\u53F0\u5317", expect: ["\u53F0\u5317"], level: 1, testType: TEST_QSA | TEST_MATCH}, 286 {name: "ID selector, matching id values using non-ASCII characters (1)", selector: "#\u53F0\u5317Ta\u0301ibe\u030Ci, #\u53F0\u5317", expect: ["\u53F0\u5317Ta\u0301ibe\u030Ci", "\u53F0\u5317"], level: 1, testType: TEST_QSA | TEST_MATCH}, 289 287 290 288 // XXX runMatchesTest() in level2-lib.js can't handle this because obtaining the expected nodes requires escaping characters when generating the selector from 'expect' values … … 632 630 {name: "Class selector, chained, matching only elements with all specified classes (1)", selector: "#class .apple.orange.banana", ctx: "", expect: ["class-div1", "class-div2", "class-p4", "class-div3", "class-p6", "class-div4"], level: 1, testType: TEST_FIND | TEST_MATCH}, 633 631 {name: "Class Selector, chained, with type selector (1)", selector: "div.apple.banana.orange", ctx: "", expect: ["class-div1", "class-div2", "class-div3", "class-div4"], level: 1, testType: TEST_FIND | TEST_MATCH}, 634 // Caution: If copying and pasting the folowing non-ASCII classes, ensure unicode normalisation is not performed in the process. 635 {name: "Class selector, matching element with class value using non-ASCII characters", selector: ".台北Táiběi", ctx: "", expect: ["class-span1"], level: 1, testType: TEST_FIND | TEST_MATCH}, 636 {name: "Class selector, matching multiple elements with class value using non-ASCII characters (1)", selector: ".台北", ctx: "", expect: ["class-span1","class-span2"], level: 1, testType: TEST_FIND | TEST_MATCH}, 637 {name: "Class selector, chained, matching element with multiple class values using non-ASCII characters", selector: ".台北Táiběi.台北", ctx: "", expect: ["class-span1"], level: 1, testType: TEST_FIND | TEST_MATCH}, 632 {name: "Class selector, matching element with class value using non-ASCII characters (2)", selector: ".\u53F0\u5317Ta\u0301ibe\u030Ci", ctx: "", expect: ["class-span1"], level: 1, testType: TEST_FIND | TEST_MATCH}, 633 {name: "Class selector, matching multiple elements with class value using non-ASCII characters (1)", selector: ".\u53F0\u5317", ctx: "", expect: ["class-span1","class-span2"], level: 1, testType: TEST_FIND | TEST_MATCH}, 634 {name: "Class selector, chained, matching element with multiple class values using non-ASCII characters (2)", selector: ".\u53F0\u5317Ta\u0301ibe\u030Ci.\u53F0\u5317", ctx: "", expect: ["class-span1"], level: 1, testType: TEST_FIND | TEST_MATCH}, 638 635 {name: "Class selector, matching element with class with escaped character (1)", selector: ".foo\\:bar", ctx: "", expect: ["class-span3"], level: 1, testType: TEST_FIND | TEST_MATCH}, 639 636 {name: "Class selector, matching element with class with escaped character (1)", selector: ".test\\.foo\\[5\\]bar", ctx: "", expect: ["class-span4"], level: 1, testType: TEST_FIND | TEST_MATCH}, … … 648 645 {name: "ID selector, matching multiple elements with duplicate id (1)", selector: "#id-li-duplicate", ctx: "", expect: ["id-li-duplicate", "id-li-duplicate", "id-li-duplicate", "id-li-duplicate"], level: 1, testType: TEST_FIND | TEST_MATCH}, 649 646 650 // Caution: If copying and pasting the folowing non-ASCII IDs, ensure unicode normalisation is not performed in the process. 651 {name: "ID selector, matching id value using non-ASCII characters", selector: "#台北Táiběi", ctx: "", expect: ["台北Táiběi"], level: 1, testType: TEST_FIND | TEST_MATCH}, 652 {name: "ID selector, matching id value using non-ASCII characters (1)", selector: "#台北", ctx: "", expect: ["台北"], level: 1, testType: TEST_FIND | TEST_MATCH}, 653 {name: "ID selector, matching id values using non-ASCII characters", selector: "#台北Táiběi, #台北", ctx: "", expect: ["台北Táiběi", "台北"], level: 1, testType: TEST_FIND | TEST_MATCH}, 647 {name: "ID selector, matching id value using non-ASCII characters (3)", selector: "#\u53F0\u5317Ta\u0301ibe\u030Ci", ctx: "", expect: ["\u53F0\u5317Ta\u0301ibe\u030Ci"], level: 1, testType: TEST_FIND | TEST_MATCH}, 648 {name: "ID selector, matching id value using non-ASCII characters (4)", selector: "#\u53F0\u5317", ctx: "", expect: ["\u53F0\u5317"], level: 1, testType: TEST_FIND | TEST_MATCH}, 649 {name: "ID selector, matching id values using non-ASCII characters (2)", selector: "#\u53F0\u5317Ta\u0301ibe\u030Ci, #\u53F0\u5317", ctx: "", expect: ["\u53F0\u5317Ta\u0301ibe\u030Ci", "\u53F0\u5317"], level: 1, testType: TEST_FIND | TEST_MATCH}, 654 650 655 651 // XXX runMatchesTest() in level2-lib.js can't handle this because obtaining the expected nodes requires escaping characters when generating the selector from 'expect' values -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/w3c-import.log
r191379 r194580 50 50 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.html 51 51 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.js 52 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createProcessingInstruction-xhtml.xhtml 52 53 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createProcessingInstruction.html 53 54 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createProcessingInstruction.js … … 56 57 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-doctype.html 57 58 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementById.html 59 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml 58 60 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName.html 59 61 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagNameNS.html 60 62 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-implementation.html 61 63 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-importNode.html 64 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal-xhtml.xhtml 62 65 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal.html 63 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-literal.xhtml64 66 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DocumentType-remove.html 67 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElement-null-xhtml.xhtml 65 68 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElement-null.html 69 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml 66 70 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-add.html 67 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic- add.xhtml71 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml 68 72 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-dynamic-remove.html 73 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml 69 74 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-nochild.html 70 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount- nochild.xhtml75 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount-xhtml.xhtml 71 76 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-childElementCount.html 72 77 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-children.html 73 78 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-classlist.html 74 79 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-closest.html 80 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-entity-xhtml.xhtml 81 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml 75 82 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-namespace.html 83 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild-xhtml.xhtml 76 84 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild.html 77 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-firstElementChild.xhtml78 85 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByClassName.html 86 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess-iframe.xml 87 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html 79 88 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName.html 80 89 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagNameNS.html 90 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-lastElementChild-xhtml.xhtml 81 91 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-lastElementChild.html 82 92 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches.html 83 93 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches.js 94 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-nextElementSibling-xhtml.xhtml 84 95 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-nextElementSibling.html 85 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element- nextElementSibling.xhtml96 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-previousElementSibling-xhtml.xhtml 86 97 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-previousElementSibling.html 87 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-previousElementSibling.xhtml88 98 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-remove.html 89 99 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-removeAttributeNS.html 100 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-siblingElement-null-xhtml.xhtml 90 101 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-siblingElement-null.html 91 102 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-tagName.html … … 105 116 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains.html 106 117 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-insertBefore.html 118 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-iframe1.xml 119 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-iframe2.xml 107 120 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode.xhtml 108 121 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-lookupNamespaceURI.html 109 122 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-lookupPrefix.xhtml 123 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-nodeName-xhtml.xhtml 110 124 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-nodeName.html 111 125 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-nodeValue.html … … 122 136 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-content.html 123 137 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-content.xht 138 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht.xht 124 139 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All.html 125 140 /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All.js -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-deleteContents-expected.txt
r189914 r194580 77 77 PASS Resulting DOM for range 36 [docfrag, 0, docfrag, 0] 78 78 PASS Resulting cursor position for range 36 [docfrag, 0, docfrag, 0] 79 FAIL Resulting DOM for range 37 [processingInstruction, 0, processingInstruction, 4] assert_equals: Actual and expected mismatch for tree root. First difference: differing nodeValue (nodeName = "somePI") expected "Did you know that \":syn sync fromstart\" is very useful when using vim to edit large amounts of JavaScript embedded in HTML?" but got "you know that \":syn sync fromstart\" is very useful when using vim to edit large amounts of JavaScript embedded in HTML?" 80 FAIL Resulting cursor position for range 37 [processingInstruction, 0, processingInstruction, 4] assert_true: The resulting DOMs were not equal, so comparing positions makes no sense expected true got false 79 PASS Resulting DOM for range 37 [processingInstruction, 0, processingInstruction, 4] 80 PASS Resulting cursor position for range 37 [processingInstruction, 0, processingInstruction, 4] 81 81 PASS Resulting DOM for range 38 [paras[1].firstChild, 0, paras[1].firstChild, 1] 82 82 PASS Resulting cursor position for range 38 [paras[1].firstChild, 0, paras[1].firstChild, 1] -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-deleteContents.html
r189471 r194580 68 68 69 69 // "If original start node and original end node are the same, and they are 70 // a Text or Comment node, call deleteData(original start offset, original 71 // end offset − original start offset) on that node, and abort these 72 // steps." 70 // a Text, ProcessingInstruction, or Comment node, replace data with node 71 // original start node, offset original start offset, count original end 72 // offset minus original start offset, and data the empty string, and then 73 // terminate these steps" 73 74 if (originalStartNode == originalEndNode 74 75 && (range.startContainer.nodeType == Node.TEXT_NODE 76 || range.startContainer.nodeType == Node.PROCESSING_INSTRUCTION_NODE 75 77 || range.startContainer.nodeType == Node.COMMENT_NODE)) { 76 78 originalStartNode.deleteData(originalStartOffset, originalEndOffset - originalStartOffset); … … 121 123 } 122 124 123 // "If original start node is a Text or Comment node, run deleteData() on 124 // it, with original start offset as the first argument and (length of 125 // original start node − original start offset) as the second." 125 // "If original start node is a Text, ProcessingInstruction, or Comment node, 126 // replace data with node original start node, offset original start offset, 127 // count original start node's length minus original start offset, data the 128 // empty start" 126 129 if (originalStartNode.nodeType == Node.TEXT_NODE 130 || originalStartNode.nodeType == Node.PROCESSING_INSTRUCTION_NODE 127 131 || originalStartNode.nodeType == Node.COMMENT_NODE) { 128 132 originalStartNode.deleteData(originalStartOffset, nodeLength(originalStartNode) - originalStartOffset); … … 135 139 } 136 140 137 // "If original end node is a Text or Comment node, run deleteData(0, 138 // original end offset) on it." 141 // "If original end node is a Text, ProcessingInstruction, or Comment node, 142 // replace data with node original end node, offset 0, count original end 143 // offset, and data the empty string." 139 144 if (originalEndNode.nodeType == Node.TEXT_NODE 145 || originalEndNode.nodeType == Node.PROCESSING_INSTRUCTION_NODE 140 146 || originalEndNode.nodeType == Node.COMMENT_NODE) { 141 147 originalEndNode.deleteData(0, originalEndOffset); -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-extractContents-expected.txt
r189471 r194580 114 114 PASS Resulting cursor position for range 36 [docfrag, 0, docfrag, 0] 115 115 PASS Returned fragment for range 36 [docfrag, 0, docfrag, 0] 116 FAIL Resulting DOM for range 37 [processingInstruction, 0, processingInstruction, 4] assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", got ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u..." [Actual and expected mismatch for tree root. ] expected true got false 117 FAIL Resulting cursor position for range 37 [processingInstruction, 0, processingInstruction, 4] assert_true: The resulting DOMs were not equal, so comparing positions makes no sense expected true got false 118 FAIL Returned fragment for range 37 [processingInstruction, 0, processingInstruction, 4] assert_unreached: DOMs were not equal but we couldn't figure out why Reached unreachable code 116 PASS Resulting DOM for range 37 [processingInstruction, 0, processingInstruction, 4] 117 PASS Resulting cursor position for range 37 [processingInstruction, 0, processingInstruction, 4] 118 PASS Returned fragment for range 37 [processingInstruction, 0, processingInstruction, 4] 119 119 PASS Resulting DOM for range 38 [paras[1].firstChild, 0, paras[1].firstChild, 1] 120 120 PASS Resulting cursor position for range 38 [paras[1].firstChild, 0, paras[1].firstChild, 1] -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-insertNode-expected.txt
r190229 r194580 4 4 PASS 0,0: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0] 5 5 PASS 0,0: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0] 6 PASS 0,1: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0].firstChild 7 PASS 0,1: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0].firstChild 6 FAIL 0,1: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0].firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 7 try { 8 a..." did not throw 9 FAIL 0,1: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0].firstChild assert_true: First differing node: expected Text node "Äb̈c̈d̈ëf̈g̈ḧ 10 ", got Text node "" [Actual and expected mismatch for range's tree root. ] expected true got false 8 11 PASS 0,2: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[1].firstChild 9 12 PASS 0,2: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[1].firstChild … … 48 51 PASS 1,0: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0] 49 52 PASS 1,0: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0] 50 PASS 1,1: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0].firstChild 51 PASS 1,1: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0].firstChild 53 FAIL 1,1: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0].firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 54 try { 55 a..." did not throw 56 FAIL 1,1: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0].firstChild assert_true: First differing node: expected Text node "Äb̈c̈d̈ëf̈g̈ḧ 57 ", got Text node "" [Actual and expected mismatch for range's tree root. ] expected true got false 52 58 PASS 1,2: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[1].firstChild 53 59 PASS 1,2: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[1].firstChild … … 92 98 PASS 2,0: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0] 93 99 PASS 2,0: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0] 94 PASS 2,1: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0].firstChild 95 PASS 2,1: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0].firstChild 100 FAIL 2,1: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0].firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 101 try { 102 a..." did not throw 103 FAIL 2,1: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0].firstChild assert_true: First differing node: expected Text node "Äb̈c̈d̈ëf̈g̈ḧ 104 ", got Text node "Ä" [Actual and expected mismatch for range's tree root. ] expected true got false 96 105 PASS 2,2: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[1].firstChild 97 106 PASS 2,2: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[1].firstChild … … 136 145 PASS 3,0: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0] 137 146 PASS 3,0: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0] 138 PASS 3,1: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0].firstChild 139 PASS 3,1: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0].firstChild 147 FAIL 3,1: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0].firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 148 try { 149 a..." did not throw 150 FAIL 3,1: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0].firstChild assert_true: First differing node: expected Text node "Äb̈c̈d̈ëf̈g̈ḧ 151 ", got Text node "Ä" [Actual and expected mismatch for range's tree root. ] expected true got false 140 152 PASS 3,2: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[1].firstChild 141 153 PASS 3,2: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[1].firstChild … … 182 194 PASS 4,1: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[0].firstChild 183 195 PASS 4,1: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[0].firstChild 184 PASS 4,2: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild 185 PASS 4,2: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild 196 FAIL 4,2: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 197 try { 198 a..." did not throw 199 FAIL 4,2: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild assert_true: First differing node: expected Text node "Ijklmnop 200 ", got Text node "" [Actual and expected mismatch for range's tree root. ] expected true got false 186 201 PASS 4,3: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignPara1 187 202 PASS 4,3: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignPara1 … … 226 241 PASS 5,1: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[0].firstChild 227 242 PASS 5,1: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[0].firstChild 228 PASS 5,2: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[1].firstChild 229 PASS 5,2: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[1].firstChild 243 FAIL 5,2: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[1].firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 244 try { 245 a..." did not throw 246 FAIL 5,2: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[1].firstChild assert_true: First differing node: expected Text node "Ijklmnop 247 ", got Text node "Ij" [Actual and expected mismatch for range's tree root. ] expected true got false 230 248 PASS 5,3: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignPara1 231 249 PASS 5,3: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignPara1 … … 278 296 PASS 6,5: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1 279 297 PASS 6,5: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1 280 PASS 6,6: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1.firstChild 281 PASS 6,6: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1.firstChild 298 FAIL 6,6: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1.firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 299 try { 300 a..." did not throw 301 FAIL 6,6: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1.firstChild assert_true: First differing node: expected Text node "Opqrstuv", got Text node "" [Actual and expected mismatch for range's tree root. ] expected true got false 282 302 PASS 6,7: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node document 283 303 PASS 6,7: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node document … … 322 342 PASS 7,5: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedPara1 323 343 PASS 7,5: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedPara1 324 PASS 7,6: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedPara1.firstChild 325 PASS 7,6: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedPara1.firstChild 344 FAIL 7,6: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedPara1.firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 345 try { 346 a..." did not throw 347 FAIL 7,6: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedPara1.firstChild assert_true: First differing node: expected Text node "Opqrstuv", got Text node "Op" [Actual and expected mismatch for range's tree root. ] expected true got false 326 348 PASS 7,7: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node document 327 349 PASS 7,7: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node document … … 362 384 PASS 8,3: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1 363 385 PASS 8,3: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1 364 PASS 8,4: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1.firstChild 365 PASS 8,4: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1.firstChild 386 FAIL 8,4: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1.firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 387 try { 388 a..." did not throw 389 FAIL 8,4: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1.firstChild assert_true: First differing node: expected Text node "Efghijkl", got Text node "" [Actual and expected mismatch for range's tree root. ] expected true got false 366 390 PASS 8,5: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedPara1 367 391 PASS 8,5: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedPara1 … … 406 430 PASS 9,3: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignPara1 407 431 PASS 9,3: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignPara1 408 PASS 9,4: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignPara1.firstChild 409 PASS 9,4: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignPara1.firstChild 432 FAIL 9,4: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignPara1.firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 433 try { 434 a..." did not throw 435 FAIL 9,4: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignPara1.firstChild assert_true: First differing node: expected Text node "Efghijkl", got Text node "Ef" [Actual and expected mismatch for range's tree root. ] expected true got false 410 436 PASS 9,5: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedPara1 411 437 PASS 9,5: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedPara1 … … 796 822 PASS 18,0: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[0] 797 823 PASS 18,0: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[0] 798 PASS 18,1: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[0].firstChild 799 PASS 18,1: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[0].firstChild 824 FAIL 18,1: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[0].firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 825 try { 826 a..." did not throw 827 FAIL 18,1: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[0].firstChild assert_true: First differing node: expected Text node "Äb̈c̈d̈ëf̈g̈ḧ 828 ", got Text node "" [Actual and expected mismatch for range's tree root. ] expected true got false 800 829 PASS 18,2: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild 801 830 PASS 18,2: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild … … 840 869 PASS 19,0: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[0] 841 870 PASS 19,0: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[0] 842 PASS 19,1: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[0].firstChild 843 PASS 19,1: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[0].firstChild 871 FAIL 19,1: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[0].firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 872 try { 873 a..." did not throw 874 FAIL 19,1: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[0].firstChild assert_true: First differing node: expected Text node "Äb̈c̈d̈ëf̈g̈ḧ 875 ", got Text node "" [Actual and expected mismatch for range's tree root. ] expected true got false 844 876 PASS 19,2: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[1].firstChild 845 877 PASS 19,2: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[1].firstChild … … 884 916 PASS 20,0: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node paras[0] 885 917 PASS 20,0: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node paras[0] 886 PASS 20,1: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node paras[0].firstChild 887 PASS 20,1: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node paras[0].firstChild 918 FAIL 20,1: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node paras[0].firstChild assert_throws: A HIERARCHY_REQUEST_ERR DOMException must be thrown in this case function "function () { 919 try { 920 a..." did not throw 921 FAIL 20,1: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node paras[0].firstChild assert_true: First differing node: expected Text node "Äb̈c̈d̈ëf̈g̈ḧ 922 ", got Text node "Äb" [Actual and expected mismatch for range's tree root. ] expected true got false 888 923 PASS 20,2: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node paras[1].firstChild 889 924 PASS 20,2: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node paras[1].firstChild -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-intersectsNode-expected.txt
r190136 r194580 1 1 2 PASS Node 0 paras[0], detached range3 2 PASS Node 0 paras[0], range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 4 3 PASS Node 0 paras[0], range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 61 60 PASS Node 0 paras[0], range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 62 61 PASS Node 0 paras[0], range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 63 PASS Node 1 paras[0].firstChild, detached range64 62 PASS Node 1 paras[0].firstChild, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 65 63 PASS Node 1 paras[0].firstChild, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 122 120 PASS Node 1 paras[0].firstChild, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 123 121 PASS Node 1 paras[0].firstChild, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 124 PASS Node 2 paras[1].firstChild, detached range125 122 PASS Node 2 paras[1].firstChild, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 126 123 PASS Node 2 paras[1].firstChild, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 183 180 PASS Node 2 paras[1].firstChild, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 184 181 PASS Node 2 paras[1].firstChild, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 185 PASS Node 3 foreignPara1, detached range186 182 PASS Node 3 foreignPara1, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 187 183 PASS Node 3 foreignPara1, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 244 240 PASS Node 3 foreignPara1, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 245 241 PASS Node 3 foreignPara1, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 246 PASS Node 4 foreignPara1.firstChild, detached range247 242 PASS Node 4 foreignPara1.firstChild, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 248 243 PASS Node 4 foreignPara1.firstChild, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 305 300 PASS Node 4 foreignPara1.firstChild, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 306 301 PASS Node 4 foreignPara1.firstChild, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 307 PASS Node 5 detachedPara1, detached range308 302 PASS Node 5 detachedPara1, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 309 303 PASS Node 5 detachedPara1, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 366 360 PASS Node 5 detachedPara1, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 367 361 PASS Node 5 detachedPara1, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 368 PASS Node 6 detachedPara1.firstChild, detached range369 362 PASS Node 6 detachedPara1.firstChild, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 370 363 PASS Node 6 detachedPara1.firstChild, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 427 420 PASS Node 6 detachedPara1.firstChild, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 428 421 PASS Node 6 detachedPara1.firstChild, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 429 PASS Node 7 document, detached range430 422 PASS Node 7 document, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 431 423 PASS Node 7 document, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 488 480 PASS Node 7 document, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 489 481 PASS Node 7 document, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 490 PASS Node 8 detachedDiv, detached range491 482 PASS Node 8 detachedDiv, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 492 483 PASS Node 8 detachedDiv, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 549 540 PASS Node 8 detachedDiv, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 550 541 PASS Node 8 detachedDiv, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 551 PASS Node 9 foreignDoc, detached range552 542 PASS Node 9 foreignDoc, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 553 543 PASS Node 9 foreignDoc, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 610 600 PASS Node 9 foreignDoc, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 611 601 PASS Node 9 foreignDoc, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 612 PASS Node 10 foreignPara2, detached range613 602 PASS Node 10 foreignPara2, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 614 603 PASS Node 10 foreignPara2, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 671 660 PASS Node 10 foreignPara2, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 672 661 PASS Node 10 foreignPara2, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 673 PASS Node 11 xmlDoc, detached range674 662 PASS Node 11 xmlDoc, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 675 663 PASS Node 11 xmlDoc, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 732 720 PASS Node 11 xmlDoc, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 733 721 PASS Node 11 xmlDoc, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 734 PASS Node 12 xmlElement, detached range735 722 PASS Node 12 xmlElement, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 736 723 PASS Node 12 xmlElement, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 793 780 PASS Node 12 xmlElement, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 794 781 PASS Node 12 xmlElement, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 795 PASS Node 13 detachedTextNode, detached range796 782 PASS Node 13 detachedTextNode, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 797 783 PASS Node 13 detachedTextNode, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 854 840 PASS Node 13 detachedTextNode, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 855 841 PASS Node 13 detachedTextNode, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 856 PASS Node 14 foreignTextNode, detached range857 842 PASS Node 14 foreignTextNode, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 858 843 PASS Node 14 foreignTextNode, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 915 900 PASS Node 14 foreignTextNode, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 916 901 PASS Node 14 foreignTextNode, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 917 PASS Node 15 processingInstruction, detached range918 902 PASS Node 15 processingInstruction, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 919 903 PASS Node 15 processingInstruction, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 976 960 PASS Node 15 processingInstruction, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 977 961 PASS Node 15 processingInstruction, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 978 PASS Node 16 detachedProcessingInstruction, detached range979 962 PASS Node 16 detachedProcessingInstruction, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 980 963 PASS Node 16 detachedProcessingInstruction, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1037 1020 PASS Node 16 detachedProcessingInstruction, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1038 1021 PASS Node 16 detachedProcessingInstruction, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1039 PASS Node 17 comment, detached range1040 1022 PASS Node 17 comment, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1041 1023 PASS Node 17 comment, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1098 1080 PASS Node 17 comment, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1099 1081 PASS Node 17 comment, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1100 PASS Node 18 detachedComment, detached range1101 1082 PASS Node 18 detachedComment, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1102 1083 PASS Node 18 detachedComment, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1159 1140 PASS Node 18 detachedComment, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1160 1141 PASS Node 18 detachedComment, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1161 PASS Node 19 docfrag, detached range1162 1142 PASS Node 19 docfrag, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1163 1143 PASS Node 19 docfrag, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1220 1200 PASS Node 19 docfrag, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1221 1201 PASS Node 19 docfrag, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1222 PASS Node 20 doctype, detached range1223 1202 PASS Node 20 doctype, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1224 1203 PASS Node 20 doctype, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1281 1260 PASS Node 20 doctype, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1282 1261 PASS Node 20 doctype, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1283 PASS Node 21 foreignDoctype, detached range1284 1262 PASS Node 21 foreignDoctype, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1285 1263 PASS Node 21 foreignDoctype, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1342 1320 PASS Node 21 foreignDoctype, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1343 1321 PASS Node 21 foreignDoctype, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1344 PASS Node 22 paras[1], detached range1345 1322 PASS Node 22 paras[1], range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1346 1323 PASS Node 22 paras[1], range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1403 1380 PASS Node 22 paras[1], range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1404 1381 PASS Node 22 paras[1], range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1405 PASS Node 23 detachedPara2, detached range1406 1382 PASS Node 23 detachedPara2, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1407 1383 PASS Node 23 detachedPara2, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1464 1440 PASS Node 23 detachedPara2, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1465 1441 PASS Node 23 detachedPara2, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1466 PASS Node 24 detachedPara2.firstChild, detached range1467 1442 PASS Node 24 detachedPara2.firstChild, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1468 1443 PASS Node 24 detachedPara2.firstChild, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1525 1500 PASS Node 24 detachedPara2.firstChild, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1526 1501 PASS Node 24 detachedPara2.firstChild, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1527 PASS Node 25 testDiv, detached range1528 1502 PASS Node 25 testDiv, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1529 1503 PASS Node 25 testDiv, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1586 1560 PASS Node 25 testDiv, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1587 1561 PASS Node 25 testDiv, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1588 PASS Node 26 detachedXmlElement, detached range1589 1562 PASS Node 26 detachedXmlElement, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1590 1563 PASS Node 26 detachedXmlElement, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1647 1620 PASS Node 26 detachedXmlElement, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1648 1621 PASS Node 26 detachedXmlElement, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1649 PASS Node 27 detachedForeignTextNode, detached range1650 1622 PASS Node 27 detachedForeignTextNode, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1651 1623 PASS Node 27 detachedForeignTextNode, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1708 1680 PASS Node 27 detachedForeignTextNode, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1709 1681 PASS Node 27 detachedForeignTextNode, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1710 PASS Node 28 xmlTextNode, detached range1711 1682 PASS Node 28 xmlTextNode, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1712 1683 PASS Node 28 xmlTextNode, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1769 1740 PASS Node 28 xmlTextNode, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1770 1741 PASS Node 28 xmlTextNode, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1771 PASS Node 29 detachedXmlTextNode, detached range1772 1742 PASS Node 29 detachedXmlTextNode, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1773 1743 PASS Node 29 detachedXmlTextNode, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1830 1800 PASS Node 29 detachedXmlTextNode, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1831 1801 PASS Node 29 detachedXmlTextNode, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1832 PASS Node 30 xmlComment, detached range1833 1802 PASS Node 30 xmlComment, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1834 1803 PASS Node 30 xmlComment, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1891 1860 PASS Node 30 xmlComment, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1892 1861 PASS Node 30 xmlComment, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1893 PASS Node 31 foreignComment, detached range1894 1862 PASS Node 31 foreignComment, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1895 1863 PASS Node 31 foreignComment, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 1952 1920 PASS Node 31 foreignComment, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 1953 1921 PASS Node 31 foreignComment, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 1954 PASS Node 32 detachedForeignComment, detached range1955 1922 PASS Node 32 detachedForeignComment, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 1956 1923 PASS Node 32 detachedForeignComment, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 2013 1980 PASS Node 32 detachedForeignComment, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 2014 1981 PASS Node 32 detachedForeignComment, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 2015 PASS Node 33 detachedXmlComment, detached range2016 1982 PASS Node 33 detachedXmlComment, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 2017 1983 PASS Node 33 detachedXmlComment, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 2074 2040 PASS Node 33 detachedXmlComment, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 2075 2041 PASS Node 33 detachedXmlComment, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 2076 PASS Node 34 foreignDocfrag, detached range2077 2042 PASS Node 34 foreignDocfrag, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 2078 2043 PASS Node 34 foreignDocfrag, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 2135 2100 PASS Node 34 foreignDocfrag, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 2136 2101 PASS Node 34 foreignDocfrag, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 2137 PASS Node 35 xmlDocfrag, detached range2138 2102 PASS Node 35 xmlDocfrag, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 2139 2103 PASS Node 35 xmlDocfrag, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] … … 2196 2160 PASS Node 35 xmlDocfrag, range 58 [foreignDocfrag, 0, foreignDocfrag, 0] 2197 2161 PASS Node 35 xmlDocfrag, range 59 [xmlDocfrag, 0, xmlDocfrag, 0] 2198 PASS Node 36 xmlDoctype, detached range2199 2162 PASS Node 36 xmlDoctype, range 0 [paras[0].firstChild, 0, paras[0].firstChild, 0] 2200 2163 PASS Node 36 xmlDoctype, range 1 [paras[0].firstChild, 0, paras[0].firstChild, 1] -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-intersectsNode.html
r189471 r194580 15 15 for (var i = 0; i < testNodes.length; i++) { 16 16 var node = eval(testNodes[i]); 17 18 // "If the detached flag is set, throw an "InvalidStateError" exception and19 // terminate these steps."20 test(function() {21 var range = document.createRange();22 range.detach();23 assert_equals(range.intersectsNode(node), node === document);24 }, "Node " + i + " " + testNodes[i] + ", detached range");25 17 26 18 for (var j = 0; j < testRanges.length; j++) { -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-mutations.html
r189471 r194580 16 16 // TODO: 17 17 // 18 // * replaceWholeText() tests19 18 // * Lots and lots and lots more different types of ranges 20 19 // * insertBefore() with DocumentFragments -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-surroundContents-expected.txt
r190229 r194580 8 8 </p>, got Text node "Äb̈c̈d̈ëf̈g̈ḧ 9 9 " [Actual and expected mismatch for range's tree root. ] expected true got false 10 FAIL 0,1: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0].firstChild assert_true: First differing node: expected Text node "", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 11 " [Actual and expected mismatch for range's tree root. ] expected true got false 12 FAIL 0,1: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0].firstChild assert_true: First differing node: expected Text node "", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 13 " [Actual and expected mismatch for range's tree root. ] expected true got false 10 PASS 0,1: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0].firstChild 11 PASS 0,1: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0].firstChild 14 12 PASS 0,2: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[1].firstChild 15 13 PASS 0,2: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[1].firstChild … … 58 56 </p>, got Text node "Äb̈c̈d̈ëf̈g̈ḧ 59 57 " [Actual and expected mismatch for range's tree root. ] expected true got false 60 FAIL 1,1: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0].firstChild assert_true: First differing node: expected Text node "", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 61 " [Actual and expected mismatch for range's tree root. ] expected true got false 62 FAIL 1,1: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0].firstChild assert_true: First differing node: expected Text node "", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 58 FAIL 1,1: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0].firstChild assert_true: First differing node: expected Text node "̈b̈c̈d̈ëf̈g̈ḧ 59 ", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 60 " [Actual and expected mismatch for range's tree root. ] expected true got false 61 FAIL 1,1: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0].firstChild assert_true: First differing node: expected Text node "̈b̈c̈d̈ëf̈g̈ḧ 62 ", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 63 63 " [Actual and expected mismatch for range's tree root. ] expected true got false 64 64 PASS 1,2: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[1].firstChild … … 108 108 </p>, got Text node "Äb̈c̈d̈ëf̈g̈ḧ 109 109 " [Actual and expected mismatch for range's tree root. ] expected true got false 110 FAIL 2,1: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0].firstChild assert_true: First differing node: expected Text node "Ä", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 111 " [Actual and expected mismatch for range's tree root. ] expected true got false 112 FAIL 2,1: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0].firstChild assert_true: First differing node: expected Text node "Ä", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 110 FAIL 2,1: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0].firstChild assert_true: First differing node: expected Text node "Äëf̈g̈ḧ 111 ", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 112 " [Actual and expected mismatch for range's tree root. ] expected true got false 113 FAIL 2,1: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0].firstChild assert_true: First differing node: expected Text node "Äëf̈g̈ḧ 114 ", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 113 115 " [Actual and expected mismatch for range's tree root. ] expected true got false 114 116 PASS 2,2: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[1].firstChild … … 158 160 </p>, got Text node "Äb̈c̈d̈ëf̈g̈ḧ 159 161 " [Actual and expected mismatch for range's tree root. ] expected true got false 160 FAIL 3,1: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0].firstChild assert_true: First differing node: expected Text node "Ä", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 161 " [Actual and expected mismatch for range's tree root. ] expected true got false 162 FAIL 3,1: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0].firstChild assert_true: First differing node: expected Text node "Ä", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 162 FAIL 3,1: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0].firstChild assert_true: First differing node: expected Text node "Ä̈f̈g̈ḧ 163 ", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 164 " [Actual and expected mismatch for range's tree root. ] expected true got false 165 FAIL 3,1: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0].firstChild assert_true: First differing node: expected Text node "Ä̈f̈g̈ḧ 166 ", got Text node "Äb̈c̈d̈ëf̈g̈ḧ 163 167 " [Actual and expected mismatch for range's tree root. ] expected true got false 164 168 PASS 3,2: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[1].firstChild … … 206 210 PASS 4,1: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[0].firstChild 207 211 PASS 4,1: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[0].firstChild 208 FAIL 4,2: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild assert_true: First differing node: expected Text node "", got Text node "Ijklmnop 209 " [Actual and expected mismatch for range's tree root. ] expected true got false 210 FAIL 4,2: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild assert_true: First differing node: expected Text node "", got Text node "Ijklmnop 211 " [Actual and expected mismatch for range's tree root. ] expected true got false 212 PASS 4,2: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild 213 PASS 4,2: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild 212 214 PASS 4,3: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignPara1 213 215 PASS 4,3: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignPara1 … … 306 308 FAIL 6,5: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1 assert_true: First differing node: expected Element node <p>Wxyzabcd</p>, got Text node "Opqrstuv" [Actual and expected mismatch for range's tree root. ] expected true got false 307 309 FAIL 6,5: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1 assert_true: First differing node: expected Element node <p>Wxyzabcd</p>, got Text node "Opqrstuv" [Actual and expected mismatch for range's tree root. ] expected true got false 308 FAIL 6,6: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1.firstChild assert_true: First differing node: expected Text node "", got Text node "Opqrstuv" [Actual and expected mismatch for range's tree root. ] expected true got false 309 FAIL 6,6: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1.firstChild assert_true: First differing node: expected Text node "", got Text node "Opqrstuv" [Actual and expected mismatch for range's tree root. ] expected true got false 310 PASS 6,6: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1.firstChild 311 PASS 6,6: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1.firstChild 310 312 PASS 6,7: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node document 311 313 PASS 6,7: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node document … … 390 392 FAIL 8,3: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1 assert_true: First differing node: expected Element node <p>Mnopqrst</p>, got Text node "Efghijkl" [Actual and expected mismatch for range's tree root. ] expected true got false 391 393 FAIL 8,3: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1 assert_true: First differing node: expected Element node <p>Mnopqrst</p>, got Text node "Efghijkl" [Actual and expected mismatch for range's tree root. ] expected true got false 392 FAIL 8,4: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1.firstChild assert_true: First differing node: expected Text node "", got Text node "Efghijkl" [Actual and expected mismatch for range's tree root. ] expected true got false 393 FAIL 8,4: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1.firstChild assert_true: First differing node: expected Text node "", got Text node "Efghijkl" [Actual and expected mismatch for range's tree root. ] expected true got false 394 PASS 8,4: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1.firstChild 395 PASS 8,4: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1.firstChild 394 396 PASS 8,5: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedPara1 395 397 PASS 8,5: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedPara1 … … 1666 1668 PASS 36,21: resulting DOM for range [docfrag, 0, docfrag, 0], node foreignDoctype 1667 1669 PASS 36,21: resulting range position for range [docfrag, 0, docfrag, 0], node foreignDoctype 1668 FAIL 37,0: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node paras[0] assert_true: First differing node: expected Element node <p id="b" style="display:none">Ijklmnop 1669 </p>, got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1670 " [Actual and expected mismatch for moved node's tree root. ] expected true got false 1671 FAIL 37,0: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node paras[0] assert_true: First differing node: expected Element node <p id="b" style="display:none">Ijklmnop 1672 </p>, got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1673 " [Actual and expected mismatch for moved node's tree root. ] expected true got false 1674 PASS 37,1: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node paras[0].firstChild 1675 FAIL 37,1: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node paras[0].firstChild assert_equals: Unexpected endOffset after surroundContents() expected 0 but got 4 1676 PASS 37,2: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node paras[1].firstChild 1677 FAIL 37,2: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node paras[1].firstChild assert_equals: Unexpected endOffset after surroundContents() expected 0 but got 4 1678 FAIL 37,3: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignPara1 assert_true: First differing node: expected Element node <p>Mnopqrst</p>, got Text node "Efghijkl" [Actual and expected mismatch for moved node's tree root. ] expected true got false 1679 FAIL 37,3: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignPara1 assert_true: First differing node: expected Element node <p>Mnopqrst</p>, got Text node "Efghijkl" [Actual and expected mismatch for moved node's tree root. ] expected true got false 1680 PASS 37,4: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignPara1.firstChild 1681 FAIL 37,4: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignPara1.firstChild assert_equals: Unexpected endOffset after surroundContents() expected 0 but got 4 1682 FAIL 37,5: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedPara1 assert_true: First differing node: expected Element node <p>Wxyzabcd</p>, got Text node "Opqrstuv" [Actual and expected mismatch for moved node's tree root. ] expected true got false 1683 FAIL 37,5: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedPara1 assert_true: First differing node: expected Element node <p>Wxyzabcd</p>, got Text node "Opqrstuv" [Actual and expected mismatch for moved node's tree root. ] expected true got false 1684 PASS 37,6: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedPara1.firstChild 1685 FAIL 37,6: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedPara1.firstChild assert_equals: Unexpected endOffset after surroundContents() expected 0 but got 4 1670 FAIL 37,0: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node paras[0] assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1671 FAIL 37,0: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node paras[0] assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1672 FAIL 37,1: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node paras[0].firstChild assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1673 FAIL 37,1: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node paras[0].firstChild assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1674 FAIL 37,2: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node paras[1].firstChild assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1675 FAIL 37,2: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node paras[1].firstChild assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1676 FAIL 37,3: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignPara1 assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1677 FAIL 37,3: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignPara1 assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1678 FAIL 37,4: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignPara1.firstChild assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1679 FAIL 37,4: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignPara1.firstChild assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1680 FAIL 37,5: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedPara1 assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1681 FAIL 37,5: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedPara1 assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1682 FAIL 37,6: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedPara1.firstChild assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1683 FAIL 37,6: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedPara1.firstChild assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1686 1684 PASS 37,7: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node document 1687 1685 PASS 37,7: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node document 1688 FAIL 37,8: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedDiv assert_ unreached: DOMs were not equal but we couldn't figure out why Reached unreachable code1689 FAIL 37,8: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedDiv assert_ unreached: DOMs were not equal but we couldn't figure out why Reached unreachable code1686 FAIL 37,8: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedDiv assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1687 FAIL 37,8: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedDiv assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1690 1688 PASS 37,9: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignDoc 1691 1689 PASS 37,9: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignDoc 1692 FAIL 37,10: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignPara2 assert_true: First differing node: expected Text node "I admit that I harbor doubts about whether we really need...", got Text node "Mnopqrst" [Actual and expected mismatch for moved node's tree root. ] expected true got false1693 FAIL 37,10: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignPara2 assert_true: First differing node: expected Text node "I admit that I harbor doubts about whether we really need...", got Text node "Mnopqrst" [Actual and expected mismatch for moved node's tree root. ] expected true got false1690 FAIL 37,10: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignPara2 assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1691 FAIL 37,10: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignPara2 assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1694 1692 PASS 37,11: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node xmlDoc 1695 1693 PASS 37,11: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node xmlDoc 1696 FAIL 37,12: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node xmlElement assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data " Did you know that \":syn sync fromstart\" is very useful wh...", got Text node "do re mi fa so la ti" [Actual and expected mismatch for range's tree root. ] expected true got false1697 FAIL 37,12: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node xmlElement assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data " Did you know that \":syn sync fromstart\" is very useful wh...", got Text node "do re mi fa so la ti" [Actual and expected mismatch for range's tree root. ] expected true got false1698 PASS 37,13: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedTextNode 1699 FAIL 37,13: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedTextNode assert_ equals: Unexpected endOffset after surroundContents() expected 0 but got 41700 PASS 37,14: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignTextNode 1701 FAIL 37,14: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignTextNode assert_ equals: Unexpected endOffset after surroundContents() expected 0 but got 41702 PASS 37,15: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node processingInstruction 1703 FAIL 37,15: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node processingInstruction assert_ equals: Unexpected endOffset after surroundContents() expected 0 but got 41704 FAIL 37,16: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedProcessingInstruction assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", got ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u..." [Actual and expected mismatch for range's tree root. ] expected true got false 1705 FAIL 37,16: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedProcessingInstruction assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", got ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u..." [Actual and expected mismatch for range's tree root. ] expected true got false 1706 FAIL 37,17: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node comment assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", got ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u..." [Actual and expected mismatch for range's tree root. ] expected true got false 1707 FAIL 37,17: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node comment assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", got ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u..." [Actual and expected mismatch for range's tree root. ] expected true got false 1708 FAIL 37,18: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedComment assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", got ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u..." [Actual and expected mismatch for range's tree root. ] expected true got false 1709 FAIL 37,18: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedComment assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", got ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u..." [Actual and expected mismatch for range's tree root. ] expected true got false 1694 FAIL 37,12: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node xmlElement assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got Text node "do re mi fa so la ti" [Actual and expected mismatch for range's tree root. ] expected true got false 1695 FAIL 37,12: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node xmlElement assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got Text node "do re mi fa so la ti" [Actual and expected mismatch for range's tree root. ] expected true got false 1696 FAIL 37,13: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedTextNode assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1697 FAIL 37,13: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedTextNode assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1698 FAIL 37,14: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignTextNode assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1699 FAIL 37,14: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignTextNode assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1700 FAIL 37,15: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node processingInstruction assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1701 FAIL 37,15: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node processingInstruction assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1702 PASS 37,16: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedProcessingInstruction 1703 PASS 37,16: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedProcessingInstruction 1704 PASS 37,17: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node comment 1705 PASS 37,17: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node comment 1706 PASS 37,18: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedComment 1707 PASS 37,18: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedComment 1710 1708 PASS 37,19: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node docfrag 1711 1709 PASS 37,19: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node docfrag -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-surroundContents.html
r189471 r194580 18 18 function mySurroundContents(range, newParent) { 19 19 try { 20 // "If the detached flag is set, throw an "InvalidStateError" exception21 // and terminate these steps."22 try {23 range.collapsed;24 } catch (e) {25 return "INVALID_STATE_ERR";26 }27 28 20 // "If a non-Text node is partially contained in the context object, 29 21 // throw a "InvalidStateError" exception and terminate these steps." … … 119 111 var expectedRoots = []; 120 112 121 var detached = false;122 123 113 domTests[i][j].step(function() { 124 114 restoreIframe(actualIframe, i, j); … … 129 119 actualNode = actualIframe.contentWindow.testNode; 130 120 expectedNode = expectedIframe.contentWindow.testNode; 131 132 try {133 actualRange.collapsed;134 } catch (e) {135 detached = true;136 }137 121 138 122 assert_equals(actualIframe.contentWindow.unexpectedException, null, … … 161 145 // same, if we're inserting a node from a detached tree or a different 162 146 // document. 163 // 164 // Detached ranges are always in the contentDocument. 165 if (detached) { 166 actualRoots.push(actualIframe.contentDocument); 167 expectedRoots.push(expectedIframe.contentDocument); 168 } else { 169 actualRoots.push(furthestAncestor(actualRange.startContainer)); 170 expectedRoots.push(furthestAncestor(expectedRange.startContainer)); 171 } 147 actualRoots.push(furthestAncestor(actualRange.startContainer)); 148 expectedRoots.push(furthestAncestor(expectedRange.startContainer)); 172 149 173 150 if (furthestAncestor(actualNode) != actualRoots[0]) { … … 265 242 } 266 243 267 if (detached) {268 // No further tests we can do269 return;270 }271 272 244 assert_equals(actualRange.startOffset, expectedRange.startOffset, 273 245 "Unexpected startOffset after surroundContents()"); … … 301 273 } 302 274 303 testRanges.unshift('"detached"');304 305 275 var iStart = 0; 306 276 var iStop = testRangesShort.length; -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-expected.txt
r192132 r194580 2 2 3 3 4 PASS getElementsByName and newly introduced HTML elements 4 PASS getElementsByName("section") 5 PASS getElementsByName("article") 6 PASS getElementsByName("aside") 7 PASS getElementsByName("hgroup") 8 PASS getElementsByName("header") 9 PASS getElementsByName("footer") 10 PASS getElementsByName("nav") 11 PASS getElementsByName("dialog") 12 PASS getElementsByName("figure") 13 PASS getElementsByName("audio") 14 PASS getElementsByName("video") 15 PASS getElementsByName("embed") 16 PASS getElementsByName("mark") 17 PASS getElementsByName("meter") 18 PASS getElementsByName("progress") 19 PASS getElementsByName("time") 20 PASS getElementsByName("canvas") 21 PASS getElementsByName("command") 22 PASS getElementsByName("menu") 23 PASS getElementsByName("details") 24 PASS getElementsByName("datalist") 25 PASS getElementsByName("keygen") 26 PASS getElementsByName("output") 27 PASS getElementsByName("ruby") 28 PASS getElementsByName("rt") 29 PASS getElementsByName("rp") 30 PASS getElementsByName("source") 5 31 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html
r189472 r194580 37 37 </div> 38 38 <script> 39 test(function() { 40 assert_equals(document.getElementsByName("section").length, 1); 41 assert_equals(document.getElementsByName("section")[0], 42 document.getElementsByTagName("section")[0]); 43 assert_equals(document.getElementsByName("article").length, 1); 44 assert_equals(document.getElementsByName("article")[0], 45 document.getElementsByTagName("article")[0]); 46 assert_equals(document.getElementsByName("aside").length, 1); 47 assert_equals(document.getElementsByName("aside")[0], 48 document.getElementsByTagName("aside")[0]); 49 assert_equals(document.getElementsByName("hgroup").length, 1); 50 assert_equals(document.getElementsByName("hgroup")[0], 51 document.getElementsByTagName("hgroup")[0]); 52 assert_equals(document.getElementsByName("header").length, 1); 53 assert_equals(document.getElementsByName("header")[0], 54 document.getElementsByTagName("header")[0]); 55 assert_equals(document.getElementsByName("footer").length, 1); 56 assert_equals(document.getElementsByName("footer")[0], 57 document.getElementsByTagName("footer")[0]); 58 assert_equals(document.getElementsByName("nav").length, 1); 59 assert_equals(document.getElementsByName("nav")[0], 60 document.getElementsByTagName("nav")[0]); 61 assert_equals(document.getElementsByName("dialog").length, 1); 62 assert_equals(document.getElementsByName("dialog")[0], 63 document.getElementsByTagName("dialog")[0]); 64 assert_equals(document.getElementsByName("figure").length, 1); 65 assert_equals(document.getElementsByName("figure")[0], 66 document.getElementsByTagName("figure")[0]); 67 assert_equals(document.getElementsByName("audio").length, 1); 68 assert_equals(document.getElementsByName("audio")[0], 69 document.getElementsByTagName("audio")[0]); 70 assert_equals(document.getElementsByName("video").length, 1); 71 assert_equals(document.getElementsByName("video")[0], 72 document.getElementsByTagName("video")[0]); 73 assert_equals(document.getElementsByName("embed").length, 1); 74 assert_equals(document.getElementsByName("embed")[0], 75 document.getElementsByTagName("embed")[0]); 76 assert_equals(document.getElementsByName("mark").length, 1); 77 assert_equals(document.getElementsByName("mark")[0], 78 document.getElementsByTagName("mark")[0]); 79 assert_equals(document.getElementsByName("meter").length, 1); 80 assert_equals(document.getElementsByName("meter")[0], 81 document.getElementsByTagName("meter")[0]); 82 assert_equals(document.getElementsByName("progress").length, 1); 83 assert_equals(document.getElementsByName("progress")[0], 84 document.getElementsByTagName("progress")[0]); 85 assert_equals(document.getElementsByName("time").length, 1); 86 assert_equals(document.getElementsByName("time")[0], 87 document.getElementsByTagName("time")[0]); 88 assert_equals(document.getElementsByName("canvas").length, 1); 89 assert_equals(document.getElementsByName("canvas")[0], 90 document.getElementsByTagName("canvas")[0]); 91 assert_equals(document.getElementsByName("command").length, 1); 92 assert_equals(document.getElementsByName("command")[0], 93 document.getElementsByTagName("command")[0]); 94 assert_equals(document.getElementsByName("menu").length, 1); 95 assert_equals(document.getElementsByName("menu")[0], 96 document.getElementsByTagName("menu")[0]); 97 assert_equals(document.getElementsByName("details").length, 1); 98 assert_equals(document.getElementsByName("details")[0], 99 document.getElementsByTagName("details")[0]); 100 assert_equals(document.getElementsByName("datalist").length, 1); 101 assert_equals(document.getElementsByName("datalist")[0], 102 document.getElementsByTagName("datalist")[0]); 103 assert_equals(document.getElementsByName("keygen").length, 1); 104 assert_equals(document.getElementsByName("keygen")[0], 105 document.getElementsByTagName("keygen")[0]); 106 assert_equals(document.getElementsByName("output").length, 1); 107 assert_equals(document.getElementsByName("output")[0], 108 document.getElementsByTagName("output")[0]); 109 assert_equals(document.getElementsByName("ruby").length, 1); 110 assert_equals(document.getElementsByName("ruby")[0], 111 document.getElementsByTagName("ruby")[0]); 112 assert_equals(document.getElementsByName("rt").length, 1); 113 assert_equals(document.getElementsByName("rt")[0], 114 document.getElementsByTagName("rt")[0]); 115 assert_equals(document.getElementsByName("rp").length, 1); 116 assert_equals(document.getElementsByName("rp")[0], 117 document.getElementsByTagName("rp")[0]); 118 assert_equals(document.getElementsByName("source").length, 1); 119 assert_equals(document.getElementsByName("source")[0], 120 document.getElementsByTagName("source")[0]); 121 }); 39 var testDiv = document.getElementById("test"); 40 for (var i = 0; i < testDiv.children.length; i++) { 41 var name = testDiv.children[i].getAttribute("name"); 42 test(function() { 43 assert_equals(document.getElementsByName(name).length, 1); 44 assert_equals(document.getElementsByName(name)[0], 45 document.getElementsByTagName(name)[0]); 46 }, 'getElementsByName("' + name + '")'); 47 } 122 48 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/w3c-import.log
r191379 r194580 16 16 ------------------------------------------------------------------------ 17 17 List of files: 18 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml.xhtml 18 19 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.html 19 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName- case.xhtml20 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml.xhtml 20 21 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.html 21 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.xhtml22 22 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-interface.html 23 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml.xhtml 23 24 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.html 24 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-n amespace.xhtml25 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml 25 26 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html 26 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-n ewelements.xhtml27 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef-xhtml.xhtml 27 28 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef.html 28 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName- null-undef.xhtml29 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml.xhtml 29 30 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.html 30 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.xhtml31 31 /LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-same.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-03-expected.txt
r189472 r194580 1 1 2 PASS document.title and space normalization 2 PASS document.title initial value 3 PASS document.title after setting to "one space" 4 PASS document.title after setting to "two spaces" 5 PASS document.title after setting to "one\ttab" 6 PASS document.title after setting to "two\t\ttabs" 7 PASS document.title after setting to "one\nnewline" 8 PASS document.title after setting to "two\n\nnewlines" 9 PASS document.title after setting to "one\fform feed" 10 PASS document.title after setting to "two\f\fform feeds" 11 PASS document.title after setting to "one\rcarriage return" 12 PASS document.title after setting to "two\r\rcarriage returns" 3 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-03.html
r189472 r194580 8 8 <div id="log"></div> 9 9 <script> 10 function test_title(set, expected) { 11 test(function() { 12 document.title = set; 13 assert_equals(document.title, expected); 14 }, "document.title after setting to " + format_value(set)); 15 } 16 10 17 test(function() { 11 18 // Single space characters must be normalized. (WHATWG r4353) 12 19 assert_equals(document.title, "document.title and space normalization"); 20 }, "document.title initial value"); 13 21 14 document.title = "one space"; 15 assert_equals(document.title, "one space"); 16 17 document.title = "two spaces"; 18 assert_equals(document.title, "two spaces"); 19 20 document.title = "one\ttab"; 21 assert_equals(document.title, "one tab"); 22 23 document.title = "two\t\ttabs"; 24 assert_equals(document.title, "two tabs"); 25 26 document.title = "one\nnewline"; 27 assert_equals(document.title, "one newline"); 28 29 document.title = "two\n\nnewlines"; 30 assert_equals(document.title, "two newlines"); 31 32 document.title = "one\fform feed"; 33 assert_equals(document.title, "one form feed"); 34 35 document.title = "two\f\fform feeds"; 36 assert_equals(document.title, "two form feeds"); 37 38 document.title = "one\rcarriage return"; 39 assert_equals(document.title, "one carriage return"); 40 41 document.title = "two\r\rcarriage returns"; 42 assert_equals(document.title, "two carriage returns"); 43 }); 22 test_title("one space", "one space"); 23 test_title("two spaces", "two spaces"); 24 test_title("one\ttab", "one tab"); 25 test_title("two\t\ttabs", "two tabs"); 26 test_title("one\nnewline", "one newline"); 27 test_title("two\n\nnewlines", "two newlines"); 28 test_title("one\fform feed", "one form feed"); 29 test_title("two\f\fform feeds", "two form feeds"); 30 test_title("one\rcarriage return", "one carriage return"); 31 test_title("two\r\rcarriage returns", "two carriage returns"); 44 32 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-09-expected.txt
r189472 r194580 3 3 FAIL Title element in SVG document assert_equals: expected "foobar" but got "foo" 4 4 FAIL Title element not child of SVG root assert_equals: expected "" but got "foo" 5 PASS Title element not in SVG namespace 5 FAIL Title element not in SVG namespace assert_equals: expected "" but got "foo" 6 FAIL Root element not named "svg" assert_equals: expected "" but got "foo" 6 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-09.html
r189472 r194580 6 6 <script> 7 7 var SVG_NAMESPACE = "http://www.w3.org/2000/svg"; 8 var HTML_NAMESPACE = "http://www.w3.org/1999/xhtml"; 8 9 9 10 function newSVGDocument() { 10 return document.implementation.createDocument(SVG_NAMESPACE, "svg"); 11 return document.implementation.createDocument(SVG_NAMESPACE, "svg", null); 12 } 13 14 function assertIsSVGTitle(element, expectedText) { 15 assert_equals(element.namespaceURI, SVG_NAMESPACE); 16 assert_equals(element.localName, "title"); 17 assert_equals(element.textContent, expectedText); 11 18 } 12 19 … … 17 24 doc.documentElement.appendChild(child); 18 25 doc.title = "foo"; 19 var lastChild = doc.documentElement.lastChild; 20 assert_equals(lastChild.namespaceURI, SVG_NAMESPACE); 21 assert_equals(lastChild.localName, "title"); 22 assert_equals(lastChild.textContent, "foo"); 26 assertIsSVGTitle(doc.documentElement.firstChild, "foo"); 23 27 assert_equals(doc.title, "foo"); 24 28 }, "No title element in SVG document"); … … 49 53 doc.documentElement.appendChild(child); 50 54 assert_equals(doc.title, ""); 55 56 // Now test that on setting, we create a new element and don't change the 57 // existing one 58 doc.title = "bar"; 59 assert_equals(title.textContent, "foo"); 60 assertIsSVGTitle(doc.documentElement.firstChild, "bar"); 61 assert_equals(doc.title, "bar"); 51 62 }, "Title element not child of SVG root"); 52 63 53 64 test(function() { 54 65 var doc = newSVGDocument(); 55 var title = doc.createElement ("title");66 var title = doc.createElementNS(HTML_NAMESPACE, "title"); 56 67 title.textContent = "foo"; 57 68 doc.documentElement.appendChild(title); 58 69 assert_equals(doc.title, ""); 59 70 }, "Title element not in SVG namespace"); 71 72 test(function() { 73 // "SVG" != "svg" 74 var doc = document.implementation.createDocument(SVG_NAMESPACE, "SVG", null); 75 76 // Per spec, this does nothing 77 doc.title = "foo"; 78 assert_equals(doc.documentElement.childNodes.length, 0); 79 assert_equals(doc.title, ""); 80 81 // An SVG title is ignored by .title 82 doc.documentElement.appendChild(doc.createElementNS(SVG_NAMESPACE, "title")); 83 doc.documentElement.lastChild.textContent = "foo"; 84 assert_equals(doc.title, ""); 85 86 // But an HTML title is respected 87 doc.documentElement.appendChild(doc.createElementNS(HTML_NAMESPACE, "title")); 88 doc.documentElement.lastChild.textContent = "bar"; 89 assert_equals(doc.title, "bar"); 90 91 // Even if it's not a child of the root 92 var div = doc.createElementNS(HTML_NAMESPACE, "div"); 93 div.appendChild(doc.documentElement.lastChild); 94 doc.documentElement.appendChild(div); 95 assert_equals(doc.title, "bar"); 96 }, 'Root element not named "svg"'); 60 97 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/nameditem-06-expected.txt
r189472 r194580 4 4 PASS If there are two imgs, a collection should be returned. (name) 5 5 PASS If there is one img, it should not be returned (id) 6 PASS If there are two imgs, nothing should be returned. (id) 6 FAIL If there are two imgs, nothing should be returned. (id) assert_false: "test4" in document should be false expected false got true 7 7 PASS If there are two imgs, the one with a name should be returned. (name and id) 8 8 PASS If there are two imgs, the one with a name should be returned. (id and name) -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/nameditem-06.html
r189472 r194580 16 16 17 17 <img id=test4> 18 <img id=test4 >18 <img id=test4 name=""> 19 19 20 20 <img name=test5> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/resource-metadata-management/document-lastModified-01.html
r191379 r194580 26 26 var seconds = d.getSeconds() 27 27 28 test(function() { 29 var local_time = hours * 60 * 60 + minutes * 60 + seconds; 30 var m = pattern.exec(last_modified); 31 var last_modified_time = parseInt(m[1]) * 60 * 60 + parseInt(m[2]) * 60 + parseInt(m[3]); 32 assert_approx_equals(last_modified_time, local_time, 2, 33 "Hours and minutes should match local time."); 34 }, "Date returned by lastModified is in the user's local time zone."); 35 28 // Checking whether d and and new instance of Date have the same timezone. 29 // Do not run the time zone test in the case daylight saving occurs. 30 var d2 = new Date(); 31 if (d2.getTimezoneOffset() == d.getTimezoneOffset()) { 32 test(function() { 33 var local_time = hours * 60 * 60 + minutes * 60 + seconds; 34 var m = pattern.exec(last_modified); 35 var last_modified_time = parseInt(m[1]) * 60 * 60 + parseInt(m[2]) * 60 + parseInt(m[3]); 36 assert_approx_equals(last_modified_time, local_time, 2, 37 "Hours and minutes should match local time."); 38 }, "Date returned by lastModified is in the user's local time zone."); 39 } 36 40 var t = async_test("Date returned by lastModified is current after timeout."); 37 41 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/010-expected.txt
r191379 r194580 1 FAIL: Timed out waiting for notifyDone to be called 1 2 2 3 FAIL document.open replacing singleton window assert_equals: expected (undefined) undefined but got (number) 14 FAIL document.open replacing singleton location assert_equals: expected (undefined) undefined but got (number) 15 FAIL document.open replacing singleton history assert_equals: expected (undefined) undefined but got (number) 16 FAIL document.open replacing singleton navigator assert_equals: expected (undefined) undefined but got (number) 17 FAIL document.open replacing singleton applicationCache assert_equals: expected (undefined) undefined but got (number) 18 FAIL document.open replacing singleton sessionStorage assert_equals: expected (undefined) undefined but got (string) "1"9 FAIL document.open replacing singleton localStorage assert_equals: expected (undefined) undefined but got (string) "1"10 FAIL document.open replacing singleton locationbar assert_equals: expected (undefined) undefined but got (number) 111 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements-embedded.js
r189472 r194580 142 142 type: "string", 143 143 144 //URLUtils144 // HTMLHyperlinkElementUtils 145 145 href: "url", 146 146 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements-text.js
r189472 r194580 11 11 type: "string", 12 12 13 // URLUtils13 // HTMLHyperlinkElementUtils 14 14 href: "url", 15 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/w3c-import.log
r191379 r194580 38 38 /LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R.html 39 39 /LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-expected.html 40 /LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref-expected.html 41 /LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref.html 40 42 /LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN.html 41 43 /LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-expected.html … … 126 128 /LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN.html 127 129 /LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-expected.html 130 /LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref-expected.html 131 /LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref.html 128 132 /LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs.html 129 133 /LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-expected.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt
r194217 r194580 215 215 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'rev' on a non-HTMLAnchorElement object. 216 216 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'shape' on a non-HTMLAnchorElement object. 217 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'href' on a non-HTMLAnchorElement object. 218 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'origin' on a non-HTMLAnchorElement object. 219 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'protocol' on a non-HTMLAnchorElement object. 220 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'host' on a non-HTMLAnchorElement object. 221 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'hostname' on a non-HTMLAnchorElement object. 222 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'port' on a non-HTMLAnchorElement object. 223 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'pathname' on a non-HTMLAnchorElement object. 224 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'search' on a non-HTMLAnchorElement object. 225 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'hash' on a non-HTMLAnchorElement object. 217 226 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'dateTime' on a non-HTMLTimeElement object. 218 227 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'clear' on a non-HTMLBRElement object. … … 358 367 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'relList' on a non-HTMLAreaElement object. 359 368 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'noHref' on a non-HTMLAreaElement object. 369 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'href' on a non-HTMLAreaElement object. 370 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'protocol' on a non-HTMLAreaElement object. 371 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'host' on a non-HTMLAreaElement object. 372 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'hostname' on a non-HTMLAreaElement object. 373 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'port' on a non-HTMLAreaElement object. 374 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'pathname' on a non-HTMLAreaElement object. 375 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'search' on a non-HTMLAreaElement object. 376 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'hash' on a non-HTMLAreaElement object. 360 377 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'caption' on a non-HTMLTableElement object. 361 378 CONSOLE MESSAGE: line 1151: Deprecated attempt to access property 'tHead' on a non-HTMLTableElement object. … … 1555 1572 FAIL HTMLAllCollection interface: existence and properties of interface object assert_equals: class string of HTMLAllCollection expected "[object Function]" but got "[object HTMLAllCollectionConstructor]" 1556 1573 PASS HTMLAllCollection interface object length 1574 PASS HTMLAllCollection interface object name 1557 1575 FAIL HTMLAllCollection interface: existence and properties of interface prototype object assert_equals: prototype of HTMLAllCollection.prototype is not HTMLCollection.prototype expected object "[object HTMLCollectionPrototype]" but got object "[object Object]" 1558 1576 FAIL HTMLAllCollection interface: existence and properties of interface prototype object's "constructor" property assert_own_property: HTMLAllCollection.prototype does not have own property "constructor" expected property "constructor" missing … … 1575 1593 FAIL HTMLFormControlsCollection interface: existence and properties of interface object assert_equals: class string of HTMLFormControlsCollection expected "[object Function]" but got "[object HTMLFormControlsCollectionConstructor]" 1576 1594 PASS HTMLFormControlsCollection interface object length 1595 PASS HTMLFormControlsCollection interface object name 1577 1596 PASS HTMLFormControlsCollection interface: existence and properties of interface prototype object 1578 1597 FAIL HTMLFormControlsCollection interface: existence and properties of interface prototype object's "constructor" property assert_own_property: HTMLFormControlsCollection.prototype does not have own property "constructor" expected property "constructor" missing … … 1589 1608 FAIL RadioNodeList interface: existence and properties of interface object assert_equals: class string of RadioNodeList expected "[object Function]" but got "[object RadioNodeListConstructor]" 1590 1609 PASS RadioNodeList interface object length 1610 PASS RadioNodeList interface object name 1591 1611 PASS RadioNodeList interface: existence and properties of interface prototype object 1592 1612 FAIL RadioNodeList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: RadioNodeList.prototype does not have own property "constructor" expected property "constructor" missing … … 1594 1614 FAIL HTMLOptionsCollection interface: existence and properties of interface object assert_equals: class string of HTMLOptionsCollection expected "[object Function]" but got "[object HTMLOptionsCollectionConstructor]" 1595 1615 PASS HTMLOptionsCollection interface object length 1616 PASS HTMLOptionsCollection interface object name 1596 1617 PASS HTMLOptionsCollection interface: existence and properties of interface prototype object 1597 1618 FAIL HTMLOptionsCollection interface: existence and properties of interface prototype object's "constructor" property assert_own_property: HTMLOptionsCollection.prototype does not have own property "constructor" expected property "constructor" missing … … 1615 1636 FAIL HTMLPropertiesCollection interface: existence and properties of interface object assert_own_property: self does not have own property "HTMLPropertiesCollection" expected property "HTMLPropertiesCollection" missing 1616 1637 FAIL HTMLPropertiesCollection interface object length assert_own_property: self does not have own property "HTMLPropertiesCollection" expected property "HTMLPropertiesCollection" missing 1638 FAIL HTMLPropertiesCollection interface object name assert_own_property: self does not have own property "HTMLPropertiesCollection" expected property "HTMLPropertiesCollection" missing 1617 1639 FAIL HTMLPropertiesCollection interface: existence and properties of interface prototype object assert_own_property: self does not have own property "HTMLPropertiesCollection" expected property "HTMLPropertiesCollection" missing 1618 1640 FAIL HTMLPropertiesCollection interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "HTMLPropertiesCollection" expected property "HTMLPropertiesCollection" missing … … 1631 1653 FAIL PropertyNodeList interface: existence and properties of interface object assert_own_property: self does not have own property "PropertyNodeList" expected property "PropertyNodeList" missing 1632 1654 FAIL PropertyNodeList interface object length assert_own_property: self does not have own property "PropertyNodeList" expected property "PropertyNodeList" missing 1655 FAIL PropertyNodeList interface object name assert_own_property: self does not have own property "PropertyNodeList" expected property "PropertyNodeList" missing 1633 1656 FAIL PropertyNodeList interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PropertyNodeList" expected property "PropertyNodeList" missing 1634 1657 FAIL PropertyNodeList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PropertyNodeList" expected property "PropertyNodeList" missing … … 1636 1659 FAIL DOMStringMap interface: existence and properties of interface object assert_equals: class string of DOMStringMap expected "[object Function]" but got "[object DOMStringMapConstructor]" 1637 1660 PASS DOMStringMap interface object length 1661 PASS DOMStringMap interface object name 1638 1662 PASS DOMStringMap interface: existence and properties of interface prototype object 1639 1663 FAIL DOMStringMap interface: existence and properties of interface prototype object's "constructor" property assert_own_property: DOMStringMap.prototype does not have own property "constructor" expected property "constructor" missing … … 1642 1666 FAIL DOMElementMap interface: existence and properties of interface object assert_own_property: self does not have own property "DOMElementMap" expected property "DOMElementMap" missing 1643 1667 FAIL DOMElementMap interface object length assert_own_property: self does not have own property "DOMElementMap" expected property "DOMElementMap" missing 1668 FAIL DOMElementMap interface object name assert_own_property: self does not have own property "DOMElementMap" expected property "DOMElementMap" missing 1644 1669 FAIL DOMElementMap interface: existence and properties of interface prototype object assert_own_property: self does not have own property "DOMElementMap" expected property "DOMElementMap" missing 1645 1670 FAIL DOMElementMap interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "DOMElementMap" expected property "DOMElementMap" missing … … 1648 1673 FAIL HTMLElement interface: existence and properties of interface object assert_equals: class string of HTMLElement expected "[object Function]" but got "[object HTMLElementConstructor]" 1649 1674 PASS HTMLElement interface object length 1675 PASS HTMLElement interface object name 1650 1676 PASS HTMLElement interface: existence and properties of interface prototype object 1651 1677 FAIL HTMLElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLElement.prototype.constructor is not writable expected true got false … … 2221 2247 FAIL HTMLUnknownElement interface: existence and properties of interface object assert_equals: class string of HTMLUnknownElement expected "[object Function]" but got "[object HTMLUnknownElementConstructor]" 2222 2248 PASS HTMLUnknownElement interface object length 2249 PASS HTMLUnknownElement interface object name 2223 2250 PASS HTMLUnknownElement interface: existence and properties of interface prototype object 2224 2251 FAIL HTMLUnknownElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLUnknownElement.prototype.constructor is not writable expected true got false … … 2247 2274 FAIL HTMLHtmlElement interface: existence and properties of interface object assert_equals: class string of HTMLHtmlElement expected "[object Function]" but got "[object HTMLHtmlElementConstructor]" 2248 2275 PASS HTMLHtmlElement interface object length 2276 PASS HTMLHtmlElement interface object name 2249 2277 PASS HTMLHtmlElement interface: existence and properties of interface prototype object 2250 2278 FAIL HTMLHtmlElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLHtmlElement.prototype.constructor is not writable expected true got false … … 2257 2285 FAIL HTMLHeadElement interface: existence and properties of interface object assert_equals: class string of HTMLHeadElement expected "[object Function]" but got "[object HTMLHeadElementConstructor]" 2258 2286 PASS HTMLHeadElement interface object length 2287 PASS HTMLHeadElement interface object name 2259 2288 PASS HTMLHeadElement interface: existence and properties of interface prototype object 2260 2289 FAIL HTMLHeadElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLHeadElement.prototype.constructor is not writable expected true got false … … 2263 2292 FAIL HTMLTitleElement interface: existence and properties of interface object assert_equals: class string of HTMLTitleElement expected "[object Function]" but got "[object HTMLTitleElementConstructor]" 2264 2293 PASS HTMLTitleElement interface object length 2294 PASS HTMLTitleElement interface object name 2265 2295 PASS HTMLTitleElement interface: existence and properties of interface prototype object 2266 2296 FAIL HTMLTitleElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTitleElement.prototype.constructor is not writable expected true got false … … 2273 2303 FAIL HTMLBaseElement interface: existence and properties of interface object assert_equals: class string of HTMLBaseElement expected "[object Function]" but got "[object HTMLBaseElementConstructor]" 2274 2304 PASS HTMLBaseElement interface object length 2305 PASS HTMLBaseElement interface object name 2275 2306 PASS HTMLBaseElement interface: existence and properties of interface prototype object 2276 2307 FAIL HTMLBaseElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLBaseElement.prototype.constructor is not writable expected true got false … … 2287 2318 FAIL HTMLLinkElement interface: existence and properties of interface object assert_equals: class string of HTMLLinkElement expected "[object Function]" but got "[object HTMLLinkElementConstructor]" 2288 2319 PASS HTMLLinkElement interface object length 2320 PASS HTMLLinkElement interface object name 2289 2321 PASS HTMLLinkElement interface: existence and properties of interface prototype object 2290 2322 FAIL HTMLLinkElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLLinkElement.prototype.constructor is not writable expected true got false … … 2336 2368 FAIL HTMLMetaElement interface: existence and properties of interface object assert_equals: class string of HTMLMetaElement expected "[object Function]" but got "[object HTMLMetaElementConstructor]" 2337 2369 PASS HTMLMetaElement interface object length 2370 PASS HTMLMetaElement interface object name 2338 2371 PASS HTMLMetaElement interface: existence and properties of interface prototype object 2339 2372 FAIL HTMLMetaElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLMetaElement.prototype.constructor is not writable expected true got false … … 2358 2391 FAIL HTMLStyleElement interface: existence and properties of interface object assert_equals: class string of HTMLStyleElement expected "[object Function]" but got "[object HTMLStyleElementConstructor]" 2359 2392 PASS HTMLStyleElement interface object length 2393 PASS HTMLStyleElement interface object name 2360 2394 PASS HTMLStyleElement interface: existence and properties of interface prototype object 2361 2395 FAIL HTMLStyleElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLStyleElement.prototype.constructor is not writable expected true got false … … 2375 2409 FAIL HTMLBodyElement interface: existence and properties of interface object assert_equals: class string of HTMLBodyElement expected "[object Function]" but got "[object HTMLBodyElementConstructor]" 2376 2410 PASS HTMLBodyElement interface object length 2411 PASS HTMLBodyElement interface object name 2377 2412 PASS HTMLBodyElement interface: existence and properties of interface prototype object 2378 2413 FAIL HTMLBodyElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLBodyElement.prototype.constructor is not writable expected true got false … … 2451 2486 FAIL HTMLHeadingElement interface: existence and properties of interface object assert_equals: class string of HTMLHeadingElement expected "[object Function]" but got "[object HTMLHeadingElementConstructor]" 2452 2487 PASS HTMLHeadingElement interface object length 2488 PASS HTMLHeadingElement interface object name 2453 2489 PASS HTMLHeadingElement interface: existence and properties of interface prototype object 2454 2490 FAIL HTMLHeadingElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLHeadingElement.prototype.constructor is not writable expected true got false … … 2476 2512 FAIL HTMLParagraphElement interface: existence and properties of interface object assert_equals: class string of HTMLParagraphElement expected "[object Function]" but got "[object HTMLParagraphElementConstructor]" 2477 2513 PASS HTMLParagraphElement interface object length 2514 PASS HTMLParagraphElement interface object name 2478 2515 PASS HTMLParagraphElement interface: existence and properties of interface prototype object 2479 2516 FAIL HTMLParagraphElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLParagraphElement.prototype.constructor is not writable expected true got false … … 2486 2523 FAIL HTMLHRElement interface: existence and properties of interface object assert_equals: class string of HTMLHRElement expected "[object Function]" but got "[object HTMLHRElementConstructor]" 2487 2524 PASS HTMLHRElement interface object length 2525 PASS HTMLHRElement interface object name 2488 2526 PASS HTMLHRElement interface: existence and properties of interface prototype object 2489 2527 FAIL HTMLHRElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLHRElement.prototype.constructor is not writable expected true got false … … 2510 2548 FAIL HTMLPreElement interface: existence and properties of interface object assert_equals: class string of HTMLPreElement expected "[object Function]" but got "[object HTMLPreElementConstructor]" 2511 2549 PASS HTMLPreElement interface object length 2550 PASS HTMLPreElement interface object name 2512 2551 PASS HTMLPreElement interface: existence and properties of interface prototype object 2513 2552 FAIL HTMLPreElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLPreElement.prototype.constructor is not writable expected true got false … … 2529 2568 FAIL HTMLQuoteElement interface: existence and properties of interface object assert_equals: class string of HTMLQuoteElement expected "[object Function]" but got "[object HTMLQuoteElementConstructor]" 2530 2569 PASS HTMLQuoteElement interface object length 2570 PASS HTMLQuoteElement interface object name 2531 2571 PASS HTMLQuoteElement interface: existence and properties of interface prototype object 2532 2572 FAIL HTMLQuoteElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLQuoteElement.prototype.constructor is not writable expected true got false … … 2542 2582 FAIL HTMLOListElement interface: existence and properties of interface object assert_equals: class string of HTMLOListElement expected "[object Function]" but got "[object HTMLOListElementConstructor]" 2543 2583 PASS HTMLOListElement interface object length 2584 PASS HTMLOListElement interface object name 2544 2585 PASS HTMLOListElement interface: existence and properties of interface prototype object 2545 2586 FAIL HTMLOListElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLOListElement.prototype.constructor is not writable expected true got false … … 2558 2599 FAIL HTMLUListElement interface: existence and properties of interface object assert_equals: class string of HTMLUListElement expected "[object Function]" but got "[object HTMLUListElementConstructor]" 2559 2600 PASS HTMLUListElement interface object length 2601 PASS HTMLUListElement interface object name 2560 2602 PASS HTMLUListElement interface: existence and properties of interface prototype object 2561 2603 FAIL HTMLUListElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLUListElement.prototype.constructor is not writable expected true got false … … 2568 2610 FAIL HTMLLIElement interface: existence and properties of interface object assert_equals: class string of HTMLLIElement expected "[object Function]" but got "[object HTMLLIElementConstructor]" 2569 2611 PASS HTMLLIElement interface object length 2612 PASS HTMLLIElement interface object name 2570 2613 PASS HTMLLIElement interface: existence and properties of interface prototype object 2571 2614 FAIL HTMLLIElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLLIElement.prototype.constructor is not writable expected true got false … … 2582 2625 FAIL HTMLDListElement interface: existence and properties of interface object assert_equals: class string of HTMLDListElement expected "[object Function]" but got "[object HTMLDListElementConstructor]" 2583 2626 PASS HTMLDListElement interface object length 2627 PASS HTMLDListElement interface object name 2584 2628 PASS HTMLDListElement interface: existence and properties of interface prototype object 2585 2629 FAIL HTMLDListElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLDListElement.prototype.constructor is not writable expected true got false … … 2589 2633 FAIL HTMLDivElement interface: existence and properties of interface object assert_equals: class string of HTMLDivElement expected "[object Function]" but got "[object HTMLDivElementConstructor]" 2590 2634 PASS HTMLDivElement interface object length 2635 PASS HTMLDivElement interface object name 2591 2636 PASS HTMLDivElement interface: existence and properties of interface prototype object 2592 2637 FAIL HTMLDivElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLDivElement.prototype.constructor is not writable expected true got false … … 2599 2644 FAIL HTMLAnchorElement interface: existence and properties of interface object assert_equals: class string of HTMLAnchorElement expected "[object Function]" but got "[object HTMLAnchorElementConstructor]" 2600 2645 PASS HTMLAnchorElement interface object length 2646 PASS HTMLAnchorElement interface object name 2601 2647 PASS HTMLAnchorElement interface: existence and properties of interface prototype object 2602 2648 FAIL HTMLAnchorElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLAnchorElement.prototype.constructor is not writable expected true got false … … 2636 2682 }" did not throw 2637 2683 FAIL HTMLAnchorElement interface: attribute shape assert_throws: getting property on prototype object must throw TypeError function "function () { 2684 [native code] 2685 }" did not throw 2686 FAIL HTMLAnchorElement interface: attribute href assert_throws: getting property on prototype object must throw TypeError function "function () { 2687 [native code] 2688 }" did not throw 2689 FAIL HTMLAnchorElement interface: attribute origin assert_throws: getting property on prototype object must throw TypeError function "function () { 2690 [native code] 2691 }" did not throw 2692 FAIL HTMLAnchorElement interface: attribute protocol assert_throws: getting property on prototype object must throw TypeError function "function () { 2693 [native code] 2694 }" did not throw 2695 FAIL HTMLAnchorElement interface: attribute username assert_true: The prototype object must have a property "username" expected true got false 2696 FAIL HTMLAnchorElement interface: attribute password assert_true: The prototype object must have a property "password" expected true got false 2697 FAIL HTMLAnchorElement interface: attribute host assert_throws: getting property on prototype object must throw TypeError function "function () { 2698 [native code] 2699 }" did not throw 2700 FAIL HTMLAnchorElement interface: attribute hostname assert_throws: getting property on prototype object must throw TypeError function "function () { 2701 [native code] 2702 }" did not throw 2703 FAIL HTMLAnchorElement interface: attribute port assert_throws: getting property on prototype object must throw TypeError function "function () { 2704 [native code] 2705 }" did not throw 2706 FAIL HTMLAnchorElement interface: attribute pathname assert_throws: getting property on prototype object must throw TypeError function "function () { 2707 [native code] 2708 }" did not throw 2709 FAIL HTMLAnchorElement interface: attribute search assert_throws: getting property on prototype object must throw TypeError function "function () { 2710 [native code] 2711 }" did not throw 2712 FAIL HTMLAnchorElement interface: attribute hash assert_throws: getting property on prototype object must throw TypeError function "function () { 2638 2713 [native code] 2639 2714 }" did not throw … … 2653 2728 PASS HTMLAnchorElement interface: document.createElement("a") must inherit property "rev" with the proper type (11) 2654 2729 PASS HTMLAnchorElement interface: document.createElement("a") must inherit property "shape" with the proper type (12) 2730 PASS HTMLAnchorElement interface: document.createElement("a") must inherit property "href" with the proper type (13) 2731 PASS HTMLAnchorElement interface: document.createElement("a") must inherit property "origin" with the proper type (14) 2732 PASS HTMLAnchorElement interface: document.createElement("a") must inherit property "protocol" with the proper type (15) 2733 FAIL HTMLAnchorElement interface: document.createElement("a") must inherit property "username" with the proper type (16) assert_inherits: property "username" not found in prototype chain 2734 FAIL HTMLAnchorElement interface: document.createElement("a") must inherit property "password" with the proper type (17) assert_inherits: property "password" not found in prototype chain 2735 PASS HTMLAnchorElement interface: document.createElement("a") must inherit property "host" with the proper type (18) 2736 PASS HTMLAnchorElement interface: document.createElement("a") must inherit property "hostname" with the proper type (19) 2737 PASS HTMLAnchorElement interface: document.createElement("a") must inherit property "port" with the proper type (20) 2738 PASS HTMLAnchorElement interface: document.createElement("a") must inherit property "pathname" with the proper type (21) 2739 PASS HTMLAnchorElement interface: document.createElement("a") must inherit property "search" with the proper type (22) 2740 PASS HTMLAnchorElement interface: document.createElement("a") must inherit property "hash" with the proper type (23) 2655 2741 FAIL HTMLDataElement interface: existence and properties of interface object assert_own_property: self does not have own property "HTMLDataElement" expected property "HTMLDataElement" missing 2656 2742 FAIL HTMLDataElement interface object length assert_own_property: self does not have own property "HTMLDataElement" expected property "HTMLDataElement" missing 2743 FAIL HTMLDataElement interface object name assert_own_property: self does not have own property "HTMLDataElement" expected property "HTMLDataElement" missing 2657 2744 FAIL HTMLDataElement interface: existence and properties of interface prototype object assert_own_property: self does not have own property "HTMLDataElement" expected property "HTMLDataElement" missing 2658 2745 FAIL HTMLDataElement interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "HTMLDataElement" expected property "HTMLDataElement" missing … … 2663 2750 FAIL HTMLTimeElement interface: existence and properties of interface object assert_equals: class string of HTMLTimeElement expected "[object Function]" but got "[object HTMLTimeElementConstructor]" 2664 2751 PASS HTMLTimeElement interface object length 2752 PASS HTMLTimeElement interface object name 2665 2753 PASS HTMLTimeElement interface: existence and properties of interface prototype object 2666 2754 FAIL HTMLTimeElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTimeElement.prototype.constructor is not writable expected true got false … … 2673 2761 FAIL HTMLSpanElement interface: existence and properties of interface object assert_equals: class string of HTMLSpanElement expected "[object Function]" but got "[object HTMLSpanElementConstructor]" 2674 2762 PASS HTMLSpanElement interface object length 2763 PASS HTMLSpanElement interface object name 2675 2764 PASS HTMLSpanElement interface: existence and properties of interface prototype object 2676 2765 FAIL HTMLSpanElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLSpanElement.prototype.constructor is not writable expected true got false … … 2679 2768 FAIL HTMLBRElement interface: existence and properties of interface object assert_equals: class string of HTMLBRElement expected "[object Function]" but got "[object HTMLBRElementConstructor]" 2680 2769 PASS HTMLBRElement interface object length 2770 PASS HTMLBRElement interface object name 2681 2771 PASS HTMLBRElement interface: existence and properties of interface prototype object 2682 2772 FAIL HTMLBRElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLBRElement.prototype.constructor is not writable expected true got false … … 2689 2779 FAIL HTMLModElement interface: existence and properties of interface object assert_equals: class string of HTMLModElement expected "[object Function]" but got "[object HTMLModElementConstructor]" 2690 2780 PASS HTMLModElement interface object length 2781 PASS HTMLModElement interface object name 2691 2782 PASS HTMLModElement interface: existence and properties of interface prototype object 2692 2783 FAIL HTMLModElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLModElement.prototype.constructor is not writable expected true got false … … 2707 2798 FAIL HTMLPictureElement interface: existence and properties of interface object assert_equals: class string of HTMLPictureElement expected "[object Function]" but got "[object HTMLPictureElementConstructor]" 2708 2799 PASS HTMLPictureElement interface object length 2800 PASS HTMLPictureElement interface object name 2709 2801 PASS HTMLPictureElement interface: existence and properties of interface prototype object 2710 2802 FAIL HTMLPictureElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLPictureElement.prototype.constructor is not writable expected true got false … … 2713 2805 FAIL HTMLImageElement interface: existence and properties of interface object assert_equals: class string of HTMLImageElement expected "[object Function]" but got "[object HTMLImageElementConstructor]" 2714 2806 PASS HTMLImageElement interface object length 2807 PASS HTMLImageElement interface object name 2715 2808 PASS HTMLImageElement interface: existence and properties of interface prototype object 2716 2809 FAIL HTMLImageElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLImageElement.prototype.constructor is not writable expected true got false … … 2821 2914 FAIL HTMLIFrameElement interface: existence and properties of interface object assert_equals: class string of HTMLIFrameElement expected "[object Function]" but got "[object HTMLIFrameElementConstructor]" 2822 2915 PASS HTMLIFrameElement interface object length 2916 PASS HTMLIFrameElement interface object name 2823 2917 PASS HTMLIFrameElement interface: existence and properties of interface prototype object 2824 2918 FAIL HTMLIFrameElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLIFrameElement.prototype.constructor is not writable expected true got false … … 2867 2961 FAIL HTMLEmbedElement interface: existence and properties of interface object assert_equals: class string of HTMLEmbedElement expected "[object Function]" but got "[object HTMLEmbedElementConstructor]" 2868 2962 PASS HTMLEmbedElement interface object length 2963 PASS HTMLEmbedElement interface object name 2869 2964 PASS HTMLEmbedElement interface: existence and properties of interface prototype object 2870 2965 FAIL HTMLEmbedElement interface: existence and properties of interface prototype object's "constructor" property assert_own_property: HTMLEmbedElement.prototype does not have own property "constructor" expected property "constructor" missing … … 2899 2994 FAIL HTMLObjectElement interface: existence and properties of interface object assert_equals: class string of HTMLObjectElement expected "[object Function]" but got "[object HTMLObjectElementConstructor]" 2900 2995 PASS HTMLObjectElement interface object length 2996 PASS HTMLObjectElement interface object name 2901 2997 PASS HTMLObjectElement interface: existence and properties of interface prototype object 2902 2998 FAIL HTMLObjectElement interface: existence and properties of interface prototype object's "constructor" property assert_own_property: HTMLObjectElement.prototype does not have own property "constructor" expected property "constructor" missing … … 2998 3094 FAIL HTMLParamElement interface: existence and properties of interface object assert_equals: class string of HTMLParamElement expected "[object Function]" but got "[object HTMLParamElementConstructor]" 2999 3095 PASS HTMLParamElement interface object length 3096 PASS HTMLParamElement interface object name 3000 3097 PASS HTMLParamElement interface: existence and properties of interface prototype object 3001 3098 FAIL HTMLParamElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLParamElement.prototype.constructor is not writable expected true got false … … 3020 3117 FAIL HTMLVideoElement interface: existence and properties of interface object assert_equals: class string of HTMLVideoElement expected "[object Function]" but got "[object HTMLVideoElementConstructor]" 3021 3118 PASS HTMLVideoElement interface object length 3119 PASS HTMLVideoElement interface object name 3022 3120 PASS HTMLVideoElement interface: existence and properties of interface prototype object 3023 3121 FAIL HTMLVideoElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLVideoElement.prototype.constructor is not writable expected true got false … … 3095 3193 FAIL HTMLAudioElement interface: existence and properties of interface object assert_equals: class string of HTMLAudioElement expected "[object Function]" but got "[object HTMLAudioElementConstructor]" 3096 3194 PASS HTMLAudioElement interface object length 3195 PASS HTMLAudioElement interface object name 3097 3196 PASS HTMLAudioElement interface: existence and properties of interface prototype object 3098 3197 FAIL HTMLAudioElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLAudioElement.prototype.constructor is not writable expected true got false … … 3201 3300 FAIL HTMLSourceElement interface: existence and properties of interface object assert_equals: class string of HTMLSourceElement expected "[object Function]" but got "[object HTMLSourceElementConstructor]" 3202 3301 PASS HTMLSourceElement interface object length 3302 PASS HTMLSourceElement interface object name 3203 3303 PASS HTMLSourceElement interface: existence and properties of interface prototype object 3204 3304 FAIL HTMLSourceElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLSourceElement.prototype.constructor is not writable expected true got false … … 3223 3323 FAIL HTMLTrackElement interface: existence and properties of interface object assert_equals: class string of HTMLTrackElement expected "[object Function]" but got "[object HTMLTrackElementConstructor]" 3224 3324 PASS HTMLTrackElement interface object length 3325 PASS HTMLTrackElement interface object name 3225 3326 PASS HTMLTrackElement interface: existence and properties of interface prototype object 3226 3327 FAIL HTMLTrackElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTrackElement.prototype.constructor is not writable expected true got false … … 3269 3370 FAIL HTMLMediaElement interface: existence and properties of interface object assert_equals: class string of HTMLMediaElement expected "[object Function]" but got "[object HTMLMediaElementConstructor]" 3270 3371 PASS HTMLMediaElement interface object length 3372 PASS HTMLMediaElement interface object name 3271 3373 PASS HTMLMediaElement interface: existence and properties of interface prototype object 3272 3374 FAIL HTMLMediaElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLMediaElement.prototype.constructor is not writable expected true got false … … 3378 3480 FAIL MediaError interface: existence and properties of interface object assert_equals: class string of MediaError expected "[object Function]" but got "[object MediaErrorConstructor]" 3379 3481 PASS MediaError interface object length 3482 PASS MediaError interface object name 3380 3483 PASS MediaError interface: existence and properties of interface prototype object 3381 3484 FAIL MediaError interface: existence and properties of interface prototype object's "constructor" property assert_true: MediaError.prototype.constructor is not writable expected true got false … … 3398 3501 FAIL AudioTrackList interface: existence and properties of interface object assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing 3399 3502 FAIL AudioTrackList interface object length assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing 3503 FAIL AudioTrackList interface object name assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing 3400 3504 FAIL AudioTrackList interface: existence and properties of interface prototype object assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing 3401 3505 FAIL AudioTrackList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "AudioTrackList" expected property "AudioTrackList" missing … … 3407 3511 FAIL AudioTrack interface: existence and properties of interface object assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing 3408 3512 FAIL AudioTrack interface object length assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing 3513 FAIL AudioTrack interface object name assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing 3409 3514 FAIL AudioTrack interface: existence and properties of interface prototype object assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing 3410 3515 FAIL AudioTrack interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "AudioTrack" expected property "AudioTrack" missing … … 3416 3521 FAIL VideoTrackList interface: existence and properties of interface object assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing 3417 3522 FAIL VideoTrackList interface object length assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing 3523 FAIL VideoTrackList interface object name assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing 3418 3524 FAIL VideoTrackList interface: existence and properties of interface prototype object assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing 3419 3525 FAIL VideoTrackList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "VideoTrackList" expected property "VideoTrackList" missing … … 3426 3532 FAIL VideoTrack interface: existence and properties of interface object assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing 3427 3533 FAIL VideoTrack interface object length assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing 3534 FAIL VideoTrack interface object name assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing 3428 3535 FAIL VideoTrack interface: existence and properties of interface prototype object assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing 3429 3536 FAIL VideoTrack interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "VideoTrack" expected property "VideoTrack" missing … … 3435 3542 FAIL MediaController interface: existence and properties of interface object assert_equals: class string of MediaController expected "[object Function]" but got "[object MediaControllerConstructor]" 3436 3543 PASS MediaController interface object length 3544 PASS MediaController interface object name 3437 3545 FAIL MediaController interface: existence and properties of interface prototype object assert_equals: prototype of MediaController.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 3438 3546 FAIL MediaController interface: existence and properties of interface prototype object's "constructor" property assert_true: MediaController.prototype.constructor is not writable expected true got false … … 3531 3639 FAIL TextTrackList interface: existence and properties of interface object assert_equals: class string of TextTrackList expected "[object Function]" but got "[object TextTrackListConstructor]" 3532 3640 PASS TextTrackList interface object length 3641 PASS TextTrackList interface object name 3533 3642 FAIL TextTrackList interface: existence and properties of interface prototype object assert_equals: prototype of TextTrackList.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 3534 3643 FAIL TextTrackList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: TextTrackList.prototype does not have own property "constructor" expected property "constructor" missing … … 3558 3667 FAIL TextTrack interface: existence and properties of interface object assert_equals: class string of TextTrack expected "[object Function]" but got "[object TextTrackConstructor]" 3559 3668 PASS TextTrack interface object length 3669 PASS TextTrack interface object name 3560 3670 FAIL TextTrack interface: existence and properties of interface prototype object assert_equals: prototype of TextTrack.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 3561 3671 FAIL TextTrack interface: existence and properties of interface prototype object's "constructor" property assert_true: TextTrack.prototype.constructor is not writable expected true got false … … 3612 3722 FAIL TextTrackCueList interface: existence and properties of interface object assert_equals: class string of TextTrackCueList expected "[object Function]" but got "[object TextTrackCueListConstructor]" 3613 3723 PASS TextTrackCueList interface object length 3724 PASS TextTrackCueList interface object name 3614 3725 PASS TextTrackCueList interface: existence and properties of interface prototype object 3615 3726 FAIL TextTrackCueList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: TextTrackCueList.prototype does not have own property "constructor" expected property "constructor" missing … … 3623 3734 FAIL TextTrackCue interface: existence and properties of interface object assert_equals: class string of TextTrackCue expected "[object Function]" but got "[object TextTrackCueConstructor]" 3624 3735 FAIL TextTrackCue interface object length assert_equals: wrong value for TextTrackCue.length expected 0 but got 3 3736 PASS TextTrackCue interface object name 3625 3737 FAIL TextTrackCue interface: existence and properties of interface prototype object assert_equals: prototype of TextTrackCue.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 3626 3738 FAIL TextTrackCue interface: existence and properties of interface prototype object's "constructor" property assert_true: TextTrackCue.prototype.constructor is not writable expected true got false … … 3648 3760 FAIL TimeRanges interface: existence and properties of interface object assert_equals: class string of TimeRanges expected "[object Function]" but got "[object TimeRangesConstructor]" 3649 3761 PASS TimeRanges interface object length 3762 PASS TimeRanges interface object name 3650 3763 PASS TimeRanges interface: existence and properties of interface prototype object 3651 3764 FAIL TimeRanges interface: existence and properties of interface prototype object's "constructor" property assert_true: TimeRanges.prototype.constructor is not writable expected true got false … … 3662 3775 FAIL TrackEvent interface: existence and properties of interface object assert_equals: class string of TrackEvent expected "[object Function]" but got "[object TrackEventConstructor]" 3663 3776 PASS TrackEvent interface object length 3777 PASS TrackEvent interface object name 3664 3778 PASS TrackEvent interface: existence and properties of interface prototype object 3665 3779 FAIL TrackEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: TrackEvent.prototype.constructor is not writable expected true got false … … 3688 3802 FAIL HTMLMapElement interface: existence and properties of interface object assert_equals: class string of HTMLMapElement expected "[object Function]" but got "[object HTMLMapElementConstructor]" 3689 3803 PASS HTMLMapElement interface object length 3804 PASS HTMLMapElement interface object name 3690 3805 PASS HTMLMapElement interface: existence and properties of interface prototype object 3691 3806 FAIL HTMLMapElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLMapElement.prototype.constructor is not writable expected true got false … … 3704 3819 FAIL HTMLAreaElement interface: existence and properties of interface object assert_equals: class string of HTMLAreaElement expected "[object Function]" but got "[object HTMLAreaElementConstructor]" 3705 3820 PASS HTMLAreaElement interface object length 3821 PASS HTMLAreaElement interface object name 3706 3822 PASS HTMLAreaElement interface: existence and properties of interface prototype object 3707 3823 FAIL HTMLAreaElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLAreaElement.prototype.constructor is not writable expected true got false … … 3728 3844 [native code] 3729 3845 }" did not throw 3730 FAIL HTMLAreaElement interface: attribute hreflang assert_true: The prototype object must have a property "hreflang" expected true got false3731 FAIL HTMLAreaElement interface: attribute type assert_true: The prototype object must have a property "type" expected true got false3732 3846 FAIL HTMLAreaElement interface: attribute noHref assert_throws: getting property on prototype object must throw TypeError function "function () { 3847 [native code] 3848 }" did not throw 3849 FAIL HTMLAreaElement interface: attribute href assert_throws: getting property on prototype object must throw TypeError function "function () { 3850 [native code] 3851 }" did not throw 3852 FAIL HTMLAreaElement interface: attribute origin assert_true: The prototype object must have a property "origin" expected true got false 3853 FAIL HTMLAreaElement interface: attribute protocol assert_throws: getting property on prototype object must throw TypeError function "function () { 3854 [native code] 3855 }" did not throw 3856 FAIL HTMLAreaElement interface: attribute username assert_true: The prototype object must have a property "username" expected true got false 3857 FAIL HTMLAreaElement interface: attribute password assert_true: The prototype object must have a property "password" expected true got false 3858 FAIL HTMLAreaElement interface: attribute host assert_throws: getting property on prototype object must throw TypeError function "function () { 3859 [native code] 3860 }" did not throw 3861 FAIL HTMLAreaElement interface: attribute hostname assert_throws: getting property on prototype object must throw TypeError function "function () { 3862 [native code] 3863 }" did not throw 3864 FAIL HTMLAreaElement interface: attribute port assert_throws: getting property on prototype object must throw TypeError function "function () { 3865 [native code] 3866 }" did not throw 3867 FAIL HTMLAreaElement interface: attribute pathname assert_throws: getting property on prototype object must throw TypeError function "function () { 3868 [native code] 3869 }" did not throw 3870 FAIL HTMLAreaElement interface: attribute search assert_throws: getting property on prototype object must throw TypeError function "function () { 3871 [native code] 3872 }" did not throw 3873 FAIL HTMLAreaElement interface: attribute hash assert_throws: getting property on prototype object must throw TypeError function "function () { 3733 3874 [native code] 3734 3875 }" did not throw … … 3743 3884 PASS HTMLAreaElement interface: document.createElement("area") must inherit property "rel" with the proper type (6) 3744 3885 PASS HTMLAreaElement interface: document.createElement("area") must inherit property "relList" with the proper type (7) 3745 FAIL HTMLAreaElement interface: document.createElement("area") must inherit property "hreflang" with the proper type (8) assert_inherits: property "hreflang" not found in prototype chain 3746 FAIL HTMLAreaElement interface: document.createElement("area") must inherit property "type" with the proper type (9) assert_inherits: property "type" not found in prototype chain 3747 PASS HTMLAreaElement interface: document.createElement("area") must inherit property "noHref" with the proper type (10) 3886 PASS HTMLAreaElement interface: document.createElement("area") must inherit property "noHref" with the proper type (8) 3887 PASS HTMLAreaElement interface: document.createElement("area") must inherit property "href" with the proper type (9) 3888 FAIL HTMLAreaElement interface: document.createElement("area") must inherit property "origin" with the proper type (10) assert_inherits: property "origin" not found in prototype chain 3889 PASS HTMLAreaElement interface: document.createElement("area") must inherit property "protocol" with the proper type (11) 3890 FAIL HTMLAreaElement interface: document.createElement("area") must inherit property "username" with the proper type (12) assert_inherits: property "username" not found in prototype chain 3891 FAIL HTMLAreaElement interface: document.createElement("area") must inherit property "password" with the proper type (13) assert_inherits: property "password" not found in prototype chain 3892 PASS HTMLAreaElement interface: document.createElement("area") must inherit property "host" with the proper type (14) 3893 PASS HTMLAreaElement interface: document.createElement("area") must inherit property "hostname" with the proper type (15) 3894 PASS HTMLAreaElement interface: document.createElement("area") must inherit property "port" with the proper type (16) 3895 PASS HTMLAreaElement interface: document.createElement("area") must inherit property "pathname" with the proper type (17) 3896 PASS HTMLAreaElement interface: document.createElement("area") must inherit property "search" with the proper type (18) 3897 PASS HTMLAreaElement interface: document.createElement("area") must inherit property "hash" with the proper type (19) 3748 3898 FAIL HTMLTableElement interface: existence and properties of interface object assert_equals: class string of HTMLTableElement expected "[object Function]" but got "[object HTMLTableElementConstructor]" 3749 3899 PASS HTMLTableElement interface object length 3900 PASS HTMLTableElement interface object name 3750 3901 PASS HTMLTableElement interface: existence and properties of interface prototype object 3751 3902 FAIL HTMLTableElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableElement.prototype.constructor is not writable expected true got false … … 3836 3987 FAIL HTMLTableCaptionElement interface: existence and properties of interface object assert_equals: class string of HTMLTableCaptionElement expected "[object Function]" but got "[object HTMLTableCaptionElementConstructor]" 3837 3988 PASS HTMLTableCaptionElement interface object length 3989 PASS HTMLTableCaptionElement interface object name 3838 3990 PASS HTMLTableCaptionElement interface: existence and properties of interface prototype object 3839 3991 FAIL HTMLTableCaptionElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableCaptionElement.prototype.constructor is not writable expected true got false … … 3846 3998 FAIL HTMLTableColElement interface: existence and properties of interface object assert_equals: class string of HTMLTableColElement expected "[object Function]" but got "[object HTMLTableColElementConstructor]" 3847 3999 PASS HTMLTableColElement interface object length 4000 PASS HTMLTableColElement interface object name 3848 4001 PASS HTMLTableColElement interface: existence and properties of interface prototype object 3849 4002 FAIL HTMLTableColElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableColElement.prototype.constructor is not writable expected true got false … … 3884 4037 FAIL HTMLTableSectionElement interface: existence and properties of interface object assert_equals: class string of HTMLTableSectionElement expected "[object Function]" but got "[object HTMLTableSectionElementConstructor]" 3885 4038 PASS HTMLTableSectionElement interface object length 4039 PASS HTMLTableSectionElement interface object name 3886 4040 PASS HTMLTableSectionElement interface: existence and properties of interface prototype object 3887 4041 FAIL HTMLTableSectionElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableSectionElement.prototype.constructor is not writable expected true got false … … 3944 4098 FAIL HTMLTableRowElement interface: existence and properties of interface object assert_equals: class string of HTMLTableRowElement expected "[object Function]" but got "[object HTMLTableRowElementConstructor]" 3945 4099 PASS HTMLTableRowElement interface object length 4100 PASS HTMLTableRowElement interface object name 3946 4101 PASS HTMLTableRowElement interface: existence and properties of interface prototype object 3947 4102 FAIL HTMLTableRowElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableRowElement.prototype.constructor is not writable expected true got false … … 3990 4145 FAIL HTMLTableDataCellElement interface: existence and properties of interface object assert_equals: class string of HTMLTableDataCellElement expected "[object Function]" but got "[object HTMLTableDataCellElementConstructor]" 3991 4146 PASS HTMLTableDataCellElement interface object length 4147 PASS HTMLTableDataCellElement interface object name 3992 4148 PASS HTMLTableDataCellElement interface: existence and properties of interface prototype object 3993 4149 FAIL HTMLTableDataCellElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableDataCellElement.prototype.constructor is not writable expected true got false … … 4013 4169 FAIL HTMLTableHeaderCellElement interface: existence and properties of interface object assert_equals: class string of HTMLTableHeaderCellElement expected "[object Function]" but got "[object HTMLTableHeaderCellElementConstructor]" 4014 4170 PASS HTMLTableHeaderCellElement interface object length 4171 PASS HTMLTableHeaderCellElement interface object name 4015 4172 PASS HTMLTableHeaderCellElement interface: existence and properties of interface prototype object 4016 4173 FAIL HTMLTableHeaderCellElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableHeaderCellElement.prototype.constructor is not writable expected true got false … … 4044 4201 FAIL HTMLTableCellElement interface: existence and properties of interface object assert_equals: class string of HTMLTableCellElement expected "[object Function]" but got "[object HTMLTableCellElementConstructor]" 4045 4202 PASS HTMLTableCellElement interface object length 4203 PASS HTMLTableCellElement interface object name 4046 4204 PASS HTMLTableCellElement interface: existence and properties of interface prototype object 4047 4205 FAIL HTMLTableCellElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableCellElement.prototype.constructor is not writable expected true got false … … 4087 4245 FAIL HTMLFormElement interface: existence and properties of interface object assert_equals: class string of HTMLFormElement expected "[object Function]" but got "[object HTMLFormElementConstructor]" 4088 4246 PASS HTMLFormElement interface object length 4247 PASS HTMLFormElement interface object name 4089 4248 PASS HTMLFormElement interface: existence and properties of interface prototype object 4090 4249 FAIL HTMLFormElement interface: existence and properties of interface prototype object's "constructor" property assert_own_property: HTMLFormElement.prototype does not have own property "constructor" expected property "constructor" missing … … 4125 4284 FAIL HTMLLabelElement interface: existence and properties of interface object assert_equals: class string of HTMLLabelElement expected "[object Function]" but got "[object HTMLLabelElementConstructor]" 4126 4285 PASS HTMLLabelElement interface object length 4286 PASS HTMLLabelElement interface object name 4127 4287 PASS HTMLLabelElement interface: existence and properties of interface prototype object 4128 4288 FAIL HTMLLabelElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLLabelElement.prototype.constructor is not writable expected true got false … … 4143 4303 FAIL HTMLInputElement interface: existence and properties of interface object assert_equals: class string of HTMLInputElement expected "[object Function]" but got "[object HTMLInputElementConstructor]" 4144 4304 PASS HTMLInputElement interface object length 4305 PASS HTMLInputElement interface object name 4145 4306 PASS HTMLInputElement interface: existence and properties of interface prototype object 4146 4307 FAIL HTMLInputElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLInputElement.prototype.constructor is not writable expected true got false … … 4355 4516 FAIL HTMLButtonElement interface: existence and properties of interface object assert_equals: class string of HTMLButtonElement expected "[object Function]" but got "[object HTMLButtonElementConstructor]" 4356 4517 PASS HTMLButtonElement interface object length 4518 PASS HTMLButtonElement interface object name 4357 4519 PASS HTMLButtonElement interface: existence and properties of interface prototype object 4358 4520 FAIL HTMLButtonElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLButtonElement.prototype.constructor is not writable expected true got false … … 4430 4592 FAIL HTMLSelectElement interface: existence and properties of interface object assert_equals: class string of HTMLSelectElement expected "[object Function]" but got "[object HTMLSelectElementConstructor]" 4431 4593 PASS HTMLSelectElement interface object length 4594 PASS HTMLSelectElement interface object name 4432 4595 PASS HTMLSelectElement interface: existence and properties of interface prototype object 4433 4596 FAIL HTMLSelectElement interface: existence and properties of interface prototype object's "constructor" property assert_own_property: HTMLSelectElement.prototype does not have own property "constructor" expected property "constructor" missing … … 4529 4692 FAIL HTMLDataListElement interface: existence and properties of interface object assert_own_property: self does not have own property "HTMLDataListElement" expected property "HTMLDataListElement" missing 4530 4693 FAIL HTMLDataListElement interface object length assert_own_property: self does not have own property "HTMLDataListElement" expected property "HTMLDataListElement" missing 4694 FAIL HTMLDataListElement interface object name assert_own_property: self does not have own property "HTMLDataListElement" expected property "HTMLDataListElement" missing 4531 4695 FAIL HTMLDataListElement interface: existence and properties of interface prototype object assert_own_property: self does not have own property "HTMLDataListElement" expected property "HTMLDataListElement" missing 4532 4696 FAIL HTMLDataListElement interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "HTMLDataListElement" expected property "HTMLDataListElement" missing … … 4537 4701 FAIL HTMLOptGroupElement interface: existence and properties of interface object assert_equals: class string of HTMLOptGroupElement expected "[object Function]" but got "[object HTMLOptGroupElementConstructor]" 4538 4702 PASS HTMLOptGroupElement interface object length 4703 PASS HTMLOptGroupElement interface object name 4539 4704 PASS HTMLOptGroupElement interface: existence and properties of interface prototype object 4540 4705 FAIL HTMLOptGroupElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLOptGroupElement.prototype.constructor is not writable expected true got false … … 4551 4716 FAIL HTMLOptionElement interface: existence and properties of interface object assert_equals: class string of HTMLOptionElement expected "[object Function]" but got "[object HTMLOptionElementConstructor]" 4552 4717 PASS HTMLOptionElement interface object length 4718 PASS HTMLOptionElement interface object name 4553 4719 PASS HTMLOptionElement interface: existence and properties of interface prototype object 4554 4720 FAIL HTMLOptionElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLOptionElement.prototype.constructor is not writable expected true got false … … 4599 4765 FAIL HTMLTextAreaElement interface: existence and properties of interface object assert_equals: class string of HTMLTextAreaElement expected "[object Function]" but got "[object HTMLTextAreaElementConstructor]" 4600 4766 PASS HTMLTextAreaElement interface object length 4767 PASS HTMLTextAreaElement interface object name 4601 4768 PASS HTMLTextAreaElement interface: existence and properties of interface prototype object 4602 4769 FAIL HTMLTextAreaElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTextAreaElement.prototype.constructor is not writable expected true got false … … 4725 4892 FAIL HTMLKeygenElement interface: existence and properties of interface object assert_equals: class string of HTMLKeygenElement expected "[object Function]" but got "[object HTMLKeygenElementConstructor]" 4726 4893 PASS HTMLKeygenElement interface object length 4894 PASS HTMLKeygenElement interface object name 4727 4895 PASS HTMLKeygenElement interface: existence and properties of interface prototype object 4728 4896 FAIL HTMLKeygenElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLKeygenElement.prototype.constructor is not writable expected true got false … … 4782 4950 FAIL HTMLOutputElement interface: existence and properties of interface object assert_equals: class string of HTMLOutputElement expected "[object Function]" but got "[object HTMLOutputElementConstructor]" 4783 4951 PASS HTMLOutputElement interface object length 4952 PASS HTMLOutputElement interface object name 4784 4953 PASS HTMLOutputElement interface: existence and properties of interface prototype object 4785 4954 FAIL HTMLOutputElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLOutputElement.prototype.constructor is not writable expected true got false … … 4835 5004 FAIL HTMLProgressElement interface: existence and properties of interface object assert_equals: class string of HTMLProgressElement expected "[object Function]" but got "[object HTMLProgressElementConstructor]" 4836 5005 PASS HTMLProgressElement interface object length 5006 PASS HTMLProgressElement interface object name 4837 5007 PASS HTMLProgressElement interface: existence and properties of interface prototype object 4838 5008 FAIL HTMLProgressElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLProgressElement.prototype.constructor is not writable expected true got false … … 4857 5027 FAIL HTMLMeterElement interface: existence and properties of interface object assert_equals: class string of HTMLMeterElement expected "[object Function]" but got "[object HTMLMeterElementConstructor]" 4858 5028 PASS HTMLMeterElement interface object length 5029 PASS HTMLMeterElement interface object name 4859 5030 PASS HTMLMeterElement interface: existence and properties of interface prototype object 4860 5031 FAIL HTMLMeterElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLMeterElement.prototype.constructor is not writable expected true got false … … 4891 5062 FAIL HTMLFieldSetElement interface: existence and properties of interface object assert_equals: class string of HTMLFieldSetElement expected "[object Function]" but got "[object HTMLFieldSetElementConstructor]" 4892 5063 PASS HTMLFieldSetElement interface object length 5064 PASS HTMLFieldSetElement interface object name 4893 5065 PASS HTMLFieldSetElement interface: existence and properties of interface prototype object 4894 5066 FAIL HTMLFieldSetElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLFieldSetElement.prototype.constructor is not writable expected true got false … … 4922 5094 FAIL HTMLLegendElement interface: existence and properties of interface object assert_equals: class string of HTMLLegendElement expected "[object Function]" but got "[object HTMLLegendElementConstructor]" 4923 5095 PASS HTMLLegendElement interface object length 5096 PASS HTMLLegendElement interface object name 4924 5097 PASS HTMLLegendElement interface: existence and properties of interface prototype object 4925 5098 FAIL HTMLLegendElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLLegendElement.prototype.constructor is not writable expected true got false … … 4936 5109 FAIL AutocompleteErrorEvent interface: existence and properties of interface object assert_own_property: self does not have own property "AutocompleteErrorEvent" expected property "AutocompleteErrorEvent" missing 4937 5110 FAIL AutocompleteErrorEvent interface object length assert_own_property: self does not have own property "AutocompleteErrorEvent" expected property "AutocompleteErrorEvent" missing 5111 FAIL AutocompleteErrorEvent interface object name assert_own_property: self does not have own property "AutocompleteErrorEvent" expected property "AutocompleteErrorEvent" missing 4938 5112 FAIL AutocompleteErrorEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "AutocompleteErrorEvent" expected property "AutocompleteErrorEvent" missing 4939 5113 FAIL AutocompleteErrorEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "AutocompleteErrorEvent" expected property "AutocompleteErrorEvent" missing … … 4941 5115 FAIL ValidityState interface: existence and properties of interface object assert_own_property: self does not have own property "ValidityState" expected property "ValidityState" missing 4942 5116 FAIL ValidityState interface object length assert_own_property: self does not have own property "ValidityState" expected property "ValidityState" missing 5117 FAIL ValidityState interface object name assert_own_property: self does not have own property "ValidityState" expected property "ValidityState" missing 4943 5118 FAIL ValidityState interface: existence and properties of interface prototype object assert_own_property: self does not have own property "ValidityState" expected property "ValidityState" missing 4944 5119 FAIL ValidityState interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "ValidityState" expected property "ValidityState" missing … … 4969 5144 FAIL HTMLDetailsElement interface: existence and properties of interface object assert_equals: class string of HTMLDetailsElement expected "[object Function]" but got "[object HTMLDetailsElementConstructor]" 4970 5145 PASS HTMLDetailsElement interface object length 5146 PASS HTMLDetailsElement interface object name 4971 5147 PASS HTMLDetailsElement interface: existence and properties of interface prototype object 4972 5148 FAIL HTMLDetailsElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLDetailsElement.prototype.constructor is not writable expected true got false … … 4979 5155 FAIL HTMLMenuElement interface: existence and properties of interface object assert_equals: class string of HTMLMenuElement expected "[object Function]" but got "[object HTMLMenuElementConstructor]" 4980 5156 PASS HTMLMenuElement interface object length 5157 PASS HTMLMenuElement interface object name 4981 5158 PASS HTMLMenuElement interface: existence and properties of interface prototype object 4982 5159 FAIL HTMLMenuElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLMenuElement.prototype.constructor is not writable expected true got false … … 4993 5170 FAIL HTMLMenuItemElement interface: existence and properties of interface object assert_own_property: self does not have own property "HTMLMenuItemElement" expected property "HTMLMenuItemElement" missing 4994 5171 FAIL HTMLMenuItemElement interface object length assert_own_property: self does not have own property "HTMLMenuItemElement" expected property "HTMLMenuItemElement" missing 5172 FAIL HTMLMenuItemElement interface object name assert_own_property: self does not have own property "HTMLMenuItemElement" expected property "HTMLMenuItemElement" missing 4995 5173 FAIL HTMLMenuItemElement interface: existence and properties of interface prototype object assert_own_property: self does not have own property "HTMLMenuItemElement" expected property "HTMLMenuItemElement" missing 4996 5174 FAIL HTMLMenuItemElement interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "HTMLMenuItemElement" expected property "HTMLMenuItemElement" missing … … 5005 5183 FAIL RelatedEvent interface: existence and properties of interface object assert_own_property: self does not have own property "RelatedEvent" expected property "RelatedEvent" missing 5006 5184 FAIL RelatedEvent interface object length assert_own_property: self does not have own property "RelatedEvent" expected property "RelatedEvent" missing 5185 FAIL RelatedEvent interface object name assert_own_property: self does not have own property "RelatedEvent" expected property "RelatedEvent" missing 5007 5186 FAIL RelatedEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "RelatedEvent" expected property "RelatedEvent" missing 5008 5187 FAIL RelatedEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "RelatedEvent" expected property "RelatedEvent" missing … … 5010 5189 FAIL HTMLDialogElement interface: existence and properties of interface object assert_own_property: self does not have own property "HTMLDialogElement" expected property "HTMLDialogElement" missing 5011 5190 FAIL HTMLDialogElement interface object length assert_own_property: self does not have own property "HTMLDialogElement" expected property "HTMLDialogElement" missing 5191 FAIL HTMLDialogElement interface object name assert_own_property: self does not have own property "HTMLDialogElement" expected property "HTMLDialogElement" missing 5012 5192 FAIL HTMLDialogElement interface: existence and properties of interface prototype object assert_own_property: self does not have own property "HTMLDialogElement" expected property "HTMLDialogElement" missing 5013 5193 FAIL HTMLDialogElement interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "HTMLDialogElement" expected property "HTMLDialogElement" missing … … 5019 5199 FAIL HTMLScriptElement interface: existence and properties of interface object assert_equals: class string of HTMLScriptElement expected "[object Function]" but got "[object HTMLScriptElementConstructor]" 5020 5200 PASS HTMLScriptElement interface object length 5201 PASS HTMLScriptElement interface object name 5021 5202 PASS HTMLScriptElement interface: existence and properties of interface prototype object 5022 5203 FAIL HTMLScriptElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLScriptElement.prototype.constructor is not writable expected true got false … … 5061 5242 FAIL HTMLTemplateElement interface: existence and properties of interface object assert_equals: class string of HTMLTemplateElement expected "[object Function]" but got "[object HTMLTemplateElementConstructor]" 5062 5243 PASS HTMLTemplateElement interface object length 5244 PASS HTMLTemplateElement interface object name 5063 5245 PASS HTMLTemplateElement interface: existence and properties of interface prototype object 5064 5246 FAIL HTMLTemplateElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTemplateElement.prototype.constructor is not writable expected true got false … … 5066 5248 FAIL HTMLCanvasElement interface: existence and properties of interface object assert_equals: class string of HTMLCanvasElement expected "[object Function]" but got "[object HTMLCanvasElementConstructor]" 5067 5249 PASS HTMLCanvasElement interface object length 5250 PASS HTMLCanvasElement interface object name 5068 5251 PASS HTMLCanvasElement interface: existence and properties of interface prototype object 5069 5252 FAIL HTMLCanvasElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLCanvasElement.prototype.constructor is not writable expected true got false … … 5101 5284 FAIL CanvasProxy interface: existence and properties of interface object assert_own_property: self does not have own property "CanvasProxy" expected property "CanvasProxy" missing 5102 5285 FAIL CanvasProxy interface object length assert_own_property: self does not have own property "CanvasProxy" expected property "CanvasProxy" missing 5286 FAIL CanvasProxy interface object name assert_own_property: self does not have own property "CanvasProxy" expected property "CanvasProxy" missing 5103 5287 FAIL CanvasProxy interface: existence and properties of interface prototype object assert_own_property: self does not have own property "CanvasProxy" expected property "CanvasProxy" missing 5104 5288 FAIL CanvasProxy interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "CanvasProxy" expected property "CanvasProxy" missing … … 5106 5290 FAIL CanvasRenderingContext2D interface: existence and properties of interface object assert_equals: class string of CanvasRenderingContext2D expected "[object Function]" but got "[object CanvasRenderingContext2DConstructor]" 5107 5291 FAIL CanvasRenderingContext2D interface object length assert_equals: wrong value for CanvasRenderingContext2D.length expected 1 but got 0 5292 PASS CanvasRenderingContext2D interface object name 5108 5293 FAIL CanvasRenderingContext2D interface: existence and properties of interface prototype object assert_equals: prototype of CanvasRenderingContext2D.prototype is not Object.prototype expected object "[object Object]" but got object "[object CanvasRenderingContextPrototype]" 5109 5294 FAIL CanvasRenderingContext2D interface: existence and properties of interface prototype object's "constructor" property assert_true: CanvasRenderingContext2D.prototype.constructor is not writable expected true got false … … 5354 5539 FAIL CanvasGradient interface: existence and properties of interface object assert_equals: class string of CanvasGradient expected "[object Function]" but got "[object CanvasGradientConstructor]" 5355 5540 PASS CanvasGradient interface object length 5541 PASS CanvasGradient interface object name 5356 5542 PASS CanvasGradient interface: existence and properties of interface prototype object 5357 5543 FAIL CanvasGradient interface: existence and properties of interface prototype object's "constructor" property assert_true: CanvasGradient.prototype.constructor is not writable expected true got false … … 5359 5545 FAIL CanvasPattern interface: existence and properties of interface object assert_equals: class string of CanvasPattern expected "[object Function]" but got "[object CanvasPatternConstructor]" 5360 5546 PASS CanvasPattern interface object length 5547 PASS CanvasPattern interface object name 5361 5548 PASS CanvasPattern interface: existence and properties of interface prototype object 5362 5549 FAIL CanvasPattern interface: existence and properties of interface prototype object's "constructor" property assert_true: CanvasPattern.prototype.constructor is not writable expected true got false … … 5364 5551 FAIL TextMetrics interface: existence and properties of interface object assert_equals: class string of TextMetrics expected "[object Function]" but got "[object TextMetricsConstructor]" 5365 5552 PASS TextMetrics interface object length 5553 PASS TextMetrics interface object name 5366 5554 PASS TextMetrics interface: existence and properties of interface prototype object 5367 5555 FAIL TextMetrics interface: existence and properties of interface prototype object's "constructor" property assert_true: TextMetrics.prototype.constructor is not writable expected true got false … … 5382 5570 FAIL ImageData interface: existence and properties of interface object assert_equals: class string of ImageData expected "[object Function]" but got "[object ImageDataConstructor]" 5383 5571 PASS ImageData interface object length 5572 PASS ImageData interface object name 5384 5573 PASS ImageData interface: existence and properties of interface prototype object 5385 5574 FAIL ImageData interface: existence and properties of interface prototype object's "constructor" property assert_true: ImageData.prototype.constructor is not writable expected true got false … … 5393 5582 FAIL DrawingStyle interface: existence and properties of interface object assert_own_property: self does not have own property "DrawingStyle" expected property "DrawingStyle" missing 5394 5583 FAIL DrawingStyle interface object length assert_own_property: self does not have own property "DrawingStyle" expected property "DrawingStyle" missing 5584 FAIL DrawingStyle interface object name assert_own_property: self does not have own property "DrawingStyle" expected property "DrawingStyle" missing 5395 5585 FAIL DrawingStyle interface: existence and properties of interface prototype object assert_own_property: self does not have own property "DrawingStyle" expected property "DrawingStyle" missing 5396 5586 FAIL DrawingStyle interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "DrawingStyle" expected property "DrawingStyle" missing … … 5408 5598 FAIL Path2D interface: existence and properties of interface object assert_equals: class string of Path2D expected "[object Function]" but got "[object Path2DConstructor]" 5409 5599 PASS Path2D interface object length 5600 PASS Path2D interface object name 5410 5601 PASS Path2D interface: existence and properties of interface prototype object 5411 5602 FAIL Path2D interface: existence and properties of interface prototype object's "constructor" property assert_true: Path2D.prototype.constructor is not writable expected true got false … … 5428 5619 FAIL DataTransfer interface: existence and properties of interface object assert_equals: class string of DataTransfer expected "[object Function]" but got "[object DataTransferConstructor]" 5429 5620 PASS DataTransfer interface object length 5621 PASS DataTransfer interface object name 5430 5622 PASS DataTransfer interface: existence and properties of interface prototype object 5431 5623 FAIL DataTransfer interface: existence and properties of interface prototype object's "constructor" property assert_true: DataTransfer.prototype.constructor is not writable expected true got false … … 5447 5639 FAIL DataTransferItemList interface: existence and properties of interface object assert_own_property: self does not have own property "DataTransferItemList" expected property "DataTransferItemList" missing 5448 5640 FAIL DataTransferItemList interface object length assert_own_property: self does not have own property "DataTransferItemList" expected property "DataTransferItemList" missing 5641 FAIL DataTransferItemList interface object name assert_own_property: self does not have own property "DataTransferItemList" expected property "DataTransferItemList" missing 5449 5642 FAIL DataTransferItemList interface: existence and properties of interface prototype object assert_own_property: self does not have own property "DataTransferItemList" expected property "DataTransferItemList" missing 5450 5643 FAIL DataTransferItemList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "DataTransferItemList" expected property "DataTransferItemList" missing … … 5456 5649 FAIL DataTransferItem interface: existence and properties of interface object assert_own_property: self does not have own property "DataTransferItem" expected property "DataTransferItem" missing 5457 5650 FAIL DataTransferItem interface object length assert_own_property: self does not have own property "DataTransferItem" expected property "DataTransferItem" missing 5651 FAIL DataTransferItem interface object name assert_own_property: self does not have own property "DataTransferItem" expected property "DataTransferItem" missing 5458 5652 FAIL DataTransferItem interface: existence and properties of interface prototype object assert_own_property: self does not have own property "DataTransferItem" expected property "DataTransferItem" missing 5459 5653 FAIL DataTransferItem interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "DataTransferItem" expected property "DataTransferItem" missing … … 5464 5658 FAIL DragEvent interface: existence and properties of interface object assert_own_property: self does not have own property "DragEvent" expected property "DragEvent" missing 5465 5659 FAIL DragEvent interface object length assert_own_property: self does not have own property "DragEvent" expected property "DragEvent" missing 5660 FAIL DragEvent interface object name assert_own_property: self does not have own property "DragEvent" expected property "DragEvent" missing 5466 5661 FAIL DragEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "DragEvent" expected property "DragEvent" missing 5467 5662 FAIL DragEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "DragEvent" expected property "DragEvent" missing … … 5469 5664 FAIL Window interface: existence and properties of interface object assert_equals: class string of Window expected "[object Function]" but got "[object WindowConstructor]" 5470 5665 PASS Window interface object length 5666 PASS Window interface object name 5471 5667 FAIL Window interface: existence and properties of interface prototype object assert_equals: Class name for prototype of Window.prototype is not "WindowProperties" expected "[object WindowProperties]" but got "[object Object]" 5472 5668 FAIL Window interface: existence and properties of interface prototype object's "constructor" property assert_own_property: Window.prototype does not have own property "constructor" expected property "constructor" missing … … 5744 5940 FAIL BarProp interface: existence and properties of interface object assert_equals: class string of BarProp expected "[object Function]" but got "[object BarPropConstructor]" 5745 5941 PASS BarProp interface object length 5942 PASS BarProp interface object name 5746 5943 PASS BarProp interface: existence and properties of interface prototype object 5747 5944 FAIL BarProp interface: existence and properties of interface prototype object's "constructor" property assert_true: BarProp.prototype.constructor is not writable expected true got false … … 5751 5948 FAIL History interface: existence and properties of interface object assert_equals: class string of History expected "[object Function]" but got "[object HistoryConstructor]" 5752 5949 PASS History interface object length 5950 PASS History interface object name 5753 5951 PASS History interface: existence and properties of interface prototype object 5754 5952 FAIL History interface: existence and properties of interface prototype object's "constructor" property assert_own_property: History.prototype does not have own property "constructor" expected property "constructor" missing … … 5778 5976 FAIL Location interface: existence and properties of interface object assert_equals: class string of Location expected "[object Function]" but got "[object LocationConstructor]" 5779 5977 PASS Location interface object length 5978 PASS Location interface object name 5780 5979 PASS Location interface: existence and properties of interface prototype object 5781 5980 FAIL Location interface: existence and properties of interface prototype object's "constructor" property assert_own_property: Location.prototype does not have own property "constructor" expected property "constructor" missing 5782 5981 PASS Location must be primary interface of window.location 5783 5982 PASS Stringification of window.location 5983 FAIL Location interface: window.location must have own property "href" assert_equals: getter must be Function expected "function" but got "undefined" 5984 FAIL Location interface: window.location must have own property "origin" assert_equals: getter must be Function expected "function" but got "undefined" 5985 FAIL Location interface: window.location must have own property "protocol" assert_equals: getter must be Function expected "function" but got "undefined" 5986 FAIL Location interface: window.location must have own property "host" assert_equals: getter must be Function expected "function" but got "undefined" 5987 FAIL Location interface: window.location must have own property "hostname" assert_equals: getter must be Function expected "function" but got "undefined" 5988 FAIL Location interface: window.location must have own property "port" assert_equals: getter must be Function expected "function" but got "undefined" 5989 FAIL Location interface: window.location must have own property "pathname" assert_equals: getter must be Function expected "function" but got "undefined" 5990 FAIL Location interface: window.location must have own property "search" assert_equals: getter must be Function expected "function" but got "undefined" 5991 FAIL Location interface: window.location must have own property "hash" assert_equals: getter must be Function expected "function" but got "undefined" 5784 5992 FAIL Location interface: window.location must have own property "assign" assert_own_property: Doesn't have the unforgeable operation property expected property "assign" missing 5785 FAIL Location interface: calling assign( DOMString) on window.location with too few arguments must throw TypeError assert_own_property: expected property "assign" missing5993 FAIL Location interface: calling assign(USVString) on window.location with too few arguments must throw TypeError assert_own_property: expected property "assign" missing 5786 5994 FAIL Location interface: window.location must have own property "replace" assert_own_property: Doesn't have the unforgeable operation property expected property "replace" missing 5787 FAIL Location interface: calling replace( DOMString) on window.location with too few arguments must throw TypeError assert_own_property: expected property "replace" missing5995 FAIL Location interface: calling replace(USVString) on window.location with too few arguments must throw TypeError assert_own_property: expected property "replace" missing 5788 5996 FAIL Location interface: window.location must have own property "reload" assert_own_property: Doesn't have the unforgeable operation property expected property "reload" missing 5997 FAIL Location interface: window.location must have own property "ancestorOrigins" assert_equals: getter must be Function expected "function" but got "undefined" 5789 5998 FAIL PopStateEvent interface: existence and properties of interface object assert_equals: class string of PopStateEvent expected "[object Function]" but got "[object PopStateEventConstructor]" 5790 5999 PASS PopStateEvent interface object length 6000 PASS PopStateEvent interface object name 5791 6001 PASS PopStateEvent interface: existence and properties of interface prototype object 5792 6002 FAIL PopStateEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: PopStateEvent.prototype.constructor is not writable expected true got false … … 5817 6027 FAIL HashChangeEvent interface: existence and properties of interface object assert_equals: class string of HashChangeEvent expected "[object Function]" but got "[object HashChangeEventConstructor]" 5818 6028 PASS HashChangeEvent interface object length 6029 PASS HashChangeEvent interface object name 5819 6030 PASS HashChangeEvent interface: existence and properties of interface prototype object 5820 6031 FAIL HashChangeEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: HashChangeEvent.prototype.constructor is not writable expected true got false … … 5827 6038 FAIL PageTransitionEvent interface: existence and properties of interface object assert_equals: class string of PageTransitionEvent expected "[object Function]" but got "[object PageTransitionEventConstructor]" 5828 6039 PASS PageTransitionEvent interface object length 6040 PASS PageTransitionEvent interface object name 5829 6041 PASS PageTransitionEvent interface: existence and properties of interface prototype object 5830 6042 FAIL PageTransitionEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: PageTransitionEvent.prototype.constructor is not writable expected true got false … … 5834 6046 FAIL BeforeUnloadEvent interface: existence and properties of interface object assert_equals: class string of BeforeUnloadEvent expected "[object Function]" but got "[object BeforeUnloadEventConstructor]" 5835 6047 PASS BeforeUnloadEvent interface object length 6048 PASS BeforeUnloadEvent interface object name 5836 6049 PASS BeforeUnloadEvent interface: existence and properties of interface prototype object 5837 6050 FAIL BeforeUnloadEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: BeforeUnloadEvent.prototype.constructor is not writable expected true got false … … 5841 6054 FAIL ApplicationCache interface: existence and properties of interface object assert_own_property: self does not have own property "ApplicationCache" expected property "ApplicationCache" missing 5842 6055 FAIL ApplicationCache interface object length assert_own_property: self does not have own property "ApplicationCache" expected property "ApplicationCache" missing 6056 FAIL ApplicationCache interface object name assert_own_property: self does not have own property "ApplicationCache" expected property "ApplicationCache" missing 5843 6057 FAIL ApplicationCache interface: existence and properties of interface prototype object assert_own_property: self does not have own property "ApplicationCache" expected property "ApplicationCache" missing 5844 6058 FAIL ApplicationCache interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "ApplicationCache" expected property "ApplicationCache" missing … … 5899 6113 FAIL ErrorEvent interface: existence and properties of interface object assert_equals: class string of ErrorEvent expected "[object Function]" but got "[object ErrorEventConstructor]" 5900 6114 PASS ErrorEvent interface object length 6115 PASS ErrorEvent interface object name 5901 6116 PASS ErrorEvent interface: existence and properties of interface prototype object 5902 6117 FAIL ErrorEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: ErrorEvent.prototype.constructor is not writable expected true got false … … 5908 6123 FAIL Navigator interface: existence and properties of interface object assert_equals: class string of Navigator expected "[object Function]" but got "[object NavigatorConstructor]" 5909 6124 PASS Navigator interface object length 6125 PASS Navigator interface object name 5910 6126 PASS Navigator interface: existence and properties of interface prototype object 5911 6127 FAIL Navigator interface: existence and properties of interface prototype object's "constructor" property assert_true: Navigator.prototype.constructor is not writable expected true got false … … 5964 6180 FAIL PluginArray interface: existence and properties of interface object assert_equals: class string of PluginArray expected "[object Function]" but got "[object PluginArrayConstructor]" 5965 6181 PASS PluginArray interface object length 6182 PASS PluginArray interface object name 5966 6183 PASS PluginArray interface: existence and properties of interface prototype object 5967 6184 FAIL PluginArray interface: existence and properties of interface prototype object's "constructor" property assert_own_property: PluginArray.prototype does not have own property "constructor" expected property "constructor" missing … … 5972 6189 FAIL MimeTypeArray interface: existence and properties of interface object assert_equals: class string of MimeTypeArray expected "[object Function]" but got "[object MimeTypeArrayConstructor]" 5973 6190 PASS MimeTypeArray interface object length 6191 PASS MimeTypeArray interface object name 5974 6192 PASS MimeTypeArray interface: existence and properties of interface prototype object 5975 6193 FAIL MimeTypeArray interface: existence and properties of interface prototype object's "constructor" property assert_own_property: MimeTypeArray.prototype does not have own property "constructor" expected property "constructor" missing … … 5979 6197 FAIL Plugin interface: existence and properties of interface object assert_equals: class string of Plugin expected "[object Function]" but got "[object PluginConstructor]" 5980 6198 PASS Plugin interface object length 6199 PASS Plugin interface object name 5981 6200 PASS Plugin interface: existence and properties of interface prototype object 5982 6201 FAIL Plugin interface: existence and properties of interface prototype object's "constructor" property assert_own_property: Plugin.prototype does not have own property "constructor" expected property "constructor" missing … … 5989 6208 FAIL MimeType interface: existence and properties of interface object assert_equals: class string of MimeType expected "[object Function]" but got "[object MimeTypeConstructor]" 5990 6209 PASS MimeType interface object length 6210 PASS MimeType interface object name 5991 6211 PASS MimeType interface: existence and properties of interface prototype object 5992 6212 FAIL MimeType interface: existence and properties of interface prototype object's "constructor" property assert_true: MimeType.prototype.constructor is not writable expected true got false … … 6005 6225 FAIL External interface: existence and properties of interface object assert_own_property: self does not have own property "External" expected property "External" missing 6006 6226 FAIL External interface object length assert_own_property: self does not have own property "External" expected property "External" missing 6227 FAIL External interface object name assert_own_property: self does not have own property "External" expected property "External" missing 6007 6228 FAIL External interface: existence and properties of interface prototype object assert_own_property: self does not have own property "External" expected property "External" missing 6008 6229 FAIL External interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "External" expected property "External" missing … … 6017 6238 FAIL ImageBitmap interface: existence and properties of interface object assert_own_property: self does not have own property "ImageBitmap" expected property "ImageBitmap" missing 6018 6239 FAIL ImageBitmap interface object length assert_own_property: self does not have own property "ImageBitmap" expected property "ImageBitmap" missing 6240 FAIL ImageBitmap interface object name assert_own_property: self does not have own property "ImageBitmap" expected property "ImageBitmap" missing 6019 6241 FAIL ImageBitmap interface: existence and properties of interface prototype object assert_own_property: self does not have own property "ImageBitmap" expected property "ImageBitmap" missing 6020 6242 FAIL ImageBitmap interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "ImageBitmap" expected property "ImageBitmap" missing … … 6023 6245 FAIL MessageEvent interface: existence and properties of interface object assert_equals: class string of MessageEvent expected "[object Function]" but got "[object MessageEventConstructor]" 6024 6246 PASS MessageEvent interface object length 6247 PASS MessageEvent interface object name 6025 6248 PASS MessageEvent interface: existence and properties of interface prototype object 6026 6249 FAIL MessageEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: MessageEvent.prototype.constructor is not writable expected true got false … … 6041 6264 FAIL EventSource interface: existence and properties of interface object assert_equals: class string of EventSource expected "[object Function]" but got "[object EventSourceConstructor]" 6042 6265 PASS EventSource interface object length 6266 PASS EventSource interface object name 6043 6267 FAIL EventSource interface: existence and properties of interface prototype object assert_equals: prototype of EventSource.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 6044 6268 FAIL EventSource interface: existence and properties of interface prototype object's "constructor" property assert_true: EventSource.prototype.constructor is not writable expected true got false … … 6070 6294 FAIL WebSocket interface: existence and properties of interface object assert_equals: class string of WebSocket expected "[object Function]" but got "[object WebSocketConstructor]" 6071 6295 PASS WebSocket interface object length 6296 PASS WebSocket interface object name 6072 6297 FAIL WebSocket interface: existence and properties of interface prototype object assert_equals: prototype of WebSocket.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 6073 6298 FAIL WebSocket interface: existence and properties of interface prototype object's "constructor" property assert_true: WebSocket.prototype.constructor is not writable expected true got false … … 6117 6342 FAIL CloseEvent interface: existence and properties of interface object assert_equals: class string of CloseEvent expected "[object Function]" but got "[object CloseEventConstructor]" 6118 6343 PASS CloseEvent interface object length 6344 PASS CloseEvent interface object name 6119 6345 PASS CloseEvent interface: existence and properties of interface prototype object 6120 6346 FAIL CloseEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: CloseEvent.prototype.constructor is not writable expected true got false … … 6130 6356 FAIL MessageChannel interface: existence and properties of interface object assert_equals: class string of MessageChannel expected "[object Function]" but got "[object MessageChannelConstructor]" 6131 6357 PASS MessageChannel interface object length 6358 PASS MessageChannel interface object name 6132 6359 PASS MessageChannel interface: existence and properties of interface prototype object 6133 6360 FAIL MessageChannel interface: existence and properties of interface prototype object's "constructor" property assert_true: MessageChannel.prototype.constructor is not writable expected true got false … … 6140 6367 FAIL MessagePort interface: existence and properties of interface object assert_equals: class string of MessagePort expected "[object Function]" but got "[object MessagePortConstructor]" 6141 6368 PASS MessagePort interface object length 6369 PASS MessagePort interface object name 6142 6370 FAIL MessagePort interface: existence and properties of interface prototype object assert_equals: prototype of MessagePort.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 6143 6371 FAIL MessagePort interface: existence and properties of interface prototype object's "constructor" property assert_true: MessagePort.prototype.constructor is not writable expected true got false … … 6150 6378 FAIL PortCollection interface: existence and properties of interface object assert_own_property: self does not have own property "PortCollection" expected property "PortCollection" missing 6151 6379 FAIL PortCollection interface object length assert_own_property: self does not have own property "PortCollection" expected property "PortCollection" missing 6380 FAIL PortCollection interface object name assert_own_property: self does not have own property "PortCollection" expected property "PortCollection" missing 6152 6381 FAIL PortCollection interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PortCollection" expected property "PortCollection" missing 6153 6382 FAIL PortCollection interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PortCollection" expected property "PortCollection" missing … … 6158 6387 FAIL BroadcastChannel interface: existence and properties of interface object assert_own_property: self does not have own property "BroadcastChannel" expected property "BroadcastChannel" missing 6159 6388 FAIL BroadcastChannel interface object length assert_own_property: self does not have own property "BroadcastChannel" expected property "BroadcastChannel" missing 6389 FAIL BroadcastChannel interface object name assert_own_property: self does not have own property "BroadcastChannel" expected property "BroadcastChannel" missing 6160 6390 FAIL BroadcastChannel interface: existence and properties of interface prototype object assert_own_property: self does not have own property "BroadcastChannel" expected property "BroadcastChannel" missing 6161 6391 FAIL BroadcastChannel interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "BroadcastChannel" expected property "BroadcastChannel" missing … … 6166 6396 FAIL WorkerGlobalScope interface: existence and properties of interface object assert_own_property: self does not have own property "WorkerGlobalScope" expected property "WorkerGlobalScope" missing 6167 6397 FAIL WorkerGlobalScope interface object length assert_own_property: self does not have own property "WorkerGlobalScope" expected property "WorkerGlobalScope" missing 6398 FAIL WorkerGlobalScope interface object name assert_own_property: self does not have own property "WorkerGlobalScope" expected property "WorkerGlobalScope" missing 6168 6399 FAIL WorkerGlobalScope interface: existence and properties of interface prototype object assert_own_property: self does not have own property "WorkerGlobalScope" expected property "WorkerGlobalScope" missing 6169 6400 FAIL WorkerGlobalScope interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "WorkerGlobalScope" expected property "WorkerGlobalScope" missing … … 6188 6419 FAIL DedicatedWorkerGlobalScope interface: existence and properties of interface object assert_own_property: self does not have own property "DedicatedWorkerGlobalScope" expected property "DedicatedWorkerGlobalScope" missing 6189 6420 FAIL DedicatedWorkerGlobalScope interface object length assert_own_property: self does not have own property "DedicatedWorkerGlobalScope" expected property "DedicatedWorkerGlobalScope" missing 6421 FAIL DedicatedWorkerGlobalScope interface object name assert_own_property: self does not have own property "DedicatedWorkerGlobalScope" expected property "DedicatedWorkerGlobalScope" missing 6190 6422 FAIL DedicatedWorkerGlobalScope interface: existence and properties of interface prototype object assert_own_property: self does not have own property "DedicatedWorkerGlobalScope" expected property "DedicatedWorkerGlobalScope" missing 6191 6423 FAIL DedicatedWorkerGlobalScope interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "DedicatedWorkerGlobalScope" expected property "DedicatedWorkerGlobalScope" missing … … 6194 6426 FAIL SharedWorkerGlobalScope interface: existence and properties of interface object assert_own_property: self does not have own property "SharedWorkerGlobalScope" expected property "SharedWorkerGlobalScope" missing 6195 6427 FAIL SharedWorkerGlobalScope interface object length assert_own_property: self does not have own property "SharedWorkerGlobalScope" expected property "SharedWorkerGlobalScope" missing 6428 FAIL SharedWorkerGlobalScope interface object name assert_own_property: self does not have own property "SharedWorkerGlobalScope" expected property "SharedWorkerGlobalScope" missing 6196 6429 FAIL SharedWorkerGlobalScope interface: existence and properties of interface prototype object assert_own_property: self does not have own property "SharedWorkerGlobalScope" expected property "SharedWorkerGlobalScope" missing 6197 6430 FAIL SharedWorkerGlobalScope interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "SharedWorkerGlobalScope" expected property "SharedWorkerGlobalScope" missing … … 6201 6434 FAIL Worker interface: existence and properties of interface object assert_equals: class string of Worker expected "[object Function]" but got "[object WorkerConstructor]" 6202 6435 PASS Worker interface object length 6436 PASS Worker interface object name 6203 6437 PASS Worker interface: existence and properties of interface prototype object 6204 6438 FAIL Worker interface: existence and properties of interface prototype object's "constructor" property assert_true: Worker.prototype.constructor is not writable expected true got false … … 6213 6447 FAIL SharedWorker interface: existence and properties of interface object assert_own_property: self does not have own property "SharedWorker" expected property "SharedWorker" missing 6214 6448 FAIL SharedWorker interface object length assert_own_property: self does not have own property "SharedWorker" expected property "SharedWorker" missing 6449 FAIL SharedWorker interface object name assert_own_property: self does not have own property "SharedWorker" expected property "SharedWorker" missing 6215 6450 FAIL SharedWorker interface: existence and properties of interface prototype object assert_own_property: self does not have own property "SharedWorker" expected property "SharedWorker" missing 6216 6451 FAIL SharedWorker interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "SharedWorker" expected property "SharedWorker" missing … … 6219 6454 FAIL WorkerNavigator interface: existence and properties of interface object assert_own_property: self does not have own property "WorkerNavigator" expected property "WorkerNavigator" missing 6220 6455 FAIL WorkerNavigator interface object length assert_own_property: self does not have own property "WorkerNavigator" expected property "WorkerNavigator" missing 6456 FAIL WorkerNavigator interface object name assert_own_property: self does not have own property "WorkerNavigator" expected property "WorkerNavigator" missing 6221 6457 FAIL WorkerNavigator interface: existence and properties of interface prototype object assert_own_property: self does not have own property "WorkerNavigator" expected property "WorkerNavigator" missing 6222 6458 FAIL WorkerNavigator interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "WorkerNavigator" expected property "WorkerNavigator" missing … … 6233 6469 FAIL WorkerLocation interface: existence and properties of interface object assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6234 6470 FAIL WorkerLocation interface object length assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6471 FAIL WorkerLocation interface object name assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6235 6472 FAIL WorkerLocation interface: existence and properties of interface prototype object assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6236 6473 FAIL WorkerLocation interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6474 FAIL WorkerLocation interface: attribute href assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6475 FAIL WorkerLocation interface: attribute origin assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6476 FAIL WorkerLocation interface: attribute protocol assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6477 FAIL WorkerLocation interface: attribute host assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6478 FAIL WorkerLocation interface: attribute hostname assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6479 FAIL WorkerLocation interface: attribute port assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6480 FAIL WorkerLocation interface: attribute pathname assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6481 FAIL WorkerLocation interface: attribute search assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6482 FAIL WorkerLocation interface: attribute hash assert_own_property: self does not have own property "WorkerLocation" expected property "WorkerLocation" missing 6237 6483 FAIL Storage interface: existence and properties of interface object assert_equals: class string of Storage expected "[object Function]" but got "[object StorageConstructor]" 6238 6484 PASS Storage interface object length 6485 PASS Storage interface object name 6239 6486 PASS Storage interface: existence and properties of interface prototype object 6240 6487 FAIL Storage interface: existence and properties of interface prototype object's "constructor" property assert_own_property: Storage.prototype does not have own property "constructor" expected property "constructor" missing … … 6247 6494 FAIL StorageEvent interface: existence and properties of interface object assert_equals: class string of StorageEvent expected "[object Function]" but got "[object StorageEventConstructor]" 6248 6495 PASS StorageEvent interface object length 6496 PASS StorageEvent interface object name 6249 6497 PASS StorageEvent interface: existence and properties of interface prototype object 6250 6498 FAIL StorageEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: StorageEvent.prototype.constructor is not writable expected true got false … … 6266 6514 FAIL HTMLAppletElement interface: existence and properties of interface object assert_equals: class string of HTMLAppletElement expected "[object Function]" but got "[object HTMLAppletElementConstructor]" 6267 6515 PASS HTMLAppletElement interface object length 6516 PASS HTMLAppletElement interface object name 6268 6517 PASS HTMLAppletElement interface: existence and properties of interface prototype object 6269 6518 FAIL HTMLAppletElement interface: existence and properties of interface prototype object's "constructor" property assert_own_property: HTMLAppletElement.prototype does not have own property "constructor" expected property "constructor" missing … … 6316 6565 FAIL HTMLMarqueeElement interface: existence and properties of interface object assert_equals: class string of HTMLMarqueeElement expected "[object Function]" but got "[object HTMLMarqueeElementConstructor]" 6317 6566 PASS HTMLMarqueeElement interface object length 6567 PASS HTMLMarqueeElement interface object name 6318 6568 PASS HTMLMarqueeElement interface: existence and properties of interface prototype object 6319 6569 FAIL HTMLMarqueeElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLMarqueeElement.prototype.constructor is not writable expected true got false … … 6376 6626 FAIL HTMLFrameSetElement interface: existence and properties of interface object assert_equals: class string of HTMLFrameSetElement expected "[object Function]" but got "[object HTMLFrameSetElementConstructor]" 6377 6627 PASS HTMLFrameSetElement interface object length 6628 PASS HTMLFrameSetElement interface object name 6378 6629 PASS HTMLFrameSetElement interface: existence and properties of interface prototype object 6379 6630 FAIL HTMLFrameSetElement interface: existence and properties of interface prototype object's "constructor" property assert_own_property: HTMLFrameSetElement.prototype does not have own property "constructor" expected property "constructor" missing … … 6412 6663 FAIL HTMLFrameElement interface: existence and properties of interface object assert_equals: class string of HTMLFrameElement expected "[object Function]" but got "[object HTMLFrameElementConstructor]" 6413 6664 PASS HTMLFrameElement interface object length 6665 PASS HTMLFrameElement interface object name 6414 6666 PASS HTMLFrameElement interface: existence and properties of interface prototype object 6415 6667 FAIL HTMLFrameElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLFrameElement.prototype.constructor is not writable expected true got false … … 6456 6708 FAIL HTMLDirectoryElement interface: existence and properties of interface object assert_equals: class string of HTMLDirectoryElement expected "[object Function]" but got "[object HTMLDirectoryElementConstructor]" 6457 6709 PASS HTMLDirectoryElement interface object length 6710 PASS HTMLDirectoryElement interface object name 6458 6711 PASS HTMLDirectoryElement interface: existence and properties of interface prototype object 6459 6712 FAIL HTMLDirectoryElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLDirectoryElement.prototype.constructor is not writable expected true got false … … 6466 6719 FAIL HTMLFontElement interface: existence and properties of interface object assert_equals: class string of HTMLFontElement expected "[object Function]" but got "[object HTMLFontElementConstructor]" 6467 6720 PASS HTMLFontElement interface object length 6721 PASS HTMLFontElement interface object name 6468 6722 PASS HTMLFontElement interface: existence and properties of interface prototype object 6469 6723 FAIL HTMLFontElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLFontElement.prototype.constructor is not writable expected true got false -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html
r191379 r194580 12 12 <div id=log></div> 13 13 14 <!-- URLUtils* stubs -->15 <script type=text/plain class=untested>16 interface URLUtils {17 stringifier;18 };19 interface URLUtilsReadOnly {20 stringifier;21 };22 </script>23 <!-- DOM IDLs -->24 14 <script type=text/plain class=untested> 25 15 [Constructor(DOMString type, optional EventInit eventInitDict)/*, … … 869 859 DataView) ArrayBufferView; 870 860 861 [NoInterfaceObject, Exposed=Window] 862 interface HTMLHyperlinkElementUtils { 863 stringifier attribute USVString href; 864 attribute USVString origin; 865 attribute USVString protocol; 866 attribute USVString username; 867 attribute USVString password; 868 attribute USVString host; 869 attribute USVString hostname; 870 attribute USVString port; 871 attribute USVString pathname; 872 attribute USVString search; 873 attribute USVString hash; 874 }; 875 871 876 interface HTMLAllCollection : HTMLCollection { 872 877 // inherits length and 'getter' … … 1126 1131 1127 1132 interface HTMLAnchorElement : HTMLElement { 1128 attribute DOMString target;1129 attribute DOMString download;1130 [PutForwards=value] attribute DOMSettableTokenList ping;1131 attribute DOMString rel;1133 attribute DOMString target; 1134 attribute DOMString download; 1135 [PutForwards=value] readonly attribute DOMSettableTokenList ping; 1136 attribute DOMString rel; 1132 1137 readonly attribute DOMTokenList relList; 1133 attribute DOMString hreflang; 1134 attribute DOMString type; 1135 1136 attribute DOMString text; 1137 1138 // also has obsolete members 1139 }; 1140 HTMLAnchorElement implements URLUtils; 1138 attribute DOMString hreflang; 1139 attribute DOMString type; 1140 1141 attribute DOMString text; 1142 }; 1143 HTMLAnchorElement implements HTMLHyperlinkElementUtils; 1141 1144 1142 1145 interface HTMLDataElement : HTMLElement { … … 1495 1498 1496 1499 interface HTMLAreaElement : HTMLElement { 1497 attribute DOMString alt;1498 attribute DOMString coords;1499 attribute DOMString shape;1500 attribute DOMString target;1501 attribute DOMString download;1502 [PutForwards=value] attribute DOMSettableTokenList ping;1503 attribute DOMString rel;1500 attribute DOMString alt; 1501 attribute DOMString coords; 1502 attribute DOMString shape; 1503 attribute DOMString target; 1504 attribute DOMString download; 1505 [PutForwards=value] readonly attribute DOMSettableTokenList ping; 1506 attribute DOMString rel; 1504 1507 readonly attribute DOMTokenList relList; 1505 attribute DOMString hreflang; 1506 attribute DOMString type; 1507 1508 // also has obsolete members 1509 }; 1510 HTMLAreaElement implements URLUtils; 1508 // hreflang and type are not reflected 1509 }; 1510 HTMLAreaElement implements HTMLHyperlinkElementUtils; 1511 1511 1512 1512 interface HTMLTableElement : HTMLElement { … … 2323 2323 2324 2324 [Unforgeable] interface Location { 2325 void assign(DOMString url); 2326 void replace(DOMString url); 2325 stringifier attribute USVString href; 2326 attribute USVString origin; 2327 attribute USVString protocol; 2328 attribute USVString host; 2329 attribute USVString hostname; 2330 attribute USVString port; 2331 attribute USVString pathname; 2332 attribute USVString search; 2333 attribute USVString hash; 2334 2335 void assign(USVString url); 2336 void replace(USVString url); 2327 2337 void reload(); 2328 }; 2329 Location implements URLUtils; 2338 2339 [SameObject] readonly attribute USVString[] ancestorOrigins; 2340 }; 2330 2341 2331 2342 [Constructor(DOMString type, optional PopStateEventInit eventInitDict), Exposed=Window,Worker] … … 2819 2830 2820 2831 [Exposed=Worker] 2821 interface WorkerLocation { }; 2822 WorkerLocation implements URLUtilsReadOnly; 2832 interface WorkerLocation { 2833 stringifier readonly attribute USVString href; 2834 readonly attribute USVString origin; 2835 readonly attribute USVString protocol; 2836 readonly attribute USVString host; 2837 readonly attribute USVString hostname; 2838 readonly attribute USVString port; 2839 readonly attribute USVString pathname; 2840 readonly attribute USVString search; 2841 readonly attribute USVString hash; 2842 }; 2823 2843 2824 2844 interface Storage { -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection.js
r189472 r194580 140 140 * Note that all tests/expected values are only baselines, and can be expanded 141 141 * with additional tests hardcoded into the function for particular types if 142 * necessary (e.g., enum). null means "default" as a DOM expected value, and 143 * "throw an INDEX_SIZE_ERR exception" as an IDL expected value. (This is a 144 * kind of stupid and fragile convention, but it's simple and works for now.) 145 * Expected DOM values are cast to strings by adding "". 142 * necessary. For example, a special codepath is used for enums, and for 143 * IDL setters which throw an exception. null means "defaultVal" is the 144 * expected value. Expected DOM values are cast to strings by adding "". 146 145 * 147 146 * TODO: Test strings that aren't valid UTF-16. Desired behavior is not clear … … 380 379 return parsed; 381 380 }, 382 "idlTests": [minInt, -36, -1, 0, 1, maxInt],383 "idlDomExpected": [null , null, null, 0, 1, maxInt]381 "idlTests": [minInt, -36, -1, 0, 1, maxInt], 382 "idlDomExpected": [null/*exception*/, null/*exception*/, null/*exception*/, 0, 1, maxInt] 384 383 }, 385 384 /** … … 417 416 return parsed; 418 417 }, 419 "idlTests": [0, 1, 257, 2147483647, "-0"], 420 "idlIdlExpected": [0, 1, 257, 2147483647, 0] 418 "idlTests": [0, 1, 257, maxInt, "-0", maxInt + 1, maxUnsigned], 419 "idlIdlExpected": [0, 1, 257, maxInt, 0, null, null], 420 "idlDomExpected": [0, 1, 257, maxInt, 0, null, null], 421 421 }, 422 422 /** … … 458 458 return parsed; 459 459 }, 460 "idlTests": [0, 1, 2147483647],461 "idlDomExpected": [null , 1, 2147483647]460 "idlTests": [0, 1, maxInt, maxInt + 1, maxUnsigned], 461 "idlDomExpected": [null/*exception*/, 1, maxInt, null, null] 462 462 }, 463 463 /** … … 611 611 var domExpected = typeInfo.domExpected.map(function(val) { return val === null ? defaultVal : val; }); 612 612 var idlTests = typeInfo.idlTests.slice(0); 613 var idlDomExpected = typeInfo.idlDomExpected. slice(0);614 var idlIdlExpected = typeInfo.idlIdlExpected. slice(0);613 var idlDomExpected = typeInfo.idlDomExpected.map(function(val) { return val === null ? defaultVal : val; }); 614 var idlIdlExpected = typeInfo.idlIdlExpected.map(function(val) { return val === null ? defaultVal : val; }); 615 615 switch (data.type) { 616 616 // Extra tests and other special-casing … … 713 713 714 714 for (var i = 0; i < idlTests.length; i++) { 715 if (idlDomExpected[i] === null && data.type != "enum") { 715 if ((data.type == "limited long" && idlTests[i] < 0) || 716 (data.type == "limited unsigned long" && idlTests[i] == 0)) { 716 717 ReflectionHarness.testException("INDEX_SIZE_ERR", function() { 717 718 idlObj[idlName] = idlTests[i]; -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/Image-constructor.html
r189476 r194580 2 2 <title>DOM Image constructor Test</title> 3 3 <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> 4 <link rel="help" href="https://html.spec.whatwg.org/multipage/ embedded-content.html#the-img-element" />4 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-img-element" /> 5 5 <meta name="assert" content="Tests the Image constructor for the img-element"> 6 6 <script src="/resources/testharness.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/current-pixel-density/basic-expected.txt
r189476 r194580 1 1 2 2 3 3 PASS <img src="/images/green-256x256.png" data-expect="256"> 4 4 PASS <img srcset="/images/green-256x256.png 1x" data-expect="256"> 5 PASS <img srcset="/images/green-256x256.png 1.6x" data-expect="160"> 6 PASS <img srcset="/images/green-256x256.png 2x" data-expect="128"> 7 PASS <img srcset="/images/green-256x256.png 10000x" data-expect="0"> 8 PASS <img srcset="/images/green-256x256.png 9e99999999999999999999999x" data-expect="0"> 5 FAIL <img srcset="/images/green-256x256.png 1.6x" data-expect="160"> assert_equals: naturalWidth expected 160 but got 256 6 FAIL <img srcset="/images/green-256x256.png 2x" data-expect="128"> assert_equals: naturalWidth expected 128 but got 256 7 FAIL <img srcset="/images/green-256x256.png 10000x" data-expect="0"> assert_equals: naturalWidth expected 0 but got 256 8 FAIL <img srcset="/images/green-256x256.png 9e99999999999999999999999x" data-expect="0"> assert_equals: naturalWidth expected 0 but got 256 9 9 PASS <img srcset="/images/green-256x256.png 256w" sizes="256px" data-expect="256"> 10 PASS <img srcset="/images/green-256x256.png 512w" sizes="256px" data-expect="128"> 11 PASS <img srcset="/images/green-256x256.png 256w" sizes="512px" data-expect="512"> 12 PASS <img srcset="/images/green-256x256.png 256w" sizes="1px" data-expect="1"> 13 PASS <img srcset="/images/green-256x256.png 256w" sizes="0px" data-expect="0"> 10 FAIL <img srcset="/images/green-256x256.png 512w" sizes="256px" data-expect="128"> assert_equals: naturalWidth expected 128 but got 256 11 FAIL <img srcset="/images/green-256x256.png 256w" sizes="512px" data-expect="512"> assert_equals: naturalWidth expected 512 but got 256 12 FAIL <img srcset="/images/green-256x256.png 256w" sizes="1px" data-expect="1"> assert_equals: naturalWidth expected 1 but got 256 13 FAIL <img srcset="/images/green-256x256.png 256w" sizes="0px" data-expect="0"> assert_equals: naturalWidth expected 0 but got 256 14 PASS <img srcset="data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='-1%20-1%202%202'%20width='20'%20height='20'><circle%20r='1'/></svg> 2x" data-expect="10"> 15 PASS <img srcset="data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='-1%20-1%202%202'%20width='20'><circle%20r='1'/></svg> 2x" data-expect="10"> 16 PASS <img srcset="data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='-1%20-1%202%202'%20height='20'><circle%20r='1'/></svg> 2x" data-expect="10"> 14 17 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/current-pixel-density/basic.html
r189476 r194580 15 15 <img srcset="/images/green-256x256.png 256w" sizes="1px" data-expect="1"> 16 16 <img srcset="/images/green-256x256.png 256w" sizes="0px" data-expect="0"> 17 <!-- SVG --> 18 <img srcset="data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='-1%20-1%202%202'%20width='20'%20height='20'><circle%20r='1'/></svg> 2x" data-expect="10"> 19 <img srcset="data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='-1%20-1%202%202'%20width='20'><circle%20r='1'/></svg> 2x" data-expect="10"> 20 <img srcset="data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='-1%20-1%202%202'%20height='20'><circle%20r='1'/></svg> 2x" data-expect="10"> 17 21 <script> 18 22 setup({explicit_done:true}); … … 25 29 assert_equals(img.clientWidth, expected, 'clientWidth'); 26 30 assert_equals(img.clientHeight, expected, 'clientHeight'); 27 assert_equals(img.naturalWidth, 256, 'naturalWidth');28 assert_equals(img.naturalHeight, 256, 'naturalHeight');31 assert_equals(img.naturalWidth, expected, 'naturalWidth'); 32 assert_equals(img.naturalHeight, expected, 'naturalHeight'); 29 33 }, img.outerHTML); 30 34 }); -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-checkValidity-expected.txt
r189476 r194580 3 3 PASS [INPUT in TEXT status] no constraint 4 4 PASS [INPUT in TEXT status] no constraint (in a form) 5 PASS [INPUT in TEXT status] suffering from being too long 6 PASS [INPUT in TEXT status] suffering from being too long (in a form) 5 FAIL [INPUT in TEXT status] suffering from being too long assert_false: The checkValidity method should be false. expected false got true 6 FAIL [INPUT in TEXT status] suffering from being too long (in a form) assert_false: The checkValidity method of the element's form owner should return false. expected false got true 7 7 PASS [INPUT in TEXT status] suffering from a pattern mismatch 8 8 PASS [INPUT in TEXT status] suffering from a pattern mismatch (in a form) … … 11 11 PASS [INPUT in SEARCH status] no constraint 12 12 PASS [INPUT in SEARCH status] no constraint (in a form) 13 PASS [INPUT in SEARCH status] suffering from being too long 14 PASS [INPUT in SEARCH status] suffering from being too long (in a form) 13 FAIL [INPUT in SEARCH status] suffering from being too long assert_false: The checkValidity method should be false. expected false got true 14 FAIL [INPUT in SEARCH status] suffering from being too long (in a form) assert_false: The checkValidity method of the element's form owner should return false. expected false got true 15 15 PASS [INPUT in SEARCH status] suffering from a pattern mismatch 16 16 PASS [INPUT in SEARCH status] suffering from a pattern mismatch (in a form) … … 19 19 PASS [INPUT in TEL status] no constraint 20 20 PASS [INPUT in TEL status] no constraint (in a form) 21 PASS [INPUT in TEL status] suffering from being too long 22 PASS [INPUT in TEL status] suffering from being too long (in a form) 21 FAIL [INPUT in TEL status] suffering from being too long assert_false: The checkValidity method should be false. expected false got true 22 FAIL [INPUT in TEL status] suffering from being too long (in a form) assert_false: The checkValidity method of the element's form owner should return false. expected false got true 23 23 PASS [INPUT in TEL status] suffering from a pattern mismatch 24 24 PASS [INPUT in TEL status] suffering from a pattern mismatch (in a form) … … 27 27 PASS [INPUT in PASSWORD status] no constraint 28 28 PASS [INPUT in PASSWORD status] no constraint (in a form) 29 PASS [INPUT in PASSWORD status] suffering from being too long 30 PASS [INPUT in PASSWORD status] suffering from being too long (in a form) 29 FAIL [INPUT in PASSWORD status] suffering from being too long assert_false: The checkValidity method should be false. expected false got true 30 FAIL [INPUT in PASSWORD status] suffering from being too long (in a form) assert_false: The checkValidity method of the element's form owner should return false. expected false got true 31 31 PASS [INPUT in PASSWORD status] suffering from a pattern mismatch 32 32 PASS [INPUT in PASSWORD status] suffering from a pattern mismatch (in a form) … … 35 35 PASS [INPUT in URL status] no constraint 36 36 PASS [INPUT in URL status] no constraint (in a form) 37 PASS [INPUT in URL status] suffering from being too long 38 PASS [INPUT in URL status] suffering from being too long (in a form) 37 FAIL [INPUT in URL status] suffering from being too long assert_false: The checkValidity method should be false. expected false got true 38 FAIL [INPUT in URL status] suffering from being too long (in a form) assert_false: The checkValidity method of the element's form owner should return false. expected false got true 39 39 PASS [INPUT in URL status] suffering from a pattern mismatch 40 40 PASS [INPUT in URL status] suffering from a pattern mismatch (in a form) … … 45 45 PASS [INPUT in EMAIL status] no constraint 46 46 PASS [INPUT in EMAIL status] no constraint (in a form) 47 PASS [INPUT in EMAIL status] suffering from being too long 48 PASS [INPUT in EMAIL status] suffering from being too long (in a form) 47 FAIL [INPUT in EMAIL status] suffering from being too long assert_false: The checkValidity method should be false. expected false got true 48 FAIL [INPUT in EMAIL status] suffering from being too long (in a form) assert_false: The checkValidity method of the element's form owner should return false. expected false got true 49 49 PASS [INPUT in EMAIL status] suffering from a pattern mismatch 50 50 PASS [INPUT in EMAIL status] suffering from a pattern mismatch (in a form) -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valid-expected.txt
r189476 r194580 1 1 2 2 3 PASS [INPUT in TEXT status] validity.valid must be false if validity.tooLong is true 3 FAIL [INPUT in TEXT status] validity.valid must be false if validity.tooLong is true assert_false: The validity.valid should be false. expected false got true 4 4 PASS [INPUT in TEXT status] validity.valid must be false if validity.patternMismatch is true 5 5 PASS [INPUT in TEXT status] validity.valid must be false if validity.valueMissing is true 6 PASS [INPUT in SEARCH status] validity.valid must be false if validity.tooLong is true 6 FAIL [INPUT in SEARCH status] validity.valid must be false if validity.tooLong is true assert_false: The validity.valid should be false. expected false got true 7 7 PASS [INPUT in SEARCH status] validity.valid must be false if validity.patternMismatch is true 8 8 PASS [INPUT in SEARCH status] validity.valid must be false if validity.valueMissing is true 9 PASS [INPUT in TEL status] validity.valid must be false if validity.tooLong is true 9 FAIL [INPUT in TEL status] validity.valid must be false if validity.tooLong is true assert_false: The validity.valid should be false. expected false got true 10 10 PASS [INPUT in TEL status] validity.valid must be false if validity.patternMismatch is true 11 11 PASS [INPUT in TEL status] validity.valid must be false if validity.valueMissing is true 12 PASS [INPUT in PASSWORD status] validity.valid must be false if validity.tooLong is true 12 FAIL [INPUT in PASSWORD status] validity.valid must be false if validity.tooLong is true assert_false: The validity.valid should be false. expected false got true 13 13 PASS [INPUT in PASSWORD status] validity.valid must be false if validity.patternMismatch is true 14 14 PASS [INPUT in PASSWORD status] validity.valid must be false if validity.valueMissing is true 15 PASS [INPUT in URL status] validity.valid must be false if validity.tooLong is true 15 FAIL [INPUT in URL status] validity.valid must be false if validity.tooLong is true assert_false: The validity.valid should be false. expected false got true 16 16 PASS [INPUT in URL status] validity.valid must be false if validity.patternMismatch is true 17 17 PASS [INPUT in URL status] validity.valid must be false if validity.typeMismatch is true 18 18 PASS [INPUT in URL status] validity.valid must be false if validity.valueMissing is true 19 PASS [INPUT in EMAIL status] validity.valid must be false if validity.tooLong is true 19 FAIL [INPUT in EMAIL status] validity.valid must be false if validity.tooLong is true assert_false: The validity.valid should be false. expected false got true 20 20 PASS [INPUT in EMAIL status] validity.valid must be false if validity.patternMismatch is true 21 21 PASS [INPUT in EMAIL status] validity.valid must be false if validity.typeMismatch is true -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing-expected.txt
r191379 r194580 37 37 PASS [INPUT in CHECKBOX status] The required attribute is not set 38 38 PASS [INPUT in CHECKBOX status] The checked attribute is true 39 FAIL [INPUT in CHECKBOX status] The checked attribute is false assert_true: The validity.valueMissing should be true. expected true got false 39 PASS [INPUT in CHECKBOX status] The checked attribute is false 40 40 PASS [INPUT in RADIO status] The required attribute is not set 41 41 PASS [INPUT in RADIO status] The checked attribute is true 42 FAIL [INPUT in RADIO status] The checked attribute is false assert_true: The validity.valueMissing should be true. expected true got false 42 PASS [INPUT in RADIO status] The checked attribute is false 43 43 PASS [INPUT in FILE status] The required attribute is not set 44 44 PASS [INPUT in FILE status] The Files attribute is null -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valueMissing.html
r191379 r194580 121 121 { 122 122 tag: "input", 123 types: ["checkbox" , "radio"],123 types: ["checkbox"], 124 124 testData: [ 125 125 {conditions: {required: false, checked: false, name: "test1"}, expected: false, name: "[target] The required attribute is not set"}, 126 {conditions: {required: true, checked: true, name: "test1"}, expected: false, name: "[target] The checked attribute is true"}, 127 {conditions: {required: true, checked: false, name: "test1"}, expected: true, name: "[target] The checked attribute is false"} 126 {conditions: {required: true, checked: true, name: "test2"}, expected: false, name: "[target] The checked attribute is true"}, 127 {conditions: {required: true, checked: false, name: "test3"}, expected: true, name: "[target] The checked attribute is false"} 128 ] 129 }, 130 { 131 tag: "input", 132 types: ["radio"], 133 testData: [ 134 {conditions: {required: false, checked: false, name: "test4"}, expected: false, name: "[target] The required attribute is not set"}, 135 {conditions: {required: true, checked: true, name: "test5"}, expected: false, name: "[target] The checked attribute is true"}, 136 {conditions: {required: true, checked: false, name: "test6"}, expected: true, name: "[target] The checked attribute is false"} 128 137 ] 129 138 }, -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/support/validator.js
r191379 r194580 280 280 }); 281 281 for (var attr in obj) { 282 if ( obj[attr] || obj[attr] === "")282 if (attr === "checked" || obj[attr] || obj[attr] === "") 283 283 ctl[attr] = obj[attr]; 284 284 } … … 286 286 287 287 set_dirty: function(ctl) { 288 document.designMode = "on";289 288 ctl.focus(); 290 289 var old_value = ctl.value; 291 290 ctl.value = "a"; 292 291 ctl.value = old_value; 293 if (ctl.type !== 'email') {294 ctl.setSelectionRange(ctl.value.length, ctl.value.length);295 }296 document.execCommand("Delete");297 document.designMode = "off";298 292 }, 299 293 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection.html
r189476 r194580 2 2 <title>test if select() API returns correct attributes</title> 3 3 <meta charset="UTF-8"> 4 <meta name="timeout" content="long"> 4 5 <link rel="author" title="Koji Tashiro" href="mailto:koji.tashiro@gmail.com"> 5 6 <link rel="help" href="https://html.spec.whatwg.org/multipage/multipage/association-of-controls-and-forms.html#textFieldSelection"> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete-expected.txt
r191981 r194580 15 15 PASS honorific-suffix is an allowed autocomplete field name 16 16 PASS nickname is an allowed autocomplete field name 17 PASS username is an allowed autocomplete field name 18 PASS new-password is an allowed autocomplete field name 19 PASS current-password is an allowed autocomplete field name 17 20 PASS organization-title is an allowed autocomplete field name 18 21 PASS organization is an allowed autocomplete field name … … 21 24 PASS address-line2 is an allowed autocomplete field name 22 25 PASS address-line3 is an allowed autocomplete field name 23 FAIL locality is an allowed autocomplete field name assert_equals: expected "locality" but got "" 24 FAIL region is an allowed autocomplete field name assert_equals: expected "region" but got "" 26 PASS address-level4 is an allowed autocomplete field name 27 PASS address-level3 is an allowed autocomplete field name 28 PASS address-level2 is an allowed autocomplete field name 29 PASS address-level1 is an allowed autocomplete field name 25 30 PASS country is an allowed autocomplete field name 26 31 PASS country-name is an allowed autocomplete field name … … 36 41 PASS cc-csc is an allowed autocomplete field name 37 42 PASS cc-type is an allowed autocomplete field name 43 PASS transaction-currency is an allowed autocomplete field name 44 PASS transaction-amount is an allowed autocomplete field name 38 45 PASS language is an allowed autocomplete field name 39 46 PASS bday is an allowed autocomplete field name -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html
r189476 r194580 48 48 autocompletetest(document.forms.autocomplete_invalid, ["on", "on", "on", "off", ""], "form autocomplete attribute invalid"); 49 49 50 var keywords = [ "name", "honorific-prefix", "given-name", "additional-name", "family-name", "honorific-suffix", "nickname", "organization-title", "organization", "street-address", "address-line1", "address-line2", "address-line3", "locality", "region", "country", "country-name", "postal-code", "cc-name", "cc-given-name", "cc-additional-name", "cc-family-name", "cc-number", "cc-exp", "cc-exp-month", "cc-exp-year", "cc-csc", "cc-type", "language", "bday", "bday-day", "bday-month", "bday-year", "sex", "url", "photo", "tel", "tel-country-code", "tel-national", "tel-area-code", "tel-local", "tel-local-prefix", "tel-local-suffix", "tel-extension", "email", "impp" ]; 50 var keywords = [ "name", "honorific-prefix", "given-name", "additional-name", "family-name", "honorific-suffix", "nickname", "username", "new-password", "current-password", "organization-title", "organization", "street-address", "address-line1", "address-line2", "address-line3", "address-level4", "address-level3", "address-level2", "address-level1", "country", "country-name", "postal-code", "cc-name", "cc-given-name", "cc-additional-name", "cc-family-name", "cc-number", "cc-exp", "cc-exp-month", "cc-exp-year", "cc-csc", "cc-type", "transaction-currency", "transaction-amount", "language", "bday", "bday-day", "bday-month", "bday-year", "sex", "url", "photo", "tel", "tel-country-code", "tel-national", "tel-area-code", "tel-local", "tel-local-prefix", "tel-local-suffix", "tel-extension", "email", "impp" ]; 51 51 52 keywords.forEach(function(keyword) { 52 53 test(function(){ -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-label-element/label-attributes-expected.txt
r191497 r194580 7 7 PASS The 'for' attribute is an empty string. 8 8 PASS A form control has multiple labels. 9 PASS A form control has an implicit label. 9 10 PASS A form control has no label 1. 10 11 PASS A form control has no label 2. -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-label-element/label-attributes.html
r191379 r194580 54 54 document.body.appendChild(label); 55 55 assert_equals(label.control, document.getElementById("test1")); 56 label.remove(); 56 57 }, "A label element not in a document can not label any element in the document."); 57 58 … … 64 65 assert_equals(document.getElementById("lbl1").control, input, 65 66 "The first labelable descendant of a label element in tree order should be its labeled control."); 67 input.remove(); 66 68 }, "The labeled control for a label element that has no 'for' attribute is the first labelable element which is a descendant of that label element."); 67 69 … … 96 98 assert_array_equals(document.getElementById("test7").labels, [newLabel, document.getElementById("lbl5"), document.getElementById("lbl6")], 97 99 "The labels for a form control should be returned in tree order."); 100 newLabel.remove(); 98 101 }, "A form control has multiple labels."); 102 103 test(function () { 104 var labels = document.getElementById("test3").labels; 105 assert_true(labels instanceof NodeList, "A form control's 'labels' property should be an instance of a NodeList."); 106 assert_equals(labels.length, 1, "The form control has an ancestor with no explicit associated label, and is the first labelable descendant."); 107 }, "A form control has an implicit label."); 99 108 100 109 test(function () { 101 110 var labels = document.getElementById("test4").labels; 102 111 assert_true(labels instanceof NodeList, "A form control's 'labels' property should be an instance of a NodeList."); 103 assert_equals(labels.length, 0, "The number of labels should be 0 if the associated form control isn't referenced by any <label>.");112 assert_equals(labels.length, 0, "The form control has an ancestor with no explicit associated label, but is *not* the first labelable descendant"); 104 113 }, "A form control has no label 1."); 105 114 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-label-element/labelable-elements-expected.txt
r189476 r194580 1 1 2 2 PASS Check if the output element is a labelable element 3 PASS Check if the output element can access 'labels' 3 4 PASS Check if the progress element is a labelable element 5 PASS Check if the progress element can access 'labels' 4 6 PASS Check if the select element is a labelable element 7 PASS Check if the select element can access 'labels' 5 8 PASS Check if the textarea element is a labelable form-element 9 PASS Check if the textarea element can access 'labels' 6 10 PASS Check if the button element is a labelable element 11 PASS Check if the button element can access 'labels' 7 12 PASS Check if the hidden input element is not a labelable element. 13 FAIL Check if the hidden input element can access 'labels' null is not an object (evaluating 'elem.labels.length') 8 14 PASS Check if the input element in radio state is a labelable element 15 PASS Check if the input element in radio state can access 'labels' 9 16 PASS Check if the keygen element is a labelable element 17 PASS Check if the keygen element can access 'labels' 10 18 PASS Check if the meter element is a labelable element 19 PASS Check if the meter element can access 'labels' 11 20 PASS Check if the fieldset element is not a labelable element 21 PASS Check if the fieldset element can access 'labels' 12 22 PASS Check if the label element is not a labelable element 23 PASS Check if the label element can access 'labels' 13 24 PASS Check if the object element is not a labelable element 25 PASS Check if the object element can access 'labels' 14 26 PASS Check if the img element is not a labelable element 27 PASS Check if the img element can access 'labels' 15 28 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-label-element/labelable-elements.html
r189476 r194580 37 37 38 38 <script> 39 function testLabelsAttr(formElementId, labelElementId, hasLabels) { 40 var elem = document.getElementById(formElementId); 41 if (labelElementId) { 42 assert_equals(elem.labels.length, 1); 43 assert_equals(elem.labels[0].id, labelElementId); 44 } else { 45 assert_equals(elem.labels.length, 0); 46 } 47 } 39 48 40 49 test(function() { … … 43 52 44 53 test(function() { 54 testLabelsAttr("testoutput", "lbl0"); 55 }, "Check if the output element can access 'labels'"); 56 57 test(function() { 45 58 assert_equals(document.getElementById("lbl1").control.id, "testprogress", "A progress element should be labelable."); 46 59 }, "Check if the progress element is a labelable element"); 60 61 test(function() { 62 testLabelsAttr("testprogress", "lbl1"); 63 }, "Check if the progress element can access 'labels'"); 47 64 48 65 test(function() { … … 51 68 52 69 test(function() { 70 testLabelsAttr("testselect", "lbl2"); 71 }, "Check if the select element can access 'labels'"); 72 73 test(function() { 53 74 assert_equals(document.getElementById("lbl3").control.id, "testarea", "A textarea element should be labelable."); 54 75 }, "Check if the textarea element is a labelable form-element"); 76 77 test(function() { 78 testLabelsAttr("testarea", "lbl3"); 79 }, "Check if the textarea element can access 'labels'"); 55 80 56 81 test(function() { … … 59 84 60 85 test(function() { 86 testLabelsAttr("testButton", "lbl4"); 87 }, "Check if the button element can access 'labels'"); 88 89 test(function() { 61 90 assert_equals(document.getElementById("lbl5").control, null, "An input element in hidden state should not be labelable."); 62 91 }, "Check if the hidden input element is not a labelable element."); 92 93 test(function() { 94 testLabelsAttr("testHidden", null); 95 }, "Check if the hidden input element can access 'labels'"); 63 96 64 97 test(function() { … … 67 100 68 101 test(function() { 102 testLabelsAttr("testRadio", "lbl6"); 103 }, "Check if the input element in radio state can access 'labels'"); 104 105 test(function() { 69 106 assert_equals(document.getElementById("lbl7").control.id, "testkeygen", "A keygen element should be labelable."); 70 107 }, "Check if the keygen element is a labelable element"); 71 108 72 109 test(function() { 110 testLabelsAttr("testkeygen", "lbl7"); 111 }, "Check if the keygen element can access 'labels'"); 112 113 test(function() { 73 114 assert_equals(document.getElementById("lbl8").control.id, "testmeter", "A meter element should be labelable."); 74 115 }, "Check if the meter element is a labelable element"); 116 117 test(function() { 118 testLabelsAttr("testmeter", "lbl8"); 119 }, "Check if the meter element can access 'labels'"); 75 120 76 121 test(function() { … … 80 125 81 126 test(function() { 127 assert_equals(document.getElementById("testfieldset").labels, undefined); 128 }, "Check if the fieldset element can access 'labels'"); 129 130 test(function() { 82 131 assert_not_equals(document.getElementById("lbl9").control, document.getElementById("testlabel")); 83 132 assert_equals(document.getElementById("lbl10").control, null, "A label element should not be labelable."); 84 133 }, "Check if the label element is not a labelable element"); 134 135 test(function() { 136 assert_equals(document.getElementById("testlabel").labels, undefined); 137 }, "Check if the label element can access 'labels'"); 85 138 86 139 test(function() { … … 90 143 91 144 test(function() { 145 assert_equals(document.getElementById("testobject").labels, undefined); 146 }, "Check if the object element can access 'labels'"); 147 148 test(function() { 92 149 assert_not_equals(document.getElementById("lbl9").control, document.getElementById("testimg")); 93 150 assert_equals(document.getElementById("lbl12").control, null, "An img element should not be labelable."); 94 151 }, "Check if the img element is not a labelable element"); 95 152 153 test(function() { 154 assert_equals(document.getElementById("lbl9").labels, undefined); 155 }, "Check if the img element can access 'labels'"); 96 156 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-option-element/option-text-recurse-expected.txt
r189476 r194580 9 9 PASS option.text should work if the option is in an SVG script element 10 10 PASS option.text should work if the option is in a MathML script element 11 PASS option.text should ignore comment children 12 PASS option.text should ignore PI children 11 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-option-element/option-text-recurse.html
r189476 r194580 75 75 assert_equals(option.text, "text"); 76 76 }, "option.text should work if the option is in a MathML script element"); 77 78 test(function() { 79 var option = document.createElement("option"); 80 option.appendChild(document.createTextNode("te")); 81 option.appendChild(document.createComment("comment")); 82 option.appendChild(document.createTextNode("xt")); 83 assert_equals(option.text, "text"); 84 }, "option.text should ignore comment children"); 85 test(function() { 86 var option = document.createElement("option"); 87 option.appendChild(document.createTextNode("te")); 88 option.appendChild(document.createProcessingInstruction("target", "data")); 89 option.appendChild(document.createTextNode("xt")); 90 assert_equals(option.text, "text"); 91 }, "option.text should ignore PI children"); 77 92 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem-expected.txt
r189476 r194580 4 4 PASS if only one item has a name or *id* value matching the parameter, return that object and stop 5 5 PASS if no item has a name or id value matching the parameter, return null and stop 6 FAIL return an HTMLOptionsCollection in correct order for repeated 'id' value assert_array_equals: lengths differ, expected 2 got 0 7 FAIL return an HTMLOptionsCollection in correct order for repeated 'name' value assert_array_equals: lengths differ, expected 2 got 0 8 FAIL return an HTMLOptionsCollection in correct order for repeated mixed value assert_array_equals: lengths differ, expected 2 got 0 6 PASS if multiple items have a name or *id* value matching the parameter, return the first object and stop 7 PASS if multiple items have a *name* or id value matching the parameter, return the first object and stop 8 PASS if multiple items have a *name* or *id* value matching the parameter, return the first object and stop 9 9 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/common-HTMLOptionsCollection-namedItem.html
r189476 r194580 6 6 <script src="/resources/testharness.js"></script> 7 7 <script src="/resources/testharnessreport.js"></script> 8 </head> 9 <body> 8 10 <div id="log"></div> 9 11 <select id="selly"> … … 38 40 39 41 test(function () { 40 var testarr = []; 41 for (var i = 0; i < selly.namedItem('id3').length; i++) { 42 testarr.push(selly.namedItem('id3')[i].text); 43 } 44 assert_array_equals(testarr, ['3','duplicate ID']); 45 }, "return an HTMLOptionsCollection in correct order for repeated 'id' value"); 42 assert_equals(selly.namedItem('id3')["value"], "3"); 43 }, "if multiple items have a name or *id* value matching the parameter, return the first object and stop"); 46 44 47 45 test(function () { 48 var testarr = []; 49 for (var i = 0; i < selly.namedItem('name4').length; i++) { 50 testarr.push(selly.namedItem('name4')[i].text); 51 } 52 assert_array_equals(testarr, ['4', 'duplicate name']); 53 }, "return an HTMLOptionsCollection in correct order for repeated 'name' value"); 46 assert_equals(selly.namedItem('name4')["value"], "4"); 47 }, "if multiple items have a *name* or id value matching the parameter, return the first object and stop"); 54 48 55 49 test(function () { 56 var testarr = []; 57 for (var i = 0; i < selly.namedItem('mixed1').length; i++) { 58 testarr.push(selly.namedItem('mixed1')[i].text); 59 } 60 assert_array_equals(testarr, ['mixed ID', 'mixed name']); 61 }, "return an HTMLOptionsCollection in correct order for repeated mixed value"); 50 assert_equals(selly.namedItem('mixed1')["value"], "mixed ID"); 51 }, "if multiple items have a *name* or *id* value matching the parameter, return the first object and stop"); 62 52 </script> 53 </body> 54 </html> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log
r191379 r194580 19 19 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/log.py 20 20 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-before-after-events.html 21 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-for-event-xhtml.xhtml 21 22 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-for-event.html 22 23 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-language-type.html … … 25 26 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-noembed-noframes-iframe.xhtml 26 27 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-onload-string.html 28 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-text-xhtml.xhtml 27 29 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-text.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html
r191379 r194580 5 5 <meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru"> 6 6 <meta name="assert" content="Template element can not be a descendant of the frameset element"> 7 <link rel="help" href="https://html.spec.whatwg.org/multipage/ syntax.html#parsing-main-inframeset">7 <link rel="help" href="https://html.spec.whatwg.org/multipage/#parsing-main-inframeset"> 8 8 <script src="/resources/testharness.js"></script> 9 9 <script src="/resources/testharnessreport.js"></script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/disabled-expected.txt
r191379 r194580 10 10 FAIL ':disabled' should also match elements whose disabled attribute has been set assert_array_equals: lengths differ, expected 9 got 10 11 11 FAIL ':disabled' should also match elements whose disabled attribute has been set twice assert_array_equals: lengths differ, expected 9 got 10 12 FAIL ':disabled' should also match elements whose disabled attribute has been set twice assert_array_equals: lengths differ, expected 9 got 1013 12 FAIL ':disabled' should also match disabled elements whose type has changed assert_array_equals: lengths differ, expected 9 got 10 14 13 FAIL ':disabled' should not match elements not in the document assert_array_equals: lengths differ, expected 9 got 10 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/disabled.html
r191379 r194580 52 52 testSelector(":disabled", ["button1", "input2", "select2", "optgroup2", "option2", "textarea2", "fieldset2", "clubname", "clubnum"], "':disabled' should also match elements whose disabled attribute has been set twice"); 53 53 54 document.getElementById("button1").setAttribute("disabled", "disabled");55 testSelector(":disabled", ["button1", "input2", "select2", "optgroup2", "option2", "textarea2", "fieldset2", "clubname", "clubnum"], "':disabled' should also match elements whose disabled attribute has been set twice");56 57 54 document.getElementById("input2").setAttribute("type", "submit"); // change input type to submit 58 55 testSelector(":disabled", ["button1", "input2", "select2", "optgroup2", "option2", "textarea2", "fieldset2", "clubname", "clubnum"], "':disabled' should also match disabled elements whose type has changed"); -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex-expected.txt
r189476 r194580 5 5 PASS For cells whose parent is not a HTML tr, cellIndex should be -1. 6 6 PASS For cells whose parent is a tr, cellIndex should be the index. 7 PASS For cells whose parent is a tr with non td/th sibling, cellIndex should skip those non td/th siblings. 7 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html
r189476 r194580 39 39 assert_equals(td.cellIndex, 1); 40 40 }, "For cells whose parent is a tr, cellIndex should be the index.") 41 test(function() { 42 var tr = document.createElement("tr"); 43 var th = tr.appendChild(document.createElement("th")); 44 assert_equals(th.cellIndex, 0); 45 tr.appendChild(document.createElement("div")); 46 tr.appendChild(document.createTextNode("Hello World")); 47 var td = tr.appendChild(document.createElement("td")); 48 assert_equals(td.cellIndex, 1) 49 }, "For cells whose parent is a tr with non td/th sibling, cellIndex should skip those non td/th siblings.") 41 50 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-tbody-element/deleteRow-expected.txt
r189476 r194580 1 123452 1 3 2 PASS HTMLTableSectionElement deleteRow(0) … … 5 4 PASS HTMLTableSectionElement deleteRow(rows.length) 6 5 PASS HTMLTableSectionElement deleteRow(-2) 6 FAIL HTMLTableSectionElement deleteRow(-1) with no rows IndexSizeError: DOM Exception 1 7 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-tbody-element/deleteRow.html
r189476 r194580 44 44 }, "HTMLTableSectionElement deleteRow(-2)"); 45 45 46 test(function () { 47 assert_equals(tbody.rows.length, 1); 48 tbody.deleteRow(-1); 49 assert_equals(tbody.rows.length, 0); 50 tbody.deleteRow(-1); 51 assert_equals(tbody.rows.length, 0); 52 }, "HTMLTableSectionElement deleteRow(-1) with no rows"); 53 46 54 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-tbody-element/insertRow-expected.txt
r189476 r194580 4 4 PASS HTMLTableSectionElement insertRow(-1) 5 5 PASS HTMLTableSectionElement insertRow() 6 PASS HTMLTableSectionElement insertRow(rows.length) 6 7 PASS HTMLTableSectionElement insertRow(-2) 7 8 PASS HTMLTableSectionElement insertRow(rows.length + 1) -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-tbody-element/insertRow.html
r189476 r194580 37 37 38 38 test(function () { 39 var trEle = tbody.insertRow(tbody.rows.length); 40 assert_equals(tbody.rows[tbody.rows.length - 1], trEle); 41 assert_equals(tbody.rows.length, 5); 42 }, "HTMLTableSectionElement insertRow(rows.length)"); 43 44 test(function () { 39 45 assert_throws("IndexSizeError", function () { 40 46 tbody.insertRow(-2); -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-tr-element/deleteCell-expected.txt
r189476 r194580 1 123452 1 3 2 PASS HTMLTableRowElement deleteCell(0) … … 5 4 PASS HTMLTableRowElement deleteCell(-2) 6 5 PASS HTMLTableRowElement deleteCell(cells.length) 6 FAIL HTMLTableRowElement deleteCell(-1) with no cells IndexSizeError: DOM Exception 1 7 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-tr-element/deleteCell.html
r189476 r194580 44 44 }, "HTMLTableRowElement deleteCell(cells.length)"); 45 45 46 test(function () { 47 assert_equals(tr.cells.length, 1); 48 tr.deleteCell(-1); 49 assert_equals(tr.cells.length, 0); 50 tr.deleteCell(-1); 51 assert_equals(tr.cells.length, 0); 52 }, "HTMLTableRowElement deleteCell(-1) with no cells"); 53 46 54 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/w3c-import.log
r194579 r194580 16 16 ------------------------------------------------------------------------ 17 17 List of files: 18 /LayoutTests/imported/w3c/web-platform-tests/html/semantic /document-metadata/styling/LinkStyle.html18 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/html-table-section-element.js -
trunk/LayoutTests/imported/w3c/web-platform-tests/lint
r191043 r194580 2 2 import sys 3 3 4 from tools.lint import lint 4 try: 5 from tools.lint import lint 6 except ImportError: 7 print("tools.lint not found. Did you forget to run " 8 '"git submodule update --init --recursive"?') 9 sys.exit(2) 5 10 6 11 sys.exit(0 if lint.main() == 0 else 1) -
trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist
r191043 r194580 25 25 INDENT TABS: web-animations/* 26 26 INDENT TABS: webaudio/* 27 INDENT TABS: webdriver/*28 27 INDENT TABS: webvtt/* 29 28 INDENT TABS: XMLHttpRequest/* … … 44 43 TRAILING WHITESPACE: tools/* 45 44 TRAILING WHITESPACE: webaudio/* 46 TRAILING WHITESPACE: webdriver/*47 45 TRAILING WHITESPACE: WebIDL/* 48 46 TRAILING WHITESPACE: webvtt/* … … 109 107 PARSE-FAILED:content-security-policy/svg/including.sub.svg 110 108 109 #Helper files that aren't valid XML 110 PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/empty.xml 111 PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/minimal_html.xml 112 113 # Git submodules are not currently scanned 114 *:tools/* 115 *:resources/*
Note:
See TracChangeset
for help on using the changeset viewer.