<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[200309] trunk/LayoutTests</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/200309">200309</a></dd>
<dt>Author</dt> <dd>youenn.fablet@crf.canon.fr</dd>
<dt>Date</dt> <dd>2016-05-01 13:00:14 -0700 (Sun, 01 May 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Sync web-platform-tests up to revision 4af8373
https://bugs.webkit.org/show_bug.cgi?id=157170
Reviewed by Chris Dumez.
LayoutTests/imported/w3c:
Rebasing expectations.
* resources/ImportExpectations: Skipping new test suites.
Skipping IndexedDB until we decide whether to continue having these tests here.
* resources/TestRepositories: Updating revision to 4af8373.
* resources/web-platform-tests-modules.json:
* web-platform-tests/IndexedDB/idbindex-multientry-big-expected.txt:
* web-platform-tests/IndexedDB/idbindex_get7-expected.txt:
* web-platform-tests/IndexedDB/idbindex_getKey7-expected.txt:
* web-platform-tests/IndexedDB/idbindex_openCursor2-expected.txt:
* web-platform-tests/IndexedDB/idbindex_openKeyCursor3-expected.txt:
* web-platform-tests/README.md:
* web-platform-tests/XMLHttpRequest/OWNERS:
* web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials-expected.txt:
* web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js:
(test_withCredentials.): Deleted.
* web-platform-tests/XMLHttpRequest/abort-during-open.htm:
* web-platform-tests/XMLHttpRequest/abort-during-open.js: Added.
(test.async_test.test.step.client.onreadystatechange):
(test.async_test.test.step):
* web-platform-tests/XMLHttpRequest/abort-during-open.worker.js: Added.
* web-platform-tests/XMLHttpRequest/data-uri-expected.txt:
* web-platform-tests/XMLHttpRequest/data-uri.htm:
* web-platform-tests/XMLHttpRequest/formdata-set-expected.txt:
* web-platform-tests/XMLHttpRequest/formdata-set.htm:
* web-platform-tests/XMLHttpRequest/interfaces-expected.txt:
* web-platform-tests/XMLHttpRequest/resources/auth7/corsenabled.py: Added.
(main):
* web-platform-tests/XMLHttpRequest/resources/auth7/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log.
* web-platform-tests/XMLHttpRequest/resources/auth8/corsenabled-no-authorize.py: Added.
(main):
* web-platform-tests/XMLHttpRequest/resources/auth8/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log.
* web-platform-tests/XMLHttpRequest/resources/auth9/auth.py: Added.
(main):
* web-platform-tests/XMLHttpRequest/resources/auth9/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log.
* web-platform-tests/XMLHttpRequest/responseurl-expected.txt: Added.
* web-platform-tests/XMLHttpRequest/responseurl.html: Added.
* web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments-expected.txt: Added.
* web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments.htm: Added.
* web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred-expected.txt: Added.
* web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred.htm: Added.
* web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt:
* web-platform-tests/XMLHttpRequest/send-send.htm:
* web-platform-tests/XMLHttpRequest/send-send.js: Added.
(test):
* web-platform-tests/XMLHttpRequest/send-send.worker.js: Added.
* web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name-expected.txt:
* web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name.htm:
* web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value-expected.txt:
* web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value.htm:
* web-platform-tests/XMLHttpRequest/w3c-import.log:
* web-platform-tests/common/OWNERS:
* web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws-expected.txt: Added.
* web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html: Added.
* web-platform-tests/dom/collections/HTMLCollection-supported-property-indices-expected.txt: Added.
* web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html: Added.
* web-platform-tests/dom/collections/w3c-import.log:
* web-platform-tests/dom/events/Event-constructors-expected.txt:
* web-platform-tests/dom/events/Event-constructors.html:
* web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch-expected.txt: Added.
* web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html: Added.
* web-platform-tests/dom/events/Event-dispatch-bubbles-false-expected.txt:
* web-platform-tests/dom/events/Event-dispatch-bubbles-false.html:
* web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt:
* web-platform-tests/dom/events/ProgressEvent-expected.txt:
* web-platform-tests/dom/events/ProgressEvent.html:
* web-platform-tests/dom/events/w3c-import.log:
* web-platform-tests/dom/interfaces-expected.txt:
* web-platform-tests/dom/interfaces.html:
* web-platform-tests/dom/lists/DOMTokenList-value-expected.txt: Added.
* web-platform-tests/dom/lists/DOMTokenList-value.html: Added.
* web-platform-tests/dom/lists/w3c-import.log:
* web-platform-tests/dom/nodes/CharacterData-appendChild-expected.txt: Added.
* web-platform-tests/dom/nodes/CharacterData-appendChild.html: Added.
* web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt:
* web-platform-tests/dom/nodes/DOMImplementation-createDocument.html:
* web-platform-tests/dom/nodes/Document-Element-getElementsByTagName.js:
(test_getElementsByTagName):
* web-platform-tests/dom/nodes/Document-characterSet-normalization-expected.txt:
* web-platform-tests/dom/nodes/Document-characterSet-normalization.html:
* web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt:
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.html: Added.
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.svg: Added.
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xhtml: Added.
* web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xml: Added.
* web-platform-tests/dom/nodes/Document-createElement-namespace.html:
* web-platform-tests/dom/nodes/Document-createEvent-expected.txt:
* web-platform-tests/dom/nodes/Document-createEvent.html:
* web-platform-tests/dom/nodes/Document-createEvent.js:
* web-platform-tests/dom/nodes/Document-getElementsByTagName-expected.txt:
* web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml-expected.txt:
* web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml:
* web-platform-tests/dom/nodes/Element-getElementsByTagName-expected.txt:
* web-platform-tests/dom/nodes/Element-hasAttributes-expected.txt: Added.
* web-platform-tests/dom/nodes/Element-hasAttributes.html: Added.
* web-platform-tests/dom/nodes/Element-insertAdjacentElement-expected.txt: Added.
* web-platform-tests/dom/nodes/Element-insertAdjacentElement.html: Added.
* web-platform-tests/dom/nodes/Element-insertAdjacentText-expected.txt: Added.
* web-platform-tests/dom/nodes/Element-insertAdjacentText.html: Added.
* web-platform-tests/dom/nodes/Node-contains-xml-expected.txt: Added.
* web-platform-tests/dom/nodes/Node-contains-xml.xml: Added.
* web-platform-tests/dom/nodes/Node-isSameNode-expected.txt: Added.
* web-platform-tests/dom/nodes/Node-isSameNode.html: Added.
* web-platform-tests/dom/nodes/Node-parentElement.html:
* web-platform-tests/dom/nodes/Node-replaceChild-expected.txt:
* web-platform-tests/dom/nodes/Node-replaceChild.html:
* web-platform-tests/dom/nodes/attributes-expected.txt:
* web-platform-tests/dom/nodes/attributes.html:
* web-platform-tests/dom/nodes/attributes.js:
(attr_is):
* web-platform-tests/dom/nodes/case-expected.txt:
* web-platform-tests/dom/nodes/case.js:
(get_qualified_name):
(test_get_elements_tag_name):
* web-platform-tests/dom/nodes/insert-adjacent-expected.txt: Added.
* web-platform-tests/dom/nodes/insert-adjacent.html: Added.
* web-platform-tests/dom/nodes/remove-unscopable-expected.txt: Added.
* web-platform-tests/dom/nodes/remove-unscopable.html: Added.
* web-platform-tests/dom/nodes/rootNode-expected.txt: Added.
* web-platform-tests/dom/nodes/rootNode.html: Added.
* web-platform-tests/dom/nodes/w3c-import.log:
* web-platform-tests/dom/ranges/Range-stringifier-expected.txt: Added.
* web-platform-tests/dom/ranges/Range-stringifier.html: Added.
* web-platform-tests/dom/ranges/w3c-import.log:
* web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html:
* web-platform-tests/dom/traversal/TreeWalker-basic.html:
* web-platform-tests/dom/traversal/TreeWalker-currentNode.html:
* web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html:
* web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html:
* web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html:
* web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html:
* web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html:
* web-platform-tests/dom/traversal/TreeWalker-walking-outside-a-tree.html:
* web-platform-tests/fetch/api/cors/cors-preflight.js:
* web-platform-tests/fetch/api/credentials/cookies.js:
(cookies):
* web-platform-tests/fetch/api/policies/referrer-origin-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-origin.js:
(promise_test):
* web-platform-tests/fetch/api/request/request-consume.html:
* web-platform-tests/fetch/api/request/resources/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log.
* web-platform-tests/fetch/api/request/w3c-import.log:
* web-platform-tests/fetch/api/resources/utils.js:
(validateStreamFromString):
* web-platform-tests/fetch/api/response/response-cancel-stream-expected.txt:
* web-platform-tests/fetch/api/response/response-consume-stream-expected.txt:
* web-platform-tests/fetch/api/response/w3c-import.log:
* web-platform-tests/html/OWNERS:
* web-platform-tests/html/dom/documents/dom-tree-accessors/Document.getElementsByClassName-null-undef.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/Element.getElementsByClassName-null-undef.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByClassName-same.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml.xhtml:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml.xhtml:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml.xhtml:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml.xhtml:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-same.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.head-01.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.head-02.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-01.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-02.xhtml:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-03.html:
* web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-04.xhtml:
* web-platform-tests/html/dom/elements/global-attributes/id-name-specialcase.html:
* web-platform-tests/html/dom/elements/global-attributes/id-name.html:
* web-platform-tests/html/dom/interfaces-expected.txt:
* web-platform-tests/html/dom/interfaces.html:
* web-platform-tests/html/resources/common.js:
(isVoidElement): Deleted.
* web-platform-tests/html/semantics/document-metadata/the-link-element/resources/stylesheet.css: Added.
(body):
* web-platform-tests/html/semantics/document-metadata/the-link-element/resources/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log.
* web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base-expected.html: Added.
* web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base.html: Added.
* web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.css: Added.
(body):
* web-platform-tests/html/semantics/document-metadata/the-link-element/w3c-import.log:
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.scaled.png: Added.
* web-platform-tests/html/semantics/embedded-content/the-canvas-element/w3c-import.log:
* web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element-expected.txt: Added.
* web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-embed-element/w3c-import.log:
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base-expected.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/w3c-import.log:
* web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url-expected.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url.html: Added.
* web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-img-element/resources/cat.jpg: Added.
* web-platform-tests/html/semantics/embedded-content/the-img-element/resources/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log.
* web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log:
* web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt:
* web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput.html:
* web-platform-tests/html/semantics/forms/form-submission-0/getactionurl-expected.txt: Added.
* web-platform-tests/html/semantics/forms/form-submission-0/getactionurl.html: Added.
* web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log:
* web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change-expected.txt: Added.
* web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change.html: Added.
* web-platform-tests/html/semantics/forms/textfieldselection/w3c-import.log:
* web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete-expected.txt:
* web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html:
* web-platform-tests/html/semantics/forms/the-input-element/checkbox.html:
* web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt: Added.
* web-platform-tests/html/semantics/forms/the-input-element/selection.html: Added.
* web-platform-tests/html/semantics/forms/the-input-element/w3c-import.log:
* web-platform-tests/html/semantics/forms/the-legend-element/legend-form-expected.txt:
* web-platform-tests/html/semantics/forms/the-legend-element/legend-form.html:
* web-platform-tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-1.html:
* web-platform-tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html:
* web-platform-tests/html/semantics/links/linktypes/alternate-css-expected.html: Added.
* web-platform-tests/html/semantics/links/linktypes/alternate-css.html: Added.
* web-platform-tests/html/semantics/links/linktypes/alternate.css: Added.
(div):
* web-platform-tests/html/semantics/links/linktypes/preferred.css: Added.
(div):
* web-platform-tests/html/semantics/links/linktypes/w3c-import.log:
* web-platform-tests/html/semantics/selectors/pseudo-classes/default-expected.txt:
* web-platform-tests/html/semantics/selectors/pseudo-classes/default.html:
* web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus-expected.txt: Added.
* web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus.html: Added.
* web-platform-tests/html/semantics/selectors/pseudo-classes/focus-expected.txt:
* web-platform-tests/html/semantics/selectors/pseudo-classes/focus.html:
* web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange-expected.txt:
* web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange.html:
* web-platform-tests/html/semantics/selectors/pseudo-classes/link-expected.txt:
* web-platform-tests/html/semantics/selectors/pseudo-classes/link.html:
* web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt:
* web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly.html:
* web-platform-tests/html/semantics/selectors/pseudo-classes/w3c-import.log:
* web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03-expected.txt: Added.
* web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03.html: Added.
* web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot-expected.txt: Added.
* web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot.html: Added.
* web-platform-tests/html/semantics/tabular-data/the-table-element/tHead-expected.txt: Added.
* web-platform-tests/html/semantics/tabular-data/the-table-element/tHead.html: Added.
* web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log:
* web-platform-tests/lint.whitelist:
* web-platform-tests/media/OWNERS:
* web-platform-tests/service-workers/cache-storage/serviceworker/cache-add.https.html:
* web-platform-tests/service-workers/cache-storage/serviceworker/cache-delete.https.html:
* web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https.html:
* web-platform-tests/service-workers/cache-storage/serviceworker/cache-matchAll.https.html:
* web-platform-tests/service-workers/cache-storage/serviceworker/cache-put.https.html:
* web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-keys.https.html:
* web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-match.https.html:
* web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage.https.html:
* web-platform-tests/service-workers/cache-storage/serviceworker/credentials.html:
* web-platform-tests/streams/byte-length-queuing-strategy.js:
(test):
* web-platform-tests/streams/count-queuing-strategy.js:
(test):
* web-platform-tests/streams/readable-streams/bad-strategies.js:
(get string_appeared_here):
(promise_test):
* web-platform-tests/streams/readable-streams/bad-underlying-sources.https-expected.txt:
* web-platform-tests/streams/readable-streams/bad-underlying-sources.js:
(promise_test):
(promise_test.t.const.closed.new.ReadableStream.start):
* web-platform-tests/streams/readable-streams/cancel.js:
(promise_test): Deleted.
* web-platform-tests/streams/readable-streams/general.https-expected.txt:
* web-platform-tests/streams/readable-streams/general.js:
(test):
(promise_test):
(promise_test.t.const.rs.new.ReadableStream.pull):
(promise_test.t.const.rs.new.ReadableStream.start): Deleted.
* web-platform-tests/streams/readable-streams/readable-stream-reader.js:
(test):
* web-platform-tests/streams/readable-streams/templated.https-expected.txt:
* web-platform-tests/streams/resources/rs-test-templates.js:
(self.templatedRSEmpty):
LayoutTests:
* platform/ios-simulator/TestExpectations: Marking some tests as failing.
* platform/wk2/imported/w3c/web-platform-tests/html/semantics/document-metadata/styling/LinkStyle-expected.txt:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cresourcesImportExpectations">trunk/LayoutTests/imported/w3c/resources/ImportExpectations</a></li>
<li><a href="#trunkLayoutTestsimportedw3cresourcesTestRepositories">trunk/LayoutTests/imported/w3c/resources/TestRepositories</a></li>
<li><a href="#trunkLayoutTestsimportedw3cresourceswebplatformtestsmodulesjson">trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsIndexedDBidbindexmultientrybigexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex-multientry-big-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsIndexedDBidbindex_get7expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_get7-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsIndexedDBidbindex_getKey7expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_getKey7-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsIndexedDBidbindex_openCursor2expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_openCursor2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsIndexedDBidbindex_openKeyCursor3expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_openKeyCursor3-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsREADMEmd">trunk/LayoutTests/imported/w3c/web-platform-tests/README.md</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestOWNERS">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/OWNERS</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestXMLHttpRequestwithCredentialsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestXMLHttpRequestwithCredentialsjs">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestabortduringopenhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestdatauriexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/data-uri-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestdataurihtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/data-uri.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestformdatasetexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/formdata-set-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestformdatasethtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/formdata-set.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestinterfacesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/interfaces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodydocumentexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendsendhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsetrequestheaderbogusnameexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsetrequestheaderbogusnamehtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsetrequestheaderbogusvalueexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsetrequestheaderbogusvaluehtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscommonOWNERS">trunk/LayoutTests/imported/w3c/web-platform-tests/common/OWNERS</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomcollectionsw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchbubblesfalseexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchbubblesfalsehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventTargetdispatchEventexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsProgressEventexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/ProgressEvent-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsProgressEventhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/ProgressEvent.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdominterfacesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdominterfaceshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomlistsw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDOMImplementationcreateDocumentexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDOMImplementationcreateDocumenthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentElementgetElementsByTagNamejs">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-Element-getElementsByTagName.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalizationexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalizationhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcreateElementnamespaceexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcreateElementnamespacehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcreateEventexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcreateEventhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcreateEventjs">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentgetElementsByTagNameexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentgetElementsByTagNamexhtmlexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentgetElementsByTagNamexhtmlxhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementgetElementsByTagNameexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodeparentElementhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-parentElement.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodereplaceChildexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-replaceChild-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodereplaceChildhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-replaceChild.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesattributesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesattributeshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesattributesjs">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodescaseexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/case-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodescasejs">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/case.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomrangesw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkeracceptNodefilterhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerbasichtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-basic.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkercurrentNodehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-currentNode.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerpreviousNodeLastChildRejecthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerpreviousSiblingLastChildSkiphtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkertraversalrejecthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkertraversalskipmosthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkertraversalskiphtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerwalkingoutsideatreehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-walking-outside-a-tree.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapicredentialscookiesjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/cookies.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestrequestconsumehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-consume.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapiresourcesutilsjs">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/resources/utils.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapiresponseresponsecancelstreamexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-cancel-stream-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapiresponseresponseconsumestreamexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-consume-stream-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapiresponsew3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlOWNERS">trunk/LayoutTests/imported/w3c/web-platform-tests/html/OWNERS</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsDocumentgetElementsByClassNamenullundefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/Document.getElementsByClassName-null-undef.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsElementgetElementsByClassNamenullundefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/Element.getElementsByClassName-null-undef.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByClassNamesamehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByClassName-same.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamecasexhtmlxhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamecasehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNameidxhtmlxhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNameidhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamenamespacexhtmlxhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamenamespacehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamenewelementsxhtmlxhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamenewelementshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNameparamxhtmlxhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNameparamhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamesamehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-same.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumenthead01html">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.head-01.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumenthead02html">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.head-02.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumenttitle01html">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-01.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumenttitle02xhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-02.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumenttitle03html">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-03.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumenttitle04xhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-04.xhtml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesidnamespecialcasehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/id-name-specialcase.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesidnamehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/id-name.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfacesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfaceshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlresourcescommonjs">trunk/LayoutTests/imported/w3c/web-platform-tests/html/resources/common.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheembedelementw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementenvironmentchangesviewportchangeexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsconstraintsformvalidationvaliditybadInputexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsconstraintsformvalidationvaliditybadInputhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsformsubmission0w3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstextfieldselectionw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheformelementformautocompleteexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheformelementformautocompletehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheinputelementcheckboxhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/checkbox.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheinputelementw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsthelegendelementlegendformexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-legend-element/legend-form-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsthelegendelementlegendformhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-legend-element/legend-form.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsgroupingcontenttheolelementolstartreflection1html">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-1.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsgroupingcontenttheolelementolstartreflection2html">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticslinkslinktypesw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesdefaultexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/default-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesdefaulthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/default.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesfocusexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesfocushtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesinrangeoutofrangeexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesinrangeoutofrangehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclasseslinkexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/link-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclasseslinkhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/link.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesreadwritereadonlyexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesreadwritereadonlyhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestslintwhitelist">trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsmediaOWNERS">trunk/LayoutTests/imported/w3c/web-platform-tests/media/OWNERS</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercacheaddhttpshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-add.https.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercachedeletehttpshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-delete.https.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercachematchhttpshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercachematchAllhttpshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-matchAll.https.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercacheputhttpshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-put.https.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercachestoragekeyshttpshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-keys.https.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercachestoragematchhttpshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-match.https.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercachestoragehttpshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage.https.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercredentialshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/credentials.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamsbytelengthqueuingstrategyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamscountqueuingstrategyjs">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsbadstrategiesjs">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsbadunderlyingsourceshttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsbadunderlyingsourcesjs">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamscanceljs">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/cancel.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsgeneralhttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsgeneraljs">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsreadablestreamreaderjs">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamstemplatedhttpsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/templated.https-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsstreamsresourcesrstesttemplatesjs">trunk/LayoutTests/imported/w3c/web-platform-tests/streams/resources/rs-test-templates.js</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorTestExpectations">trunk/LayoutTests/platform/ios-simulator/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformwk2importedw3cwebplatformtestshtmlsemanticsdocumentmetadatastylingLinkStyleexpectedtxt">trunk/LayoutTests/platform/wk2/imported/w3c/web-platform-tests/html/semantics/document-metadata/styling/LinkStyle-expected.txt</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestabortduringopenjs">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestabortduringopenworkerjs">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.worker.js</a></li>
<li>trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth7/</li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesauth7corsenabledpy">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth7/corsenabled.py</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesauth7w3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth7/w3c-import.log</a></li>
<li>trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth8/</li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesauth8corsenablednoauthorizepy">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth8/corsenabled-no-authorize.py</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesauth8w3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth8/w3c-import.log</a></li>
<li>trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth9/</li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesauth9authpy">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth9/auth.py</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesauth9w3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth9/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponseurlexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responseurl-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponseurlhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responseurl.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendauthenticationbasicsetrequestheaderandargumentsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendauthenticationbasicsetrequestheaderandargumentshtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendauthenticationcorssetrequestheadernocredexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendauthenticationcorssetrequestheadernocredhtm">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred.htm</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendsendjs">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendsendworkerjs">trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.worker.js</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomcollectionsHTMLCollectionasprotolengthgetthrowsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomcollectionsHTMLCollectionasprotolengthgetthrowshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomcollectionsHTMLCollectionsupportedpropertyindicesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomcollectionsHTMLCollectionsupportedpropertyindiceshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdefaultPreventedafterdispatchexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdefaultPreventedafterdispatchhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomlistsDOMTokenListvalueexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-value-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomlistsDOMTokenListvaluehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-value.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesCharacterDataappendChildexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-appendChild-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesCharacterDataappendChildhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-appendChild.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementhasAttributesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-hasAttributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementhasAttributeshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-hasAttributes.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementinsertAdjacentElementexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentElement-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementinsertAdjacentElementhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentElement.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementinsertAdjacentTextexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentText-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementinsertAdjacentTexthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentText.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodecontainsxmlexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodecontainsxmlxml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml.xml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodeisSameNodeexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isSameNode-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodeisSameNodehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isSameNode.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesinsertadjacentexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/insert-adjacent-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesinsertadjacenthtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/insert-adjacent.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesremoveunscopableexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/remove-unscopable-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesremoveunscopablehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/remove-unscopable.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesrootNodeexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/rootNode-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesrootNodehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/rootNode.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomrangesRangestringifierexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-stringifier-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomrangesRangestringifierhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-stringifier.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestresourcesw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/resources/w3c-import.log</a></li>
<li>trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/</li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementresourcesstylesheetcss">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/stylesheet.css</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementresourcesw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementstylesheetwithbaseexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementstylesheetwithbasehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementstylesheetcss">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.css</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselement2dscaledpng">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.scaled.png</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheembedelementembedignoredinmediaelementexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheembedelementembedignoredinmediaelementhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframewithbaseexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframewithbasehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementdocumentbaseurlexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementdocumentbaseurlhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url.html</a></li>
<li>trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/resources/</li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementresourcescatjpg">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/resources/cat.jpg</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementresourcesw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/resources/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsformsubmission0getactionurlexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/getactionurl-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsformsubmission0getactionurlhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/getactionurl.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstextfieldselectionselectionaftercontentchangeexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstextfieldselectionselectionaftercontentchangehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheinputelementselectionexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheinputelementselectionhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticslinkslinktypesalternatecssexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate-css-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticslinkslinktypesalternatecsshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate-css.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticslinkslinktypesalternatecss">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate.css</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticslinkslinktypespreferredcss">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/preferred.css</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesfocusautofocusexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesfocusautofocushtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementinsertRowmethod03expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementinsertRowmethod03html">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementtFootexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementtFoothtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementtHeadexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tHead-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementtHeadhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tHead.html</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/ChangeLog        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2016-05-01 Youenn Fablet <youenn.fablet@crf.canon.fr>
+
+ Sync web-platform-tests up to revision 4af8373
+ https://bugs.webkit.org/show_bug.cgi?id=157170
+
+ Reviewed by Chris Dumez.
+
+ * platform/ios-simulator/TestExpectations: Marking some tests as failing.
+ * platform/wk2/imported/w3c/web-platform-tests/html/semantics/document-metadata/styling/LinkStyle-expected.txt:
+
</ins><span class="cx"> 2016-04-30 Antti Koivisto <antti@apple.com>
</span><span class="cx">
</span><span class="cx"> REGRESSION (r199640): position:absolute generated content inherits text-decoration from its element
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,5 +1,289 @@
</span><span class="cx"> 2016-05-01 Youenn Fablet <youenn.fablet@crf.canon.fr>
</span><span class="cx">
</span><ins>+ Sync web-platform-tests up to revision 4af8373
+ https://bugs.webkit.org/show_bug.cgi?id=157170
+
+ Reviewed by Chris Dumez.
+
+ Rebasing expectations.
+
+ * resources/ImportExpectations: Skipping new test suites.
+ Skipping IndexedDB until we decide whether to continue having these tests here.
+ * resources/TestRepositories: Updating revision to 4af8373.
+ * resources/web-platform-tests-modules.json:
+ * web-platform-tests/IndexedDB/idbindex-multientry-big-expected.txt:
+ * web-platform-tests/IndexedDB/idbindex_get7-expected.txt:
+ * web-platform-tests/IndexedDB/idbindex_getKey7-expected.txt:
+ * web-platform-tests/IndexedDB/idbindex_openCursor2-expected.txt:
+ * web-platform-tests/IndexedDB/idbindex_openKeyCursor3-expected.txt:
+ * web-platform-tests/README.md:
+ * web-platform-tests/XMLHttpRequest/OWNERS:
+ * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials-expected.txt:
+ * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js:
+ (test_withCredentials.): Deleted.
+ * web-platform-tests/XMLHttpRequest/abort-during-open.htm:
+ * web-platform-tests/XMLHttpRequest/abort-during-open.js: Added.
+ (test.async_test.test.step.client.onreadystatechange):
+ (test.async_test.test.step):
+ * web-platform-tests/XMLHttpRequest/abort-during-open.worker.js: Added.
+ * web-platform-tests/XMLHttpRequest/data-uri-expected.txt:
+ * web-platform-tests/XMLHttpRequest/data-uri.htm:
+ * web-platform-tests/XMLHttpRequest/formdata-set-expected.txt:
+ * web-platform-tests/XMLHttpRequest/formdata-set.htm:
+ * web-platform-tests/XMLHttpRequest/interfaces-expected.txt:
+ * web-platform-tests/XMLHttpRequest/resources/auth7/corsenabled.py: Added.
+ (main):
+ * web-platform-tests/XMLHttpRequest/resources/auth7/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log.
+ * web-platform-tests/XMLHttpRequest/resources/auth8/corsenabled-no-authorize.py: Added.
+ (main):
+ * web-platform-tests/XMLHttpRequest/resources/auth8/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log.
+ * web-platform-tests/XMLHttpRequest/resources/auth9/auth.py: Added.
+ (main):
+ * web-platform-tests/XMLHttpRequest/resources/auth9/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log.
+ * web-platform-tests/XMLHttpRequest/responseurl-expected.txt: Added.
+ * web-platform-tests/XMLHttpRequest/responseurl.html: Added.
+ * web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments-expected.txt: Added.
+ * web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments.htm: Added.
+ * web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred-expected.txt: Added.
+ * web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred.htm: Added.
+ * web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt:
+ * web-platform-tests/XMLHttpRequest/send-send.htm:
+ * web-platform-tests/XMLHttpRequest/send-send.js: Added.
+ (test):
+ * web-platform-tests/XMLHttpRequest/send-send.worker.js: Added.
+ * web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name-expected.txt:
+ * web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name.htm:
+ * web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value-expected.txt:
+ * web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value.htm:
+ * web-platform-tests/XMLHttpRequest/w3c-import.log:
+ * web-platform-tests/common/OWNERS:
+ * web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws-expected.txt: Added.
+ * web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html: Added.
+ * web-platform-tests/dom/collections/HTMLCollection-supported-property-indices-expected.txt: Added.
+ * web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html: Added.
+ * web-platform-tests/dom/collections/w3c-import.log:
+ * web-platform-tests/dom/events/Event-constructors-expected.txt:
+ * web-platform-tests/dom/events/Event-constructors.html:
+ * web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch-expected.txt: Added.
+ * web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html: Added.
+ * web-platform-tests/dom/events/Event-dispatch-bubbles-false-expected.txt:
+ * web-platform-tests/dom/events/Event-dispatch-bubbles-false.html:
+ * web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt:
+ * web-platform-tests/dom/events/ProgressEvent-expected.txt:
+ * web-platform-tests/dom/events/ProgressEvent.html:
+ * web-platform-tests/dom/events/w3c-import.log:
+ * web-platform-tests/dom/interfaces-expected.txt:
+ * web-platform-tests/dom/interfaces.html:
+ * web-platform-tests/dom/lists/DOMTokenList-value-expected.txt: Added.
+ * web-platform-tests/dom/lists/DOMTokenList-value.html: Added.
+ * web-platform-tests/dom/lists/w3c-import.log:
+ * web-platform-tests/dom/nodes/CharacterData-appendChild-expected.txt: Added.
+ * web-platform-tests/dom/nodes/CharacterData-appendChild.html: Added.
+ * web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt:
+ * web-platform-tests/dom/nodes/DOMImplementation-createDocument.html:
+ * web-platform-tests/dom/nodes/Document-Element-getElementsByTagName.js:
+ (test_getElementsByTagName):
+ * web-platform-tests/dom/nodes/Document-characterSet-normalization-expected.txt:
+ * web-platform-tests/dom/nodes/Document-characterSet-normalization.html:
+ * web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt:
+ * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.html: Added.
+ * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.svg: Added.
+ * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xhtml: Added.
+ * web-platform-tests/dom/nodes/Document-createElement-namespace-tests/empty.xml: Added.
+ * web-platform-tests/dom/nodes/Document-createElement-namespace.html:
+ * web-platform-tests/dom/nodes/Document-createEvent-expected.txt:
+ * web-platform-tests/dom/nodes/Document-createEvent.html:
+ * web-platform-tests/dom/nodes/Document-createEvent.js:
+ * web-platform-tests/dom/nodes/Document-getElementsByTagName-expected.txt:
+ * web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml-expected.txt:
+ * web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml:
+ * web-platform-tests/dom/nodes/Element-getElementsByTagName-expected.txt:
+ * web-platform-tests/dom/nodes/Element-hasAttributes-expected.txt: Added.
+ * web-platform-tests/dom/nodes/Element-hasAttributes.html: Added.
+ * web-platform-tests/dom/nodes/Element-insertAdjacentElement-expected.txt: Added.
+ * web-platform-tests/dom/nodes/Element-insertAdjacentElement.html: Added.
+ * web-platform-tests/dom/nodes/Element-insertAdjacentText-expected.txt: Added.
+ * web-platform-tests/dom/nodes/Element-insertAdjacentText.html: Added.
+ * web-platform-tests/dom/nodes/Node-contains-xml-expected.txt: Added.
+ * web-platform-tests/dom/nodes/Node-contains-xml.xml: Added.
+ * web-platform-tests/dom/nodes/Node-isSameNode-expected.txt: Added.
+ * web-platform-tests/dom/nodes/Node-isSameNode.html: Added.
+ * web-platform-tests/dom/nodes/Node-parentElement.html:
+ * web-platform-tests/dom/nodes/Node-replaceChild-expected.txt:
+ * web-platform-tests/dom/nodes/Node-replaceChild.html:
+ * web-platform-tests/dom/nodes/attributes-expected.txt:
+ * web-platform-tests/dom/nodes/attributes.html:
+ * web-platform-tests/dom/nodes/attributes.js:
+ (attr_is):
+ * web-platform-tests/dom/nodes/case-expected.txt:
+ * web-platform-tests/dom/nodes/case.js:
+ (get_qualified_name):
+ (test_get_elements_tag_name):
+ * web-platform-tests/dom/nodes/insert-adjacent-expected.txt: Added.
+ * web-platform-tests/dom/nodes/insert-adjacent.html: Added.
+ * web-platform-tests/dom/nodes/remove-unscopable-expected.txt: Added.
+ * web-platform-tests/dom/nodes/remove-unscopable.html: Added.
+ * web-platform-tests/dom/nodes/rootNode-expected.txt: Added.
+ * web-platform-tests/dom/nodes/rootNode.html: Added.
+ * web-platform-tests/dom/nodes/w3c-import.log:
+ * web-platform-tests/dom/ranges/Range-stringifier-expected.txt: Added.
+ * web-platform-tests/dom/ranges/Range-stringifier.html: Added.
+ * web-platform-tests/dom/ranges/w3c-import.log:
+ * web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html:
+ * web-platform-tests/dom/traversal/TreeWalker-basic.html:
+ * web-platform-tests/dom/traversal/TreeWalker-currentNode.html:
+ * web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html:
+ * web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html:
+ * web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html:
+ * web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html:
+ * web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html:
+ * web-platform-tests/dom/traversal/TreeWalker-walking-outside-a-tree.html:
+ * web-platform-tests/fetch/api/cors/cors-preflight.js:
+ * web-platform-tests/fetch/api/credentials/cookies.js:
+ (cookies):
+ * web-platform-tests/fetch/api/policies/referrer-origin-expected.txt:
+ * web-platform-tests/fetch/api/policies/referrer-origin.js:
+ (promise_test):
+ * web-platform-tests/fetch/api/request/request-consume.html:
+ * web-platform-tests/fetch/api/request/resources/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log.
+ * web-platform-tests/fetch/api/request/w3c-import.log:
+ * web-platform-tests/fetch/api/resources/utils.js:
+ (validateStreamFromString):
+ * web-platform-tests/fetch/api/response/response-cancel-stream-expected.txt:
+ * web-platform-tests/fetch/api/response/response-consume-stream-expected.txt:
+ * web-platform-tests/fetch/api/response/w3c-import.log:
+ * web-platform-tests/html/OWNERS:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/Document.getElementsByClassName-null-undef.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/Element.getElementsByClassName-null-undef.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByClassName-same.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml.xhtml:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml.xhtml:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml.xhtml:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml.xhtml:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-same.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.head-01.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.head-02.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-01.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-02.xhtml:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-03.html:
+ * web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-04.xhtml:
+ * web-platform-tests/html/dom/elements/global-attributes/id-name-specialcase.html:
+ * web-platform-tests/html/dom/elements/global-attributes/id-name.html:
+ * web-platform-tests/html/dom/interfaces-expected.txt:
+ * web-platform-tests/html/dom/interfaces.html:
+ * web-platform-tests/html/resources/common.js:
+ (isVoidElement): Deleted.
+ * web-platform-tests/html/semantics/document-metadata/the-link-element/resources/stylesheet.css: Added.
+ (body):
+ * web-platform-tests/html/semantics/document-metadata/the-link-element/resources/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log.
+ * web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base-expected.html: Added.
+ * web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base.html: Added.
+ * web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.css: Added.
+ (body):
+ * web-platform-tests/html/semantics/document-metadata/the-link-element/w3c-import.log:
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.scaled.png: Added.
+ * web-platform-tests/html/semantics/embedded-content/the-canvas-element/w3c-import.log:
+ * web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element-expected.txt: Added.
+ * web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element.html: Added.
+ * web-platform-tests/html/semantics/embedded-content/the-embed-element/w3c-import.log:
+ * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base-expected.html: Added.
+ * web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base.html: Added.
+ * web-platform-tests/html/semantics/embedded-content/the-iframe-element/w3c-import.log:
+ * web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url-expected.html: Added.
+ * web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url.html: Added.
+ * web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt:
+ * web-platform-tests/html/semantics/embedded-content/the-img-element/resources/cat.jpg: Added.
+ * web-platform-tests/html/semantics/embedded-content/the-img-element/resources/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log.
+ * web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log:
+ * web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt:
+ * web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput.html:
+ * web-platform-tests/html/semantics/forms/form-submission-0/getactionurl-expected.txt: Added.
+ * web-platform-tests/html/semantics/forms/form-submission-0/getactionurl.html: Added.
+ * web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log:
+ * web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change-expected.txt: Added.
+ * web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change.html: Added.
+ * web-platform-tests/html/semantics/forms/textfieldselection/w3c-import.log:
+ * web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete-expected.txt:
+ * web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html:
+ * web-platform-tests/html/semantics/forms/the-input-element/checkbox.html:
+ * web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt: Added.
+ * web-platform-tests/html/semantics/forms/the-input-element/selection.html: Added.
+ * web-platform-tests/html/semantics/forms/the-input-element/w3c-import.log:
+ * web-platform-tests/html/semantics/forms/the-legend-element/legend-form-expected.txt:
+ * web-platform-tests/html/semantics/forms/the-legend-element/legend-form.html:
+ * web-platform-tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-1.html:
+ * web-platform-tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html:
+ * web-platform-tests/html/semantics/links/linktypes/alternate-css-expected.html: Added.
+ * web-platform-tests/html/semantics/links/linktypes/alternate-css.html: Added.
+ * web-platform-tests/html/semantics/links/linktypes/alternate.css: Added.
+ (div):
+ * web-platform-tests/html/semantics/links/linktypes/preferred.css: Added.
+ (div):
+ * web-platform-tests/html/semantics/links/linktypes/w3c-import.log:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/default-expected.txt:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/default.html:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus-expected.txt: Added.
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus.html: Added.
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/focus-expected.txt:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/focus.html:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange-expected.txt:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange.html:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/link-expected.txt:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/link.html:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly.html:
+ * web-platform-tests/html/semantics/selectors/pseudo-classes/w3c-import.log:
+ * web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03-expected.txt: Added.
+ * web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03.html: Added.
+ * web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot-expected.txt: Added.
+ * web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot.html: Added.
+ * web-platform-tests/html/semantics/tabular-data/the-table-element/tHead-expected.txt: Added.
+ * web-platform-tests/html/semantics/tabular-data/the-table-element/tHead.html: Added.
+ * web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log:
+ * web-platform-tests/lint.whitelist:
+ * web-platform-tests/media/OWNERS:
+ * web-platform-tests/service-workers/cache-storage/serviceworker/cache-add.https.html:
+ * web-platform-tests/service-workers/cache-storage/serviceworker/cache-delete.https.html:
+ * web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https.html:
+ * web-platform-tests/service-workers/cache-storage/serviceworker/cache-matchAll.https.html:
+ * web-platform-tests/service-workers/cache-storage/serviceworker/cache-put.https.html:
+ * web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-keys.https.html:
+ * web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-match.https.html:
+ * web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage.https.html:
+ * web-platform-tests/service-workers/cache-storage/serviceworker/credentials.html:
+ * web-platform-tests/streams/byte-length-queuing-strategy.js:
+ (test):
+ * web-platform-tests/streams/count-queuing-strategy.js:
+ (test):
+ * web-platform-tests/streams/readable-streams/bad-strategies.js:
+ (get string_appeared_here):
+ (promise_test):
+ * web-platform-tests/streams/readable-streams/bad-underlying-sources.https-expected.txt:
+ * web-platform-tests/streams/readable-streams/bad-underlying-sources.js:
+ (promise_test):
+ (promise_test.t.const.closed.new.ReadableStream.start):
+ * web-platform-tests/streams/readable-streams/cancel.js:
+ (promise_test): Deleted.
+ * web-platform-tests/streams/readable-streams/general.https-expected.txt:
+ * web-platform-tests/streams/readable-streams/general.js:
+ (test):
+ (promise_test):
+ (promise_test.t.const.rs.new.ReadableStream.pull):
+ (promise_test.t.const.rs.new.ReadableStream.start): Deleted.
+ * web-platform-tests/streams/readable-streams/readable-stream-reader.js:
+ (test):
+ * web-platform-tests/streams/readable-streams/templated.https-expected.txt:
+ * web-platform-tests/streams/resources/rs-test-templates.js:
+ (self.templatedRSEmpty):
+
+2016-05-01 Youenn Fablet <youenn.fablet@crf.canon.fr>
+
</ins><span class="cx"> Fix 157169
</span><span class="cx">
</span><span class="cx"> Update W3C importer files related to csswg-test files after r200234
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourcesImportExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/ImportExpectations (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/ImportExpectations        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/resources/ImportExpectations        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -57,7 +57,7 @@
</span><span class="cx"> web-platform-tests/2dcontext [ Skip ]
</span><span class="cx"> web-platform-tests/DOMEvents [ Skip ]
</span><span class="cx"> web-platform-tests/FileAPI [ Skip ]
</span><del>-#web-platform-tests/IndexedDB [ Pass ]
</del><ins>+web-platform-tests/IndexedDB [ Skip ]
</ins><span class="cx"> web-platform-tests/WebCryptoAPI [ Skip ]
</span><span class="cx"> web-platform-tests/WebIDL [ Skip ]
</span><span class="cx"> #web-platform-tests/XMLHttpRequest [ Import ]
</span><span class="lines">@@ -79,6 +79,7 @@
</span><span class="cx"> web-platform-tests/animation-timing [ Skip ]
</span><span class="cx"> web-platform-tests/app-uri [ Skip ]
</span><span class="cx"> web-platform-tests/battery-status [ Skip ]
</span><ins>+web-platform-tests/compat [ Skip ]
</ins><span class="cx"> web-platform-tests/content-security-policy [ Skip ]
</span><span class="cx"> web-platform-tests/cookies [Skip]
</span><span class="cx"> web-platform-tests/cors [ Skip ]
</span><span class="lines">@@ -121,6 +122,7 @@
</span><span class="cx"> web-platform-tests/dom/nodes/ParentNode-querySelector-All.xht [ Skip ]
</span><span class="cx"> web-platform-tests/dom/traversal/unfinished [ Skip ]
</span><span class="cx"> #web-platform-tests/domparsing [ Import ]
</span><ins>+web-platform-tests/generic-sensor [ Skip ]
</ins><span class="cx"> web-platform-tests/domparsing/DOMParser-parseFromString-xml.html [ Skip ]
</span><span class="cx"> web-platform-tests/domparsing/XMLSerializer-serializeToString.html [ Skip ]
</span><span class="cx"> web-platform-tests/domxpath [ Skip ]
</span><span class="lines">@@ -136,6 +138,7 @@
</span><span class="cx"> web-platform-tests/html/browsers [ Skip ]
</span><span class="cx"> web-platform-tests/html/dom/documents/dom-tree-accessors/Document.currentScript.sub.html [ Skip ]
</span><span class="cx"> web-platform-tests/html/dom/elements/requirements-relating-to-bidirectional-algorithm-formatting-characters [ Skip ]
</span><ins>+web-platform-tests/html/dom/reflection-original.html [ Skip ] # Not a test file
</ins><span class="cx"> web-platform-tests/html/editing [ Skip ]
</span><span class="cx"> web-platform-tests/html/iana [ Skip ]
</span><span class="cx"> web-platform-tests/html/infrastructure [ Skip ]
</span><span class="lines">@@ -216,6 +219,7 @@
</span><span class="cx"> web-platform-tests/selectors [ Skip ]
</span><span class="cx"> web-platform-tests/selectors-api [ Skip ]
</span><span class="cx"> #web-platform-tests/service-workers [ Import ]
</span><ins>+web-platform-tests/service-workers/service-worker [ Skip ]
</ins><span class="cx"> web-platform-tests/shadow-dom [ Skip ]
</span><span class="cx"> web-platform-tests/subresource-integrity [ Skip ]
</span><span class="cx"> web-platform-tests/svg [ Skip ]
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourcesTestRepositories"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/TestRepositories (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/TestRepositories        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/resources/TestRepositories        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -15,7 +15,7 @@
</span><span class="cx"> {
</span><span class="cx"> "name": "web-platform-tests",
</span><span class="cx"> "url": "https://github.com/w3c/web-platform-tests.git",
</span><del>- "revision": "5ca8b46",
</del><ins>+ "revision": "4af8373",
</ins><span class="cx"> "paths_to_skip": [
</span><span class="cx"> "conformance-checkers",
</span><span class="cx"> "docs",
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourceswebplatformtestsmodulesjson"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/resources/web-platform-tests-modules.json        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,8 +3,8 @@
</span><span class="cx"> "path": [
</span><span class="cx"> "resources"
</span><span class="cx"> ],
</span><del>- "url": "https://github.com/w3c/testharness.js/archive/72dd67688097e7d310c64d3e524807d8bc34070c.tar.gz",
- "url_subpath": "testharness.js-72dd67688097e7d310c64d3e524807d8bc34070c"
</del><ins>+ "url": "https://github.com/w3c/testharness.js/archive/f8de1efce69fe125846c2ae621e557947899413e.tar.gz",
+ "url_subpath": "testharness.js-f8de1efce69fe125846c2ae621e557947899413e"
</ins><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> "path": [
</span><span class="lines">@@ -28,8 +28,8 @@
</span><span class="cx"> "path": [
</span><span class="cx"> "tools"
</span><span class="cx"> ],
</span><del>- "url": "https://github.com/w3c/wpt-tools/archive/32d22b092f6975f839ce56af4ca0ca8b89dde2aa.tar.gz",
- "url_subpath": "wpt-tools-32d22b092f6975f839ce56af4ca0ca8b89dde2aa"
</del><ins>+ "url": "https://github.com/w3c/wpt-tools/archive/7c265b92cd701122d28a8fb15478a383045eea70.tar.gz",
+ "url_subpath": "wpt-tools-7c265b92cd701122d28a8fb15478a383045eea70"
</ins><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> "path": [
</span><span class="lines">@@ -53,6 +53,14 @@
</span><span class="cx"> {
</span><span class="cx"> "path": [
</span><span class="cx"> "tools",
</span><ins>+ "pytest"
+ ],
+ "url": "https://github.com/pytest-dev/pytest/archive/168daaa71f4cc5f846064ebebab41b9cf625a89a.tar.gz",
+ "url_subpath": "pytest-168daaa71f4cc5f846064ebebab41b9cf625a89a"
+ },
+ {
+ "path": [
+ "tools",
</ins><span class="cx"> "pywebsocket"
</span><span class="cx"> ],
</span><span class="cx"> "url": "https://github.com/w3c/pywebsocket/archive/8c285d9015121e8c1c40be852439fc03b4a18112.tar.gz",
</span><span class="lines">@@ -69,9 +77,17 @@
</span><span class="cx"> {
</span><span class="cx"> "path": [
</span><span class="cx"> "tools",
</span><ins>+ "webdriver"
+ ],
+ "url": "https://github.com/w3c/wdclient/archive/f9aa1ffc00322a69cb52e8c8fc49eda127f4dbd9.tar.gz",
+ "url_subpath": "wdclient-f9aa1ffc00322a69cb52e8c8fc49eda127f4dbd9"
+ },
+ {
+ "path": [
+ "tools",
</ins><span class="cx"> "wptserve"
</span><span class="cx"> ],
</span><del>- "url": "https://github.com/w3c/wptserve/archive/b12d799c0be4fab1055df9a1e4dd5e45646b46ea.tar.gz",
- "url_subpath": "wptserve-b12d799c0be4fab1055df9a1e4dd5e45646b46ea"
</del><ins>+ "url": "https://github.com/w3c/wptserve/archive/01ed915048fae7a57b81d9f424889eb1ab6ece79.tar.gz",
+ "url_subpath": "wptserve-01ed915048fae7a57b81d9f424889eb1ab6ece79"
</ins><span class="cx"> }
</span><span class="cx"> ]
</span><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsIndexedDBidbindexmultientrybigexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex-multientry-big-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex-multientry-big-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex-multientry-big-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><span class="cx">
</span><span class="cx"> PASS Adding one item with 1000 multiEntry keys
</span><del>-PASS Getting the one item by 1000 indeced keys
</del><ins>+TIMEOUT Getting the one item by 1000 indeced keys Test timed out
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsIndexedDBidbindex_get7expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_get7-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_get7-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_get7-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx">
</span><span class="cx"> FAIL IDBIndex.get() - throw TransactionInactiveError on aborted transaction assert_throws: function "function (){
</span><span class="cx"> index.get("data");
</span><del>- }" threw object "Error: TransactionInactiveError: DOM IDBDatabase Exception 0" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
</del><ins>+ }" threw object "Error: Failed to execute 'get' on 'IDBIndex': The transac..." that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsIndexedDBidbindex_getKey7expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_getKey7-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_getKey7-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_getKey7-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx">
</span><span class="cx"> FAIL IDBIndex.getKey() - throw TransactionInactiveError on aborted transaction assert_throws: function "function (){
</span><span class="cx"> index.getKey("data");
</span><del>- }" threw object "Error: TransactionInactiveError: DOM IDBDatabase Exception 0" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
</del><ins>+ }" threw object "Error: Failed to execute 'getKey' on 'IDBIndex': The tran..." that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsIndexedDBidbindex_openCursor2expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_openCursor2-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_openCursor2-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_openCursor2-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx">
</span><span class="cx"> FAIL IDBIndex.openCursor() - throw TransactionInactiveError on aborted transaction assert_throws: function "function (){
</span><span class="cx"> index.openCursor();
</span><del>- }" threw object "Error: TransactionInactiveError: DOM IDBDatabase Exception 0" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
</del><ins>+ }" threw object "Error: Failed to execute 'openCursor' on 'IDBIndex': The ..." that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsIndexedDBidbindex_openKeyCursor3expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_openKeyCursor3-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_openKeyCursor3-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/idbindex_openKeyCursor3-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx">
</span><span class="cx"> FAIL IDBIndex.openKeyCursor() - throw TransactionInactiveError on aborted transaction assert_throws: function "function (){
</span><span class="cx"> index.openKeyCursor();
</span><del>- }" threw object "Error: TransactionInactiveError: DOM IDBDatabase Exception 0" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
</del><ins>+ }" threw object "Error: Failed to execute 'openKeyCursor' on 'IDBIndex': T..." that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsREADMEmd"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/README.md (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/README.md        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/README.md        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -27,12 +27,13 @@
</span><span class="cx"> following entries are required:
</span><span class="cx">
</span><span class="cx"> ```
</span><del>-127.0.0.1        web-platform.test
-127.0.0.1        www.web-platform.test
-127.0.0.1        www1.web-platform.test
-127.0.0.1        www2.web-platform.test
-127.0.0.1        xn--n8j6ds53lwwkrqhv28a.web-platform.test
-127.0.0.1        xn--lve-6lad.web-platform.test
</del><ins>+127.0.0.1 web-platform.test
+127.0.0.1 www.web-platform.test
+127.0.0.1 www1.web-platform.test
+127.0.0.1 www2.web-platform.test
+127.0.0.1 xn--n8j6ds53lwwkrqhv28a.web-platform.test
+127.0.0.1 xn--lve-6lad.web-platform.test
+0.0.0.0 nonexistent-origin.web-platform.test
</ins><span class="cx"> ```
</span><span class="cx">
</span><span class="cx"> Because web-platform-tests uses git submodules, you must ensure that
</span><span class="lines">@@ -137,14 +138,6 @@
</span><span class="cx"> Various resources that tests depend on are in `common`, `images`, and
</span><span class="cx"> `fonts`.
</span><span class="cx">
</span><del>-
-If you're looking at a section of the specification and can't figure
-out where the directory is for it in the tree, just run:
-
-```
-node tools/scripts/id2path.js your-id
-```
-
</del><span class="cx"> Branches
</span><span class="cx"> ========
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestOWNERS"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/OWNERS (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/OWNERS        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/OWNERS        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,10 +1,9 @@
</span><del>-@ecoal95
</del><ins>+@emilio
</ins><span class="cx"> @hallvors
</span><span class="cx"> @kangxu
</span><span class="cx"> @caitp
</span><span class="cx"> @Manishearth
</span><span class="cx"> @plehegar
</span><del>-@foolip
</del><span class="cx"> @jungkees
</span><span class="cx"> @ibelem
</span><span class="cx"> @mathiasbynens
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestXMLHttpRequestwithCredentialsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,9 +1,7 @@
</span><span class="cx">
</span><span class="cx"> PASS default value is false, set value is true
</span><span class="cx"> PASS can also be set in OPEN state
</span><del>-FAIL setting on synchronous XHR assert_throws: function "function () {
- client.withCredentials = true
- }" did not throw
</del><ins>+PASS setting on synchronous XHR
</ins><span class="cx"> PASS setting withCredentials when not in UNSENT, OPENED state (asynchronous)
</span><span class="cx"> PASS setting withCredentials when in DONE state (synchronous)
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestXMLHttpRequestwithCredentialsjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -16,15 +16,8 @@
</span><span class="cx"> test(function() {
</span><span class="cx"> var client = new XMLHttpRequest()
</span><span class="cx"> client.open("GET", "resources/delay.py?ms=1000", false)
</span><del>- if (worker) {
- client.withCredentials = true
- assert_true(client.withCredentials, "set in OPEN state")
- } else {
- assert_throws("InvalidAccessError", function() {
- client.withCredentials = true
- })
- assert_false(client.withCredentials, "set in OPEN state")
- }
</del><ins>+ client.withCredentials = true
+ assert_true(client.withCredentials, "set in OPEN state")
</ins><span class="cx"> }, "setting on synchronous XHR")
</span><span class="cx">
</span><span class="cx"> async_test(function() {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestabortduringopenhtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.htm (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.htm        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.htm        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -9,21 +9,6 @@
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span><span class="cx"> <div id="log"></div>
</span><del>- <script>
- var test = async_test()
- test.step(function() {
- var client = new XMLHttpRequest()
- client.open("GET", "...")
- client.onreadystatechange = function() {
- test.step(function() {
- assert_unreached()
- })
- }
- client.abort()
- assert_equals(client.readyState, 0)
- assert_throws("InvalidStateError", function() { client.send("test") }, "calling send() after abort()")
- })
- test.done()
- </script>
</del><ins>+ <script src="abort-during-open.js"></script>
</ins><span class="cx"> </body>
</span><span class="cx"> </html>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestabortduringopenjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.js (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.js         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+var test = async_test()
+test.step(function() {
+ var client = new XMLHttpRequest()
+ client.open("GET", "...")
+ client.onreadystatechange = function() {
+ test.step(function() {
+ assert_unreached()
+ })
+ }
+ client.abort()
+ assert_equals(client.readyState, 0)
+ assert_throws("InvalidStateError", function() { client.send("test") }, "calling send() after abort()")
+})
+test.done()
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestabortduringopenworkerjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.worker.js (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.worker.js         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.worker.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+importScripts("/resources/testharness.js");
+importScripts("abort-during-open.js");
+done();
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestdatauriexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/data-uri-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/data-uri-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/data-uri-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -14,9 +14,9 @@
</span><span class="cx"> FAIL XHR method GET with charset text/html assert_equals: expected "Hello, World!" but got ""
</span><span class="cx"> FAIL XHR method GET with charset text/html;charset=UTF-8 assert_equals: expected "Hello, World!" but got ""
</span><span class="cx"> FAIL XHR method GET with charset image/png assert_equals: expected "Hello, World!" but got ""
</span><del>-FAIL XHR method POST with charset text/plain assert_equals: expected "OK" but got ""
-FAIL XHR method PUT with charset text/plain assert_equals: expected "OK" but got ""
-FAIL XHR method DELETE with charset text/plain assert_equals: expected "OK" but got ""
-FAIL XHR method HEAD with charset text/plain assert_equals: expected "OK" but got ""
-FAIL XHR method UNICORN with charset text/plain assert_equals: expected "OK" but got ""
</del><ins>+PASS XHR method POST with charset text/plain
+PASS XHR method PUT with charset text/plain
+PASS XHR method DELETE with charset text/plain
+PASS XHR method HEAD with charset text/plain
+PASS XHR method UNICORN with charset text/plain
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestdataurihtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/data-uri.htm (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/data-uri.htm        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/data-uri.htm        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx"> if (method.toUpperCase() !== 'GET') {
</span><span class="cx"> assert_equals(client.status, 0);
</span><span class="cx"> assert_equals(client.responseText, '');
</span><del>- assert_equals(client.statusText, 'OK');
</del><ins>+ assert_equals(client.statusText, '');
</ins><span class="cx"> test.done();
</span><span class="cx"> return;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestformdatasetexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/formdata-set-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/formdata-set-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/formdata-set-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -12,5 +12,5 @@
</span><span class="cx"> FAIL testFormDataSetToFormUndefined2 fd.set is not a function. (In 'fd.set('key', undefined)', 'fd.set' is undefined)
</span><span class="cx"> FAIL testFormDataSetToFormNull1 fd.set is not a function. (In 'fd.set('key', null)', 'fd.set' is undefined)
</span><span class="cx"> FAIL testFormDataSetToFormNull2 fd.set is not a function. (In 'fd.set('key', null)', 'fd.set' is undefined)
</span><del>-FAIL testFormDataSetEmptyBlob undefined is not an object (evaluating 'fd.set.apply')
</del><ins>+FAIL testFormDataSetEmptyBlob fd.set is not a function. (In 'fd.set('key', new Blob([]), 'blank.txt')', 'fd.set' is undefined)
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestformdatasethtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/formdata-set.htm (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/formdata-set.htm        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/formdata-set.htm        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -80,8 +80,12 @@
</span><span class="cx"> assert_equals(fd.get('key'), "value1");
</span><span class="cx"> }, 'testFormDataSetToFormNull2');
</span><span class="cx"> test(function() {
</span><del>- assert_object_equals(create_formdata(['key', new Blob(), 'blank.txt']).get('key'),
- new File(new Blob(), 'blank.txt'));
</del><ins>+ var fd = new FormData();
+ fd.set('key', new Blob([]), 'blank.txt');
+ var file = fd.get('key');
+
+ assert_true(file instanceof File);
+ assert_equals(file.name, 'blank.txt');
</ins><span class="cx"> }, 'testFormDataSetEmptyBlob');
</span><span class="cx">
</span><span class="cx"> function create_formdata() {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestinterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/interfaces-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/interfaces-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/interfaces-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-CONSOLE MESSAGE: line 226: callback not yet supported
</del><ins>+CONSOLE MESSAGE: line 236: callback not yet supported
</ins><span class="cx"> XMLHttpRequest IDL tests
</span><span class="cx">
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesauth7corsenabledpy"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth7/corsenabled.py (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth7/corsenabled.py         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth7/corsenabled.py        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+import imp
+import os
+
+def main(request, response):
+ response.headers.set('Access-Control-Allow-Origin', request.headers.get("origin"));
+ response.headers.set('Access-Control-Allow-Credentials', 'true');
+ response.headers.set('Access-Control-Allow-Methods', 'GET');
+ response.headers.set('Access-Control-Allow-Headers', 'authorization, x-user, x-pass');
+ response.headers.set('Access-Control-Expose-Headers', 'x-challenge, xhr-user, ses-user');
+ auth = imp.load_source("", os.path.join(os.path.abspath(os.curdir),
+ "XMLHttpRequest",
+ "resources",
+ "authentication.py"))
+ if request.method == "OPTIONS":
+ return ""
+ else:
+ return auth.main(request, response)
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesauth7w3cimportlog"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth7/w3c-import.log (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth7/w3c-import.log         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth7/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the W3C CSS or WPT github:
+        https://github.com/w3c/csswg-test
+        https://github.com/w3c/web-platform-tests
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth7/corsenabled.py
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesauth8corsenablednoauthorizepy"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth8/corsenabled-no-authorize.py (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth8/corsenabled-no-authorize.py         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth8/corsenabled-no-authorize.py        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+import imp
+import os
+
+def main(request, response):
+ response.headers.set('Access-Control-Allow-Origin', request.headers.get("origin"));
+ response.headers.set('Access-Control-Allow-Credentials', 'true');
+ response.headers.set('Access-Control-Allow-Methods', 'GET');
+ response.headers.set('Access-Control-Allow-Headers', 'x-user, x-pass');
+ response.headers.set('Access-Control-Expose-Headers', 'x-challenge, xhr-user, ses-user');
+ auth = imp.load_source("", os.path.join(os.path.abspath(os.curdir),
+ "XMLHttpRequest",
+ "resources",
+ "authentication.py"))
+ if request.method == "OPTIONS":
+ return ""
+ else:
+ return auth.main(request, response)
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesauth8w3cimportlog"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth8/w3c-import.log (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth8/w3c-import.log         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth8/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the W3C CSS or WPT github:
+        https://github.com/w3c/csswg-test
+        https://github.com/w3c/web-platform-tests
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth8/corsenabled-no-authorize.py
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesauth9authpy"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth9/auth.py (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth9/auth.py         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth9/auth.py        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+import imp
+import os
+
+here = os.path.split(os.path.abspath(__file__))[0]
+
+def main(request, response):
+ auth = imp.load_source("", os.path.join(here,
+ "..",
+ "authentication.py"))
+ return auth.main(request, response)
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresourcesauth9w3cimportlog"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth9/w3c-import.log (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth9/w3c-import.log         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth9/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the W3C CSS or WPT github:
+        https://github.com/w3c/csswg-test
+        https://github.com/w3c/web-platform-tests
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/auth9/auth.py
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponseurlexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responseurl-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responseurl-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responseurl-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS 404 response has proper responseURL
+PASS Redirected response has proper responseURL
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestresponseurlhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responseurl.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responseurl.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responseurl.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+<!doctype html>
+<html>
+ <head>
+ <title>XMLHttpRequest: responseURL test</title>
+ <script src="/resources/testharness.js"></script>
+ <script src="/resources/testharnessreport.js"></script>
+ <link rel="help" href="https://xhr.spec.whatwg.org/#the-responseurl-attribute"/>
+ </head>
+ <body>
+ <div id="log"></div>
+ <script>
+ test(function() {
+ var client = new XMLHttpRequest()
+ assert_equals(client.responseURL, "")
+
+ client.open("GET", "foo.html", false)
+ client.send()
+
+ expected = location.href.replace(/[^/]*$/, 'foo.html')
+ assert_equals(client.status, 404)
+ assert_equals(client.responseURL, expected)
+ }, "404 response has proper responseURL")
+ test(function() {
+ var client = new XMLHttpRequest()
+ assert_equals(client.responseURL, "")
+
+ target = "image.gif"
+ client.open("GET", "resources/redirect.py?location=" + target, false)
+ client.send()
+
+ expected = location.href.replace(/[^/]*$/, "resources/" + target)
+ assert_equals(client.status, 200)
+ assert_equals(client.responseURL, expected)
+ }, "Redirected response has proper responseURL")
+ </script>
+ </body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendauthenticationbasicsetrequestheaderandargumentsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL XMLHttpRequest: send() - "Basic" authenticated request using setRequestHeader() and open() arguments (asserts header wins) TimeoutError: DOM Exception 23
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendauthenticationbasicsetrequestheaderandargumentshtm"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments.htm (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments.htm         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments.htm        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+<!doctype html>
+<html>
+ <head>
+ <title>XMLHttpRequest: send() - "Basic" authenticated request using setRequestHeader() and open() arguments (asserts header wins)</title>
+ <script src="/resources/testharness.js"></script>
+ <script src="/resources/testharnessreport.js"></script>
+ <script src="/common/utils.js"></script>
+ <!-- These spec references do not make much sense simply because the spec doesn't say very much about this.. -->
+ <link rel="help" href="https://xhr.spec.whatwg.org/#the-setrequestheader()-method" data-tested-assertations="following::ol[1]/li[6]" />
+ <link rel="help" href="https://xhr.spec.whatwg.org/#the-send()-method" data-tested-assertations="following::code[contains(@title,'http-authorization')]/.." />
+ </head>
+ <body>
+ <div id="log"></div>
+ <script>
+ var test = async_test()
+ test.step(function() {
+ var client = new XMLHttpRequest(),
+ urlstart = location.host + location.pathname.replace(/\/[^\/]*$/, '/'),
+ user = token()
+ client.open("GET", location.protocol+'//'+urlstart + "resources/auth9/auth.py", false, 'open-' + user, 'open-pass')
+ client.setRequestHeader("x-user", user)
+ client.setRequestHeader('Authorization', 'Basic ' + btoa(user + ":pass"))
+ client.onreadystatechange = function () {
+ if (client.readyState < 4) {return}
+ test.step( function () {
+ assert_equals(client.responseText, user + '\npass')
+ assert_equals(client.status, 200)
+ assert_equals(client.getResponseHeader('x-challenge'), 'DID-NOT')
+ test.done()
+ })
+ }
+ client.send(null)
+ })
+ </script>
+ </body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendauthenticationcorssetrequestheadernocredexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+Blocked access to external URL http://www1.localhost:8800/XMLHttpRequest/resources/auth7/corsenabled.py
+Blocked access to external URL http://www1.localhost:8800/XMLHttpRequest/resources/auth8/corsenabled-no-authorize.py
+
+FAIL CORS request with setRequestHeader auth to URL accepting Authorization header assert_true: responseText should contain the right user and password expected true got false
+FAIL CORS request with setRequestHeader auth to URL NOT accepting Authorization header assert_true: The error event should fire expected true got false
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendauthenticationcorssetrequestheadernocredhtm"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred.htm (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred.htm         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred.htm        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,61 @@
</span><ins>+<!doctype html>
+<html>
+ <head>
+ <title>XMLHttpRequest: send() - "Basic" authenticated CORS request using setRequestHeader() but not setting withCredentials (expects to succeed)</title>
+ <script src="/resources/testharness.js"></script>
+ <script src="/resources/testharnessreport.js"></script>
+ <script src="/common/utils.js"></script>
+ <!-- These spec references do not make much sense simply because the spec doesn't say very much about this.. -->
+ <link rel="help" href="https://xhr.spec.whatwg.org/#the-setrequestheader()-method" data-tested-assertations="following::ol[1]/li[6]" />
+ <link rel="help" href="https://xhr.spec.whatwg.org/#the-send()-method" data-tested-assertations="following::code[contains(@title,'http-authorization')]/.." />
+ </head>
+ <body>
+ <div id="log"></div>
+ <script>
+ function doTest(desc, pathsuffix, conditionsFunc, errorFunc, endFunc) {
+ var test = async_test(desc)
+ test.step(function() {
+ var client = new XMLHttpRequest(),
+ urlstart = location.host + location.pathname.replace(/\/[^\/]*$/, '/'),
+ user = token()
+ client.open("GET", location.protocol + "//www1." + urlstart + "resources/" + pathsuffix, false)
+ client.setRequestHeader("x-user", user)
+ client.setRequestHeader("x-pass", 'pass')
+ client.setRequestHeader("Authorization", "Basic " + btoa(user + ":pass"))
+ client.onerror = test.step_func(errorFunc)
+ client.onreadystatechange = test.step_func(function () {
+ if(client.readyState < 4) {return}
+ conditionsFunc(client, test, user)
+ })
+ if(endFunc) {
+ client.onloadend = test.step_func(endFunc)
+ }
+ client.send(null)
+ })
+ }
+
+ doTest("CORS request with setRequestHeader auth to URL accepting Authorization header", "auth7/corsenabled.py", function (client, test, user) {
+ assert_true(client.responseText == (user + "\npass"), "responseText should contain the right user and password")
+ assert_equals(client.status, 200)
+ assert_equals(client.getResponseHeader("x-challenge"), "DID-NOT")
+ test.done()
+ }, function(){
+ assert_unreached("Cross-domain request is permitted and should not cause an error")
+ this.done()
+ })
+
+ var errorFired = false;
+ doTest("CORS request with setRequestHeader auth to URL NOT accepting Authorization header", "auth8/corsenabled-no-authorize.py", function (client, test, user) {
+ assert_equals(client.responseText, '')
+ assert_equals(client.status, 0)
+ }, function(e){
+ errorFired = true
+ assert_equals(e.type, 'error', 'Error event fires when Authorize is a user-set header but not allowed by the CORS endpoint')
+ }, function() {
+ assert_true(errorFired, 'The error event should fire')
+ this.done()
+ })
+
+ </script>
+ </body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendentitybodydocumentexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,8 +3,8 @@
</span><span class="cx"> PASS XML document, windows-1252
</span><span class="cx"> PASS HTML document, invalid UTF-8
</span><span class="cx"> PASS HTML document, shift-jis
</span><ins>+PASS plain text file
+PASS image file
</ins><span class="cx"> PASS img tag
</span><del>-PASS image file
-PASS plain text file
</del><span class="cx"> PASS empty div
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendsendhtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.htm (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.htm        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.htm        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -8,14 +8,6 @@
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span><span class="cx"> <div id="log"></div>
</span><del>- <script>
- test(function() {
- var client = new XMLHttpRequest()
- client.open("GET", "resources/well-formed.xml")
- client.send(null)
- assert_throws("InvalidStateError", function() { client.send(null) })
- client.abort()
- })
- </script>
</del><ins>+ <script src="send-send.js"></script>
</ins><span class="cx"> </body>
</span><span class="cx"> </html>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendsendjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.js (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.js         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+test(function() {
+ var client = new XMLHttpRequest()
+ client.open("GET", "resources/well-formed.xml")
+ client.send(null)
+ assert_throws("InvalidStateError", function() { client.send(null) })
+ client.abort()
+})
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsendsendworkerjs"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.worker.js (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.worker.js         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.worker.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+importScripts("/resources/testharness.js");
+importScripts("send-send.js");
+done();
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsetrequestheaderbogusnameexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -18,7 +18,6 @@
</span><span class="cx"> PASS setRequestHeader should throw with header name "}".
</span><span class="cx"> PASS setRequestHeader should throw with header name " ".
</span><span class="cx"> PASS setRequestHeader should throw with header name "".
</span><del>-PASS setRequestHeader should throw with header name "テスト".
</del><span class="cx"> PASS setRequestHeader should throw with header name "".
</span><span class="cx"> PASS setRequestHeader should throw with header name "t\rt".
</span><span class="cx"> PASS setRequestHeader should throw with header name "t\nt".
</span><span class="lines">@@ -36,7 +35,6 @@
</span><span class="cx"> PASS setRequestHeader should throw with header name "t;t".
</span><span class="cx"> PASS setRequestHeader should throw with header name "()[]{}".
</span><span class="cx"> PASS setRequestHeader should throw with header name "a?B".
</span><del>-PASS setRequestHeader should throw with header name "X-テスト".
</del><span class="cx"> PASS setRequestHeader should throw with header name "a=B".
</span><span class="cx"> PASS setRequestHeader should throw with header name "\0".
</span><span class="cx"> PASS setRequestHeader should throw with header name "\x01".
</span><span class="lines">@@ -70,4 +68,6 @@
</span><span class="cx"> PASS setRequestHeader should throw with header name "\x1d".
</span><span class="cx"> PASS setRequestHeader should throw with header name "\x1e".
</span><span class="cx"> PASS setRequestHeader should throw with header name "\x1f".
</span><ins>+FAIL setRequestHeader should throw with header name "テスト". assert_throws: function "function () { client.setRequestHeader(name, 'x-value') }" threw object "Error: SyntaxError: DOM Exception 12" ("SyntaxError") expected object "TypeError" ("TypeError")
+FAIL setRequestHeader should throw with header name "X-テスト". assert_throws: function "function () { client.setRequestHeader(name, 'x-value') }" threw object "Error: SyntaxError: DOM Exception 12" ("SyntaxError") expected object "TypeError" ("TypeError")
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsetrequestheaderbogusnamehtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name.htm (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name.htm        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name.htm        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -30,18 +30,29 @@
</span><span class="cx"> assert_throws("SyntaxError", function() { client.setRequestHeader(name, 'x-value') })
</span><span class="cx"> }, "setRequestHeader should throw with header name " + format_value(invalid_headers[i]) + ".")
</span><span class="cx"> }
</span><ins>+ function try_byte_string(name) {
+ test(function() {
+ var client = new XMLHttpRequest()
+ client.open("GET", "...")
+ assert_throws(new TypeError(), function() { client.setRequestHeader(name, 'x-value') })
+ }, "setRequestHeader should throw with header name " + format_value(invalid_byte_strings[i]) + ".")
+ }
</ins><span class="cx"> var invalid_headers = ["(", ")", "<", ">", "@", ",", ";", ":", "\\",
</span><span class="cx"> "\"", "/", "[", "]", "?", "=", "{", "}", " ",
</span><span class="cx"> /* HT already tested in the loop below */
</span><del>- "\u007f", "テスト", "", "t\rt", "t\nt", "t: t", "t:t",
</del><ins>+ "\u007f", "", "t\rt", "t\nt", "t: t", "t:t",
</ins><span class="cx"> "t<t", "t t", " tt", ":tt", "\ttt", "\vtt", "t\0t",
</span><del>- "t\"t", "t,t", "t;t", "()[]{}", "a?B", "X-テスト", "a=B"]
</del><ins>+ "t\"t", "t,t", "t;t", "()[]{}", "a?B", "a=B"]
+ var invalid_byte_strings = ["テスト", "X-テスト"]
</ins><span class="cx"> for (var i = 0; i < 32; ++i) {
</span><span class="cx"> invalid_headers.push(String.fromCharCode(i))
</span><span class="cx"> }
</span><span class="cx"> for (var i = 0; i < invalid_headers.length; ++i) {
</span><span class="cx"> try_name(invalid_headers[i])
</span><span class="cx"> }
</span><ins>+ for (var i = 0; i < invalid_byte_strings.length; ++i) {
+ try_byte_string(invalid_byte_strings[i])
+ }
</ins><span class="cx">
</span><span class="cx"> </script>
</span><span class="cx"> </body>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsetrequestheaderbogusvalueexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,6 +3,6 @@
</span><span class="cx"> PASS XMLHttpRequest: setRequestHeader() value argument checks 1
</span><span class="cx"> PASS XMLHttpRequest: setRequestHeader() value argument checks 2
</span><span class="cx"> PASS XMLHttpRequest: setRequestHeader() value argument checks 3
</span><del>-PASS XMLHttpRequest: setRequestHeader() value argument checks 4
</del><ins>+FAIL XMLHttpRequest: setRequestHeader() value argument checks 4 assert_throws: given value テスト, function "function () { client.setRequestHeader("x-test", "テスト") }" threw object "Error: SyntaxError: DOM Exception 12" ("SyntaxError") expected object "TypeError" ("TypeError")
</ins><span class="cx"> PASS Omitted value argument
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestsetrequestheaderbogusvaluehtm"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value.htm (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value.htm        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value.htm        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -12,16 +12,20 @@
</span><span class="cx"> <script>
</span><span class="cx"> function try_value(value) {
</span><span class="cx"> test(function() {
</span><del>- var client = new XMLHttpRequest()
- client.open("GET", "...")
- assert_throws("SyntaxError", function() { client.setRequestHeader("x-test", value) }, ' given value ' + value+', ')
- })
</del><ins>+ var client = new XMLHttpRequest();
+ client.open("GET", "...");
+ assert_throws("SyntaxError", function() { client.setRequestHeader("x-test", value) }, ' given value ' + value+', ');
+ });
</ins><span class="cx"> }
</span><del>- try_value("t\rt")
- try_value("t\nt")
</del><ins>+ try_value("t\rt");
+ try_value("t\nt");
</ins><span class="cx"> try_value("t\bt");
</span><span class="cx"> try_value("\x7f");
</span><del>- try_value("テスト")
</del><ins>+ test(function() {
+ var client = new XMLHttpRequest();
+ client.open("GET", "...");
+ assert_throws(new TypeError(), function() { client.setRequestHeader("x-test", "テスト") }, ' given value テスト,');
+ });
</ins><span class="cx">
</span><span class="cx"> test(function() {
</span><span class="cx"> var client = new XMLHttpRequest()
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsXMLHttpRequestw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -25,6 +25,8 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-after-timeout.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-done.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.htm
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.js
+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.worker.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-unsent.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-upload.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-event-abort.htm
</span><span class="lines">@@ -111,6 +113,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responseText-status.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsetext-decoding.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsetype.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responseurl.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-basic.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-get-twice.htm
</span><span class="lines">@@ -120,7 +123,9 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/security-consideration.sub.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-accept-language.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-accept.htm
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments.htm
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-cors-basic-setrequestheader.htm
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred.htm
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-conditional.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-content-type-charset.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-content-type-string.htm
</span><span class="lines">@@ -154,6 +159,8 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-response-upload-event-loadstart.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-response-upload-event-progress.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.htm
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.js
+/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.worker.js
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-sync-blocks-async.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-sync-no-response-event-load.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-sync-no-response-event-loadend.htm
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscommonOWNERS"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/common/OWNERS (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/common/OWNERS        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/common/OWNERS        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><span class="cx"> @zqzhang
</span><del>-@foolip
</del><span class="cx"> @dontcallmedom
</span><span class="cx"> @deniak
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomcollectionsHTMLCollectionasprotolengthgetthrowsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS HTMLcollection as a prototype should not allow getting .length on the base object
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomcollectionsHTMLCollectionasprotolengthgetthrowshtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+<!doctype html>
+<meta charset=utf-8>
+<title>Make sure browsers throw when getting .length on some random object whose proto is an HTMLCollection</title>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<script>
+test(function() {
+ var obj = Object.create(document.getElementsByTagName("script"));
+ assert_throws(new TypeError(), function() {
+ obj.length;
+ });
+}, "HTMLcollection as a prototype should not allow getting .length on the base object")
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomcollectionsHTMLCollectionsupportedpropertyindicesexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+
+PASS Handling of property names that look like negative integers
+PASS Handling of property names that look like small nonnegative integers
+PASS Handling of property names that look like integers around 2^31
+PASS Handling of property names that look like integers around 2^32
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomcollectionsHTMLCollectionsupportedpropertyindiceshtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,100 @@
</span><ins>+<!doctype html>
+<meta charset=utf-8>
+<title></title>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<!-- We want to use a tag name that will not interact with our test harness,
+ so just make one up. "foo" is a good one -->
+
+<!-- Ids that look like negative indices. These should come first, so we can
+ assert that lookups for nonnegative indices find these by index -->
+<foo id="-2"></foo>
+<foo id="-1"></foo>
+
+<!-- Ids that look like nonnegative indices -->
+<foo id="0"></foo>
+<foo id="1"></foo>
+
+<!-- Ids that look like nonnegative indices near 2^31 = 2147483648 -->
+<foo id="2147483645"></foo> <!-- 2^31 - 3 -->
+<foo id="2147483646"></foo> <!-- 2^31 - 2 -->
+<foo id="2147483647"></foo> <!-- 2^31 - 1 -->
+<foo id="2147483648"></foo> <!-- 2^31 -->
+<foo id="2147483649"></foo> <!-- 2^31 + 1 -->
+
+<!-- Ids that look like nonnegative indices near 2^32 = 4294967296 -->
+<foo id="4294967293"></foo> <!-- 2^32 - 3 -->
+<foo id="4294967294"></foo> <!-- 2^32 - 2 -->
+<foo id="4294967295"></foo> <!-- 2^32 - 1 -->
+<foo id="4294967296"></foo> <!-- 2^32 -->
+<foo id="4294967297"></foo> <!-- 2^32 + 1 -->
+
+<script>
+test(function() {
+ var collection = document.getElementsByTagName("foo");
+ assert_equals(collection.item(-2), null);
+ assert_equals(collection.item(-1), null);
+ assert_equals(collection.namedItem(-2), document.getElementById("-2"));
+ assert_equals(collection.namedItem(-1), document.getElementById("-1"));
+ assert_equals(collection[-2], document.getElementById("-2"));
+ assert_equals(collection[-1], document.getElementById("-1"));
+}, "Handling of property names that look like negative integers");
+
+test(function() {
+ var collection = document.getElementsByTagName("foo");
+ assert_equals(collection.item(0), document.getElementById("-2"));
+ assert_equals(collection.item(1), document.getElementById("-1"));
+ assert_equals(collection.namedItem(0), document.getElementById("0"));
+ assert_equals(collection.namedItem(1), document.getElementById("1"));
+ assert_equals(collection[0], document.getElementById("-2"));
+ assert_equals(collection[1], document.getElementById("-1"));
+}, "Handling of property names that look like small nonnegative integers");
+
+test(function() {
+ var collection = document.getElementsByTagName("foo");
+ assert_equals(collection.item(2147483645), null);
+ assert_equals(collection.item(2147483646), null);
+ assert_equals(collection.item(2147483647), null);
+ assert_equals(collection.item(2147483648), null);
+ assert_equals(collection.item(2147483649), null);
+ assert_equals(collection.namedItem(2147483645),
+ document.getElementById("2147483645"));
+ assert_equals(collection.namedItem(2147483646),
+ document.getElementById("2147483646"));
+ assert_equals(collection.namedItem(2147483647),
+ document.getElementById("2147483647"));
+ assert_equals(collection.namedItem(2147483648),
+ document.getElementById("2147483648"));
+ assert_equals(collection.namedItem(2147483649),
+ document.getElementById("2147483649"));
+ assert_equals(collection[2147483645], undefined);
+ assert_equals(collection[2147483646], undefined);
+ assert_equals(collection[2147483647], undefined);
+ assert_equals(collection[2147483648], undefined);
+ assert_equals(collection[2147483649], undefined);
+}, "Handling of property names that look like integers around 2^31");
+
+test(function() {
+ var collection = document.getElementsByTagName("foo");
+ assert_equals(collection.item(4294967293), null);
+ assert_equals(collection.item(4294967294), null);
+ assert_equals(collection.item(4294967295), null);
+ assert_equals(collection.item(4294967296), document.getElementById("-2"));
+ assert_equals(collection.item(4294967297), document.getElementById("-1"));
+ assert_equals(collection.namedItem(4294967293),
+ document.getElementById("4294967293"));
+ assert_equals(collection.namedItem(4294967294),
+ document.getElementById("4294967294"));
+ assert_equals(collection.namedItem(4294967295),
+ document.getElementById("4294967295"));
+ assert_equals(collection.namedItem(4294967296),
+ document.getElementById("4294967296"));
+ assert_equals(collection.namedItem(4294967297),
+ document.getElementById("4294967297"));
+ assert_equals(collection[4294967293], undefined);
+ assert_equals(collection[4294967294], undefined);
+ assert_equals(collection[4294967295], document.getElementById("4294967295"));
+ assert_equals(collection[4294967296], document.getElementById("4294967296"));
+ assert_equals(collection[4294967297], document.getElementById("4294967297"));
+}, "Handling of property names that look like integers around 2^32");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomcollectionsw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/collections/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -15,7 +15,9 @@
</span><span class="cx"> None
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-as-proto-length-get-throws.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-empty-name.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-indices.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/collections/domstringmap-supported-property-names.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/collections/namednodemap-supported-property-names.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,7 +3,7 @@
</span><span class="cx"> PASS Event constructors 1
</span><span class="cx"> PASS Event constructors 2
</span><span class="cx"> PASS Event constructors 3
</span><del>-FAIL Event constructors 4 Constructor requires 'new' operator
</del><ins>+PASS Event constructors 4
</ins><span class="cx"> PASS Event constructors 5
</span><span class="cx"> PASS Event constructors 6
</span><span class="cx"> PASS Event constructors 7
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventconstructorshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -42,17 +42,8 @@
</span><span class="cx"> assert_true("initEvent" in ev)
</span><span class="cx"> })
</span><span class="cx"> test(function() {
</span><del>- var ev = Event("test")
- assert_equals(ev.type, "test")
- assert_equals(ev.target, null)
- assert_equals(ev.currentTarget, null)
- assert_equals(ev.eventPhase, Event.NONE)
- assert_equals(ev.bubbles, false)
- assert_equals(ev.cancelable, false)
- assert_equals(ev.defaultPrevented, false)
- assert_equals(ev.isTrusted, false)
- assert_true(ev.timeStamp > 0)
- assert_true("initEvent" in ev)
</del><ins>+ assert_throws(new TypeError(), function() { Event("test") },
+ 'Calling Event constructor without "new" must throw');
</ins><span class="cx"> })
</span><span class="cx"> test(function() {
</span><span class="cx"> var ev = new Event("I am an event", { bubbles: true, cancelable: false})
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdefaultPreventedafterdispatchexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Event.defaultPrevented is not reset after dipatchEvent()
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdefaultPreventedafterdispatchhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+<!DOCTYPE html>
+<meta charset=utf-8>
+<title>Event.defaultPrevented is not reset after dipatchEvent()</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id=log></div>
+<input id="target" type="hidden" value=""/>
+<script>
+test(function() {
+ var EVENT = "foo";
+ var TARGET = document.getElementById("target");
+ var evt = document.createEvent("Event");
+ evt.initEvent(EVENT, true, true);
+
+ TARGET.addEventListener(EVENT, this.step_func(function(e) {
+ e.preventDefault();
+ assert_true(e.defaultPrevented, "during dispatch");
+ }), true);
+ TARGET.dispatchEvent(evt);
+
+ assert_true(evt.defaultPrevented, "after dispatch");
+ assert_equals(evt.target, TARGET);
+});
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchbubblesfalseexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,3 +1,7 @@
</span><span class="cx">
</span><del>-PASS Event.dispatchEvent with Event.bubbles set to false.
</del><ins>+PASS In window.document with click event
+PASS In window.document with load event
+FAIL In window.document.cloneNode(true) assert_array_equals: targets lengths differ, expected 8 got 0
+FAIL In new Document() assert_array_equals: targets lengths differ, expected 8 got 0
+FAIL In DOMImplementation.createHTMLDocument() assert_array_equals: targets lengths differ, expected 8 got 0
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventdispatchbubblesfalsehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -19,33 +19,22 @@
</span><span class="cx"> </tbody>
</span><span class="cx"> </table>
</span><span class="cx"> <script>
</span><del>-test(function() {
- var event_type = "click";
- var target = document.getElementById("target");
- var targets = [
- window,
</del><ins>+function targetsForDocumentChain(document) {
+ return [
</ins><span class="cx"> document,
</span><span class="cx"> document.documentElement,
</span><del>- document.body,
</del><ins>+ document.getElementsByTagName("body")[0],
</ins><span class="cx"> document.getElementById("table"),
</span><span class="cx"> document.getElementById("table-body"),
</span><del>- document.getElementById("parent"),
- target,
</del><ins>+ document.getElementById("parent")
</ins><span class="cx"> ];
</span><ins>+}
+
+function testChain(document, targetParents, phases, event_type) {
+ var target = document.getElementById("target");
+ var targets = targetParents.concat(target);
</ins><span class="cx"> var expected_targets = targets.concat(target);
</span><del>- var phases = [
- Event.CAPTURING_PHASE,
- Event.CAPTURING_PHASE,
- Event.CAPTURING_PHASE,
- Event.CAPTURING_PHASE,
- Event.CAPTURING_PHASE,
- Event.CAPTURING_PHASE,
- Event.CAPTURING_PHASE,
- Event.AT_TARGET,
- Event.AT_TARGET,
- ];
</del><span class="cx">
</span><del>-
</del><span class="cx"> var actual_targets = [], actual_phases = [];
</span><span class="cx"> var test_event = function(evt) {
</span><span class="cx"> actual_targets.push(evt.currentTarget);
</span><span class="lines">@@ -64,5 +53,46 @@
</span><span class="cx">
</span><span class="cx"> assert_array_equals(actual_targets, expected_targets, "targets");
</span><span class="cx"> assert_array_equals(actual_phases, phases, "phases");
</span><del>-}, "Event.dispatchEvent with Event.bubbles set to false.");
</del><ins>+}
+
+var phasesForDocumentChain = [
+ Event.CAPTURING_PHASE,
+ Event.CAPTURING_PHASE,
+ Event.CAPTURING_PHASE,
+ Event.CAPTURING_PHASE,
+ Event.CAPTURING_PHASE,
+ Event.CAPTURING_PHASE,
+ Event.AT_TARGET,
+ Event.AT_TARGET,
+];
+
+test(function () {
+ var chainWithWindow = [window].concat(targetsForDocumentChain(document));
+ testChain(
+ document, chainWithWindow, [Event.CAPTURING_PHASE].concat(phasesForDocumentChain), "click");
+}, "In window.document with click event");
+
+test(function () {
+ testChain(document, targetsForDocumentChain(document), phasesForDocumentChain, "load");
+}, "In window.document with load event")
+
+test(function () {
+ var documentClone = document.cloneNode(true);
+ testChain(
+ documentClone, targetsForDocumentChain(documentClone), phasesForDocumentChain, "click");
+}, "In window.document.cloneNode(true)");
+
+test(function () {
+ var newDocument = new Document();
+ newDocument.appendChild(document.documentElement.cloneNode(true));
+ testChain(
+ newDocument, targetsForDocumentChain(newDocument), phasesForDocumentChain, "click");
+}, "In new Document()");
+
+test(function () {
+ var HTMLDocument = document.implementation.createHTMLDocument();
+ HTMLDocument.body.appendChild(document.getElementById("table").cloneNode(true));
+ testChain(
+ HTMLDocument, targetsForDocumentChain(HTMLDocument), phasesForDocumentChain, "click");
+}, "In DOMImplementation.createHTMLDocument()");
</ins><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsEventTargetdispatchEventexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,20 +1,4 @@
</span><del>-CONSOLE MESSAGE: line 60: Error
</del><ins>+CONSOLE MESSAGE: line 20: TypeError: aliases.forEach is not a function. (In 'aliases.forEach', 'aliases.forEach' is undefined)
</ins><span class="cx">
</span><span class="cx"> PASS Calling dispatchEvent(null).
</span><del>-PASS If the event's initialized flag is not set, an InvalidStateError must be thrown (CustomEvent).
-PASS If the event's initialized flag is not set, an InvalidStateError must be thrown (Event).
-PASS If the event's initialized flag is not set, an InvalidStateError must be thrown (Events).
-PASS If the event's initialized flag is not set, an InvalidStateError must be thrown (HTMLEvents).
-PASS If the event's initialized flag is not set, an InvalidStateError must be thrown (KeyboardEvent).
-FAIL If the event's initialized flag is not set, an InvalidStateError must be thrown (KeyEvents). NotSupportedError: DOM Exception 9
-PASS If the event's initialized flag is not set, an InvalidStateError must be thrown (MessageEvent).
-PASS If the event's initialized flag is not set, an InvalidStateError must be thrown (MouseEvent).
-PASS If the event's initialized flag is not set, an InvalidStateError must be thrown (MouseEvents).
-FAIL If the event's initialized flag is not set, an InvalidStateError must be thrown (TouchEvent). NotSupportedError: DOM Exception 9
-PASS If the event's initialized flag is not set, an InvalidStateError must be thrown (UIEvent).
-PASS If the event's initialized flag is not set, an InvalidStateError must be thrown (UIEvents).
-PASS If the event's dispatch flag is set, an InvalidStateError must be thrown.
-PASS Exceptions from event listeners must not be propagated.
-PASS Event listeners added during dispatch should be called
-PASS Event listeners should be called in order of addition
</del><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsProgressEventexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/ProgressEvent-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/ProgressEvent-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/ProgressEvent-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><span class="cx">
</span><span class="cx"> PASS Default event values.
</span><del>-PASS document.createEvent() should not work with ProgressEvent.
</del><ins>+FAIL document.createEvent() should work with ProgressEvent. NotSupportedError: DOM Exception 9
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsProgressEventhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/ProgressEvent.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/ProgressEvent.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/ProgressEvent.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -18,8 +18,8 @@
</span><span class="cx"> assert_true("initEvent" in ev)
</span><span class="cx"> }, "Default event values.")
</span><span class="cx"> test(function() {
</span><del>- assert_throws("NotSupportedError", function() {
- document.createEvent("ProgressEvent")
- })
-}, "document.createEvent() should not work with ProgressEvent.")
</del><ins>+ var e = document.createEvent("ProgressEvent");
+ var eProto = Object.getPrototypeOf(e);
+ assert_equals(eProto, ProgressEvent.prototype);
+}, "document.createEvent() should work with ProgressEvent.");
</ins><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomeventsw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/events/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -17,6 +17,7 @@
</span><span class="cx"> List of files:
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constants.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-constructors.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented-after-dispatch.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-defaultPrevented.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/events/Event-dispatch-handlers-changed.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdominterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-CONSOLE MESSAGE: line 226: callback not yet supported
</del><ins>+CONSOLE MESSAGE: line 236: callback not yet supported
</ins><span class="cx"> DOM IDL tests
</span><span class="cx">
</span><span class="cx">
</span><span class="lines">@@ -110,8 +110,8 @@
</span><span class="cx"> PASS EventTarget interface object name
</span><span class="cx"> PASS EventTarget interface: existence and properties of interface prototype object
</span><span class="cx"> PASS EventTarget interface: existence and properties of interface prototype object's "constructor" property
</span><del>-PASS EventTarget interface: operation addEventListener(DOMString,EventListener,boolean)
-PASS EventTarget interface: operation removeEventListener(DOMString,EventListener,boolean)
</del><ins>+PASS EventTarget interface: operation addEventListener(DOMString,EventListener,[object Object],[object Object])
+PASS EventTarget interface: operation removeEventListener(DOMString,EventListener,[object Object],[object Object])
</ins><span class="cx"> PASS EventTarget interface: operation dispatchEvent(Event)
</span><span class="cx"> PASS EventListener interface: existence and properties of interface object
</span><span class="cx"> PASS EventListener interface: existence and properties of interface prototype object
</span><span class="lines">@@ -202,7 +202,9 @@
</span><span class="cx"> PASS Node interface: attribute nodeType
</span><span class="cx"> PASS Node interface: attribute nodeName
</span><span class="cx"> PASS Node interface: attribute baseURI
</span><ins>+FAIL Node interface: attribute isConnected assert_true: The prototype object must have a property "isConnected" expected true got false
</ins><span class="cx"> PASS Node interface: attribute ownerDocument
</span><ins>+FAIL Node interface: attribute rootNode assert_true: The prototype object must have a property "rootNode" expected true got false
</ins><span class="cx"> PASS Node interface: attribute parentNode
</span><span class="cx"> PASS Node interface: attribute parentElement
</span><span class="cx"> PASS Node interface: operation hasChildNodes()
</span><span class="lines">@@ -216,6 +218,7 @@
</span><span class="cx"> PASS Node interface: operation normalize()
</span><span class="cx"> PASS Node interface: operation cloneNode(boolean)
</span><span class="cx"> FAIL Node interface: operation isEqualNode(Node) assert_equals: property has wrong .length expected 1 but got 0
</span><ins>+FAIL Node interface: operation isSameNode(Node) assert_equals: property has wrong .length expected 1 but got 0
</ins><span class="cx"> PASS Node interface: constant DOCUMENT_POSITION_DISCONNECTED on interface object
</span><span class="cx"> PASS Node interface: constant DOCUMENT_POSITION_DISCONNECTED on interface prototype object
</span><span class="cx"> PASS Node interface: constant DOCUMENT_POSITION_PRECEDING on interface object
</span><span class="lines">@@ -256,8 +259,8 @@
</span><span class="cx"> FAIL Document interface: operation getElementsByTagName(DOMString) assert_equals: property has wrong .length expected 1 but got 0
</span><span class="cx"> FAIL Document interface: operation getElementsByTagNameNS(DOMString,DOMString) assert_equals: property has wrong .length expected 2 but got 0
</span><span class="cx"> FAIL Document interface: operation getElementsByClassName(DOMString) assert_equals: property has wrong .length expected 1 but got 0
</span><del>-PASS Document interface: operation createElement(DOMString)
-FAIL Document interface: operation createElementNS(DOMString,DOMString) assert_equals: property has wrong .length expected 2 but got 0
</del><ins>+PASS Document interface: operation createElement(DOMString,ElementCreationOptions)
+FAIL Document interface: operation createElementNS(DOMString,DOMString,ElementCreationOptions) assert_equals: property has wrong .length expected 2 but got 0
</ins><span class="cx"> PASS Document interface: operation createDocumentFragment()
</span><span class="cx"> FAIL Document interface: operation createTextNode(DOMString) assert_equals: property has wrong .length expected 1 but got 0
</span><span class="cx"> FAIL Document interface: operation createComment(DOMString) assert_equals: property has wrong .length expected 1 but got 0
</span><span class="lines">@@ -277,10 +280,174 @@
</span><span class="cx"> PASS Document interface: attribute childElementCount
</span><span class="cx"> PASS Document interface: operation prepend([object Object],[object Object])
</span><span class="cx"> PASS Document interface: operation append([object Object],[object Object])
</span><del>-FAIL Document interface: operation query(DOMString) assert_own_property: interface prototype object missing non-static operation expected property "query" missing
-FAIL Document interface: operation queryAll(DOMString) assert_own_property: interface prototype object missing non-static operation expected property "queryAll" missing
</del><span class="cx"> PASS Document interface: operation querySelector(DOMString)
</span><span class="cx"> PASS Document interface: operation querySelectorAll(DOMString)
</span><ins>+PASS Document must be primary interface of new Document()
+PASS Stringification of new Document()
+PASS Document interface: new Document() must inherit property "implementation" with the proper type (0)
+PASS Document interface: new Document() must inherit property "URL" with the proper type (1)
+PASS Document interface: new Document() must inherit property "documentURI" with the proper type (2)
+PASS Document interface: new Document() must inherit property "origin" with the proper type (3)
+PASS Document interface: new Document() must inherit property "compatMode" with the proper type (4)
+PASS Document interface: new Document() must inherit property "characterSet" with the proper type (5)
+PASS Document interface: new Document() must inherit property "charset" with the proper type (6)
+PASS Document interface: new Document() must inherit property "inputEncoding" with the proper type (7)
+PASS Document interface: new Document() must inherit property "contentType" with the proper type (8)
+PASS Document interface: new Document() must inherit property "doctype" with the proper type (9)
+PASS Document interface: new Document() must inherit property "documentElement" with the proper type (10)
+PASS Document interface: new Document() must inherit property "getElementsByTagName" with the proper type (11)
+FAIL Document interface: calling getElementsByTagName(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "getElementsByTagNameNS" with the proper type (12)
+FAIL Document interface: calling getElementsByTagNameNS(DOMString,DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "getElementsByClassName" with the proper type (13)
+FAIL Document interface: calling getElementsByClassName(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "createElement" with the proper type (14)
+PASS Document interface: calling createElement(DOMString,ElementCreationOptions) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "createElementNS" with the proper type (15)
+FAIL Document interface: calling createElementNS(DOMString,DOMString,ElementCreationOptions) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "createDocumentFragment" with the proper type (16)
+PASS Document interface: new Document() must inherit property "createTextNode" with the proper type (17)
+FAIL Document interface: calling createTextNode(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "createComment" with the proper type (18)
+FAIL Document interface: calling createComment(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "createProcessingInstruction" with the proper type (19)
+FAIL Document interface: calling createProcessingInstruction(DOMString,DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "importNode" with the proper type (20)
+PASS Document interface: calling importNode(Node,boolean) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "adoptNode" with the proper type (21)
+PASS Document interface: calling adoptNode(Node) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "createAttribute" with the proper type (22)
+FAIL Document interface: calling createAttribute(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "createAttributeNS" with the proper type (23)
+FAIL Document interface: calling createAttributeNS(DOMString,DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "createEvent" with the proper type (24)
+FAIL Document interface: calling createEvent(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" threw object "Error: NotSupportedError: DOM Exception 9" ("NotSupportedError") expected object "TypeError" ("TypeError")
+PASS Document interface: new Document() must inherit property "createRange" with the proper type (25)
+PASS Document interface: new Document() must inherit property "createNodeIterator" with the proper type (26)
+PASS Document interface: calling createNodeIterator(Node,unsigned long,NodeFilter) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "createTreeWalker" with the proper type (27)
+PASS Document interface: calling createTreeWalker(Node,unsigned long,NodeFilter) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "getElementById" with the proper type (28)
+FAIL Document interface: calling getElementById(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "children" with the proper type (29)
+PASS Document interface: new Document() must inherit property "firstElementChild" with the proper type (30)
+PASS Document interface: new Document() must inherit property "lastElementChild" with the proper type (31)
+PASS Document interface: new Document() must inherit property "childElementCount" with the proper type (32)
+PASS Document interface: new Document() must inherit property "prepend" with the proper type (33)
+PASS Document interface: calling prepend([object Object],[object Object]) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "append" with the proper type (34)
+PASS Document interface: calling append([object Object],[object Object]) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "querySelector" with the proper type (35)
+PASS Document interface: calling querySelector(DOMString) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "querySelectorAll" with the proper type (36)
+PASS Document interface: calling querySelectorAll(DOMString) on new Document() with too few arguments must throw TypeError
+PASS Node interface: new Document() must inherit property "ELEMENT_NODE" with the proper type (0)
+PASS Node interface: new Document() must inherit property "ATTRIBUTE_NODE" with the proper type (1)
+PASS Node interface: new Document() must inherit property "TEXT_NODE" with the proper type (2)
+PASS Node interface: new Document() must inherit property "CDATA_SECTION_NODE" with the proper type (3)
+PASS Node interface: new Document() must inherit property "ENTITY_REFERENCE_NODE" with the proper type (4)
+PASS Node interface: new Document() must inherit property "ENTITY_NODE" with the proper type (5)
+PASS Node interface: new Document() must inherit property "PROCESSING_INSTRUCTION_NODE" with the proper type (6)
+PASS Node interface: new Document() must inherit property "COMMENT_NODE" with the proper type (7)
+PASS Node interface: new Document() must inherit property "DOCUMENT_NODE" with the proper type (8)
+PASS Node interface: new Document() must inherit property "DOCUMENT_TYPE_NODE" with the proper type (9)
+PASS Node interface: new Document() must inherit property "DOCUMENT_FRAGMENT_NODE" with the proper type (10)
+PASS Node interface: new Document() must inherit property "NOTATION_NODE" with the proper type (11)
+PASS Node interface: new Document() must inherit property "nodeType" with the proper type (12)
+PASS Node interface: new Document() must inherit property "nodeName" with the proper type (13)
+FAIL Node interface: new Document() must inherit property "baseURI" with the proper type (14) assert_equals: expected "string" but got "object"
+FAIL Node interface: new Document() must inherit property "isConnected" with the proper type (15) assert_inherits: property "isConnected" not found in prototype chain
+PASS Node interface: new Document() must inherit property "ownerDocument" with the proper type (16)
+FAIL Node interface: new Document() must inherit property "rootNode" with the proper type (17) assert_inherits: property "rootNode" not found in prototype chain
+PASS Node interface: new Document() must inherit property "parentNode" with the proper type (18)
+PASS Node interface: new Document() must inherit property "parentElement" with the proper type (19)
+PASS Node interface: new Document() must inherit property "hasChildNodes" with the proper type (20)
+PASS Node interface: new Document() must inherit property "childNodes" with the proper type (21)
+PASS Node interface: new Document() must inherit property "firstChild" with the proper type (22)
+PASS Node interface: new Document() must inherit property "lastChild" with the proper type (23)
+PASS Node interface: new Document() must inherit property "previousSibling" with the proper type (24)
+PASS Node interface: new Document() must inherit property "nextSibling" with the proper type (25)
+PASS Node interface: new Document() must inherit property "nodeValue" with the proper type (26)
+PASS Node interface: new Document() must inherit property "textContent" with the proper type (27)
+PASS Node interface: new Document() must inherit property "normalize" with the proper type (28)
+PASS Node interface: new Document() must inherit property "cloneNode" with the proper type (29)
+PASS Node interface: calling cloneNode(boolean) on new Document() with too few arguments must throw TypeError
+PASS Node interface: new Document() must inherit property "isEqualNode" with the proper type (30)
+FAIL Node interface: calling isEqualNode(Node) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "isSameNode" with the proper type (31)
+FAIL Node interface: calling isSameNode(Node) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (32)
+PASS Node interface: new Document() must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (33)
+PASS Node interface: new Document() must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (34)
+PASS Node interface: new Document() must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (35)
+PASS Node interface: new Document() must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (36)
+PASS Node interface: new Document() must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (37)
+PASS Node interface: new Document() must inherit property "compareDocumentPosition" with the proper type (38)
+FAIL Node interface: calling compareDocumentPosition(Node) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "contains" with the proper type (39)
+FAIL Node interface: calling contains(Node) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "lookupPrefix" with the proper type (40)
+FAIL Node interface: calling lookupPrefix(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "lookupNamespaceURI" with the proper type (41)
+FAIL Node interface: calling lookupNamespaceURI(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "isDefaultNamespace" with the proper type (42)
+FAIL Node interface: calling isDefaultNamespace(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "insertBefore" with the proper type (43)
+FAIL Node interface: calling insertBefore(Node,Node) on new Document() with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () {
+ fn.apply(obj, args);
+ }" threw object "Error: HierarchyRequestError: DOM Exception 3" ("HierarchyRequestError") expected object "TypeError" ("TypeError")
+PASS Node interface: new Document() must inherit property "appendChild" with the proper type (44)
+PASS Node interface: calling appendChild(Node) on new Document() with too few arguments must throw TypeError
+PASS Node interface: new Document() must inherit property "replaceChild" with the proper type (45)
+PASS Node interface: calling replaceChild(Node,Node) on new Document() with too few arguments must throw TypeError
+PASS Node interface: new Document() must inherit property "removeChild" with the proper type (46)
+PASS Node interface: calling removeChild(Node) on new Document() with too few arguments must throw TypeError
+PASS EventTarget interface: new Document() must inherit property "addEventListener" with the proper type (0)
+FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,[object Object],[object Object]) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS EventTarget interface: new Document() must inherit property "removeEventListener" with the proper type (1)
+FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,[object Object],[object Object]) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS EventTarget interface: new Document() must inherit property "dispatchEvent" with the proper type (2)
+PASS EventTarget interface: calling dispatchEvent(Event) on new Document() with too few arguments must throw TypeError
</ins><span class="cx"> PASS XMLDocument interface: existence and properties of interface object
</span><span class="cx"> PASS XMLDocument interface object length
</span><span class="cx"> PASS XMLDocument interface object name
</span><span class="lines">@@ -312,9 +479,9 @@
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property "createElement" with the proper type (14)
</span><del>-PASS Document interface: calling createElement(DOMString) on xmlDoc with too few arguments must throw TypeError
</del><ins>+PASS Document interface: calling createElement(DOMString,ElementCreationOptions) on xmlDoc with too few arguments must throw TypeError
</ins><span class="cx"> PASS Document interface: xmlDoc must inherit property "createElementNS" with the proper type (15)
</span><del>-FAIL Document interface: calling createElementNS(DOMString,DOMString) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL Document interface: calling createElementNS(DOMString,DOMString,ElementCreationOptions) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property "createDocumentFragment" with the proper type (16)
</span><span class="lines">@@ -363,13 +530,9 @@
</span><span class="cx"> PASS Document interface: calling prepend([object Object],[object Object]) on xmlDoc with too few arguments must throw TypeError
</span><span class="cx"> PASS Document interface: xmlDoc must inherit property "append" with the proper type (34)
</span><span class="cx"> PASS Document interface: calling append([object Object],[object Object]) on xmlDoc with too few arguments must throw TypeError
</span><del>-FAIL Document interface: xmlDoc must inherit property "query" with the proper type (35) assert_inherits: property "query" not found in prototype chain
-FAIL Document interface: calling query(DOMString) on xmlDoc with too few arguments must throw TypeError assert_inherits: property "query" not found in prototype chain
-FAIL Document interface: xmlDoc must inherit property "queryAll" with the proper type (36) assert_inherits: property "queryAll" not found in prototype chain
-FAIL Document interface: calling queryAll(DOMString) on xmlDoc with too few arguments must throw TypeError assert_inherits: property "queryAll" not found in prototype chain
-PASS Document interface: xmlDoc must inherit property "querySelector" with the proper type (37)
</del><ins>+PASS Document interface: xmlDoc must inherit property "querySelector" with the proper type (35)
</ins><span class="cx"> PASS Document interface: calling querySelector(DOMString) on xmlDoc with too few arguments must throw TypeError
</span><del>-PASS Document interface: xmlDoc must inherit property "querySelectorAll" with the proper type (38)
</del><ins>+PASS Document interface: xmlDoc must inherit property "querySelectorAll" with the proper type (36)
</ins><span class="cx"> PASS Document interface: calling querySelectorAll(DOMString) on xmlDoc with too few arguments must throw TypeError
</span><span class="cx"> PASS Node interface: xmlDoc must inherit property "ELEMENT_NODE" with the proper type (0)
</span><span class="cx"> PASS Node interface: xmlDoc must inherit property "ATTRIBUTE_NODE" with the proper type (1)
</span><span class="lines">@@ -385,67 +548,73 @@
</span><span class="cx"> PASS Node interface: xmlDoc must inherit property "NOTATION_NODE" with the proper type (11)
</span><span class="cx"> PASS Node interface: xmlDoc must inherit property "nodeType" with the proper type (12)
</span><span class="cx"> PASS Node interface: xmlDoc must inherit property "nodeName" with the proper type (13)
</span><del>-PASS Node interface: xmlDoc must inherit property "baseURI" with the proper type (14)
-PASS Node interface: xmlDoc must inherit property "ownerDocument" with the proper type (15)
-PASS Node interface: xmlDoc must inherit property "parentNode" with the proper type (16)
-PASS Node interface: xmlDoc must inherit property "parentElement" with the proper type (17)
-PASS Node interface: xmlDoc must inherit property "hasChildNodes" with the proper type (18)
-PASS Node interface: xmlDoc must inherit property "childNodes" with the proper type (19)
-PASS Node interface: xmlDoc must inherit property "firstChild" with the proper type (20)
-PASS Node interface: xmlDoc must inherit property "lastChild" with the proper type (21)
-PASS Node interface: xmlDoc must inherit property "previousSibling" with the proper type (22)
-PASS Node interface: xmlDoc must inherit property "nextSibling" with the proper type (23)
-PASS Node interface: xmlDoc must inherit property "nodeValue" with the proper type (24)
-PASS Node interface: xmlDoc must inherit property "textContent" with the proper type (25)
-PASS Node interface: xmlDoc must inherit property "normalize" with the proper type (26)
-PASS Node interface: xmlDoc must inherit property "cloneNode" with the proper type (27)
</del><ins>+FAIL Node interface: xmlDoc must inherit property "baseURI" with the proper type (14) assert_equals: expected "string" but got "object"
+FAIL Node interface: xmlDoc must inherit property "isConnected" with the proper type (15) assert_inherits: property "isConnected" not found in prototype chain
+PASS Node interface: xmlDoc must inherit property "ownerDocument" with the proper type (16)
+FAIL Node interface: xmlDoc must inherit property "rootNode" with the proper type (17) assert_inherits: property "rootNode" not found in prototype chain
+PASS Node interface: xmlDoc must inherit property "parentNode" with the proper type (18)
+PASS Node interface: xmlDoc must inherit property "parentElement" with the proper type (19)
+PASS Node interface: xmlDoc must inherit property "hasChildNodes" with the proper type (20)
+PASS Node interface: xmlDoc must inherit property "childNodes" with the proper type (21)
+PASS Node interface: xmlDoc must inherit property "firstChild" with the proper type (22)
+PASS Node interface: xmlDoc must inherit property "lastChild" with the proper type (23)
+PASS Node interface: xmlDoc must inherit property "previousSibling" with the proper type (24)
+PASS Node interface: xmlDoc must inherit property "nextSibling" with the proper type (25)
+PASS Node interface: xmlDoc must inherit property "nodeValue" with the proper type (26)
+PASS Node interface: xmlDoc must inherit property "textContent" with the proper type (27)
+PASS Node interface: xmlDoc must inherit property "normalize" with the proper type (28)
+PASS Node interface: xmlDoc must inherit property "cloneNode" with the proper type (29)
</ins><span class="cx"> PASS Node interface: calling cloneNode(boolean) on xmlDoc with too few arguments must throw TypeError
</span><del>-PASS Node interface: xmlDoc must inherit property "isEqualNode" with the proper type (28)
</del><ins>+PASS Node interface: xmlDoc must inherit property "isEqualNode" with the proper type (30)
</ins><span class="cx"> FAIL Node interface: calling isEqualNode(Node) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: xmlDoc must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (29)
-PASS Node interface: xmlDoc must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (30)
-PASS Node interface: xmlDoc must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (31)
-PASS Node interface: xmlDoc must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (32)
-PASS Node interface: xmlDoc must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (33)
-PASS Node interface: xmlDoc must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (34)
-PASS Node interface: xmlDoc must inherit property "compareDocumentPosition" with the proper type (35)
</del><ins>+PASS Node interface: xmlDoc must inherit property "isSameNode" with the proper type (31)
+FAIL Node interface: calling isSameNode(Node) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: xmlDoc must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (32)
+PASS Node interface: xmlDoc must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (33)
+PASS Node interface: xmlDoc must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (34)
+PASS Node interface: xmlDoc must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (35)
+PASS Node interface: xmlDoc must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (36)
+PASS Node interface: xmlDoc must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (37)
+PASS Node interface: xmlDoc must inherit property "compareDocumentPosition" with the proper type (38)
</ins><span class="cx"> FAIL Node interface: calling compareDocumentPosition(Node) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: xmlDoc must inherit property "contains" with the proper type (36)
</del><ins>+PASS Node interface: xmlDoc must inherit property "contains" with the proper type (39)
</ins><span class="cx"> FAIL Node interface: calling contains(Node) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: xmlDoc must inherit property "lookupPrefix" with the proper type (37)
</del><ins>+PASS Node interface: xmlDoc must inherit property "lookupPrefix" with the proper type (40)
</ins><span class="cx"> FAIL Node interface: calling lookupPrefix(DOMString) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: xmlDoc must inherit property "lookupNamespaceURI" with the proper type (38)
</del><ins>+PASS Node interface: xmlDoc must inherit property "lookupNamespaceURI" with the proper type (41)
</ins><span class="cx"> FAIL Node interface: calling lookupNamespaceURI(DOMString) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: xmlDoc must inherit property "isDefaultNamespace" with the proper type (39)
</del><ins>+PASS Node interface: xmlDoc must inherit property "isDefaultNamespace" with the proper type (42)
</ins><span class="cx"> FAIL Node interface: calling isDefaultNamespace(DOMString) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: xmlDoc must inherit property "insertBefore" with the proper type (40)
</del><ins>+PASS Node interface: xmlDoc must inherit property "insertBefore" with the proper type (43)
</ins><span class="cx"> FAIL Node interface: calling insertBefore(Node,Node) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" threw object "Error: HierarchyRequestError: DOM Exception 3" ("HierarchyRequestError") expected object "TypeError" ("TypeError")
</span><del>-PASS Node interface: xmlDoc must inherit property "appendChild" with the proper type (41)
</del><ins>+PASS Node interface: xmlDoc must inherit property "appendChild" with the proper type (44)
</ins><span class="cx"> PASS Node interface: calling appendChild(Node) on xmlDoc with too few arguments must throw TypeError
</span><del>-PASS Node interface: xmlDoc must inherit property "replaceChild" with the proper type (42)
</del><ins>+PASS Node interface: xmlDoc must inherit property "replaceChild" with the proper type (45)
</ins><span class="cx"> PASS Node interface: calling replaceChild(Node,Node) on xmlDoc with too few arguments must throw TypeError
</span><del>-PASS Node interface: xmlDoc must inherit property "removeChild" with the proper type (43)
</del><ins>+PASS Node interface: xmlDoc must inherit property "removeChild" with the proper type (46)
</ins><span class="cx"> PASS Node interface: calling removeChild(Node) on xmlDoc with too few arguments must throw TypeError
</span><span class="cx"> PASS EventTarget interface: xmlDoc must inherit property "addEventListener" with the proper type (0)
</span><del>-FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,[object Object],[object Object]) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: xmlDoc must inherit property "removeEventListener" with the proper type (1)
</span><del>-FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,[object Object],[object Object]) on xmlDoc with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: xmlDoc must inherit property "dispatchEvent" with the proper type (2)
</span><span class="lines">@@ -472,6 +641,115 @@
</span><span class="cx"> PASS DOMImplementation interface: document.implementation must inherit property "createHTMLDocument" with the proper type (2)
</span><span class="cx"> PASS DOMImplementation interface: calling createHTMLDocument(DOMString) on document.implementation with too few arguments must throw TypeError
</span><span class="cx"> PASS DOMImplementation interface: document.implementation must inherit property "hasFeature" with the proper type (3)
</span><ins>+PASS DocumentType interface: existence and properties of interface object
+PASS DocumentType interface object length
+PASS DocumentType interface object name
+PASS DocumentType interface: existence and properties of interface prototype object
+PASS DocumentType interface: existence and properties of interface prototype object's "constructor" property
+PASS DocumentType interface: attribute name
+PASS DocumentType interface: attribute publicId
+PASS DocumentType interface: attribute systemId
+PASS DocumentType interface: operation before([object Object],[object Object])
+PASS DocumentType interface: operation after([object Object],[object Object])
+PASS DocumentType interface: operation replaceWith([object Object],[object Object])
+PASS DocumentType interface: operation remove()
+PASS DocumentType must be primary interface of document.doctype
+PASS Stringification of document.doctype
+PASS DocumentType interface: document.doctype must inherit property "name" with the proper type (0)
+PASS DocumentType interface: document.doctype must inherit property "publicId" with the proper type (1)
+PASS DocumentType interface: document.doctype must inherit property "systemId" with the proper type (2)
+PASS DocumentType interface: document.doctype must inherit property "before" with the proper type (3)
+PASS DocumentType interface: calling before([object Object],[object Object]) on document.doctype with too few arguments must throw TypeError
+PASS DocumentType interface: document.doctype must inherit property "after" with the proper type (4)
+PASS DocumentType interface: calling after([object Object],[object Object]) on document.doctype with too few arguments must throw TypeError
+PASS DocumentType interface: document.doctype must inherit property "replaceWith" with the proper type (5)
+PASS DocumentType interface: calling replaceWith([object Object],[object Object]) on document.doctype with too few arguments must throw TypeError
+PASS DocumentType interface: document.doctype must inherit property "remove" with the proper type (6)
+PASS Node interface: document.doctype must inherit property "ELEMENT_NODE" with the proper type (0)
+PASS Node interface: document.doctype must inherit property "ATTRIBUTE_NODE" with the proper type (1)
+PASS Node interface: document.doctype must inherit property "TEXT_NODE" with the proper type (2)
+PASS Node interface: document.doctype must inherit property "CDATA_SECTION_NODE" with the proper type (3)
+PASS Node interface: document.doctype must inherit property "ENTITY_REFERENCE_NODE" with the proper type (4)
+PASS Node interface: document.doctype must inherit property "ENTITY_NODE" with the proper type (5)
+PASS Node interface: document.doctype must inherit property "PROCESSING_INSTRUCTION_NODE" with the proper type (6)
+PASS Node interface: document.doctype must inherit property "COMMENT_NODE" with the proper type (7)
+PASS Node interface: document.doctype must inherit property "DOCUMENT_NODE" with the proper type (8)
+PASS Node interface: document.doctype must inherit property "DOCUMENT_TYPE_NODE" with the proper type (9)
+PASS Node interface: document.doctype must inherit property "DOCUMENT_FRAGMENT_NODE" with the proper type (10)
+PASS Node interface: document.doctype must inherit property "NOTATION_NODE" with the proper type (11)
+PASS Node interface: document.doctype must inherit property "nodeType" with the proper type (12)
+PASS Node interface: document.doctype must inherit property "nodeName" with the proper type (13)
+PASS Node interface: document.doctype must inherit property "baseURI" with the proper type (14)
+FAIL Node interface: document.doctype must inherit property "isConnected" with the proper type (15) assert_inherits: property "isConnected" not found in prototype chain
+PASS Node interface: document.doctype must inherit property "ownerDocument" with the proper type (16)
+FAIL Node interface: document.doctype must inherit property "rootNode" with the proper type (17) assert_inherits: property "rootNode" not found in prototype chain
+PASS Node interface: document.doctype must inherit property "parentNode" with the proper type (18)
+PASS Node interface: document.doctype must inherit property "parentElement" with the proper type (19)
+PASS Node interface: document.doctype must inherit property "hasChildNodes" with the proper type (20)
+PASS Node interface: document.doctype must inherit property "childNodes" with the proper type (21)
+PASS Node interface: document.doctype must inherit property "firstChild" with the proper type (22)
+PASS Node interface: document.doctype must inherit property "lastChild" with the proper type (23)
+PASS Node interface: document.doctype must inherit property "previousSibling" with the proper type (24)
+PASS Node interface: document.doctype must inherit property "nextSibling" with the proper type (25)
+PASS Node interface: document.doctype must inherit property "nodeValue" with the proper type (26)
+PASS Node interface: document.doctype must inherit property "textContent" with the proper type (27)
+PASS Node interface: document.doctype must inherit property "normalize" with the proper type (28)
+PASS Node interface: document.doctype must inherit property "cloneNode" with the proper type (29)
+PASS Node interface: calling cloneNode(boolean) on document.doctype with too few arguments must throw TypeError
+PASS Node interface: document.doctype must inherit property "isEqualNode" with the proper type (30)
+FAIL Node interface: calling isEqualNode(Node) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: document.doctype must inherit property "isSameNode" with the proper type (31)
+FAIL Node interface: calling isSameNode(Node) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: document.doctype must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (32)
+PASS Node interface: document.doctype must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (33)
+PASS Node interface: document.doctype must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (34)
+PASS Node interface: document.doctype must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (35)
+PASS Node interface: document.doctype must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (36)
+PASS Node interface: document.doctype must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (37)
+PASS Node interface: document.doctype must inherit property "compareDocumentPosition" with the proper type (38)
+FAIL Node interface: calling compareDocumentPosition(Node) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: document.doctype must inherit property "contains" with the proper type (39)
+FAIL Node interface: calling contains(Node) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: document.doctype must inherit property "lookupPrefix" with the proper type (40)
+FAIL Node interface: calling lookupPrefix(DOMString) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: document.doctype must inherit property "lookupNamespaceURI" with the proper type (41)
+FAIL Node interface: calling lookupNamespaceURI(DOMString) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: document.doctype must inherit property "isDefaultNamespace" with the proper type (42)
+FAIL Node interface: calling isDefaultNamespace(DOMString) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: document.doctype must inherit property "insertBefore" with the proper type (43)
+FAIL Node interface: calling insertBefore(Node,Node) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () {
+ fn.apply(obj, args);
+ }" threw object "Error: HierarchyRequestError: DOM Exception 3" ("HierarchyRequestError") expected object "TypeError" ("TypeError")
+PASS Node interface: document.doctype must inherit property "appendChild" with the proper type (44)
+PASS Node interface: calling appendChild(Node) on document.doctype with too few arguments must throw TypeError
+PASS Node interface: document.doctype must inherit property "replaceChild" with the proper type (45)
+PASS Node interface: calling replaceChild(Node,Node) on document.doctype with too few arguments must throw TypeError
+PASS Node interface: document.doctype must inherit property "removeChild" with the proper type (46)
+PASS Node interface: calling removeChild(Node) on document.doctype with too few arguments must throw TypeError
+PASS EventTarget interface: document.doctype must inherit property "addEventListener" with the proper type (0)
+FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,[object Object],[object Object]) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS EventTarget interface: document.doctype must inherit property "removeEventListener" with the proper type (1)
+FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,[object Object],[object Object]) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS EventTarget interface: document.doctype must inherit property "dispatchEvent" with the proper type (2)
+PASS EventTarget interface: calling dispatchEvent(Event) on document.doctype with too few arguments must throw TypeError
</ins><span class="cx"> PASS DocumentFragment interface: existence and properties of interface object
</span><span class="cx"> PASS DocumentFragment interface object length
</span><span class="cx"> PASS DocumentFragment interface object name
</span><span class="lines">@@ -484,8 +762,6 @@
</span><span class="cx"> PASS DocumentFragment interface: attribute childElementCount
</span><span class="cx"> PASS DocumentFragment interface: operation prepend([object Object],[object Object])
</span><span class="cx"> PASS DocumentFragment interface: operation append([object Object],[object Object])
</span><del>-FAIL DocumentFragment interface: operation query(DOMString) assert_own_property: interface prototype object missing non-static operation expected property "query" missing
-FAIL DocumentFragment interface: operation queryAll(DOMString) assert_own_property: interface prototype object missing non-static operation expected property "queryAll" missing
</del><span class="cx"> PASS DocumentFragment interface: operation querySelector(DOMString)
</span><span class="cx"> PASS DocumentFragment interface: operation querySelectorAll(DOMString)
</span><span class="cx"> PASS DocumentFragment must be primary interface of document.createDocumentFragment()
</span><span class="lines">@@ -502,13 +778,9 @@
</span><span class="cx"> PASS DocumentFragment interface: calling prepend([object Object],[object Object]) on document.createDocumentFragment() with too few arguments must throw TypeError
</span><span class="cx"> PASS DocumentFragment interface: document.createDocumentFragment() must inherit property "append" with the proper type (6)
</span><span class="cx"> PASS DocumentFragment interface: calling append([object Object],[object Object]) on document.createDocumentFragment() with too few arguments must throw TypeError
</span><del>-FAIL DocumentFragment interface: document.createDocumentFragment() must inherit property "query" with the proper type (7) assert_inherits: property "query" not found in prototype chain
-FAIL DocumentFragment interface: calling query(DOMString) on document.createDocumentFragment() with too few arguments must throw TypeError assert_inherits: property "query" not found in prototype chain
-FAIL DocumentFragment interface: document.createDocumentFragment() must inherit property "queryAll" with the proper type (8) assert_inherits: property "queryAll" not found in prototype chain
-FAIL DocumentFragment interface: calling queryAll(DOMString) on document.createDocumentFragment() with too few arguments must throw TypeError assert_inherits: property "queryAll" not found in prototype chain
-PASS DocumentFragment interface: document.createDocumentFragment() must inherit property "querySelector" with the proper type (9)
</del><ins>+PASS DocumentFragment interface: document.createDocumentFragment() must inherit property "querySelector" with the proper type (7)
</ins><span class="cx"> PASS DocumentFragment interface: calling querySelector(DOMString) on document.createDocumentFragment() with too few arguments must throw TypeError
</span><del>-PASS DocumentFragment interface: document.createDocumentFragment() must inherit property "querySelectorAll" with the proper type (10)
</del><ins>+PASS DocumentFragment interface: document.createDocumentFragment() must inherit property "querySelectorAll" with the proper type (8)
</ins><span class="cx"> PASS DocumentFragment interface: calling querySelectorAll(DOMString) on document.createDocumentFragment() with too few arguments must throw TypeError
</span><span class="cx"> PASS Node interface: document.createDocumentFragment() must inherit property "ELEMENT_NODE" with the proper type (0)
</span><span class="cx"> PASS Node interface: document.createDocumentFragment() must inherit property "ATTRIBUTE_NODE" with the proper type (1)
</span><span class="lines">@@ -525,173 +797,83 @@
</span><span class="cx"> PASS Node interface: document.createDocumentFragment() must inherit property "nodeType" with the proper type (12)
</span><span class="cx"> PASS Node interface: document.createDocumentFragment() must inherit property "nodeName" with the proper type (13)
</span><span class="cx"> PASS Node interface: document.createDocumentFragment() must inherit property "baseURI" with the proper type (14)
</span><del>-PASS Node interface: document.createDocumentFragment() must inherit property "ownerDocument" with the proper type (15)
-PASS Node interface: document.createDocumentFragment() must inherit property "parentNode" with the proper type (16)
-PASS Node interface: document.createDocumentFragment() must inherit property "parentElement" with the proper type (17)
-PASS Node interface: document.createDocumentFragment() must inherit property "hasChildNodes" with the proper type (18)
-PASS Node interface: document.createDocumentFragment() must inherit property "childNodes" with the proper type (19)
-PASS Node interface: document.createDocumentFragment() must inherit property "firstChild" with the proper type (20)
-PASS Node interface: document.createDocumentFragment() must inherit property "lastChild" with the proper type (21)
-PASS Node interface: document.createDocumentFragment() must inherit property "previousSibling" with the proper type (22)
-PASS Node interface: document.createDocumentFragment() must inherit property "nextSibling" with the proper type (23)
-PASS Node interface: document.createDocumentFragment() must inherit property "nodeValue" with the proper type (24)
-PASS Node interface: document.createDocumentFragment() must inherit property "textContent" with the proper type (25)
-PASS Node interface: document.createDocumentFragment() must inherit property "normalize" with the proper type (26)
-PASS Node interface: document.createDocumentFragment() must inherit property "cloneNode" with the proper type (27)
</del><ins>+FAIL Node interface: document.createDocumentFragment() must inherit property "isConnected" with the proper type (15) assert_inherits: property "isConnected" not found in prototype chain
+PASS Node interface: document.createDocumentFragment() must inherit property "ownerDocument" with the proper type (16)
+FAIL Node interface: document.createDocumentFragment() must inherit property "rootNode" with the proper type (17) assert_inherits: property "rootNode" not found in prototype chain
+PASS Node interface: document.createDocumentFragment() must inherit property "parentNode" with the proper type (18)
+PASS Node interface: document.createDocumentFragment() must inherit property "parentElement" with the proper type (19)
+PASS Node interface: document.createDocumentFragment() must inherit property "hasChildNodes" with the proper type (20)
+PASS Node interface: document.createDocumentFragment() must inherit property "childNodes" with the proper type (21)
+PASS Node interface: document.createDocumentFragment() must inherit property "firstChild" with the proper type (22)
+PASS Node interface: document.createDocumentFragment() must inherit property "lastChild" with the proper type (23)
+PASS Node interface: document.createDocumentFragment() must inherit property "previousSibling" with the proper type (24)
+PASS Node interface: document.createDocumentFragment() must inherit property "nextSibling" with the proper type (25)
+PASS Node interface: document.createDocumentFragment() must inherit property "nodeValue" with the proper type (26)
+PASS Node interface: document.createDocumentFragment() must inherit property "textContent" with the proper type (27)
+PASS Node interface: document.createDocumentFragment() must inherit property "normalize" with the proper type (28)
+PASS Node interface: document.createDocumentFragment() must inherit property "cloneNode" with the proper type (29)
</ins><span class="cx"> PASS Node interface: calling cloneNode(boolean) on document.createDocumentFragment() with too few arguments must throw TypeError
</span><del>-PASS Node interface: document.createDocumentFragment() must inherit property "isEqualNode" with the proper type (28)
</del><ins>+PASS Node interface: document.createDocumentFragment() must inherit property "isEqualNode" with the proper type (30)
</ins><span class="cx"> FAIL Node interface: calling isEqualNode(Node) on document.createDocumentFragment() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createDocumentFragment() must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (29)
-PASS Node interface: document.createDocumentFragment() must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (30)
-PASS Node interface: document.createDocumentFragment() must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (31)
-PASS Node interface: document.createDocumentFragment() must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (32)
-PASS Node interface: document.createDocumentFragment() must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (33)
-PASS Node interface: document.createDocumentFragment() must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (34)
-PASS Node interface: document.createDocumentFragment() must inherit property "compareDocumentPosition" with the proper type (35)
</del><ins>+PASS Node interface: document.createDocumentFragment() must inherit property "isSameNode" with the proper type (31)
+FAIL Node interface: calling isSameNode(Node) on document.createDocumentFragment() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: document.createDocumentFragment() must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (32)
+PASS Node interface: document.createDocumentFragment() must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (33)
+PASS Node interface: document.createDocumentFragment() must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (34)
+PASS Node interface: document.createDocumentFragment() must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (35)
+PASS Node interface: document.createDocumentFragment() must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (36)
+PASS Node interface: document.createDocumentFragment() must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (37)
+PASS Node interface: document.createDocumentFragment() must inherit property "compareDocumentPosition" with the proper type (38)
</ins><span class="cx"> FAIL Node interface: calling compareDocumentPosition(Node) on document.createDocumentFragment() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createDocumentFragment() must inherit property "contains" with the proper type (36)
</del><ins>+PASS Node interface: document.createDocumentFragment() must inherit property "contains" with the proper type (39)
</ins><span class="cx"> FAIL Node interface: calling contains(Node) on document.createDocumentFragment() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createDocumentFragment() must inherit property "lookupPrefix" with the proper type (37)
</del><ins>+PASS Node interface: document.createDocumentFragment() must inherit property "lookupPrefix" with the proper type (40)
</ins><span class="cx"> FAIL Node interface: calling lookupPrefix(DOMString) on document.createDocumentFragment() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createDocumentFragment() must inherit property "lookupNamespaceURI" with the proper type (38)
</del><ins>+PASS Node interface: document.createDocumentFragment() must inherit property "lookupNamespaceURI" with the proper type (41)
</ins><span class="cx"> FAIL Node interface: calling lookupNamespaceURI(DOMString) on document.createDocumentFragment() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createDocumentFragment() must inherit property "isDefaultNamespace" with the proper type (39)
</del><ins>+PASS Node interface: document.createDocumentFragment() must inherit property "isDefaultNamespace" with the proper type (42)
</ins><span class="cx"> FAIL Node interface: calling isDefaultNamespace(DOMString) on document.createDocumentFragment() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createDocumentFragment() must inherit property "insertBefore" with the proper type (40)
</del><ins>+PASS Node interface: document.createDocumentFragment() must inherit property "insertBefore" with the proper type (43)
</ins><span class="cx"> FAIL Node interface: calling insertBefore(Node,Node) on document.createDocumentFragment() with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createDocumentFragment() must inherit property "appendChild" with the proper type (41)
</del><ins>+PASS Node interface: document.createDocumentFragment() must inherit property "appendChild" with the proper type (44)
</ins><span class="cx"> PASS Node interface: calling appendChild(Node) on document.createDocumentFragment() with too few arguments must throw TypeError
</span><del>-PASS Node interface: document.createDocumentFragment() must inherit property "replaceChild" with the proper type (42)
</del><ins>+PASS Node interface: document.createDocumentFragment() must inherit property "replaceChild" with the proper type (45)
</ins><span class="cx"> PASS Node interface: calling replaceChild(Node,Node) on document.createDocumentFragment() with too few arguments must throw TypeError
</span><del>-PASS Node interface: document.createDocumentFragment() must inherit property "removeChild" with the proper type (43)
</del><ins>+PASS Node interface: document.createDocumentFragment() must inherit property "removeChild" with the proper type (46)
</ins><span class="cx"> PASS Node interface: calling removeChild(Node) on document.createDocumentFragment() with too few arguments must throw TypeError
</span><span class="cx"> PASS EventTarget interface: document.createDocumentFragment() must inherit property "addEventListener" with the proper type (0)
</span><del>-FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on document.createDocumentFragment() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,[object Object],[object Object]) on document.createDocumentFragment() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: document.createDocumentFragment() must inherit property "removeEventListener" with the proper type (1)
</span><del>-FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on document.createDocumentFragment() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,[object Object],[object Object]) on document.createDocumentFragment() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: document.createDocumentFragment() must inherit property "dispatchEvent" with the proper type (2)
</span><span class="cx"> PASS EventTarget interface: calling dispatchEvent(Event) on document.createDocumentFragment() with too few arguments must throw TypeError
</span><del>-PASS DocumentType interface: existence and properties of interface object
-PASS DocumentType interface object length
-PASS DocumentType interface object name
-PASS DocumentType interface: existence and properties of interface prototype object
-PASS DocumentType interface: existence and properties of interface prototype object's "constructor" property
-PASS DocumentType interface: attribute name
-PASS DocumentType interface: attribute publicId
-PASS DocumentType interface: attribute systemId
-PASS DocumentType interface: operation before([object Object],[object Object])
-PASS DocumentType interface: operation after([object Object],[object Object])
-PASS DocumentType interface: operation replaceWith([object Object],[object Object])
-PASS DocumentType interface: operation remove()
-PASS DocumentType must be primary interface of document.doctype
-PASS Stringification of document.doctype
-PASS DocumentType interface: document.doctype must inherit property "name" with the proper type (0)
-PASS DocumentType interface: document.doctype must inherit property "publicId" with the proper type (1)
-PASS DocumentType interface: document.doctype must inherit property "systemId" with the proper type (2)
-PASS DocumentType interface: document.doctype must inherit property "before" with the proper type (3)
-PASS DocumentType interface: calling before([object Object],[object Object]) on document.doctype with too few arguments must throw TypeError
-PASS DocumentType interface: document.doctype must inherit property "after" with the proper type (4)
-PASS DocumentType interface: calling after([object Object],[object Object]) on document.doctype with too few arguments must throw TypeError
-PASS DocumentType interface: document.doctype must inherit property "replaceWith" with the proper type (5)
-PASS DocumentType interface: calling replaceWith([object Object],[object Object]) on document.doctype with too few arguments must throw TypeError
-PASS DocumentType interface: document.doctype must inherit property "remove" with the proper type (6)
-PASS Node interface: document.doctype must inherit property "ELEMENT_NODE" with the proper type (0)
-PASS Node interface: document.doctype must inherit property "ATTRIBUTE_NODE" with the proper type (1)
-PASS Node interface: document.doctype must inherit property "TEXT_NODE" with the proper type (2)
-PASS Node interface: document.doctype must inherit property "CDATA_SECTION_NODE" with the proper type (3)
-PASS Node interface: document.doctype must inherit property "ENTITY_REFERENCE_NODE" with the proper type (4)
-PASS Node interface: document.doctype must inherit property "ENTITY_NODE" with the proper type (5)
-PASS Node interface: document.doctype must inherit property "PROCESSING_INSTRUCTION_NODE" with the proper type (6)
-PASS Node interface: document.doctype must inherit property "COMMENT_NODE" with the proper type (7)
-PASS Node interface: document.doctype must inherit property "DOCUMENT_NODE" with the proper type (8)
-PASS Node interface: document.doctype must inherit property "DOCUMENT_TYPE_NODE" with the proper type (9)
-PASS Node interface: document.doctype must inherit property "DOCUMENT_FRAGMENT_NODE" with the proper type (10)
-PASS Node interface: document.doctype must inherit property "NOTATION_NODE" with the proper type (11)
-PASS Node interface: document.doctype must inherit property "nodeType" with the proper type (12)
-PASS Node interface: document.doctype must inherit property "nodeName" with the proper type (13)
-PASS Node interface: document.doctype must inherit property "baseURI" with the proper type (14)
-PASS Node interface: document.doctype must inherit property "ownerDocument" with the proper type (15)
-PASS Node interface: document.doctype must inherit property "parentNode" with the proper type (16)
-PASS Node interface: document.doctype must inherit property "parentElement" with the proper type (17)
-PASS Node interface: document.doctype must inherit property "hasChildNodes" with the proper type (18)
-PASS Node interface: document.doctype must inherit property "childNodes" with the proper type (19)
-PASS Node interface: document.doctype must inherit property "firstChild" with the proper type (20)
-PASS Node interface: document.doctype must inherit property "lastChild" with the proper type (21)
-PASS Node interface: document.doctype must inherit property "previousSibling" with the proper type (22)
-PASS Node interface: document.doctype must inherit property "nextSibling" with the proper type (23)
-PASS Node interface: document.doctype must inherit property "nodeValue" with the proper type (24)
-PASS Node interface: document.doctype must inherit property "textContent" with the proper type (25)
-PASS Node interface: document.doctype must inherit property "normalize" with the proper type (26)
-PASS Node interface: document.doctype must inherit property "cloneNode" with the proper type (27)
-PASS Node interface: calling cloneNode(boolean) on document.doctype with too few arguments must throw TypeError
-PASS Node interface: document.doctype must inherit property "isEqualNode" with the proper type (28)
-FAIL Node interface: calling isEqualNode(Node) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
- fn.apply(obj, args);
- }" did not throw
-PASS Node interface: document.doctype must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (29)
-PASS Node interface: document.doctype must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (30)
-PASS Node interface: document.doctype must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (31)
-PASS Node interface: document.doctype must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (32)
-PASS Node interface: document.doctype must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (33)
-PASS Node interface: document.doctype must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (34)
-PASS Node interface: document.doctype must inherit property "compareDocumentPosition" with the proper type (35)
-FAIL Node interface: calling compareDocumentPosition(Node) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
- fn.apply(obj, args);
- }" did not throw
-PASS Node interface: document.doctype must inherit property "contains" with the proper type (36)
-FAIL Node interface: calling contains(Node) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
- fn.apply(obj, args);
- }" did not throw
-PASS Node interface: document.doctype must inherit property "lookupPrefix" with the proper type (37)
-FAIL Node interface: calling lookupPrefix(DOMString) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
- fn.apply(obj, args);
- }" did not throw
-PASS Node interface: document.doctype must inherit property "lookupNamespaceURI" with the proper type (38)
-FAIL Node interface: calling lookupNamespaceURI(DOMString) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
- fn.apply(obj, args);
- }" did not throw
-PASS Node interface: document.doctype must inherit property "isDefaultNamespace" with the proper type (39)
-FAIL Node interface: calling isDefaultNamespace(DOMString) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
- fn.apply(obj, args);
- }" did not throw
-PASS Node interface: document.doctype must inherit property "insertBefore" with the proper type (40)
-FAIL Node interface: calling insertBefore(Node,Node) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () {
- fn.apply(obj, args);
- }" threw object "Error: HierarchyRequestError: DOM Exception 3" ("HierarchyRequestError") expected object "TypeError" ("TypeError")
-PASS Node interface: document.doctype must inherit property "appendChild" with the proper type (41)
-PASS Node interface: calling appendChild(Node) on document.doctype with too few arguments must throw TypeError
-PASS Node interface: document.doctype must inherit property "replaceChild" with the proper type (42)
-PASS Node interface: calling replaceChild(Node,Node) on document.doctype with too few arguments must throw TypeError
-PASS Node interface: document.doctype must inherit property "removeChild" with the proper type (43)
-PASS Node interface: calling removeChild(Node) on document.doctype with too few arguments must throw TypeError
-PASS EventTarget interface: document.doctype must inherit property "addEventListener" with the proper type (0)
-FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
- fn.apply(obj, args);
- }" did not throw
-PASS EventTarget interface: document.doctype must inherit property "removeEventListener" with the proper type (1)
-FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on document.doctype with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
- fn.apply(obj, args);
- }" did not throw
-PASS EventTarget interface: document.doctype must inherit property "dispatchEvent" with the proper type (2)
-PASS EventTarget interface: calling dispatchEvent(Event) on document.doctype with too few arguments must throw TypeError
</del><ins>+PASS ShadowRoot interface: existence and properties of interface object
+PASS ShadowRoot interface object length
+PASS ShadowRoot interface object name
+PASS ShadowRoot interface: existence and properties of interface prototype object
+PASS ShadowRoot interface: existence and properties of interface prototype object's "constructor" property
+FAIL ShadowRoot interface: attribute mode assert_true: The prototype object must have a property "mode" expected true got false
+PASS ShadowRoot interface: attribute host
</ins><span class="cx"> PASS Element interface: existence and properties of interface object
</span><span class="cx"> PASS Element interface object length
</span><span class="cx"> PASS Element interface object name
</span><span class="lines">@@ -704,8 +886,10 @@
</span><span class="cx"> PASS Element interface: attribute id
</span><span class="cx"> PASS Element interface: attribute className
</span><span class="cx"> PASS Element interface: attribute classList
</span><ins>+PASS Element interface: attribute slot
</ins><span class="cx"> PASS Element interface: operation hasAttributes()
</span><span class="cx"> PASS Element interface: attribute attributes
</span><ins>+FAIL Element interface: operation getAttributeNames() assert_own_property: interface prototype object missing non-static operation expected property "getAttributeNames" missing
</ins><span class="cx"> FAIL Element interface: operation getAttribute(DOMString) assert_equals: property has wrong .length expected 1 but got 0
</span><span class="cx"> FAIL Element interface: operation getAttributeNS(DOMString,DOMString) assert_equals: property has wrong .length expected 2 but got 0
</span><span class="cx"> FAIL Element interface: operation setAttribute(DOMString,DOMString) assert_equals: property has wrong .length expected 2 but got 0
</span><span class="lines">@@ -719,19 +903,22 @@
</span><span class="cx"> PASS Element interface: operation setAttributeNode(Attr)
</span><span class="cx"> PASS Element interface: operation setAttributeNodeNS(Attr)
</span><span class="cx"> PASS Element interface: operation removeAttributeNode(Attr)
</span><ins>+PASS Element interface: operation attachShadow(ShadowRootInit)
+PASS Element interface: attribute shadowRoot
</ins><span class="cx"> PASS Element interface: operation closest(DOMString)
</span><span class="cx"> PASS Element interface: operation matches(DOMString)
</span><ins>+PASS Element interface: operation webkitMatchesSelector(DOMString)
</ins><span class="cx"> FAIL Element interface: operation getElementsByTagName(DOMString) assert_equals: property has wrong .length expected 1 but got 0
</span><span class="cx"> FAIL Element interface: operation getElementsByTagNameNS(DOMString,DOMString) assert_equals: property has wrong .length expected 2 but got 0
</span><span class="cx"> FAIL Element interface: operation getElementsByClassName(DOMString) assert_equals: property has wrong .length expected 1 but got 0
</span><ins>+FAIL Element interface: operation insertAdjacentElement(DOMString,Element) assert_own_property: interface prototype object missing non-static operation expected property "insertAdjacentElement" missing
+FAIL Element interface: operation insertAdjacentText(DOMString,DOMString) assert_own_property: interface prototype object missing non-static operation expected property "insertAdjacentText" missing
</ins><span class="cx"> PASS Element interface: attribute children
</span><span class="cx"> PASS Element interface: attribute firstElementChild
</span><span class="cx"> PASS Element interface: attribute lastElementChild
</span><span class="cx"> PASS Element interface: attribute childElementCount
</span><span class="cx"> PASS Element interface: operation prepend([object Object],[object Object])
</span><span class="cx"> PASS Element interface: operation append([object Object],[object Object])
</span><del>-FAIL Element interface: operation query(DOMString) assert_own_property: interface prototype object missing non-static operation expected property "query" missing
-FAIL Element interface: operation queryAll(DOMString) assert_own_property: interface prototype object missing non-static operation expected property "queryAll" missing
</del><span class="cx"> PASS Element interface: operation querySelector(DOMString)
</span><span class="cx"> PASS Element interface: operation querySelectorAll(DOMString)
</span><span class="cx"> PASS Element interface: attribute previousElementSibling
</span><span class="lines">@@ -740,6 +927,7 @@
</span><span class="cx"> PASS Element interface: operation after([object Object],[object Object])
</span><span class="cx"> PASS Element interface: operation replaceWith([object Object],[object Object])
</span><span class="cx"> PASS Element interface: operation remove()
</span><ins>+PASS Element interface: attribute assignedSlot
</ins><span class="cx"> PASS Element must be primary interface of element
</span><span class="cx"> PASS Stringification of element
</span><span class="cx"> PASS Element interface: element must inherit property "namespaceURI" with the proper type (0)
</span><span class="lines">@@ -749,91 +937,99 @@
</span><span class="cx"> PASS Element interface: element must inherit property "id" with the proper type (4)
</span><span class="cx"> PASS Element interface: element must inherit property "className" with the proper type (5)
</span><span class="cx"> PASS Element interface: element must inherit property "classList" with the proper type (6)
</span><del>-PASS Element interface: element must inherit property "hasAttributes" with the proper type (7)
-PASS Element interface: element must inherit property "attributes" with the proper type (8)
-PASS Element interface: element must inherit property "getAttribute" with the proper type (9)
</del><ins>+PASS Element interface: element must inherit property "slot" with the proper type (7)
+PASS Element interface: element must inherit property "hasAttributes" with the proper type (8)
+PASS Element interface: element must inherit property "attributes" with the proper type (9)
+FAIL Element interface: element must inherit property "getAttributeNames" with the proper type (10) assert_inherits: property "getAttributeNames" not found in prototype chain
+PASS Element interface: element must inherit property "getAttribute" with the proper type (11)
</ins><span class="cx"> FAIL Element interface: calling getAttribute(DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: element must inherit property "getAttributeNS" with the proper type (10)
</del><ins>+PASS Element interface: element must inherit property "getAttributeNS" with the proper type (12)
</ins><span class="cx"> FAIL Element interface: calling getAttributeNS(DOMString,DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: element must inherit property "setAttribute" with the proper type (11)
</del><ins>+PASS Element interface: element must inherit property "setAttribute" with the proper type (13)
</ins><span class="cx"> FAIL Element interface: calling setAttribute(DOMString,DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: element must inherit property "setAttributeNS" with the proper type (12)
</del><ins>+PASS Element interface: element must inherit property "setAttributeNS" with the proper type (14)
</ins><span class="cx"> FAIL Element interface: calling setAttributeNS(DOMString,DOMString,DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: element must inherit property "removeAttribute" with the proper type (13)
</del><ins>+PASS Element interface: element must inherit property "removeAttribute" with the proper type (15)
</ins><span class="cx"> FAIL Element interface: calling removeAttribute(DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: element must inherit property "removeAttributeNS" with the proper type (14)
</del><ins>+PASS Element interface: element must inherit property "removeAttributeNS" with the proper type (16)
</ins><span class="cx"> PASS Element interface: calling removeAttributeNS(DOMString,DOMString) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "hasAttribute" with the proper type (15)
</del><ins>+PASS Element interface: element must inherit property "hasAttribute" with the proper type (17)
</ins><span class="cx"> PASS Element interface: calling hasAttribute(DOMString) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "hasAttributeNS" with the proper type (16)
</del><ins>+PASS Element interface: element must inherit property "hasAttributeNS" with the proper type (18)
</ins><span class="cx"> FAIL Element interface: calling hasAttributeNS(DOMString,DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: element must inherit property "getAttributeNode" with the proper type (17)
</del><ins>+PASS Element interface: element must inherit property "getAttributeNode" with the proper type (19)
</ins><span class="cx"> FAIL Element interface: calling getAttributeNode(DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: element must inherit property "getAttributeNodeNS" with the proper type (18)
</del><ins>+PASS Element interface: element must inherit property "getAttributeNodeNS" with the proper type (20)
</ins><span class="cx"> FAIL Element interface: calling getAttributeNodeNS(DOMString,DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: element must inherit property "setAttributeNode" with the proper type (19)
</del><ins>+PASS Element interface: element must inherit property "setAttributeNode" with the proper type (21)
</ins><span class="cx"> PASS Element interface: calling setAttributeNode(Attr) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "setAttributeNodeNS" with the proper type (20)
</del><ins>+PASS Element interface: element must inherit property "setAttributeNodeNS" with the proper type (22)
</ins><span class="cx"> PASS Element interface: calling setAttributeNodeNS(Attr) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "removeAttributeNode" with the proper type (21)
</del><ins>+PASS Element interface: element must inherit property "removeAttributeNode" with the proper type (23)
</ins><span class="cx"> PASS Element interface: calling removeAttributeNode(Attr) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "closest" with the proper type (22)
</del><ins>+PASS Element interface: element must inherit property "attachShadow" with the proper type (24)
+PASS Element interface: calling attachShadow(ShadowRootInit) on element with too few arguments must throw TypeError
+PASS Element interface: element must inherit property "shadowRoot" with the proper type (25)
+PASS Element interface: element must inherit property "closest" with the proper type (26)
</ins><span class="cx"> PASS Element interface: calling closest(DOMString) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "matches" with the proper type (23)
</del><ins>+PASS Element interface: element must inherit property "matches" with the proper type (27)
</ins><span class="cx"> PASS Element interface: calling matches(DOMString) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "getElementsByTagName" with the proper type (24)
</del><ins>+PASS Element interface: element must inherit property "webkitMatchesSelector" with the proper type (28)
+PASS Element interface: calling webkitMatchesSelector(DOMString) on element with too few arguments must throw TypeError
+PASS Element interface: element must inherit property "getElementsByTagName" with the proper type (29)
</ins><span class="cx"> FAIL Element interface: calling getElementsByTagName(DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: element must inherit property "getElementsByTagNameNS" with the proper type (25)
</del><ins>+PASS Element interface: element must inherit property "getElementsByTagNameNS" with the proper type (30)
</ins><span class="cx"> FAIL Element interface: calling getElementsByTagNameNS(DOMString,DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: element must inherit property "getElementsByClassName" with the proper type (26)
</del><ins>+PASS Element interface: element must inherit property "getElementsByClassName" with the proper type (31)
</ins><span class="cx"> FAIL Element interface: calling getElementsByClassName(DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: element must inherit property "children" with the proper type (27)
-PASS Element interface: element must inherit property "firstElementChild" with the proper type (28)
-PASS Element interface: element must inherit property "lastElementChild" with the proper type (29)
-PASS Element interface: element must inherit property "childElementCount" with the proper type (30)
-PASS Element interface: element must inherit property "prepend" with the proper type (31)
</del><ins>+FAIL Element interface: element must inherit property "insertAdjacentElement" with the proper type (32) assert_inherits: property "insertAdjacentElement" not found in prototype chain
+FAIL Element interface: calling insertAdjacentElement(DOMString,Element) on element with too few arguments must throw TypeError assert_inherits: property "insertAdjacentElement" not found in prototype chain
+FAIL Element interface: element must inherit property "insertAdjacentText" with the proper type (33) assert_inherits: property "insertAdjacentText" not found in prototype chain
+FAIL Element interface: calling insertAdjacentText(DOMString,DOMString) on element with too few arguments must throw TypeError assert_inherits: property "insertAdjacentText" not found in prototype chain
+PASS Element interface: element must inherit property "children" with the proper type (34)
+PASS Element interface: element must inherit property "firstElementChild" with the proper type (35)
+PASS Element interface: element must inherit property "lastElementChild" with the proper type (36)
+PASS Element interface: element must inherit property "childElementCount" with the proper type (37)
+PASS Element interface: element must inherit property "prepend" with the proper type (38)
</ins><span class="cx"> PASS Element interface: calling prepend([object Object],[object Object]) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "append" with the proper type (32)
</del><ins>+PASS Element interface: element must inherit property "append" with the proper type (39)
</ins><span class="cx"> PASS Element interface: calling append([object Object],[object Object]) on element with too few arguments must throw TypeError
</span><del>-FAIL Element interface: element must inherit property "query" with the proper type (33) assert_inherits: property "query" not found in prototype chain
-FAIL Element interface: calling query(DOMString) on element with too few arguments must throw TypeError assert_inherits: property "query" not found in prototype chain
-FAIL Element interface: element must inherit property "queryAll" with the proper type (34) assert_inherits: property "queryAll" not found in prototype chain
-FAIL Element interface: calling queryAll(DOMString) on element with too few arguments must throw TypeError assert_inherits: property "queryAll" not found in prototype chain
-PASS Element interface: element must inherit property "querySelector" with the proper type (35)
</del><ins>+PASS Element interface: element must inherit property "querySelector" with the proper type (40)
</ins><span class="cx"> PASS Element interface: calling querySelector(DOMString) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "querySelectorAll" with the proper type (36)
</del><ins>+PASS Element interface: element must inherit property "querySelectorAll" with the proper type (41)
</ins><span class="cx"> PASS Element interface: calling querySelectorAll(DOMString) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "previousElementSibling" with the proper type (37)
-PASS Element interface: element must inherit property "nextElementSibling" with the proper type (38)
-PASS Element interface: element must inherit property "before" with the proper type (39)
</del><ins>+PASS Element interface: element must inherit property "previousElementSibling" with the proper type (42)
+PASS Element interface: element must inherit property "nextElementSibling" with the proper type (43)
+PASS Element interface: element must inherit property "before" with the proper type (44)
</ins><span class="cx"> PASS Element interface: calling before([object Object],[object Object]) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "after" with the proper type (40)
</del><ins>+PASS Element interface: element must inherit property "after" with the proper type (45)
</ins><span class="cx"> PASS Element interface: calling after([object Object],[object Object]) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "replaceWith" with the proper type (41)
</del><ins>+PASS Element interface: element must inherit property "replaceWith" with the proper type (46)
</ins><span class="cx"> PASS Element interface: calling replaceWith([object Object],[object Object]) on element with too few arguments must throw TypeError
</span><del>-PASS Element interface: element must inherit property "remove" with the proper type (42)
</del><ins>+PASS Element interface: element must inherit property "remove" with the proper type (47)
+PASS Element interface: element must inherit property "assignedSlot" with the proper type (48)
</ins><span class="cx"> PASS Node interface: element must inherit property "ELEMENT_NODE" with the proper type (0)
</span><span class="cx"> PASS Node interface: element must inherit property "ATTRIBUTE_NODE" with the proper type (1)
</span><span class="cx"> PASS Node interface: element must inherit property "TEXT_NODE" with the proper type (2)
</span><span class="lines">@@ -848,67 +1044,73 @@
</span><span class="cx"> PASS Node interface: element must inherit property "NOTATION_NODE" with the proper type (11)
</span><span class="cx"> PASS Node interface: element must inherit property "nodeType" with the proper type (12)
</span><span class="cx"> PASS Node interface: element must inherit property "nodeName" with the proper type (13)
</span><del>-PASS Node interface: element must inherit property "baseURI" with the proper type (14)
-PASS Node interface: element must inherit property "ownerDocument" with the proper type (15)
-PASS Node interface: element must inherit property "parentNode" with the proper type (16)
-PASS Node interface: element must inherit property "parentElement" with the proper type (17)
-PASS Node interface: element must inherit property "hasChildNodes" with the proper type (18)
-PASS Node interface: element must inherit property "childNodes" with the proper type (19)
-PASS Node interface: element must inherit property "firstChild" with the proper type (20)
-PASS Node interface: element must inherit property "lastChild" with the proper type (21)
-PASS Node interface: element must inherit property "previousSibling" with the proper type (22)
-PASS Node interface: element must inherit property "nextSibling" with the proper type (23)
-PASS Node interface: element must inherit property "nodeValue" with the proper type (24)
-PASS Node interface: element must inherit property "textContent" with the proper type (25)
-PASS Node interface: element must inherit property "normalize" with the proper type (26)
-PASS Node interface: element must inherit property "cloneNode" with the proper type (27)
</del><ins>+FAIL Node interface: element must inherit property "baseURI" with the proper type (14) assert_equals: expected "string" but got "object"
+FAIL Node interface: element must inherit property "isConnected" with the proper type (15) assert_inherits: property "isConnected" not found in prototype chain
+PASS Node interface: element must inherit property "ownerDocument" with the proper type (16)
+FAIL Node interface: element must inherit property "rootNode" with the proper type (17) assert_inherits: property "rootNode" not found in prototype chain
+PASS Node interface: element must inherit property "parentNode" with the proper type (18)
+PASS Node interface: element must inherit property "parentElement" with the proper type (19)
+PASS Node interface: element must inherit property "hasChildNodes" with the proper type (20)
+PASS Node interface: element must inherit property "childNodes" with the proper type (21)
+PASS Node interface: element must inherit property "firstChild" with the proper type (22)
+PASS Node interface: element must inherit property "lastChild" with the proper type (23)
+PASS Node interface: element must inherit property "previousSibling" with the proper type (24)
+PASS Node interface: element must inherit property "nextSibling" with the proper type (25)
+PASS Node interface: element must inherit property "nodeValue" with the proper type (26)
+PASS Node interface: element must inherit property "textContent" with the proper type (27)
+PASS Node interface: element must inherit property "normalize" with the proper type (28)
+PASS Node interface: element must inherit property "cloneNode" with the proper type (29)
</ins><span class="cx"> PASS Node interface: calling cloneNode(boolean) on element with too few arguments must throw TypeError
</span><del>-PASS Node interface: element must inherit property "isEqualNode" with the proper type (28)
</del><ins>+PASS Node interface: element must inherit property "isEqualNode" with the proper type (30)
</ins><span class="cx"> FAIL Node interface: calling isEqualNode(Node) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: element must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (29)
-PASS Node interface: element must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (30)
-PASS Node interface: element must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (31)
-PASS Node interface: element must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (32)
-PASS Node interface: element must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (33)
-PASS Node interface: element must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (34)
-PASS Node interface: element must inherit property "compareDocumentPosition" with the proper type (35)
</del><ins>+PASS Node interface: element must inherit property "isSameNode" with the proper type (31)
+FAIL Node interface: calling isSameNode(Node) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: element must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (32)
+PASS Node interface: element must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (33)
+PASS Node interface: element must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (34)
+PASS Node interface: element must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (35)
+PASS Node interface: element must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (36)
+PASS Node interface: element must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (37)
+PASS Node interface: element must inherit property "compareDocumentPosition" with the proper type (38)
</ins><span class="cx"> FAIL Node interface: calling compareDocumentPosition(Node) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: element must inherit property "contains" with the proper type (36)
</del><ins>+PASS Node interface: element must inherit property "contains" with the proper type (39)
</ins><span class="cx"> FAIL Node interface: calling contains(Node) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: element must inherit property "lookupPrefix" with the proper type (37)
</del><ins>+PASS Node interface: element must inherit property "lookupPrefix" with the proper type (40)
</ins><span class="cx"> FAIL Node interface: calling lookupPrefix(DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: element must inherit property "lookupNamespaceURI" with the proper type (38)
</del><ins>+PASS Node interface: element must inherit property "lookupNamespaceURI" with the proper type (41)
</ins><span class="cx"> FAIL Node interface: calling lookupNamespaceURI(DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: element must inherit property "isDefaultNamespace" with the proper type (39)
</del><ins>+PASS Node interface: element must inherit property "isDefaultNamespace" with the proper type (42)
</ins><span class="cx"> FAIL Node interface: calling isDefaultNamespace(DOMString) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: element must inherit property "insertBefore" with the proper type (40)
</del><ins>+PASS Node interface: element must inherit property "insertBefore" with the proper type (43)
</ins><span class="cx"> FAIL Node interface: calling insertBefore(Node,Node) on element with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: element must inherit property "appendChild" with the proper type (41)
</del><ins>+PASS Node interface: element must inherit property "appendChild" with the proper type (44)
</ins><span class="cx"> PASS Node interface: calling appendChild(Node) on element with too few arguments must throw TypeError
</span><del>-PASS Node interface: element must inherit property "replaceChild" with the proper type (42)
</del><ins>+PASS Node interface: element must inherit property "replaceChild" with the proper type (45)
</ins><span class="cx"> PASS Node interface: calling replaceChild(Node,Node) on element with too few arguments must throw TypeError
</span><del>-PASS Node interface: element must inherit property "removeChild" with the proper type (43)
</del><ins>+PASS Node interface: element must inherit property "removeChild" with the proper type (46)
</ins><span class="cx"> PASS Node interface: calling removeChild(Node) on element with too few arguments must throw TypeError
</span><span class="cx"> PASS EventTarget interface: element must inherit property "addEventListener" with the proper type (0)
</span><del>-FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,[object Object],[object Object]) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: element must inherit property "removeEventListener" with the proper type (1)
</span><del>-FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,[object Object],[object Object]) on element with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: element must inherit property "dispatchEvent" with the proper type (2)
</span><span class="lines">@@ -939,6 +1141,7 @@
</span><span class="cx"> FAIL Attr interface: attribute prefix assert_own_property: expected property "prefix" missing
</span><span class="cx"> FAIL Attr interface: attribute localName assert_own_property: expected property "localName" missing
</span><span class="cx"> PASS Attr interface: attribute name
</span><ins>+FAIL Attr interface: attribute nodeName assert_own_property: expected property "nodeName" missing
</ins><span class="cx"> PASS Attr interface: attribute value
</span><span class="cx"> FAIL Attr interface: attribute nodeValue assert_own_property: expected property "nodeValue" missing
</span><span class="cx"> FAIL Attr interface: attribute textContent assert_own_property: expected property "textContent" missing
</span><span class="lines">@@ -950,11 +1153,12 @@
</span><span class="cx"> PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "prefix" with the proper type (1)
</span><span class="cx"> PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "localName" with the proper type (2)
</span><span class="cx"> PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "name" with the proper type (3)
</span><del>-PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "value" with the proper type (4)
-PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "nodeValue" with the proper type (5)
-PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "textContent" with the proper type (6)
-PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "ownerElement" with the proper type (7)
-PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "specified" with the proper type (8)
</del><ins>+PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "nodeName" with the proper type (4)
+PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "value" with the proper type (5)
+PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "nodeValue" with the proper type (6)
+PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "textContent" with the proper type (7)
+PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "ownerElement" with the proper type (8)
+PASS Attr interface: document.querySelector("[id]").attributes[0] must inherit property "specified" with the proper type (9)
</ins><span class="cx"> PASS CharacterData interface: existence and properties of interface object
</span><span class="cx"> PASS CharacterData interface object length
</span><span class="cx"> PASS CharacterData interface object name
</span><span class="lines">@@ -980,11 +1184,13 @@
</span><span class="cx"> PASS Text interface: existence and properties of interface prototype object's "constructor" property
</span><span class="cx"> PASS Text interface: operation splitText(unsigned long)
</span><span class="cx"> PASS Text interface: attribute wholeText
</span><ins>+FAIL Text interface: attribute assignedSlot assert_own_property: expected property "assignedSlot" missing
</ins><span class="cx"> PASS Text must be primary interface of document.createTextNode("abc")
</span><span class="cx"> PASS Stringification of document.createTextNode("abc")
</span><span class="cx"> PASS Text interface: document.createTextNode("abc") must inherit property "splitText" with the proper type (0)
</span><span class="cx"> PASS Text interface: calling splitText(unsigned long) on document.createTextNode("abc") with too few arguments must throw TypeError
</span><span class="cx"> PASS Text interface: document.createTextNode("abc") must inherit property "wholeText" with the proper type (1)
</span><ins>+PASS Text interface: document.createTextNode("abc") must inherit property "assignedSlot" with the proper type (2)
</ins><span class="cx"> PASS CharacterData interface: document.createTextNode("abc") must inherit property "data" with the proper type (0)
</span><span class="cx"> PASS CharacterData interface: document.createTextNode("abc") must inherit property "length" with the proper type (1)
</span><span class="cx"> PASS CharacterData interface: document.createTextNode("abc") must inherit property "substringData" with the proper type (2)
</span><span class="lines">@@ -1021,66 +1227,72 @@
</span><span class="cx"> PASS Node interface: document.createTextNode("abc") must inherit property "nodeType" with the proper type (12)
</span><span class="cx"> PASS Node interface: document.createTextNode("abc") must inherit property "nodeName" with the proper type (13)
</span><span class="cx"> PASS Node interface: document.createTextNode("abc") must inherit property "baseURI" with the proper type (14)
</span><del>-PASS Node interface: document.createTextNode("abc") must inherit property "ownerDocument" with the proper type (15)
-PASS Node interface: document.createTextNode("abc") must inherit property "parentNode" with the proper type (16)
-PASS Node interface: document.createTextNode("abc") must inherit property "parentElement" with the proper type (17)
-PASS Node interface: document.createTextNode("abc") must inherit property "hasChildNodes" with the proper type (18)
-PASS Node interface: document.createTextNode("abc") must inherit property "childNodes" with the proper type (19)
-PASS Node interface: document.createTextNode("abc") must inherit property "firstChild" with the proper type (20)
-PASS Node interface: document.createTextNode("abc") must inherit property "lastChild" with the proper type (21)
-PASS Node interface: document.createTextNode("abc") must inherit property "previousSibling" with the proper type (22)
-PASS Node interface: document.createTextNode("abc") must inherit property "nextSibling" with the proper type (23)
-PASS Node interface: document.createTextNode("abc") must inherit property "nodeValue" with the proper type (24)
-PASS Node interface: document.createTextNode("abc") must inherit property "textContent" with the proper type (25)
-PASS Node interface: document.createTextNode("abc") must inherit property "normalize" with the proper type (26)
-PASS Node interface: document.createTextNode("abc") must inherit property "cloneNode" with the proper type (27)
</del><ins>+FAIL Node interface: document.createTextNode("abc") must inherit property "isConnected" with the proper type (15) assert_inherits: property "isConnected" not found in prototype chain
+PASS Node interface: document.createTextNode("abc") must inherit property "ownerDocument" with the proper type (16)
+FAIL Node interface: document.createTextNode("abc") must inherit property "rootNode" with the proper type (17) assert_inherits: property "rootNode" not found in prototype chain
+PASS Node interface: document.createTextNode("abc") must inherit property "parentNode" with the proper type (18)
+PASS Node interface: document.createTextNode("abc") must inherit property "parentElement" with the proper type (19)
+PASS Node interface: document.createTextNode("abc") must inherit property "hasChildNodes" with the proper type (20)
+PASS Node interface: document.createTextNode("abc") must inherit property "childNodes" with the proper type (21)
+PASS Node interface: document.createTextNode("abc") must inherit property "firstChild" with the proper type (22)
+PASS Node interface: document.createTextNode("abc") must inherit property "lastChild" with the proper type (23)
+PASS Node interface: document.createTextNode("abc") must inherit property "previousSibling" with the proper type (24)
+PASS Node interface: document.createTextNode("abc") must inherit property "nextSibling" with the proper type (25)
+PASS Node interface: document.createTextNode("abc") must inherit property "nodeValue" with the proper type (26)
+PASS Node interface: document.createTextNode("abc") must inherit property "textContent" with the proper type (27)
+PASS Node interface: document.createTextNode("abc") must inherit property "normalize" with the proper type (28)
+PASS Node interface: document.createTextNode("abc") must inherit property "cloneNode" with the proper type (29)
</ins><span class="cx"> PASS Node interface: calling cloneNode(boolean) on document.createTextNode("abc") with too few arguments must throw TypeError
</span><del>-PASS Node interface: document.createTextNode("abc") must inherit property "isEqualNode" with the proper type (28)
</del><ins>+PASS Node interface: document.createTextNode("abc") must inherit property "isEqualNode" with the proper type (30)
</ins><span class="cx"> FAIL Node interface: calling isEqualNode(Node) on document.createTextNode("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createTextNode("abc") must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (29)
-PASS Node interface: document.createTextNode("abc") must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (30)
-PASS Node interface: document.createTextNode("abc") must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (31)
-PASS Node interface: document.createTextNode("abc") must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (32)
-PASS Node interface: document.createTextNode("abc") must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (33)
-PASS Node interface: document.createTextNode("abc") must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (34)
-PASS Node interface: document.createTextNode("abc") must inherit property "compareDocumentPosition" with the proper type (35)
</del><ins>+PASS Node interface: document.createTextNode("abc") must inherit property "isSameNode" with the proper type (31)
+FAIL Node interface: calling isSameNode(Node) on document.createTextNode("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: document.createTextNode("abc") must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (32)
+PASS Node interface: document.createTextNode("abc") must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (33)
+PASS Node interface: document.createTextNode("abc") must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (34)
+PASS Node interface: document.createTextNode("abc") must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (35)
+PASS Node interface: document.createTextNode("abc") must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (36)
+PASS Node interface: document.createTextNode("abc") must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (37)
+PASS Node interface: document.createTextNode("abc") must inherit property "compareDocumentPosition" with the proper type (38)
</ins><span class="cx"> FAIL Node interface: calling compareDocumentPosition(Node) on document.createTextNode("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createTextNode("abc") must inherit property "contains" with the proper type (36)
</del><ins>+PASS Node interface: document.createTextNode("abc") must inherit property "contains" with the proper type (39)
</ins><span class="cx"> FAIL Node interface: calling contains(Node) on document.createTextNode("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createTextNode("abc") must inherit property "lookupPrefix" with the proper type (37)
</del><ins>+PASS Node interface: document.createTextNode("abc") must inherit property "lookupPrefix" with the proper type (40)
</ins><span class="cx"> FAIL Node interface: calling lookupPrefix(DOMString) on document.createTextNode("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createTextNode("abc") must inherit property "lookupNamespaceURI" with the proper type (38)
</del><ins>+PASS Node interface: document.createTextNode("abc") must inherit property "lookupNamespaceURI" with the proper type (41)
</ins><span class="cx"> FAIL Node interface: calling lookupNamespaceURI(DOMString) on document.createTextNode("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createTextNode("abc") must inherit property "isDefaultNamespace" with the proper type (39)
</del><ins>+PASS Node interface: document.createTextNode("abc") must inherit property "isDefaultNamespace" with the proper type (42)
</ins><span class="cx"> FAIL Node interface: calling isDefaultNamespace(DOMString) on document.createTextNode("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createTextNode("abc") must inherit property "insertBefore" with the proper type (40)
</del><ins>+PASS Node interface: document.createTextNode("abc") must inherit property "insertBefore" with the proper type (43)
</ins><span class="cx"> FAIL Node interface: calling insertBefore(Node,Node) on document.createTextNode("abc") with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" threw object "Error: HierarchyRequestError: DOM Exception 3" ("HierarchyRequestError") expected object "TypeError" ("TypeError")
</span><del>-PASS Node interface: document.createTextNode("abc") must inherit property "appendChild" with the proper type (41)
</del><ins>+PASS Node interface: document.createTextNode("abc") must inherit property "appendChild" with the proper type (44)
</ins><span class="cx"> PASS Node interface: calling appendChild(Node) on document.createTextNode("abc") with too few arguments must throw TypeError
</span><del>-PASS Node interface: document.createTextNode("abc") must inherit property "replaceChild" with the proper type (42)
</del><ins>+PASS Node interface: document.createTextNode("abc") must inherit property "replaceChild" with the proper type (45)
</ins><span class="cx"> PASS Node interface: calling replaceChild(Node,Node) on document.createTextNode("abc") with too few arguments must throw TypeError
</span><del>-PASS Node interface: document.createTextNode("abc") must inherit property "removeChild" with the proper type (43)
</del><ins>+PASS Node interface: document.createTextNode("abc") must inherit property "removeChild" with the proper type (46)
</ins><span class="cx"> PASS Node interface: calling removeChild(Node) on document.createTextNode("abc") with too few arguments must throw TypeError
</span><span class="cx"> PASS EventTarget interface: document.createTextNode("abc") must inherit property "addEventListener" with the proper type (0)
</span><del>-FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on document.createTextNode("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,[object Object],[object Object]) on document.createTextNode("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: document.createTextNode("abc") must inherit property "removeEventListener" with the proper type (1)
</span><del>-FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on document.createTextNode("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,[object Object],[object Object]) on document.createTextNode("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: document.createTextNode("abc") must inherit property "dispatchEvent" with the proper type (2)
</span><span class="lines">@@ -1129,67 +1341,73 @@
</span><span class="cx"> PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "NOTATION_NODE" with the proper type (11)
</span><span class="cx"> PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "nodeType" with the proper type (12)
</span><span class="cx"> PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "nodeName" with the proper type (13)
</span><del>-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "baseURI" with the proper type (14)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "ownerDocument" with the proper type (15)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "parentNode" with the proper type (16)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "parentElement" with the proper type (17)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "hasChildNodes" with the proper type (18)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "childNodes" with the proper type (19)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "firstChild" with the proper type (20)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "lastChild" with the proper type (21)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "previousSibling" with the proper type (22)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "nextSibling" with the proper type (23)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "nodeValue" with the proper type (24)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "textContent" with the proper type (25)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "normalize" with the proper type (26)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "cloneNode" with the proper type (27)
</del><ins>+FAIL Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "baseURI" with the proper type (14) assert_equals: expected "string" but got "object"
+FAIL Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "isConnected" with the proper type (15) assert_inherits: property "isConnected" not found in prototype chain
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "ownerDocument" with the proper type (16)
+FAIL Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "rootNode" with the proper type (17) assert_inherits: property "rootNode" not found in prototype chain
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "parentNode" with the proper type (18)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "parentElement" with the proper type (19)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "hasChildNodes" with the proper type (20)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "childNodes" with the proper type (21)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "firstChild" with the proper type (22)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "lastChild" with the proper type (23)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "previousSibling" with the proper type (24)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "nextSibling" with the proper type (25)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "nodeValue" with the proper type (26)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "textContent" with the proper type (27)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "normalize" with the proper type (28)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "cloneNode" with the proper type (29)
</ins><span class="cx"> PASS Node interface: calling cloneNode(boolean) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError
</span><del>-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "isEqualNode" with the proper type (28)
</del><ins>+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "isEqualNode" with the proper type (30)
</ins><span class="cx"> FAIL Node interface: calling isEqualNode(Node) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (29)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (30)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (31)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (32)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (33)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (34)
-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "compareDocumentPosition" with the proper type (35)
</del><ins>+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "isSameNode" with the proper type (31)
+FAIL Node interface: calling isSameNode(Node) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (32)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (33)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (34)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (35)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (36)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (37)
+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "compareDocumentPosition" with the proper type (38)
</ins><span class="cx"> FAIL Node interface: calling compareDocumentPosition(Node) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "contains" with the proper type (36)
</del><ins>+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "contains" with the proper type (39)
</ins><span class="cx"> FAIL Node interface: calling contains(Node) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "lookupPrefix" with the proper type (37)
</del><ins>+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "lookupPrefix" with the proper type (40)
</ins><span class="cx"> FAIL Node interface: calling lookupPrefix(DOMString) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "lookupNamespaceURI" with the proper type (38)
</del><ins>+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "lookupNamespaceURI" with the proper type (41)
</ins><span class="cx"> FAIL Node interface: calling lookupNamespaceURI(DOMString) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "isDefaultNamespace" with the proper type (39)
</del><ins>+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "isDefaultNamespace" with the proper type (42)
</ins><span class="cx"> FAIL Node interface: calling isDefaultNamespace(DOMString) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "insertBefore" with the proper type (40)
</del><ins>+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "insertBefore" with the proper type (43)
</ins><span class="cx"> FAIL Node interface: calling insertBefore(Node,Node) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" threw object "Error: HierarchyRequestError: DOM Exception 3" ("HierarchyRequestError") expected object "TypeError" ("TypeError")
</span><del>-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "appendChild" with the proper type (41)
</del><ins>+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "appendChild" with the proper type (44)
</ins><span class="cx"> PASS Node interface: calling appendChild(Node) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError
</span><del>-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "replaceChild" with the proper type (42)
</del><ins>+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "replaceChild" with the proper type (45)
</ins><span class="cx"> PASS Node interface: calling replaceChild(Node,Node) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError
</span><del>-PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "removeChild" with the proper type (43)
</del><ins>+PASS Node interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "removeChild" with the proper type (46)
</ins><span class="cx"> PASS Node interface: calling removeChild(Node) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError
</span><span class="cx"> PASS EventTarget interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "addEventListener" with the proper type (0)
</span><del>-FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,[object Object],[object Object]) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "removeEventListener" with the proper type (1)
</span><del>-FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,[object Object],[object Object]) on xmlDoc.createProcessingInstruction("abc", "def") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: xmlDoc.createProcessingInstruction("abc", "def") must inherit property "dispatchEvent" with the proper type (2)
</span><span class="lines">@@ -1237,66 +1455,72 @@
</span><span class="cx"> PASS Node interface: document.createComment("abc") must inherit property "nodeType" with the proper type (12)
</span><span class="cx"> PASS Node interface: document.createComment("abc") must inherit property "nodeName" with the proper type (13)
</span><span class="cx"> PASS Node interface: document.createComment("abc") must inherit property "baseURI" with the proper type (14)
</span><del>-PASS Node interface: document.createComment("abc") must inherit property "ownerDocument" with the proper type (15)
-PASS Node interface: document.createComment("abc") must inherit property "parentNode" with the proper type (16)
-PASS Node interface: document.createComment("abc") must inherit property "parentElement" with the proper type (17)
-PASS Node interface: document.createComment("abc") must inherit property "hasChildNodes" with the proper type (18)
-PASS Node interface: document.createComment("abc") must inherit property "childNodes" with the proper type (19)
-PASS Node interface: document.createComment("abc") must inherit property "firstChild" with the proper type (20)
-PASS Node interface: document.createComment("abc") must inherit property "lastChild" with the proper type (21)
-PASS Node interface: document.createComment("abc") must inherit property "previousSibling" with the proper type (22)
-PASS Node interface: document.createComment("abc") must inherit property "nextSibling" with the proper type (23)
-PASS Node interface: document.createComment("abc") must inherit property "nodeValue" with the proper type (24)
-PASS Node interface: document.createComment("abc") must inherit property "textContent" with the proper type (25)
-PASS Node interface: document.createComment("abc") must inherit property "normalize" with the proper type (26)
-PASS Node interface: document.createComment("abc") must inherit property "cloneNode" with the proper type (27)
</del><ins>+FAIL Node interface: document.createComment("abc") must inherit property "isConnected" with the proper type (15) assert_inherits: property "isConnected" not found in prototype chain
+PASS Node interface: document.createComment("abc") must inherit property "ownerDocument" with the proper type (16)
+FAIL Node interface: document.createComment("abc") must inherit property "rootNode" with the proper type (17) assert_inherits: property "rootNode" not found in prototype chain
+PASS Node interface: document.createComment("abc") must inherit property "parentNode" with the proper type (18)
+PASS Node interface: document.createComment("abc") must inherit property "parentElement" with the proper type (19)
+PASS Node interface: document.createComment("abc") must inherit property "hasChildNodes" with the proper type (20)
+PASS Node interface: document.createComment("abc") must inherit property "childNodes" with the proper type (21)
+PASS Node interface: document.createComment("abc") must inherit property "firstChild" with the proper type (22)
+PASS Node interface: document.createComment("abc") must inherit property "lastChild" with the proper type (23)
+PASS Node interface: document.createComment("abc") must inherit property "previousSibling" with the proper type (24)
+PASS Node interface: document.createComment("abc") must inherit property "nextSibling" with the proper type (25)
+PASS Node interface: document.createComment("abc") must inherit property "nodeValue" with the proper type (26)
+PASS Node interface: document.createComment("abc") must inherit property "textContent" with the proper type (27)
+PASS Node interface: document.createComment("abc") must inherit property "normalize" with the proper type (28)
+PASS Node interface: document.createComment("abc") must inherit property "cloneNode" with the proper type (29)
</ins><span class="cx"> PASS Node interface: calling cloneNode(boolean) on document.createComment("abc") with too few arguments must throw TypeError
</span><del>-PASS Node interface: document.createComment("abc") must inherit property "isEqualNode" with the proper type (28)
</del><ins>+PASS Node interface: document.createComment("abc") must inherit property "isEqualNode" with the proper type (30)
</ins><span class="cx"> FAIL Node interface: calling isEqualNode(Node) on document.createComment("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createComment("abc") must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (29)
-PASS Node interface: document.createComment("abc") must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (30)
-PASS Node interface: document.createComment("abc") must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (31)
-PASS Node interface: document.createComment("abc") must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (32)
-PASS Node interface: document.createComment("abc") must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (33)
-PASS Node interface: document.createComment("abc") must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (34)
-PASS Node interface: document.createComment("abc") must inherit property "compareDocumentPosition" with the proper type (35)
</del><ins>+PASS Node interface: document.createComment("abc") must inherit property "isSameNode" with the proper type (31)
+FAIL Node interface: calling isSameNode(Node) on document.createComment("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: document.createComment("abc") must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (32)
+PASS Node interface: document.createComment("abc") must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (33)
+PASS Node interface: document.createComment("abc") must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (34)
+PASS Node interface: document.createComment("abc") must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (35)
+PASS Node interface: document.createComment("abc") must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (36)
+PASS Node interface: document.createComment("abc") must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (37)
+PASS Node interface: document.createComment("abc") must inherit property "compareDocumentPosition" with the proper type (38)
</ins><span class="cx"> FAIL Node interface: calling compareDocumentPosition(Node) on document.createComment("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createComment("abc") must inherit property "contains" with the proper type (36)
</del><ins>+PASS Node interface: document.createComment("abc") must inherit property "contains" with the proper type (39)
</ins><span class="cx"> FAIL Node interface: calling contains(Node) on document.createComment("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createComment("abc") must inherit property "lookupPrefix" with the proper type (37)
</del><ins>+PASS Node interface: document.createComment("abc") must inherit property "lookupPrefix" with the proper type (40)
</ins><span class="cx"> FAIL Node interface: calling lookupPrefix(DOMString) on document.createComment("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createComment("abc") must inherit property "lookupNamespaceURI" with the proper type (38)
</del><ins>+PASS Node interface: document.createComment("abc") must inherit property "lookupNamespaceURI" with the proper type (41)
</ins><span class="cx"> FAIL Node interface: calling lookupNamespaceURI(DOMString) on document.createComment("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createComment("abc") must inherit property "isDefaultNamespace" with the proper type (39)
</del><ins>+PASS Node interface: document.createComment("abc") must inherit property "isDefaultNamespace" with the proper type (42)
</ins><span class="cx"> FAIL Node interface: calling isDefaultNamespace(DOMString) on document.createComment("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Node interface: document.createComment("abc") must inherit property "insertBefore" with the proper type (40)
</del><ins>+PASS Node interface: document.createComment("abc") must inherit property "insertBefore" with the proper type (43)
</ins><span class="cx"> FAIL Node interface: calling insertBefore(Node,Node) on document.createComment("abc") with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" threw object "Error: HierarchyRequestError: DOM Exception 3" ("HierarchyRequestError") expected object "TypeError" ("TypeError")
</span><del>-PASS Node interface: document.createComment("abc") must inherit property "appendChild" with the proper type (41)
</del><ins>+PASS Node interface: document.createComment("abc") must inherit property "appendChild" with the proper type (44)
</ins><span class="cx"> PASS Node interface: calling appendChild(Node) on document.createComment("abc") with too few arguments must throw TypeError
</span><del>-PASS Node interface: document.createComment("abc") must inherit property "replaceChild" with the proper type (42)
</del><ins>+PASS Node interface: document.createComment("abc") must inherit property "replaceChild" with the proper type (45)
</ins><span class="cx"> PASS Node interface: calling replaceChild(Node,Node) on document.createComment("abc") with too few arguments must throw TypeError
</span><del>-PASS Node interface: document.createComment("abc") must inherit property "removeChild" with the proper type (43)
</del><ins>+PASS Node interface: document.createComment("abc") must inherit property "removeChild" with the proper type (46)
</ins><span class="cx"> PASS Node interface: calling removeChild(Node) on document.createComment("abc") with too few arguments must throw TypeError
</span><span class="cx"> PASS EventTarget interface: document.createComment("abc") must inherit property "addEventListener" with the proper type (0)
</span><del>-FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on document.createComment("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,[object Object],[object Object]) on document.createComment("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: document.createComment("abc") must inherit property "removeEventListener" with the proper type (1)
</span><del>-FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on document.createComment("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</del><ins>+FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,[object Object],[object Object]) on document.createComment("abc") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</ins><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: document.createComment("abc") must inherit property "dispatchEvent" with the proper type (2)
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdominterfaceshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -42,6 +42,7 @@
</span><span class="cx"> boolean cancelable = false;
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+
</ins><span class="cx"> [Constructor(DOMString type, optional CustomEventInit eventInitDict)/*,
</span><span class="cx"> Exposed=(Window,Worker)*/]
</span><span class="cx"> interface CustomEvent : Event {
</span><span class="lines">@@ -54,10 +55,11 @@
</span><span class="cx"> any detail = null;
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+
</ins><span class="cx"> //[Exposed=(Window,Worker)]
</span><span class="cx"> interface EventTarget {
</span><del>- void addEventListener(DOMString type, EventListener? callback, optional boolean capture = false);
- void removeEventListener(DOMString type, EventListener? callback, optional boolean capture = false);
</del><ins>+ void addEventListener(DOMString type, EventListener? callback, optional (EventListenerOptions or boolean) options);
+ void removeEventListener(DOMString type, EventListener? callback, optional (EventListenerOptions or boolean) options);
</ins><span class="cx"> boolean dispatchEvent(Event event);
</span><span class="cx"> };
</span><span class="cx">
</span><span class="lines">@@ -65,25 +67,40 @@
</span><span class="cx"> void handleEvent(Event event);
</span><span class="cx"> };
</span><span class="cx">
</span><del>-[NoInterfaceObject]
</del><ins>+dictionary EventListenerOptions {
+ boolean capture;
+ boolean passive;
+};
+
+
+[NoInterfaceObject,
+ Exposed=Window]
</ins><span class="cx"> interface NonElementParentNode {
</span><span class="cx"> Element? getElementById(DOMString elementId);
</span><span class="cx"> };
</span><span class="cx"> Document implements NonElementParentNode;
</span><span class="cx"> DocumentFragment implements NonElementParentNode;
</span><span class="cx">
</span><del>-[NoInterfaceObject]
</del><ins>+
+[NoInterfaceObject,
+ Exposed=Window]
+interface DocumentOrShadowRoot {
+};
+Document implements DocumentOrShadowRoot;
+ShadowRoot implements DocumentOrShadowRoot;
+
+
+[NoInterfaceObject,
+ Exposed=Window]
</ins><span class="cx"> interface ParentNode {
</span><span class="cx"> [SameObject] readonly attribute HTMLCollection children;
</span><span class="cx"> readonly attribute Element? firstElementChild;
</span><span class="cx"> readonly attribute Element? lastElementChild;
</span><span class="cx"> readonly attribute unsigned long childElementCount;
</span><span class="cx">
</span><del>- [Unscopeable] void prepend((Node or DOMString)... nodes);
- [Unscopeable] void append((Node or DOMString)... nodes);
</del><ins>+ [Unscopable] void prepend((Node or DOMString)... nodes);
+ [Unscopable] void append((Node or DOMString)... nodes);
</ins><span class="cx">
</span><del>- [Unscopeable] Element? query(DOMString relativeSelectors);
- [NewObject, Unscopeable] Elements queryAll(DOMString relativeSelectors);
</del><span class="cx"> Element? querySelector(DOMString selectors);
</span><span class="cx"> [NewObject] NodeList querySelectorAll(DOMString selectors);
</span><span class="cx"> };
</span><span class="lines">@@ -91,7 +108,9 @@
</span><span class="cx"> DocumentFragment implements ParentNode;
</span><span class="cx"> Element implements ParentNode;
</span><span class="cx">
</span><del>-[NoInterfaceObject]
</del><ins>+
+[NoInterfaceObject,
+ Exposed=Window]
</ins><span class="cx"> interface NonDocumentTypeChildNode {
</span><span class="cx"> readonly attribute Element? previousElementSibling;
</span><span class="cx"> readonly attribute Element? nextElementSibling;
</span><span class="lines">@@ -99,37 +118,45 @@
</span><span class="cx"> Element implements NonDocumentTypeChildNode;
</span><span class="cx"> CharacterData implements NonDocumentTypeChildNode;
</span><span class="cx">
</span><del>-[NoInterfaceObject]
</del><ins>+
+[NoInterfaceObject,
+ Exposed=Window]
</ins><span class="cx"> interface ChildNode {
</span><del>- [Unscopeable] void before((Node or DOMString)... nodes);
- [Unscopeable] void after((Node or DOMString)... nodes);
- [Unscopeable] void replaceWith((Node or DOMString)... nodes);
- [Unscopeable] void remove();
</del><ins>+ [Unscopable] void before((Node or DOMString)... nodes);
+ [Unscopable] void after((Node or DOMString)... nodes);
+ [Unscopable] void replaceWith((Node or DOMString)... nodes);
+ [Unscopable] void remove();
</ins><span class="cx"> };
</span><span class="cx"> DocumentType implements ChildNode;
</span><span class="cx"> Element implements ChildNode;
</span><span class="cx"> CharacterData implements ChildNode;
</span><span class="cx">
</span><del>-// XXX unrecognized tokens "class", "extends"
-// https://www.w3.org/Bugs/Public/show_bug.cgi?id=20020
-// https://www.w3.org/Bugs/Public/show_bug.cgi?id=23225
-//class Elements extends Array {
-// Element? query(DOMString relativeSelectors);
-// Elements queryAll(DOMString relativeSelectors);
-//};
</del><span class="cx">
</span><ins>+[NoInterfaceObject,
+ Exposed=Window]
+interface Slotable {
+ readonly attribute HTMLSlotElement? assignedSlot;
+};
+Element implements Slotable;
+Text implements Slotable;
+
+
+[Exposed=Window]
</ins><span class="cx"> interface NodeList {
</span><span class="cx"> getter Node? item(unsigned long index);
</span><span class="cx"> readonly attribute unsigned long length;
</span><span class="cx"> // iterable<Node>;
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+
+[Exposed=Window, LegacyUnenumerableNamedProperties]
</ins><span class="cx"> interface HTMLCollection {
</span><span class="cx"> readonly attribute unsigned long length;
</span><span class="cx"> getter Element? item(unsigned long index);
</span><span class="cx"> getter Element? namedItem(DOMString name);
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+
</ins><span class="cx"> [Constructor(MutationCallback callback)]
</span><span class="cx"> interface MutationObserver {
</span><span class="cx"> void observe(Node target, MutationObserverInit options);
</span><span class="lines">@@ -149,9 +176,11 @@
</span><span class="cx"> sequence<DOMString> attributeFilter;
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+
+[Exposed=Window]
</ins><span class="cx"> interface MutationRecord {
</span><span class="cx"> readonly attribute DOMString type;
</span><del>- readonly attribute Node target;
</del><ins>+ [SameObject] readonly attribute Node target;
</ins><span class="cx"> [SameObject] readonly attribute NodeList addedNodes;
</span><span class="cx"> [SameObject] readonly attribute NodeList removedNodes;
</span><span class="cx"> readonly attribute Node? previousSibling;
</span><span class="lines">@@ -161,6 +190,8 @@
</span><span class="cx"> readonly attribute DOMString? oldValue;
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+
+[Exposed=Window]
</ins><span class="cx"> interface Node : EventTarget {
</span><span class="cx"> const unsigned short ELEMENT_NODE = 1;
</span><span class="cx"> const unsigned short ATTRIBUTE_NODE = 2; // historical
</span><span class="lines">@@ -177,9 +208,11 @@
</span><span class="cx"> readonly attribute unsigned short nodeType;
</span><span class="cx"> readonly attribute DOMString nodeName;
</span><span class="cx">
</span><del>- readonly attribute DOMString? baseURI;
</del><ins>+ readonly attribute DOMString baseURI;
</ins><span class="cx">
</span><ins>+ readonly attribute boolean isConnected;
</ins><span class="cx"> readonly attribute Document? ownerDocument;
</span><ins>+ readonly attribute Node rootNode;
</ins><span class="cx"> readonly attribute Node? parentNode;
</span><span class="cx"> readonly attribute Element? parentElement;
</span><span class="cx"> boolean hasChildNodes();
</span><span class="lines">@@ -194,7 +227,8 @@
</span><span class="cx"> void normalize();
</span><span class="cx">
</span><span class="cx"> [NewObject] Node cloneNode(optional boolean deep = false);
</span><del>- boolean isEqualNode(Node? node);
</del><ins>+ boolean isEqualNode(Node? otherNode);
+ boolean isSameNode(Node? otherNode); // historical alias of ===
</ins><span class="cx">
</span><span class="cx"> const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;
</span><span class="cx"> const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02;
</span><span class="lines">@@ -215,7 +249,9 @@
</span><span class="cx"> Node removeChild(Node child);
</span><span class="cx"> };
</span><span class="cx">
</span><del>-[Constructor]
</del><ins>+
+[Constructor,
+ Exposed=Window]
</ins><span class="cx"> interface Document : Node {
</span><span class="cx"> [SameObject] readonly attribute DOMImplementation implementation;
</span><span class="cx"> readonly attribute DOMString URL;
</span><span class="lines">@@ -223,18 +259,18 @@
</span><span class="cx"> readonly attribute DOMString origin;
</span><span class="cx"> readonly attribute DOMString compatMode;
</span><span class="cx"> readonly attribute DOMString characterSet;
</span><del>- readonly attribute DOMString charset; // legacy alias of .characterSet
- readonly attribute DOMString inputEncoding; // legacy alias of .characterSet
</del><ins>+ readonly attribute DOMString charset; // historical alias of .characterSet
+ readonly attribute DOMString inputEncoding; // historical alias of .characterSet
</ins><span class="cx"> readonly attribute DOMString contentType;
</span><span class="cx">
</span><span class="cx"> readonly attribute DocumentType? doctype;
</span><span class="cx"> readonly attribute Element? documentElement;
</span><del>- HTMLCollection getElementsByTagName(DOMString localName);
</del><ins>+ HTMLCollection getElementsByTagName(DOMString qualifiedName);
</ins><span class="cx"> HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);
</span><span class="cx"> HTMLCollection getElementsByClassName(DOMString classNames);
</span><span class="cx">
</span><del>- [NewObject] Element createElement(DOMString localName);
- [NewObject] Element createElementNS(DOMString? namespace, DOMString qualifiedName);
</del><ins>+ [NewObject] Element createElement(DOMString localName, optional ElementCreationOptions options);
+ [NewObject] Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional ElementCreationOptions options);
</ins><span class="cx"> [NewObject] DocumentFragment createDocumentFragment();
</span><span class="cx"> [NewObject] Text createTextNode(DOMString data);
</span><span class="cx"> [NewObject] Comment createComment(DOMString data);
</span><span class="lines">@@ -244,7 +280,7 @@
</span><span class="cx"> Node adoptNode(Node node);
</span><span class="cx">
</span><span class="cx"> [NewObject] Attr createAttribute(DOMString localName);
</span><del>- [NewObject] Attr createAttributeNS(DOMString? namespace, DOMString name);
</del><ins>+ [NewObject] Attr createAttributeNS(DOMString? namespace, DOMString qualifiedName);
</ins><span class="cx">
</span><span class="cx"> [NewObject] Event createEvent(DOMString interface);
</span><span class="cx">
</span><span class="lines">@@ -255,8 +291,15 @@
</span><span class="cx"> [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+[Exposed=Window]
</ins><span class="cx"> interface XMLDocument : Document {};
</span><span class="cx">
</span><ins>+dictionary ElementCreationOptions {
+ DOMString is;
+};
+
+
+[Exposed=Window]
</ins><span class="cx"> interface DOMImplementation {
</span><span class="cx"> [NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
</span><span class="cx"> [NewObject] XMLDocument createDocument(DOMString? namespace, [TreatNullAs=EmptyString] DOMString qualifiedName, optional DocumentType? doctype = null);
</span><span class="lines">@@ -265,16 +308,31 @@
</span><span class="cx"> boolean hasFeature(); // useless; always returns true
</span><span class="cx"> };
</span><span class="cx">
</span><del>-[Constructor]
-interface DocumentFragment : Node {
-};
</del><span class="cx">
</span><ins>+[Exposed=Window]
</ins><span class="cx"> interface DocumentType : Node {
</span><span class="cx"> readonly attribute DOMString name;
</span><span class="cx"> readonly attribute DOMString publicId;
</span><span class="cx"> readonly attribute DOMString systemId;
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+
+[Constructor,
+ Exposed=Window]
+interface DocumentFragment : Node {
+};
+
+
+[Exposed=Window]
+interface ShadowRoot : DocumentFragment {
+ readonly attribute ShadowRootMode mode;
+ readonly attribute Element host;
+};
+
+enum ShadowRootMode { "open", "closed" };
+
+
+[Exposed=Window]
</ins><span class="cx"> interface Element : Node {
</span><span class="cx"> readonly attribute DOMString? namespaceURI;
</span><span class="cx"> readonly attribute DOMString? prefix;
</span><span class="lines">@@ -284,57 +342,76 @@
</span><span class="cx"> attribute DOMString id;
</span><span class="cx"> attribute DOMString className;
</span><span class="cx"> [SameObject, PutForwards=value] readonly attribute DOMTokenList classList;
</span><ins>+ attribute DOMString slot;
</ins><span class="cx">
</span><span class="cx"> boolean hasAttributes();
</span><span class="cx"> [SameObject] readonly attribute NamedNodeMap attributes;
</span><del>- DOMString? getAttribute(DOMString name);
</del><ins>+ sequence<DOMString> getAttributeNames();
+ DOMString? getAttribute(DOMString qualifiedName);
</ins><span class="cx"> DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
</span><del>- void setAttribute(DOMString name, DOMString value);
- void setAttributeNS(DOMString? namespace, DOMString name, DOMString value);
- void removeAttribute(DOMString name);
</del><ins>+ void setAttribute(DOMString qualifiedName, DOMString value);
+ void setAttributeNS(DOMString? namespace, DOMString qualifiedName, DOMString value);
+ void removeAttribute(DOMString qualifiedName);
</ins><span class="cx"> void removeAttributeNS(DOMString? namespace, DOMString localName);
</span><del>- boolean hasAttribute(DOMString name);
</del><ins>+ boolean hasAttribute(DOMString qualifiedName);
</ins><span class="cx"> boolean hasAttributeNS(DOMString? namespace, DOMString localName);
</span><span class="cx">
</span><del>- Attr? getAttributeNode(DOMString name);
</del><ins>+ Attr? getAttributeNode(DOMString qualifiedName);
</ins><span class="cx"> Attr? getAttributeNodeNS(DOMString? namespace, DOMString localName);
</span><span class="cx"> Attr? setAttributeNode(Attr attr);
</span><span class="cx"> Attr? setAttributeNodeNS(Attr attr);
</span><span class="cx"> Attr removeAttributeNode(Attr attr);
</span><span class="cx">
</span><ins>+ ShadowRoot attachShadow(ShadowRootInit init);
+ readonly attribute ShadowRoot? shadowRoot;
+
</ins><span class="cx"> Element? closest(DOMString selectors);
</span><span class="cx"> boolean matches(DOMString selectors);
</span><ins>+ boolean webkitMatchesSelector(DOMString selectors); // historical alias of .matches
</ins><span class="cx">
</span><del>- HTMLCollection getElementsByTagName(DOMString localName);
</del><ins>+ HTMLCollection getElementsByTagName(DOMString qualifiedName);
</ins><span class="cx"> HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);
</span><span class="cx"> HTMLCollection getElementsByClassName(DOMString classNames);
</span><ins>+
+ Element? insertAdjacentElement(DOMString where, Element element); // historical
+ void insertAdjacentText(DOMString where, DOMString data); // historical
</ins><span class="cx"> };
</span><span class="cx">
</span><ins>+dictionary ShadowRootInit {
+// required ShadowRootMode mode;
+};
+
+
+[Exposed=Window, LegacyUnenumerableNamedProperties]
</ins><span class="cx"> interface NamedNodeMap {
</span><span class="cx"> readonly attribute unsigned long length;
</span><span class="cx"> getter Attr? item(unsigned long index);
</span><del>- getter Attr? getNamedItem(DOMString name);
</del><ins>+ getter Attr? getNamedItem(DOMString qualifiedName);
</ins><span class="cx"> Attr? getNamedItemNS(DOMString? namespace, DOMString localName);
</span><span class="cx"> Attr? setNamedItem(Attr attr);
</span><span class="cx"> Attr? setNamedItemNS(Attr attr);
</span><del>- Attr removeNamedItem(DOMString name);
</del><ins>+ Attr removeNamedItem(DOMString qualifiedName);
</ins><span class="cx"> Attr removeNamedItemNS(DOMString? namespace, DOMString localName);
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+
+[Exposed=Window]
</ins><span class="cx"> interface Attr {
</span><span class="cx"> readonly attribute DOMString? namespaceURI;
</span><span class="cx"> readonly attribute DOMString? prefix;
</span><span class="cx"> readonly attribute DOMString localName;
</span><span class="cx"> readonly attribute DOMString name;
</span><ins>+ readonly attribute DOMString nodeName; // historical alias of .name
</ins><span class="cx"> attribute DOMString value;
</span><del>- attribute DOMString nodeValue; // legacy alias of .value
- attribute DOMString textContent; // legacy alias of .value
</del><ins>+ [TreatNullAs=EmptyString] attribute DOMString nodeValue; // historical alias of .value
+ [TreatNullAs=EmptyString] attribute DOMString textContent; // historical alias of .value
</ins><span class="cx">
</span><span class="cx"> readonly attribute Element? ownerElement;
</span><span class="cx">
</span><span class="cx"> readonly attribute boolean specified; // useless; always returns true
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+[Exposed=Window]
</ins><span class="cx"> interface CharacterData : Node {
</span><span class="cx"> [TreatNullAs=EmptyString] attribute DOMString data;
</span><span class="cx"> readonly attribute unsigned long length;
</span><span class="lines">@@ -345,21 +422,27 @@
</span><span class="cx"> void replaceData(unsigned long offset, unsigned long count, DOMString data);
</span><span class="cx"> };
</span><span class="cx">
</span><del>-[Constructor(optional DOMString data = "")]
</del><ins>+
+[Constructor(optional DOMString data = ""),
+ Exposed=Window]
</ins><span class="cx"> interface Text : CharacterData {
</span><span class="cx"> [NewObject] Text splitText(unsigned long offset);
</span><span class="cx"> readonly attribute DOMString wholeText;
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+[Exposed=Window]
</ins><span class="cx"> interface ProcessingInstruction : CharacterData {
</span><span class="cx"> readonly attribute DOMString target;
</span><span class="cx"> };
</span><span class="cx">
</span><del>-[Constructor(optional DOMString data = "")]
</del><ins>+[Constructor(optional DOMString data = ""),
+ Exposed=Window]
</ins><span class="cx"> interface Comment : CharacterData {
</span><span class="cx"> };
</span><span class="cx">
</span><del>-[Constructor]
</del><ins>+
+[Constructor,
+ Exposed=Window]
</ins><span class="cx"> interface Range {
</span><span class="cx"> readonly attribute Node startContainer;
</span><span class="cx"> readonly attribute unsigned long startOffset;
</span><span class="lines">@@ -401,6 +484,8 @@
</span><span class="cx"> stringifier;
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+
+[Exposed=Window]
</ins><span class="cx"> interface NodeIterator {
</span><span class="cx"> [SameObject] readonly attribute Node root;
</span><span class="cx"> readonly attribute Node referenceNode;
</span><span class="lines">@@ -414,6 +499,8 @@
</span><span class="cx"> void detach();
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+
+[Exposed=Window]
</ins><span class="cx"> interface TreeWalker {
</span><span class="cx"> [SameObject] readonly attribute Node root;
</span><span class="cx"> readonly attribute unsigned long whatToShow;
</span><span class="lines">@@ -429,6 +516,7 @@
</span><span class="cx"> Node? nextNode();
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+[Exposed=Window]
</ins><span class="cx"> callback interface NodeFilter {
</span><span class="cx"> // Constants for acceptNode()
</span><span class="cx"> const unsigned short FILTER_ACCEPT = 1;
</span><span class="lines">@@ -453,6 +541,7 @@
</span><span class="cx"> unsigned short acceptNode(Node node);
</span><span class="cx"> };
</span><span class="cx">
</span><ins>+
</ins><span class="cx"> interface DOMTokenList {
</span><span class="cx"> readonly attribute unsigned long length;
</span><span class="cx"> getter DOMString? item(unsigned long index);
</span><span class="lines">@@ -483,6 +572,7 @@
</span><span class="cx"> idlArray.add_objects({
</span><span class="cx"> Event: ['document.createEvent("Event")', 'new Event("foo")'],
</span><span class="cx"> CustomEvent: ['new CustomEvent("foo")'],
</span><ins>+ Document: ['new Document()'],
</ins><span class="cx"> XMLDocument: ['xmlDoc'],
</span><span class="cx"> DOMImplementation: ['document.implementation'],
</span><span class="cx"> DocumentFragment: ['document.createDocumentFragment()'],
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomlistsDOMTokenListvalueexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-value-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-value-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-value-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL DOMTokenList value assert_equals: value should return the literal value expected " a a b " but got "a b"
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomlistsDOMTokenListvaluehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-value.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-value.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-value.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>DOMTokenList value</title>
+<link rel=help href="https://dom.spec.whatwg.org/#dom-domtokenlist-value">
+<link rel=author title=Tangresh href="mailto:dmenzi@tangresh.ch">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<span class=" a a b "></span>
+<script>
+test(function() {
+ assert_equals(String(document.createElement("span").classList.value), "",
+ "classList.value should return the empty list for an undefined class attribute");
+ var span = document.querySelector("span");
+ assert_equals(span.classList.value, " a a b ",
+ "value should return the literal value");
+ span.classList.value = " foo bar foo ";
+ assert_equals(span.classList.value, " foo bar foo ",
+ "assigning value should set the literal value");
+ assert_equals(span.classList.length, 2,
+ "length should be the number of tokens");
+ assert_class_string(span.classList, "DOMTokenList");
+ assert_class_string(span.classList.value, "String");
+});
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomlistsw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/lists/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -16,3 +16,4 @@
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-stringifier.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/lists/DOMTokenList-value.html
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesCharacterDataappendChildexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-appendChild-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-appendChild-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-appendChild-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+
+PASS Text.appendChild(Text)
+PASS Text.appendChild(Comment)
+PASS Text.appendChild(ProcessingInstruction)
+PASS Comment.appendChild(Text)
+PASS Comment.appendChild(Comment)
+PASS Comment.appendChild(ProcessingInstruction)
+PASS ProcessingInstruction.appendChild(Text)
+PASS ProcessingInstruction.appendChild(Comment)
+PASS ProcessingInstruction.appendChild(ProcessingInstruction)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesCharacterDataappendChildhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-appendChild.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-appendChild.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-appendChild.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+<!DOCTYPE html>
+<meta charset=utf-8>
+<title>Node.appendChild applied to CharacterData</title>
+<link rel=help href="https://dom.spec.whatwg.org/#dom-node-appendchild">
+<link rel=help href="https://dom.spec.whatwg.org/#introduction-to-the-dom">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<div id="log"></div>
+<script>
+function create(type) {
+ switch (type) {
+ case "Text": return document.createTextNode("test"); break;
+ case "Comment": return document.createComment("test"); break;
+ case "ProcessingInstruction": return document.createProcessingInstruction("target", "test"); break;
+ }
+}
+
+function testNode(type1, type2) {
+ test(function() {
+ var node1 = create(type1);
+ var node2 = create(type2);
+ assert_throws("HierarchyRequestError", function () {
+ node1.appendChild(node2);
+ }, "CharacterData type " + type1 + " must not have children");
+ }, type1 + ".appendChild(" + type2 + ")");
+}
+
+var types = ["Text", "Comment", "ProcessingInstruction"];
+types.forEach(function(type1) {
+ types.forEach(function(type2) {
+ testNode(type1, type2);
+ });
+});
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDOMImplementationcreateDocumentexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -337,6 +337,27 @@
</span><span class="cx"> PASS createDocument test 178: "foo","bar",DocumentType node,null
</span><span class="cx"> PASS createDocument test 178: metadata for "foo","bar",DocumentType node
</span><span class="cx"> PASS createDocument test 178: characterSet aliases for "foo","bar",DocumentType node
</span><ins>+PASS createDocument test 179: "http://www.w3.org/1999/xhtml","",null,null
+FAIL createDocument test 179: metadata for "http://www.w3.org/1999/xhtml","",null assert_equals: expected "text/html" but got "application/xhtml+xml"
+PASS createDocument test 179: characterSet aliases for "http://www.w3.org/1999/xhtml","",null
+FAIL createDocument test 180: "http://www.w3.org/2000/svg","",null,null assert_equals: expected object "[object XMLDocumentPrototype]" but got object "[object SVGDocumentPrototype]"
+PASS createDocument test 180: metadata for "http://www.w3.org/2000/svg","",null
+PASS createDocument test 180: characterSet aliases for "http://www.w3.org/2000/svg","",null
+PASS createDocument test 181: "http://www.w3.org/1998/Math/MathML","",null,null
+PASS createDocument test 181: metadata for "http://www.w3.org/1998/Math/MathML","",null
+PASS createDocument test 181: characterSet aliases for "http://www.w3.org/1998/Math/MathML","",null
+PASS createDocument test 182: null,"html",null,null
+PASS createDocument test 182: metadata for null,"html",null
+PASS createDocument test 182: characterSet aliases for null,"html",null
+PASS createDocument test 183: null,"svg",null,null
+PASS createDocument test 183: metadata for null,"svg",null
+PASS createDocument test 183: characterSet aliases for null,"svg",null
+PASS createDocument test 184: null,"math",null,null
+PASS createDocument test 184: metadata for null,"math",null
+PASS createDocument test 184: characterSet aliases for null,"math",null
+PASS createDocument test 185: null,"",DocumentType node
+PASS createDocument test 186: null,"",DocumentType node
+PASS createDocument test 187: null,"",DocumentType node
</ins><span class="cx"> FAIL createDocument with missing arguments assert_throws: createDocument() should throw function "function () {
</span><span class="cx"> document.implementation.createDocument(..." did not throw
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDOMImplementationcreateDocumenthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/DOMImplementation-createDocument.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -11,6 +11,10 @@
</span><span class="cx"> <script src="Document-createElementNS.js"></script>
</span><span class="cx"> <div id="log"></div>
</span><span class="cx"> <script>
</span><ins>+var htmlNamespace = "http://www.w3.org/1999/xhtml"
+var svgNamespace = "http://www.w3.org/2000/svg"
+var mathMLNamespace = "http://www.w3.org/1998/Math/MathML"
+
</ins><span class="cx"> test(function() {
</span><span class="cx"> var tests = createElementNS_tests.map(function(t) {
</span><span class="cx"> return [t[0], t[1], null, t[2]]
</span><span class="lines">@@ -57,6 +61,21 @@
</span><span class="cx"> [null, "foo", document.implementation.createDocumentType("foo", "", ""), null],
</span><span class="cx"> ["foo", null, document.implementation.createDocumentType("foo", "", ""), null],
</span><span class="cx"> ["foo", "bar", document.implementation.createDocumentType("foo", "", ""), null],
</span><ins>+ [htmlNamespace, "", null, null],
+ [svgNamespace, "", null, null],
+ [mathMLNamespace, "", null, null],
+ [null, "html", null, null],
+ [null, "svg", null, null],
+ [null, "math", null, null],
+ [null, "", document.implementation.createDocumentType("html",
+ "-//W3C//DTD XHTML 1.0 Transitional//EN",
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd")],
+ [null, "", document.implementation.createDocumentType("svg",
+ "-//W3C//DTD SVG 1.1//EN",
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd")],
+ [null, "", document.implementation.createDocumentType("math",
+ "-//W3C//DTD MathML 2.0//EN",
+ "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd")],
</ins><span class="cx"> ])
</span><span class="cx">
</span><span class="cx"> tests.forEach(function(t, i) {
</span><span class="lines">@@ -70,6 +89,7 @@
</span><span class="cx"> assert_equals(doc.nodeType, doc.DOCUMENT_NODE)
</span><span class="cx"> assert_equals(doc.nodeName, "#document")
</span><span class="cx"> assert_equals(doc.nodeValue, null)
</span><ins>+ assert_equals(Object.getPrototypeOf(doc), XMLDocument.prototype)
</ins><span class="cx"> var omitRootElement = qualifiedName === null || String(qualifiedName) === ""
</span><span class="cx"> if (omitRootElement) {
</span><span class="cx"> assert_equals(doc.documentElement, null)
</span><span class="lines">@@ -103,7 +123,9 @@
</span><span class="cx"> var doc = document.implementation.createDocument(namespace, qualifiedName, doctype)
</span><span class="cx"> assert_equals(doc.compatMode, "CSS1Compat")
</span><span class="cx"> assert_equals(doc.characterSet, "UTF-8")
</span><del>- assert_equals(doc.contentType, "application/xml")
</del><ins>+ assert_equals(doc.contentType, namespace == htmlNamespace ? "text/html"
+ : namespace == svgNamespace ? "image/svg+xml"
+ : "application/xml")
</ins><span class="cx"> assert_equals(doc.URL, "about:blank")
</span><span class="cx"> assert_equals(doc.documentURI, "about:blank")
</span><span class="cx"> assert_equals(doc.createElement("DIV").localName, "DIV");
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentElementgetElementsByTagNamejs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-Element-getElementsByTagName.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-Element-getElementsByTagName.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-Element-getElementsByTagName.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -127,17 +127,19 @@
</span><span class="cx"> test(function() {
</span><span class="cx"> var t = element.appendChild(document.createElementNS("test", "te:st"))
</span><span class="cx"> this.add_cleanup(function() {element.removeChild(t)})
</span><del>- assert_array_equals(context.getElementsByTagName("st"), [t])
</del><ins>+ assert_array_equals(context.getElementsByTagName("st"), [])
</ins><span class="cx"> assert_array_equals(context.getElementsByTagName("ST"), [])
</span><ins>+ assert_array_equals(context.getElementsByTagName("te:st"), [t])
+ assert_array_equals(context.getElementsByTagName("te:ST"), [])
</ins><span class="cx"> }, "Element in non-HTML namespace, prefix, lowercase name")
</span><span class="cx">
</span><span class="cx"> test(function() {
</span><span class="cx"> var t = element.appendChild(document.createElementNS("test", "te:ST"))
</span><span class="cx"> this.add_cleanup(function() {element.removeChild(t)})
</span><del>- assert_array_equals(context.getElementsByTagName("ST"), [t])
</del><span class="cx"> assert_array_equals(context.getElementsByTagName("st"), [])
</span><ins>+ assert_array_equals(context.getElementsByTagName("ST"), [])
</ins><span class="cx"> assert_array_equals(context.getElementsByTagName("te:st"), [])
</span><del>- assert_array_equals(context.getElementsByTagName("te:ST"), [])
</del><ins>+ assert_array_equals(context.getElementsByTagName("te:ST"), [t])
</ins><span class="cx"> }, "Element in non-HTML namespace, prefix, uppercase name")
</span><span class="cx">
</span><span class="cx"> test(function() {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalizationexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -587,6 +587,9 @@
</span><span class="cx"> PASS Name "shift_jis" has label "csshiftjis" (characterSet)
</span><span class="cx"> PASS Name "shift_jis" has label "csshiftjis" (inputEncoding)
</span><span class="cx"> PASS Name "shift_jis" has label "csshiftjis" (charset)
</span><ins>+PASS Name "shift_jis" has label "ms932" (characterSet)
+PASS Name "shift_jis" has label "ms932" (inputEncoding)
+PASS Name "shift_jis" has label "ms932" (charset)
</ins><span class="cx"> PASS Name "shift_jis" has label "ms_kanji" (characterSet)
</span><span class="cx"> PASS Name "shift_jis" has label "ms_kanji" (inputEncoding)
</span><span class="cx"> PASS Name "shift_jis" has label "ms_kanji" (charset)
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcharacterSetnormalizationhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -282,6 +282,7 @@
</span><span class="cx"> ],
</span><span class="cx"> "shift_jis": [
</span><span class="cx"> "csshiftjis",
</span><ins>+ "ms932",
</ins><span class="cx"> "ms_kanji",
</span><span class="cx"> "shift-jis",
</span><span class="cx"> "shift_jis",
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcreateElementnamespaceexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,48 +1,48 @@
</span><span class="cx">
</span><span class="cx"> PASS Created element's namespace in current document
</span><span class="cx"> PASS Created element's namespace in created HTML document
</span><del>-FAIL Created element's namespace in created XML document assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
-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"
-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"
-FAIL Created element's namespace in created MathML document assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
</del><ins>+PASS Created element's namespace in created XML document
+PASS Created element's namespace in created XHTML document
+PASS Created element's namespace in created SVG document
+PASS Created element's namespace in created MathML document
</ins><span class="cx"> PASS Created element's namespace in empty.html
</span><span class="cx"> PASS Created element's namespace in empty.xhtml
</span><del>-FAIL Created element's namespace in empty.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
-FAIL Created element's namespace in empty.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
</del><ins>+PASS Created element's namespace in empty.xml
+PASS Created element's namespace in empty.svg
</ins><span class="cx"> PASS Created element's namespace in minimal_html.html
</span><span class="cx"> PASS Created element's namespace in minimal_html.xhtml
</span><del>-FAIL Created element's namespace in minimal_html.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
-FAIL Created element's namespace in minimal_html.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
</del><ins>+PASS Created element's namespace in minimal_html.xml
+PASS Created element's namespace in minimal_html.svg
</ins><span class="cx"> PASS Created element's namespace in xhtml.html
</span><span class="cx"> PASS Created element's namespace in xhtml.xhtml
</span><del>-FAIL Created element's namespace in xhtml.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
-FAIL Created element's namespace in xhtml.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
</del><ins>+PASS Created element's namespace in xhtml.xml
+PASS Created element's namespace in xhtml.svg
</ins><span class="cx"> PASS Created element's namespace in svg.html
</span><span class="cx"> PASS Created element's namespace in svg.xhtml
</span><del>-FAIL Created element's namespace in svg.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
-FAIL Created element's namespace in svg.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
</del><ins>+PASS Created element's namespace in svg.xml
+PASS Created element's namespace in svg.svg
</ins><span class="cx"> PASS Created element's namespace in mathml.html
</span><span class="cx"> PASS Created element's namespace in mathml.xhtml
</span><del>-FAIL Created element's namespace in mathml.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
-FAIL Created element's namespace in mathml.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
</del><ins>+PASS Created element's namespace in mathml.xml
+PASS Created element's namespace in mathml.svg
</ins><span class="cx"> PASS Created element's namespace in bare_xhtml.html
</span><span class="cx"> PASS Created element's namespace in bare_xhtml.xhtml
</span><del>-FAIL Created element's namespace in bare_xhtml.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
-FAIL Created element's namespace in bare_xhtml.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
</del><ins>+PASS Created element's namespace in bare_xhtml.xml
+PASS Created element's namespace in bare_xhtml.svg
</ins><span class="cx"> PASS Created element's namespace in bare_svg.html
</span><span class="cx"> PASS Created element's namespace in bare_svg.xhtml
</span><del>-FAIL Created element's namespace in bare_svg.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
-FAIL Created element's namespace in bare_svg.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
</del><ins>+PASS Created element's namespace in bare_svg.xml
+PASS Created element's namespace in bare_svg.svg
</ins><span class="cx"> PASS Created element's namespace in bare_mathml.html
</span><span class="cx"> PASS Created element's namespace in bare_mathml.xhtml
</span><del>-FAIL Created element's namespace in bare_mathml.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
-FAIL Created element's namespace in bare_mathml.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
</del><ins>+PASS Created element's namespace in bare_mathml.xml
+PASS Created element's namespace in bare_mathml.svg
</ins><span class="cx"> PASS Created element's namespace in xhtml_ns_removed.html
</span><span class="cx"> PASS Created element's namespace in xhtml_ns_removed.xhtml
</span><del>-FAIL Created element's namespace in xhtml_ns_removed.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
-FAIL Created element's namespace in xhtml_ns_removed.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
</del><ins>+PASS Created element's namespace in xhtml_ns_removed.xml
+PASS Created element's namespace in xhtml_ns_removed.svg
</ins><span class="cx"> PASS Created element's namespace in xhtml_ns_changed.html
</span><span class="cx"> PASS Created element's namespace in xhtml_ns_changed.xhtml
</span><del>-FAIL Created element's namespace in xhtml_ns_changed.xml assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
-FAIL Created element's namespace in xhtml_ns_changed.svg assert_equals: expected (string) "http://www.w3.org/1999/xhtml" but got (object) null
</del><ins>+PASS Created element's namespace in xhtml_ns_changed.xml
+PASS Created element's namespace in xhtml_ns_changed.svg
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcreateElementnamespacehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createElement-namespace.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -13,8 +13,8 @@
</span><span class="cx"> */
</span><span class="cx">
</span><span class="cx"> /**
</span><del>- * Test that an element created using the Document object doc has the HTML
- * namespace.
</del><ins>+ * Test that an element created using the Document object doc has the namespace
+ * that would be expected for the given contentType.
</ins><span class="cx"> */
</span><span class="cx"> function testDoc(doc, contentType) {
</span><span class="cx"> if (doc.contentType !== undefined) {
</span><span class="lines">@@ -23,7 +23,11 @@
</span><span class="cx"> "Wrong MIME type -- incorrect server config?");
</span><span class="cx"> }
</span><span class="cx">
</span><del>- assert_equals(doc.createElement("x").namespaceURI, "http://www.w3.org/1999/xhtml");
</del><ins>+ var expectedNamespace = contentType == "text/html" ||
+ contentType == "application/xhtml+xml"
+ ? "http://www.w3.org/1999/xhtml" : null;
+
+ assert_equals(doc.createElement("x").namespaceURI, expectedNamespace);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // First test various objects we create in JS
</span><span class="lines">@@ -39,11 +43,11 @@
</span><span class="cx"> }, "Created element's namespace in created XML document");
</span><span class="cx"> test(function() {
</span><span class="cx"> testDoc(document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html", null),
</span><del>- "application/xml");
</del><ins>+ "application/xhtml+xml");
</ins><span class="cx"> }, "Created element's namespace in created XHTML document");
</span><span class="cx"> test(function() {
</span><span class="cx"> testDoc(document.implementation.createDocument("http://www.w3.org/2000/svg", "svg", null),
</span><del>- "application/xml");
</del><ins>+ "image/svg+xml");
</ins><span class="cx"> }, "Created element's namespace in created SVG document");
</span><span class="cx"> test(function() {
</span><span class="cx"> testDoc(document.implementation.createDocument("http://www.w3.org/1998/Math/MathML", "math", null),
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcreateEventexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,10 +1,67 @@
</span><span class="cx">
</span><ins>+FAIL AnimationEvent should be an alias for AnimationEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('AnimationEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL animationevent should be an alias for AnimationEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('animationevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL ANIMATIONEVENT should be an alias for AnimationEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('ANIMATIONEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "AnimationEvents"
+FAIL BeforeUnloadEvent should be an alias for BeforeUnloadEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('BeforeUnloadEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL beforeunloadevent should be an alias for BeforeUnloadEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('beforeunloadevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL BEFOREUNLOADEVENT should be an alias for BeforeUnloadEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('BEFOREUNLOADEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "BeforeUnloadEvents"
+FAIL CloseEvent should be an alias for CloseEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('CloseEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL closeevent should be an alias for CloseEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('closeevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL CLOSEEVENT should be an alias for CloseEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('CLOSEEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "CloseEvents"
+PASS CompositionEvent should be an alias for CompositionEvent.
+PASS createEvent('CompositionEvent') should be initialized correctly.
+PASS compositionevent should be an alias for CompositionEvent.
+PASS createEvent('compositionevent') should be initialized correctly.
+PASS COMPOSITIONEVENT should be an alias for CompositionEvent.
+PASS createEvent('COMPOSITIONEVENT') should be initialized correctly.
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "CompositionEvents"
</ins><span class="cx"> PASS CustomEvent should be an alias for CustomEvent.
</span><span class="cx"> PASS createEvent('CustomEvent') should be initialized correctly.
</span><span class="cx"> PASS customevent should be an alias for CustomEvent.
</span><span class="cx"> PASS createEvent('customevent') should be initialized correctly.
</span><span class="cx"> PASS CUSTOMEVENT should be an alias for CustomEvent.
</span><span class="cx"> PASS createEvent('CUSTOMEVENT') should be initialized correctly.
</span><ins>+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "CustomEvents"
+FAIL DeviceMotionEvent should be an alias for DeviceMotionEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('DeviceMotionEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL devicemotionevent should be an alias for DeviceMotionEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('devicemotionevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL DEVICEMOTIONEVENT should be an alias for DeviceMotionEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('DEVICEMOTIONEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "DeviceMotionEvents"
+FAIL DeviceOrientationEvent should be an alias for DeviceOrientationEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('DeviceOrientationEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL deviceorientationevent should be an alias for DeviceOrientationEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('deviceorientationevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL DEVICEORIENTATIONEVENT should be an alias for DeviceOrientationEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('DEVICEORIENTATIONEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "DeviceOrientationEvents"
+FAIL DragEvent should be an alias for DragEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('DragEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL dragevent should be an alias for DragEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('dragevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL DRAGEVENT should be an alias for DragEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('DRAGEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "DragEvents"
+FAIL ErrorEvent should be an alias for ErrorEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('ErrorEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL errorevent should be an alias for ErrorEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('errorevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL ERROREVENT should be an alias for ErrorEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('ERROREVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "ErrorEvents"
</ins><span class="cx"> PASS Event should be an alias for Event.
</span><span class="cx"> PASS createEvent('Event') should be initialized correctly.
</span><span class="cx"> PASS event should be an alias for Event.
</span><span class="lines">@@ -17,30 +74,48 @@
</span><span class="cx"> PASS createEvent('events') should be initialized correctly.
</span><span class="cx"> PASS EVENTS should be an alias for Event.
</span><span class="cx"> PASS createEvent('EVENTS') should be initialized correctly.
</span><ins>+FAIL FocusEvent should be an alias for FocusEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('FocusEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL focusevent should be an alias for FocusEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('focusevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL FOCUSEVENT should be an alias for FocusEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('FOCUSEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "FocusEvents"
+PASS HashChangeEvent should be an alias for HashChangeEvent.
+PASS createEvent('HashChangeEvent') should be initialized correctly.
+PASS hashchangeevent should be an alias for HashChangeEvent.
+PASS createEvent('hashchangeevent') should be initialized correctly.
+PASS HASHCHANGEEVENT should be an alias for HashChangeEvent.
+PASS createEvent('HASHCHANGEEVENT') should be initialized correctly.
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "HashChangeEvents"
</ins><span class="cx"> PASS HTMLEvents should be an alias for Event.
</span><span class="cx"> PASS createEvent('HTMLEvents') should be initialized correctly.
</span><span class="cx"> PASS htmlevents should be an alias for Event.
</span><span class="cx"> PASS createEvent('htmlevents') should be initialized correctly.
</span><span class="cx"> PASS HTMLEVENTS should be an alias for Event.
</span><span class="cx"> PASS createEvent('HTMLEVENTS') should be initialized correctly.
</span><ins>+FAIL IDBVersionChangeEvent should be an alias for IDBVersionChangeEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('IDBVersionChangeEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL idbversionchangeevent should be an alias for IDBVersionChangeEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('idbversionchangeevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL IDBVERSIONCHANGEEVENT should be an alias for IDBVersionChangeEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('IDBVERSIONCHANGEEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "IDBVersionChangeEvents"
</ins><span class="cx"> PASS KeyboardEvent should be an alias for KeyboardEvent.
</span><span class="cx"> PASS createEvent('KeyboardEvent') should be initialized correctly.
</span><span class="cx"> PASS keyboardevent should be an alias for KeyboardEvent.
</span><span class="cx"> PASS createEvent('keyboardevent') should be initialized correctly.
</span><span class="cx"> PASS KEYBOARDEVENT should be an alias for KeyboardEvent.
</span><span class="cx"> PASS createEvent('KEYBOARDEVENT') should be initialized correctly.
</span><del>-FAIL KeyEvents should be an alias for KeyboardEvent. NotSupportedError: DOM Exception 9
-FAIL createEvent('KeyEvents') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
-FAIL keyevents should be an alias for KeyboardEvent. NotSupportedError: DOM Exception 9
-FAIL createEvent('keyevents') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
-FAIL KEYEVENTS should be an alias for KeyboardEvent. NotSupportedError: DOM Exception 9
-FAIL createEvent('KEYEVENTS') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
</del><ins>+FAIL Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "KeyboardEvents" assert_throws: function "function () {
+ var evt = document.createEvent(pl..." did not throw
</ins><span class="cx"> PASS MessageEvent should be an alias for MessageEvent.
</span><span class="cx"> PASS createEvent('MessageEvent') should be initialized correctly.
</span><span class="cx"> PASS messageevent should be an alias for MessageEvent.
</span><span class="cx"> PASS createEvent('messageevent') should be initialized correctly.
</span><span class="cx"> PASS MESSAGEEVENT should be an alias for MessageEvent.
</span><span class="cx"> PASS createEvent('MESSAGEEVENT') should be initialized correctly.
</span><ins>+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "MessageEvents"
</ins><span class="cx"> PASS MouseEvent should be an alias for MouseEvent.
</span><span class="cx"> PASS createEvent('MouseEvent') should be initialized correctly.
</span><span class="cx"> PASS mouseevent should be an alias for MouseEvent.
</span><span class="lines">@@ -53,12 +128,80 @@
</span><span class="cx"> PASS createEvent('mouseevents') should be initialized correctly.
</span><span class="cx"> PASS MOUSEEVENTS should be an alias for MouseEvent.
</span><span class="cx"> PASS createEvent('MOUSEEVENTS') should be initialized correctly.
</span><ins>+FAIL PageTransitionEvent should be an alias for PageTransitionEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('PageTransitionEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL pagetransitionevent should be an alias for PageTransitionEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('pagetransitionevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL PAGETRANSITIONEVENT should be an alias for PageTransitionEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('PAGETRANSITIONEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "PageTransitionEvents"
+FAIL PopStateEvent should be an alias for PopStateEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('PopStateEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL popstateevent should be an alias for PopStateEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('popstateevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL POPSTATEEVENT should be an alias for PopStateEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('POPSTATEEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "PopStateEvents"
+FAIL ProgressEvent should be an alias for ProgressEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('ProgressEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL progressevent should be an alias for ProgressEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('progressevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL PROGRESSEVENT should be an alias for ProgressEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('PROGRESSEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "ProgressEvents"
+PASS StorageEvent should be an alias for StorageEvent.
+PASS createEvent('StorageEvent') should be initialized correctly.
+PASS storageevent should be an alias for StorageEvent.
+PASS createEvent('storageevent') should be initialized correctly.
+PASS STORAGEEVENT should be an alias for StorageEvent.
+PASS createEvent('STORAGEEVENT') should be initialized correctly.
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "StorageEvents"
+FAIL SVGEvents should be an alias for Event. NotSupportedError: DOM Exception 9
+FAIL createEvent('SVGEvents') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL svgevents should be an alias for Event. NotSupportedError: DOM Exception 9
+FAIL createEvent('svgevents') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL SVGEVENTS should be an alias for Event. NotSupportedError: DOM Exception 9
+FAIL createEvent('SVGEVENTS') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL SVGZoomEvent should be an alias for SVGZoomEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('SVGZoomEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL svgzoomevent should be an alias for SVGZoomEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('svgzoomevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL SVGZOOMEVENT should be an alias for SVGZoomEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('SVGZOOMEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS SVGZoomEvents should be an alias for SVGZoomEvent.
+PASS createEvent('SVGZoomEvents') should be initialized correctly.
+PASS svgzoomevents should be an alias for SVGZoomEvent.
+PASS createEvent('svgzoomevents') should be initialized correctly.
+PASS SVGZOOMEVENTS should be an alias for SVGZoomEvent.
+PASS createEvent('SVGZOOMEVENTS') should be initialized correctly.
+FAIL TextEvent should be an alias for CompositionEvent. assert_true: expected true got false
+PASS createEvent('TextEvent') should be initialized correctly.
+FAIL textevent should be an alias for CompositionEvent. assert_true: expected true got false
+PASS createEvent('textevent') should be initialized correctly.
+FAIL TEXTEVENT should be an alias for CompositionEvent. assert_true: expected true got false
+PASS createEvent('TEXTEVENT') should be initialized correctly.
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "TextEvents"
</ins><span class="cx"> FAIL TouchEvent should be an alias for TouchEvent. NotSupportedError: DOM Exception 9
</span><span class="cx"> FAIL createEvent('TouchEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
</span><span class="cx"> FAIL touchevent should be an alias for TouchEvent. NotSupportedError: DOM Exception 9
</span><span class="cx"> FAIL createEvent('touchevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
</span><span class="cx"> FAIL TOUCHEVENT should be an alias for TouchEvent. NotSupportedError: DOM Exception 9
</span><span class="cx"> FAIL createEvent('TOUCHEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
</span><ins>+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "TouchEvents"
+FAIL TrackEvent should be an alias for TrackEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('TrackEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL trackevent should be an alias for TrackEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('trackevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL TRACKEVENT should be an alias for TrackEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('TRACKEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "TrackEvents"
+FAIL TransitionEvent should be an alias for TransitionEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('TransitionEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL transitionevent should be an alias for TransitionEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('transitionevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL TRANSITIONEVENT should be an alias for TransitionEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('TRANSITIONEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "TransitionEvents"
</ins><span class="cx"> PASS UIEvent should be an alias for UIEvent.
</span><span class="cx"> PASS createEvent('UIEvent') should be initialized correctly.
</span><span class="cx"> PASS uievent should be an alias for UIEvent.
</span><span class="lines">@@ -71,20 +214,136 @@
</span><span class="cx"> PASS createEvent('uievents') should be initialized correctly.
</span><span class="cx"> PASS UIEVENTS should be an alias for UIEvent.
</span><span class="cx"> PASS createEvent('UIEVENTS') should be initialized correctly.
</span><ins>+FAIL WebGLContextEvent should be an alias for WebGLContextEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('WebGLContextEvent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL webglcontextevent should be an alias for WebGLContextEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('webglcontextevent') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+FAIL WEBGLCONTEXTEVENT should be an alias for WebGLContextEvent. NotSupportedError: DOM Exception 9
+FAIL createEvent('WEBGLCONTEXTEVENT') should be initialized correctly. undefined is not an object (evaluating 'ev.type')
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "WebGLContextEvents"
+PASS WheelEvent should be an alias for WheelEvent.
+PASS createEvent('WheelEvent') should be initialized correctly.
+PASS wheelevent should be an alias for WheelEvent.
+PASS createEvent('wheelevent') should be initialized correctly.
+PASS WHEELEVENT should be an alias for WheelEvent.
+PASS createEvent('WHEELEVENT') should be initialized correctly.
+PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "WheelEvents"
</ins><span class="cx"> PASS Should throw NOT_SUPPORTED_ERR for unrecognized arguments
</span><del>-PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "AnimationEvent"
-PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "AnimationEvent"
-PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "DragEvent"
-PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "DragEvent"
-PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ErrorEvent"
-PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "ErrorEvent"
-PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "FocusEvent"
-PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "FocusEvent"
</del><ins>+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "AnimationPlayerEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "AnimationPlayerEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ApplicationCacheErrorEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "ApplicationCacheErrorEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "AudioProcessingEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "AudioProcessingEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "AutocompleteErrorEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "AutocompleteErrorEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "BeforeInstallPromptEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "BeforeInstallPromptEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "BlobEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "BlobEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ClipboardEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "ClipboardEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "CommandEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "CommandEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "DataContainerEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "DataContainerEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "DeviceLightEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "DeviceLightEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ExtendableEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "ExtendableEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ExtendableMessageEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "ExtendableMessageEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "FetchEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "FetchEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "FontFaceSetLoadEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "FontFaceSetLoadEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "GamepadEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "GamepadEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "GeofencingEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "GeofencingEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "InstallEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "InstallEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "KeyEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "KeyEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "MIDIConnectionEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MIDIConnectionEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "MIDIMessageEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MIDIMessageEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "MediaEncryptedEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MediaEncryptedEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "MediaKeyEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MediaKeyEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "MediaKeyMessageEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MediaKeyMessageEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "MediaQueryListEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MediaQueryListEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "MediaStreamEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MediaStreamEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "MediaStreamTrackEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MediaStreamTrackEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "MouseScrollEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MouseScrollEvents"
+FAIL Should throw NOT_SUPPORTED_ERR for non-legacy event interface "MutationEvent" assert_throws: function "function () {
+ var evt = document.createEvent(even..." did not throw
+FAIL Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MutationEvents" assert_throws: function "function () {
+ var evt = document.createEvent(even..." did not throw
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "NotificationEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "NotificationEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "NotifyPaintEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "NotifyPaintEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "OfflineAudioCompletionEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "OfflineAudioCompletionEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "OrientationEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "OrientationEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "PageTransition"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "PageTransitions"
</ins><span class="cx"> PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "PointerEvent"
</span><del>-PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "PointerEvent"
-PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "TransitionEvent"
-PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "TransitionEvent"
-FAIL Should throw NOT_SUPPORTED_ERR for non-legacy event interface "WheelEvent" assert_throws: function "function () {
- var evt = document.createEvent(eventI..." did not throw
-PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "WheelEvent"
</del><ins>+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "PointerEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "PopUpEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "PopUpEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "PresentationConnectionAvailableEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "PresentationConnectionAvailableEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "PresentationConnectionCloseEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "PresentationConnectionCloseEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "PromiseRejectionEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "PromiseRejectionEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "PushEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "PushEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "RTCDTMFToneChangeEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "RTCDTMFToneChangeEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "RTCDataChannelEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "RTCDataChannelEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "RTCIceCandidateEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "RTCIceCandidateEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "RelatedEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "RelatedEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ResourceProgressEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "ResourceProgressEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "SVGEvent"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ScrollAreaEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "ScrollAreaEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "SecurityPolicyViolationEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "SecurityPolicyViolationEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ServicePortConnectEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "ServicePortConnectEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ServiceWorkerMessageEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "ServiceWorkerMessageEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "SimpleGestureEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "SimpleGestureEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "SpeechRecognitionError"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "SpeechRecognitionErrors"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "SpeechRecognitionEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "SpeechRecognitionEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "SpeechSynthesisEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "SpeechSynthesisEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "SyncEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "SyncEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "TimeEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "TimeEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "WebKitAnimationEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "WebKitAnimationEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "WebKitTransitionEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "WebKitTransitionEvents"
+PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "XULCommandEvent"
+PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "XULCommandEvents"
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcreateEventhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -33,12 +33,24 @@
</span><span class="cx"> "isTrusted should be initialized to false");
</span><span class="cx"> }, "createEvent('" + arg + "') should be initialized correctly.");
</span><span class="cx"> }
</span><del>-aliases.forEach(function(alias) {
- testAlias(alias[0], alias[1]);
- testAlias(alias[0].toLowerCase(), alias[1]);
- testAlias(alias[0].toUpperCase(), alias[1]);
-});
</del><ins>+for (var alias in aliases) {
+ var iface = aliases[alias];
+ testAlias(alias, iface);
+ testAlias(alias.toLowerCase(), iface);
+ testAlias(alias.toUpperCase(), iface);
</ins><span class="cx">
</span><ins>+ if (alias[alias.length - 1] != "s") {
+ var plural = alias + "s";
+ if (!(plural in aliases)) {
+ test(function () {
+ assert_throws("NOT_SUPPORTED_ERR", function () {
+ var evt = document.createEvent(plural);
+ });
+ }, 'Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "' + plural + '"');
+ }
+ }
+}
+
</ins><span class="cx"> test(function() {
</span><span class="cx"> assert_throws("NOT_SUPPORTED_ERR", function() {
</span><span class="cx"> var evt = document.createEvent("foo");
</span><span class="lines">@@ -54,31 +66,88 @@
</span><span class="cx"> }, "Should throw NOT_SUPPORTED_ERR for unrecognized arguments");
</span><span class="cx">
</span><span class="cx"> /*
</span><del>-The following are event interfaces which do actually exist, but must still
-throw since they're absent from the table in the spec
-for document.createEvent().
-This list is not exhaustive.
-*/
</del><ins>+ * The following are event interfaces which do actually exist, but must still
+ * throw since they're absent from the table in the spec for
+ * document.createEvent(). This list is not exhaustive, but includes all
+ * interfaces that it is known some UA does or did not throw for.
+ */
</ins><span class="cx"> var someNonCreateableEvents = [
</span><del>- "AnimationEvent",
- "DragEvent",
- "ErrorEvent",
- "FocusEvent",
</del><ins>+ "AnimationPlayerEvent",
+ "ApplicationCacheErrorEvent",
+ "AudioProcessingEvent",
+ "AutocompleteErrorEvent",
+ "BeforeInstallPromptEvent",
+ "BlobEvent",
+ "ClipboardEvent",
+ "CommandEvent",
+ "DataContainerEvent",
+ "DeviceLightEvent",
+ "ExtendableEvent",
+ "ExtendableMessageEvent",
+ "FetchEvent",
+ "FontFaceSetLoadEvent",
+ "GamepadEvent",
+ "GeofencingEvent",
+ "InstallEvent",
+ "KeyEvent",
+ "MIDIConnectionEvent",
+ "MIDIMessageEvent",
+ "MediaEncryptedEvent",
+ "MediaKeyEvent",
+ "MediaKeyMessageEvent",
+ "MediaQueryListEvent",
+ "MediaStreamEvent",
+ "MediaStreamTrackEvent",
+ "MouseScrollEvent",
+ "MutationEvent",
+ "NotificationEvent",
+ "NotifyPaintEvent",
+ "OfflineAudioCompletionEvent",
+ "OrientationEvent",
+ "PageTransition", // Yes, with no "Event"
</ins><span class="cx"> "PointerEvent",
</span><del>- "TransitionEvent",
- "WheelEvent"
</del><ins>+ "PopUpEvent",
+ "PresentationConnectionAvailableEvent",
+ "PresentationConnectionCloseEvent",
+ "PromiseRejectionEvent",
+ "PushEvent",
+ "RTCDTMFToneChangeEvent",
+ "RTCDataChannelEvent",
+ "RTCIceCandidateEvent",
+ "RelatedEvent",
+ "ResourceProgressEvent",
+ "SVGEvent",
+ "ScrollAreaEvent",
+ "SecurityPolicyViolationEvent",
+ "ServicePortConnectEvent",
+ "ServiceWorkerMessageEvent",
+ "SimpleGestureEvent",
+ "SpeechRecognitionError",
+ "SpeechRecognitionEvent",
+ "SpeechSynthesisEvent",
+ "SyncEvent",
+ "TimeEvent",
+ "WebKitAnimationEvent",
+ "WebKitTransitionEvent",
+ "XULCommandEvent",
</ins><span class="cx"> ];
</span><span class="cx"> someNonCreateableEvents.forEach(function (eventInterface) {
</span><del>- test(function () {
- assert_throws("NOT_SUPPORTED_ERR", function () {
- var evt = document.createEvent(eventInterface);
- });
- }, 'Should throw NOT_SUPPORTED_ERR for non-legacy event interface "' + eventInterface + '"');
</del><ins>+ // SVGEvents is allowed, but not SVGEvent. Make sure we only test if it's
+ // not whitelisted.
+ if (!(eventInterface in aliases)) {
+ test(function () {
+ assert_throws("NOT_SUPPORTED_ERR", function () {
+ var evt = document.createEvent(eventInterface);
+ });
+ }, 'Should throw NOT_SUPPORTED_ERR for non-legacy event interface "' + eventInterface + '"');
+ }
</ins><span class="cx">
</span><del>- test(function () {
- assert_throws("NOT_SUPPORTED_ERR", function () {
- var evt = document.createEvent(eventInterface + "s");
- });
- }, 'Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "' + eventInterface + '"');
</del><ins>+ if (!(eventInterface + "s" in aliases)) {
+ test(function () {
+ assert_throws("NOT_SUPPORTED_ERR", function () {
+ var evt = document.createEvent(eventInterface + "s");
+ });
+ }, 'Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "' + eventInterface + 's"');
+ }
</ins><span class="cx"> });
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentcreateEventjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,14 +1,36 @@
</span><del>-var aliases = [
- ["CustomEvent", "CustomEvent"],
- ["Event", "Event"],
- ["Events", "Event"],
- ["HTMLEvents", "Event"],
- ["KeyboardEvent", "KeyboardEvent"],
- ["KeyEvents", "KeyboardEvent"],
- ["MessageEvent", "MessageEvent"],
- ["MouseEvent", "MouseEvent"],
- ["MouseEvents", "MouseEvent"],
- ["TouchEvent", "TouchEvent"],
- ["UIEvent", "UIEvent"],
- ["UIEvents", "UIEvent"]
-];
</del><ins>+var aliases = {
+ "AnimationEvent": "AnimationEvent",
+ "BeforeUnloadEvent": "BeforeUnloadEvent",
+ "CloseEvent": "CloseEvent",
+ "CompositionEvent": "CompositionEvent",
+ "CustomEvent": "CustomEvent",
+ "DeviceMotionEvent": "DeviceMotionEvent",
+ "DeviceOrientationEvent": "DeviceOrientationEvent",
+ "DragEvent": "DragEvent",
+ "ErrorEvent": "ErrorEvent",
+ "Event": "Event",
+ "Events": "Event",
+ "FocusEvent": "FocusEvent",
+ "HashChangeEvent": "HashChangeEvent",
+ "HTMLEvents": "Event",
+ "IDBVersionChangeEvent": "IDBVersionChangeEvent",
+ "KeyboardEvent": "KeyboardEvent",
+ "MessageEvent": "MessageEvent",
+ "MouseEvent": "MouseEvent",
+ "MouseEvents": "MouseEvent",
+ "PageTransitionEvent": "PageTransitionEvent",
+ "PopStateEvent": "PopStateEvent",
+ "ProgressEvent": "ProgressEvent",
+ "StorageEvent": "StorageEvent",
+ "SVGEvents": "Event",
+ "SVGZoomEvent": "SVGZoomEvent",
+ "SVGZoomEvents": "SVGZoomEvent",
+ "TextEvent": "CompositionEvent",
+ "TouchEvent": "TouchEvent",
+ "TrackEvent": "TrackEvent",
+ "TransitionEvent": "TransitionEvent",
+ "UIEvent": "UIEvent",
+ "UIEvents": "UIEvent",
+ "WebGLContextEvent": "WebGLContextEvent",
+ "WheelEvent": "WheelEvent",
+};
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentgetElementsByTagNameexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -12,8 +12,8 @@
</span><span class="cx"> PASS HTML element with uppercase tagName never matches in HTML Documents
</span><span class="cx"> PASS Element in non-HTML namespace, no prefix, lowercase name
</span><span class="cx"> PASS Element in non-HTML namespace, no prefix, uppercase name
</span><del>-PASS Element in non-HTML namespace, prefix, lowercase name
-PASS Element in non-HTML namespace, prefix, uppercase name
</del><ins>+FAIL Element in non-HTML namespace, prefix, lowercase name assert_array_equals: lengths differ, expected 0 got 1
+FAIL Element in non-HTML namespace, prefix, uppercase name assert_array_equals: lengths differ, expected 0 got 1
</ins><span class="cx"> PASS Element in HTML namespace, no prefix, non-ascii characters in name
</span><span class="cx"> PASS Element in non-HTML namespace, non-ascii characters in name
</span><span class="cx"> PASS Element in HTML namespace, prefix, non-ascii characters in name
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentgetElementsByTagNamexhtmlexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,8 +2,8 @@
</span><span class="cx"> PASS HTML element with uppercase tag name matches in XHTML documents
</span><span class="cx"> PASS Element in non-HTML namespace, no prefix, lowercase name
</span><span class="cx"> PASS Element in non-HTML namespace, no prefix, uppercase name
</span><del>-PASS Element in non-HTML namespace, prefix, lowercase name
-PASS Element in non-HTML namespace, prefix, uppercase name
</del><ins>+FAIL Element in non-HTML namespace, prefix, lowercase name assert_array_equals: lengths differ, expected 0 got 1
+FAIL Element in non-HTML namespace, prefix, uppercase name assert_array_equals: lengths differ, expected 0 got 1
</ins><span class="cx"> PASS Element in HTML namespace, no prefix, non-ascii characters in name
</span><span class="cx"> PASS Element in non-HTML namespace, non-ascii characters in name
</span><span class="cx"> PASS Element in HTML namespace, prefix, non-ascii characters in name
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesDocumentgetElementsByTagNamexhtmlxhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Document-getElementsByTagName-xhtml.xhtml        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -37,17 +37,19 @@
</span><span class="cx"> test(function() {
</span><span class="cx"> var t = document.body.appendChild(document.createElementNS("test", "te:st"))
</span><span class="cx"> this.add_cleanup(function() {document.body.removeChild(t)})
</span><del>- assert_array_equals(document.getElementsByTagName("st"), [t])
</del><ins>+ assert_array_equals(document.getElementsByTagName("st"), [])
</ins><span class="cx"> assert_array_equals(document.getElementsByTagName("ST"), [])
</span><ins>+ assert_array_equals(document.getElementsByTagName("te:st"), [t])
+ assert_array_equals(document.getElementsByTagName("te:ST"), [])
</ins><span class="cx"> }, "Element in non-HTML namespace, prefix, lowercase name")
</span><span class="cx">
</span><span class="cx"> test(function() {
</span><span class="cx"> var t = document.body.appendChild(document.createElementNS("test", "te:ST"))
</span><span class="cx"> this.add_cleanup(function() {document.body.removeChild(t)})
</span><del>- assert_array_equals(document.getElementsByTagName("ST"), [t])
</del><ins>+ assert_array_equals(document.getElementsByTagName("ST"), [])
</ins><span class="cx"> assert_array_equals(document.getElementsByTagName("st"), [])
</span><span class="cx"> assert_array_equals(document.getElementsByTagName("te:st"), [])
</span><del>- assert_array_equals(document.getElementsByTagName("te:ST"), [])
</del><ins>+ assert_array_equals(document.getElementsByTagName("te:ST"), [t])
</ins><span class="cx"> }, "Element in non-HTML namespace, prefix, uppercase name")
</span><span class="cx">
</span><span class="cx"> test(function() {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementgetElementsByTagNameexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -12,8 +12,8 @@
</span><span class="cx"> PASS HTML element with uppercase tagName never matches in HTML Documents
</span><span class="cx"> PASS Element in non-HTML namespace, no prefix, lowercase name
</span><span class="cx"> PASS Element in non-HTML namespace, no prefix, uppercase name
</span><del>-PASS Element in non-HTML namespace, prefix, lowercase name
-PASS Element in non-HTML namespace, prefix, uppercase name
</del><ins>+FAIL Element in non-HTML namespace, prefix, lowercase name assert_array_equals: lengths differ, expected 0 got 1
+FAIL Element in non-HTML namespace, prefix, uppercase name assert_array_equals: lengths differ, expected 0 got 1
</ins><span class="cx"> PASS Element in HTML namespace, no prefix, non-ascii characters in name
</span><span class="cx"> PASS Element in non-HTML namespace, non-ascii characters in name
</span><span class="cx"> PASS Element in HTML namespace, prefix, non-ascii characters in name
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementhasAttributesexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-hasAttributes-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-hasAttributes-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-hasAttributes-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+
+
+PASS element.hasAttributes() must return false when the element does not have attribute.
+PASS element.hasAttributes() must return true when the element has attribute.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementhasAttributeshtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-hasAttributes.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-hasAttributes.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-hasAttributes.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+<!doctype html>
+<meta charset="utf-8">
+<title></title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<body>
+
+<button></button>
+<div id="foo"></div>
+<p data-foo=""></p>
+
+<script>
+test(function() {
+ var buttonElement = document.getElementsByTagName('button')[0];
+ assert_equals(buttonElement.hasAttributes(), false, 'hasAttributes() on empty element must return false.');
+
+ var emptyDiv = document.createElement('div');
+ assert_equals(emptyDiv.hasAttributes(), false, 'hasAttributes() on dynamically created empty element must return false.');
+
+}, 'element.hasAttributes() must return false when the element does not have attribute.');
+
+test(function() {
+ var divWithId = document.getElementById('foo');
+ assert_equals(divWithId.hasAttributes(), true, 'hasAttributes() on element with id attribute must return true.');
+
+ var divWithClass = document.createElement('div');
+ divWithClass.setAttribute('class', 'foo');
+ assert_equals(divWithClass.hasAttributes(), true, 'hasAttributes() on dynamically created element with class attribute must return true.');
+
+ var pWithCustomAttr = document.getElementsByTagName('p')[0];
+ assert_equals(pWithCustomAttr.hasAttributes(), true, 'hasAttributes() on element with custom attribute must return true.');
+
+ var divWithCustomAttr = document.createElement('div');
+ divWithCustomAttr.setAttribute('data-custom', 'foo');
+ assert_equals(divWithCustomAttr.hasAttributes(), true, 'hasAttributes() on dynamically created element with custom attribute must return true.');
+
+}, 'element.hasAttributes() must return true when the element has attribute.');
+
+</script>
+</body>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementinsertAdjacentElementexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentElement-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentElement-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentElement-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+
+
+
+
+
+
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementinsertAdjacentElementhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentElement.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentElement.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentElement.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,91 @@
</span><ins>+<!doctype html>
+<meta charset=utf-8>
+<title></title>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+
+<div id="target"></div>
+<div id="parent"><span id=target2></span></div>
+<div id="log" style="visibility:visible"></div>
+<span id="test1"></span>
+<span id="test2"></span>
+<span id="test3"></span>
+<span id="test4"></span>
+<script>
+var target = document.getElementById("target");
+var target2 = document.getElementById("target2");
+
+test(function() {
+ assert_throws("SyntaxError", function() {
+ target.insertAdjacentElement("test", document.getElementById("test1"))
+ });
+
+ assert_throws("SyntaxError", function() {
+ target2.insertAdjacentElement("test", document.getElementById("test1"))
+ });
+}, "Inserting to an invalid location should cause a Syntax Error exception")
+
+test(function() {
+ var el = target.insertAdjacentElement("beforebegin", document.getElementById("test1"));
+ assert_equals(target.previousSibling.id, "test1");
+ assert_equals(el.id, "test1");
+
+ el = target2.insertAdjacentElement("beforebegin", document.getElementById("test1"));
+ assert_equals(target2.previousSibling.id, "test1");
+ assert_equals(el.id, "test1");
+}, "Inserted element should be target element's previous sibling for 'beforebegin' case")
+
+test(function() {
+ var el = target.insertAdjacentElement("afterbegin", document.getElementById("test2"));
+ assert_equals(target.firstChild.id, "test2");
+ assert_equals(el.id, "test2");
+
+ el = target2.insertAdjacentElement("afterbegin", document.getElementById("test2"));
+ assert_equals(target2.firstChild.id, "test2");
+ assert_equals(el.id, "test2");
+}, "Inserted element should be target element's first child for 'afterbegin' case")
+
+test(function() {
+ var el = target.insertAdjacentElement("beforeend", document.getElementById("test3"));
+ assert_equals(target.lastChild.id, "test3");
+ assert_equals(el.id, "test3");
+
+ el = target2.insertAdjacentElement("beforeend", document.getElementById("test3"));
+ assert_equals(target2.lastChild.id, "test3");
+ assert_equals(el.id, "test3");
+}, "Inserted element should be target element's last child for 'beforeend' case")
+
+test(function() {
+ var el = target.insertAdjacentElement("afterend", document.getElementById("test4"));
+ assert_equals(target.nextSibling.id, "test4");
+ assert_equals(el.id, "test4");
+
+ el = target2.insertAdjacentElement("afterend", document.getElementById("test4"));
+ assert_equals(target2.nextSibling.id, "test4");
+ assert_equals(el.id, "test4");
+}, "Inserted element should be target element's next sibling for 'afterend' case")
+
+test(function() {
+ var docElement = document.documentElement;
+ docElement.style.visibility="hidden";
+
+ assert_throws("HierarchyRequestError", function() {
+ var el = docElement.insertAdjacentElement("beforebegin", document.getElementById("test1"));
+ assert_equals(el, null);
+ });
+
+ var el = docElement.insertAdjacentElement("afterbegin", document.getElementById("test2"));
+ assert_equals(docElement.firstChild.id, "test2");
+ assert_equals(el.id, "test2");
+
+ el = docElement.insertAdjacentElement("beforeend", document.getElementById("test3"));
+ assert_equals(docElement.lastChild.id, "test3");
+ assert_equals(el.id, "test3");
+
+ assert_throws("HierarchyRequestError", function() {
+ var el = docElement.insertAdjacentElement("afterend", document.getElementById("test4"));
+ assert_equals(el, null);
+ });
+}, "Adding more than one child to document should cause a HierarchyRequestError exception")
+
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementinsertAdjacentTextexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentText-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentText-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentText-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+
+
+
+
+
+
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementinsertAdjacentTexthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentText.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentText.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentText.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,76 @@
</span><ins>+<!doctype html>
+<meta charset=utf-8>
+<title></title>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<body style="visibility:hidden">
+<div id="target"></div>
+<div id="parent"><span id=target2></span></div>
+<div id="log" style="visibility:visible"></div>
+</body>
+<script>
+var target = document.getElementById("target");
+var target2 = document.getElementById("target2");
+
+test(function() {
+ assert_throws("SyntaxError", function() {
+ target.insertAdjacentText("test", "text")
+ });
+
+ assert_throws("SyntaxError", function() {
+ target2.insertAdjacentText("test", "test")
+ });
+}, "Inserting to an invalid location should cause a Syntax Error exception")
+
+test(function() {
+ target.insertAdjacentText("beforebegin", "test1");
+ assert_equals(target.previousSibling.nodeValue, "test1");
+
+ target2.insertAdjacentText("beforebegin", "test1");
+ assert_equals(target2.previousSibling.nodeValue, "test1");
+}, "Inserted text node should be target element's previous sibling for 'beforebegin' case")
+
+test(function() {
+ target.insertAdjacentText("afterbegin", "test2");
+ assert_equals(target.firstChild.nodeValue, "test2");
+
+ target2.insertAdjacentText("afterbegin", "test2");
+ assert_equals(target2.firstChild.nodeValue, "test2");
+}, "Inserted text node should be target element's first child for 'afterbegin' case")
+
+test(function() {
+ target.insertAdjacentText("beforeend", "test3");
+ assert_equals(target.lastChild.nodeValue, "test3");
+
+ target2.insertAdjacentText("beforeend", "test3");
+ assert_equals(target2.lastChild.nodeValue, "test3");
+}, "Inserted text node should be target element's last child for 'beforeend' case")
+
+test(function() {
+ target.insertAdjacentText("afterend", "test4");
+ assert_equals(target.nextSibling.nodeValue, "test4");
+
+ target2.insertAdjacentText("afterend", "test4");
+ assert_equals(target.nextSibling.nodeValue, "test4");
+}, "Inserted text node should be target element's next sibling for 'afterend' case")
+
+test(function() {
+ var docElement = document.documentElement;
+ docElement.style.visibility="hidden";
+
+ assert_throws("HierarchyRequestError", function() {
+ docElement.insertAdjacentText("beforebegin", "text1")
+ });
+
+ docElement.insertAdjacentText("afterbegin", "test2");
+ assert_equals(docElement.firstChild.nodeValue, "test2");
+
+ docElement.insertAdjacentText("beforeend", "test3");
+ assert_equals(docElement.lastChild.nodeValue, "test3");
+
+ assert_throws("HierarchyRequestError", function() {
+ docElement.insertAdjacentText("afterend", "test4")
+ });
+}, "Adding more than one child to document should cause a HierarchyRequestError exception")
+
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodecontainsxmlexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,2 @@
</span><ins>+ Link text
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodecontainsxmlxml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml.xml (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml.xml         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml.xml        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,83 @@
</span><ins>+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Node.nodeName</title>
+<link rel="author" title="Olli Pettay" href="mailto:Olli@Pettay.fi"/>
+<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"/>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+<body>
+<div id="log"/>
+<div id="test">
+ <input type="button" id="testbutton"/>
+ <a id="link">Link text</a>
+</div>
+<script>
+<![CDATA[
+test(function() {
+ assert_throws(new TypeError(), function() {
+ document.contains();
+ });
+ assert_throws(new TypeError(), function() {
+ document.contains(9);
+ });
+}, "Should throw TypeError if the arguments are wrong.");
+
+test(function() {
+ assert_equals(document.contains(null), false, "Document shouldn't contain null.");
+}, "contains(null) should be false");
+
+test(function() {
+ assert_equals(document.contains(document), true, "Document should contain itself!");
+ assert_equals(document.contains(document.createElement("foo")), false, "Document shouldn't contain element which is't in the document");
+ assert_equals(document.contains(document.createTextNode("foo")), false, "Document shouldn't contain text node which is't in the document");
+}, "document.contains");
+
+test(function() {
+ var tb = document.getElementById("testbutton");
+ assert_equals(tb.contains(tb), true, "Element should contain itself.")
+ assert_equals(document.contains(tb), true, "Document should contain element in it!");
+ assert_equals(document.documentElement.contains(tb), true, "Element should contain element in it!");
+}, "contains with a button");
+
+test(function() {
+ var link = document.getElementById("link");
+ var text = link.firstChild;
+ assert_equals(document.contains(text), true, "Document should contain a text node in it.");
+ assert_equals(link.contains(text), true, "Element should contain a text node in it.");
+ assert_equals(text.contains(text), true, "Text node should contain itself.");
+ assert_equals(text.contains(link), false, "text node shouldn't contain its parent.");
+}, "contains with a text node");
+
+test(function() {
+ var pi = document.createProcessingInstruction("adf", "asd");
+ assert_equals(pi.contains(document), false, "Processing instruction shouldn't contain document");
+ assert_equals(document.contains(pi), false, "Document shouldn't contain newly created processing instruction");
+ document.documentElement.appendChild(pi);
+ document.contains(pi, true, "Document should contain processing instruction");
+}, "contains with a processing instruction");
+
+test(function() {
+ if ("createContextualFragment" in document.createRange()) {
+ var df = document.createRange().createContextualFragment("<div>foo</div>");
+ assert_equals(df.contains(df.firstChild), true, "Document fragment should contain its child");
+ assert_equals(df.contains(df.firstChild.firstChild), true,
+ "Document fragment should contain its descendant");
+ assert_equals(df.contains(df), true, "Document fragment should contain itself.");
+ }
+}, "contains with a document fragment");
+
+test(function() {
+ var d = document.implementation.createHTMLDocument("");
+ assert_equals(document.contains(d), false,
+ "Document shouldn't contain another document.");
+ assert_equals(document.contains(d.createElement("div")), false,
+ "Document shouldn't contain an element from another document.");
+ assert_equals(document.contains(d.documentElement), false,
+ "Document shouldn't contain an element from another document.");
+}, "contaibs with another document");
+]]>
+</script>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodeisSameNodeexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isSameNode-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isSameNode-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isSameNode-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+
+PASS doctypes should be comapred on reference
+PASS elements should be compared on reference
+PASS elements should be compared on reference
+PASS processing instructions should be compared on reference
+PASS text nodes should be compared on reference
+PASS comments should be compared on reference
+PASS document fragments should be compared on reference
+PASS documents should not be compared on reference
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodeisSameNodehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isSameNode.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isSameNode.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isSameNode.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,100 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Node.prototype.isSameNode</title>
+<link rel=help href="https://dom.spec.whatwg.org/#dom-node-issamenode">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+"use strict";
+
+test(function() {
+
+ var doctype1 = document.implementation.createDocumentType("qualifiedName", "publicId", "systemId");
+ var doctype2 = document.implementation.createDocumentType("qualifiedName", "publicId", "systemId");
+
+ assert_true(doctype1.isSameNode(doctype1), "self-comparison");
+ assert_false(doctype1.isSameNode(doctype2), "same properties");
+ assert_false(doctype1.isSameNode(null), "with null other node");
+}, "doctypes should be comapred on reference");
+
+test(function() {
+
+ var element1 = document.createElementNS("namespace", "prefix:localName");
+ var element2 = document.createElementNS("namespace", "prefix:localName");
+
+ assert_true(element1.isSameNode(element1), "self-comparison");
+ assert_false(element1.isSameNode(element2), "same properties");
+ assert_false(element1.isSameNode(null), "with null other node");
+
+}, "elements should be compared on reference");
+
+test(function() {
+
+ var element1 = document.createElement("element");
+ element1.setAttributeNS("namespace", "prefix:localName", "value");
+
+ var element2 = document.createElement("element");
+ element2.setAttributeNS("namespace", "prefix:localName", "value");
+
+ assert_true(element1.isSameNode(element1), "self-comparison");
+ assert_false(element1.isSameNode(element2), "same properties");
+ assert_false(element1.isSameNode(null), "with null other node");
+
+}, "elements should be compared on reference");
+
+test(function() {
+
+ var pi1 = document.createProcessingInstruction("target", "data");
+ var pi2 = document.createProcessingInstruction("target", "data");
+
+ assert_true(pi1.isSameNode(pi1), "self-comparison");
+ assert_false(pi1.isSameNode(pi2), "different target");
+ assert_false(pi1.isSameNode(null), "with null other node");
+
+}, "processing instructions should be compared on reference");
+
+test(function() {
+
+ var text1 = document.createTextNode("data");
+ var text2 = document.createTextNode("data");
+
+ assert_true(text1.isSameNode(text1), "self-comparison");
+ assert_false(text1.isSameNode(text2), "same properties");
+ assert_false(text1.isSameNode(null), "with null other node");
+
+}, "text nodes should be compared on reference");
+
+test(function() {
+
+ var comment1 = document.createComment("data");
+ var comment2 = document.createComment("data");
+
+ assert_true(comment1.isSameNode(comment1), "self-comparison");
+ assert_false(comment1.isSameNode(comment2), "same properties");
+ assert_false(comment1.isSameNode(null), "with null other node");
+
+}, "comments should be compared on reference");
+
+test(function() {
+
+ var documentFragment1 = document.createDocumentFragment();
+ var documentFragment2 = document.createDocumentFragment();
+
+ assert_true(documentFragment1.isSameNode(documentFragment1), "self-comparison");
+ assert_false(documentFragment1.isSameNode(documentFragment2), "same properties");
+ assert_false(documentFragment1.isSameNode(null), "with null other node");
+
+}, "document fragments should be compared on reference");
+
+test(function() {
+
+ var document1 = document.implementation.createDocument("", "");
+ var document2 = document.implementation.createDocument("", "");
+
+ assert_true(document1.isSameNode(document1), "self-comparison");
+ assert_false(document1.isSameNode(document2), "another empty XML document");
+ assert_false(document1.isSameNode(null), "with null other node");
+
+}, "documents should not be compared on reference");
+
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodeparentElementhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-parentElement.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-parentElement.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-parentElement.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,6 +1,5 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <title>Node.parentElement</title>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodereplaceChildexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-replaceChild-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-replaceChild-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-replaceChild-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,10 +1,10 @@
</span><span class="cx">
</span><span class="cx"> PASS Passing null to replaceChild should throw a TypeError.
</span><del>-FAIL If child's parent is not the context node, a NotFoundError exception should be thrown assert_throws: function "function () {
- a.replaceChild(a, c);
- }" threw object "Error: HierarchyRequestError: DOM Exception 3" that is not a DOMException NotFoundError: property "code" is equal to 3, expected 8
</del><ins>+PASS If child's parent is not the context node, a NotFoundError exception should be thrown
</ins><span class="cx"> PASS If the context node is not a node that can contain children, a NotFoundError exception should be thrown
</span><del>-PASS If node is an inclusive ancestor of the context node, a HierarchyRequestError should be thrown.
</del><ins>+FAIL If node is an inclusive ancestor of the context node, a HierarchyRequestError should be thrown. assert_throws: function "function () {
+ a.replaceChild(a, a);
+ }" did not throw
</ins><span class="cx"> PASS If the context node is a document, inserting a document or text node should throw a HierarchyRequestError.
</span><span class="cx"> PASS If the context node is a document, inserting a DocumentFragment that contains a text node or too many elements should throw a HierarchyRequestError.
</span><span class="cx"> PASS If the context node is a document (without element children), inserting a DocumentFragment that contains multiple elements should throw a HierarchyRequestError.
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesNodereplaceChildhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-replaceChild.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-replaceChild.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-replaceChild.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -37,14 +37,8 @@
</span><span class="cx"> a.replaceChild(b, c);
</span><span class="cx"> });
</span><span class="cx"> assert_throws("NotFoundError", function() {
</span><del>- a.replaceChild(a, c);
- });
- assert_throws("NotFoundError", function() {
</del><span class="cx"> a.replaceChild(b, a);
</span><span class="cx"> });
</span><del>- assert_throws("NotFoundError", function() {
- a.replaceChild(a, a);
- });
</del><span class="cx"> }, "If child's parent is not the context node, a NotFoundError exception should be thrown")
</span><span class="cx"> test(function() {
</span><span class="cx"> var nodes = [
</span><span class="lines">@@ -67,6 +61,11 @@
</span><span class="cx"> test(function() {
</span><span class="cx"> var a = document.createElement("div");
</span><span class="cx"> var b = document.createElement("div");
</span><ins>+
+ assert_throws("HierarchyRequestError", function() {
+ a.replaceChild(a, a);
+ });
+
</ins><span class="cx"> a.appendChild(b);
</span><span class="cx"> assert_throws("HierarchyRequestError", function() {
</span><span class="cx"> a.replaceChild(a, b);
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,6 +1,7 @@
</span><span class="cx">
</span><span class="cx"> FAIL AttrExodus assert_false: should not be a Node expected false got true
</span><span class="cx"> PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown. (setAttribute)
</span><ins>+PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown, even if the attribute is already present. (setAttribute)
</ins><span class="cx"> PASS setAttribute should lowercase its name argument (upper case attribute)
</span><span class="cx"> PASS setAttribute should lowercase its name argument (mixed case attribute)
</span><span class="cx"> PASS setAttribute should not throw even when qualifiedName starts with 'xmlns'
</span><span class="lines">@@ -9,6 +10,7 @@
</span><span class="cx"> PASS setAttribute should set the first attribute with the given name
</span><span class="cx"> PASS setAttribute should set the attribute with the given qualified name
</span><span class="cx"> PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown. (setAttributeNS)
</span><ins>+PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown, even if the attribute is already present. (setAttributeNS)
</ins><span class="cx"> PASS When qualifiedName does not match the QName production, an NAMESPACE_ERR exception is to be thrown.
</span><span class="cx"> PASS null and the empty string should result in a null namespace.
</span><span class="cx"> PASS A namespace is required to use a prefix.
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesattributeshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -11,6 +11,11 @@
</span><span class="cx"> <div id="log"></div>
</span><span class="cx"> <span id="test1"></span>
</span><span class="cx"> <span class="&amp;&lt;&gt;foo"></span>
</span><ins>+<span id="test2">
+ <span ~=""></span>
+ <span ~></span>
+ <span></span>
+</span>
</ins><span class="cx"> <script>
</span><span class="cx"> var XML = "http://www.w3.org/XML/1998/namespace"
</span><span class="cx"> var XMLNS = "http://www.w3.org/2000/xmlns/"
</span><span class="lines">@@ -41,6 +46,16 @@
</span><span class="cx"> }
</span><span class="cx"> }, "When qualifiedName does not match the Name production, an " +
</span><span class="cx"> "INVALID_CHARACTER_ERR exception is to be thrown. (setAttribute)")
</span><ins>+test(function() {
+ var el = document.getElementById("test2")
+ for (var i = 0; i < el.children.length; i++) {
+ assert_throws("INVALID_CHARACTER_ERR", function() {
+ el.children[i].setAttribute("~", "test")
+ })
+ }
+}, "When qualifiedName does not match the Name production, an " +
+ "INVALID_CHARACTER_ERR exception is to be thrown, even if the attribute " +
+ "is already present. (setAttribute)")
</ins><span class="cx">
</span><span class="cx"> // Step 2
</span><span class="cx"> test(function() {
</span><span class="lines">@@ -117,6 +132,17 @@
</span><span class="cx"> }, "When qualifiedName does not match the Name production, an " +
</span><span class="cx"> "INVALID_CHARACTER_ERR exception is to be thrown. (setAttributeNS)")
</span><span class="cx">
</span><ins>+test(function() {
+ var el = document.getElementById("test2")
+ for (var i = 0; i < el.children.length; i++) {
+ assert_throws("INVALID_CHARACTER_ERR", function() {
+ el.children[i].setAttributeNS(null, "~", "test")
+ })
+ }
+}, "When qualifiedName does not match the Name production, an " +
+ "INVALID_CHARACTER_ERR exception is to be thrown, even if the attribute " +
+ "is already present. (setAttributeNS)")
+
</ins><span class="cx"> // Step 2
</span><span class="cx"> test(function() {
</span><span class="cx"> var el = document.createElement("foo")
</span><span class="lines">@@ -585,7 +611,7 @@
</span><span class="cx">
</span><span class="cx"> function getEnumerableOwnProps2(obj) {
</span><span class="cx"> return Object.getOwnPropertyNames(obj).filter(
</span><del>- (name) => Object.getOwnPropertyDescriptor(obj, name).enumerable)
</del><ins>+ function (name) { return Object.getOwnPropertyDescriptor(obj, name).enumerable; })
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> test(function() {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesattributesjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/attributes.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -6,6 +6,7 @@
</span><span class="cx"> assert_equals(attr.namespaceURI, ns)
</span><span class="cx"> assert_equals(attr.prefix, p)
</span><span class="cx"> assert_equals(attr.name, n)
</span><ins>+ assert_equals(attr.nodeName, n);
</ins><span class="cx"> assert_equals(attr.specified, true)
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodescaseexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/case-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/case-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/case-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,27 +2,27 @@
</span><span class="cx"> PASS createElement abc
</span><span class="cx"> PASS setAttribute abc
</span><span class="cx"> PASS getAttribute abc
</span><del>-PASS getElementsByTagName a:abc
</del><ins>+FAIL getElementsByTagName a:abc assert_array_equals: lengths differ, expected 0 got 3
</ins><span class="cx"> PASS getElementsByTagName abc
</span><span class="cx"> PASS createElement Abc
</span><span class="cx"> PASS setAttribute Abc
</span><span class="cx"> PASS getAttribute Abc
</span><del>-PASS getElementsByTagName a:Abc
</del><ins>+FAIL getElementsByTagName a:Abc assert_array_equals: lengths differ, expected 0 got 3
</ins><span class="cx"> PASS getElementsByTagName Abc
</span><span class="cx"> PASS createElement ABC
</span><span class="cx"> PASS setAttribute ABC
</span><span class="cx"> PASS getAttribute ABC
</span><del>-PASS getElementsByTagName a:ABC
</del><ins>+FAIL getElementsByTagName a:ABC assert_array_equals: lengths differ, expected 0 got 3
</ins><span class="cx"> PASS getElementsByTagName ABC
</span><span class="cx"> PASS createElement ä
</span><span class="cx"> PASS setAttribute ä
</span><span class="cx"> PASS getAttribute ä
</span><del>-PASS getElementsByTagName a:ä
</del><ins>+FAIL getElementsByTagName a:ä assert_array_equals: lengths differ, expected 0 got 3
</ins><span class="cx"> PASS getElementsByTagName ä
</span><span class="cx"> PASS createElement Ä
</span><span class="cx"> PASS setAttribute Ä
</span><span class="cx"> PASS getAttribute Ä
</span><del>-PASS getElementsByTagName a:Ä
</del><ins>+FAIL getElementsByTagName a:Ä assert_array_equals: lengths differ, expected 0 got 3
</ins><span class="cx"> PASS getElementsByTagName Ä
</span><span class="cx"> PASS createElementNS http://www.w3.org/1999/xhtml,abc,abc
</span><span class="cx"> PASS setAttributeNS http://www.w3.org/1999/xhtml,abc,abc
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodescasejs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/case.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/case.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/case.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -73,6 +73,13 @@
</span><span class="cx"> });
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+function get_qualified_name(el) {
+ if (el.prefix) {
+ return el.prefix + ":" + el.localName;
+ }
+ return el.localName;
+}
+
</ins><span class="cx"> function test_create_element(name) {
</span><span class="cx"> var node = document.createElement(name);
</span><span class="cx"> assert_equals(node.localName, expected_case(name));
</span><span class="lines">@@ -133,9 +140,9 @@
</span><span class="cx"> var expected = Array.prototype.filter.call(container.childNodes,
</span><span class="cx"> function(node) {
</span><span class="cx"> if (is_html && node.namespaceURI === "http://www.w3.org/1999/xhtml") {
</span><del>- return node.localName === expected_case(search_string);
</del><ins>+ return get_qualified_name(node) === expected_case(search_string);
</ins><span class="cx"> } else {
</span><del>- return node.localName === search_string;
</del><ins>+ return get_qualified_name(node) === search_string;
</ins><span class="cx"> }
</span><span class="cx"> });
</span><span class="cx"> document.documentElement.appendChild(container);
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesinsertadjacentexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/insert-adjacent-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/insert-adjacent-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/insert-adjacent-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+raclettegateau aux pommes
+
+PASS insertAdjacentElement(beforebegin, [object HTMLHeadingElement] )
+PASS insertAdjacentText(beforebegin, raclette )
+PASS insertAdjacentElement(afterbegin, [object HTMLHeadingElement] )
+PASS insertAdjacentText(afterbegin, tartiflette )
+PASS insertAdjacentElement(beforeend, [object HTMLHeadingElement] )
+PASS insertAdjacentText(beforeend, lasagne )
+PASS insertAdjacentElement(afterend, [object HTMLHeadingElement] )
+PASS insertAdjacentText(afterend, gateau aux pommes )
+PASS invalid object argument insertAdjacentElement
+PASS invalid caller object insertAdjacentElement
+PASS invalid caller object insertAdjacentText
+FAIL invalid syntax for insertAdjacentElement assert_throws: function "function () {
+ el.insertAdjacentElement('heeeee', div)..." threw object "Error: NotSupportedError: DOM Exception 9" that is not a DOMException SYNTAX_ERR: property "code" is equal to 9, expected 12
+FAIL invalid syntax for insertAdjacentText assert_throws: function "function () {
+ el.insertAdjacentText('hoooo', 'magret ..." threw object "Error: NotSupportedError: DOM Exception 9" that is not a DOMException SYNTAX_ERR: property "code" is equal to 9, expected 12
+PASS insertAdjacentText should return null
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesinsertadjacenthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/insert-adjacent.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/insert-adjacent.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/insert-adjacent.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,79 @@
</span><ins>+<!doctype html>
+<meta charset="utf-8">
+<title></title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<style>
+#element {
+ display: none;
+}
+</style>
+
+<div id="element"></div>
+<div id="log"></div>
+
+<script>
+var possiblePositions = {
+ 'beforebegin': 'previousSibling'
+ , 'afterbegin': 'firstChild'
+ , 'beforeend': 'lastChild'
+ , 'afterend': 'nextSibling'
+}
+var texts = {
+ 'beforebegin': 'raclette'
+ , 'afterbegin': 'tartiflette'
+ , 'beforeend': 'lasagne'
+ , 'afterend': 'gateau aux pommes'
+}
+
+var el = document.querySelector('#element');
+
+Object.keys(possiblePositions).forEach(function(position) {
+ var div = document.createElement('h3');
+ test(function() {
+ div.id = texts[position];
+ el.insertAdjacentElement(position, div);
+ assert_equals(el[possiblePositions[position]].id, texts[position]);
+ }, 'insertAdjacentElement(' + position + ', ' + div + ' )');
+
+ test(function() {
+ el.insertAdjacentText(position, texts[position]);
+ assert_equals(el[possiblePositions[position]].textContent, texts[position]);
+ }, 'insertAdjacentText(' + position + ', ' + texts[position] + ' )');
+});
+
+test(function() {
+ assert_throws(new TypeError(), function() {
+ el.insertAdjacentElement('afterbegin',
+ document.implementation.createDocumentType("html"))
+ })
+}, 'invalid object argument insertAdjacentElement')
+test(function() {
+ var el = document.implementation.createHTMLDocument().documentElement;
+ assert_throws("HIERARCHY_REQUEST_ERR", function() {
+ el.insertAdjacentElement('beforebegin', document.createElement('banane'))
+ })
+}, 'invalid caller object insertAdjacentElement')
+test(function() {
+ var el = document.implementation.createHTMLDocument().documentElement;
+ assert_throws("HIERARCHY_REQUEST_ERR", function() {
+ el.insertAdjacentText('beforebegin', 'tomate farcie')
+ })
+}, 'invalid caller object insertAdjacentText')
+test(function() {
+ var div = document.createElement('h3');
+ assert_throws("SYNTAX_ERR", function() {
+ el.insertAdjacentElement('heeeee', div)
+ })
+}, "invalid syntax for insertAdjacentElement")
+test(function() {
+ assert_throws("SYNTAX_ERR", function() {
+ el.insertAdjacentText('hoooo', 'magret de canard')
+ })
+}, "invalid syntax for insertAdjacentText")
+test(function() {
+ var div = document.createElement('div');
+ assert_equals(div.insertAdjacentElement("beforebegin", el), null);
+}, 'insertAdjacentText should return null');
+
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesremoveunscopableexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/remove-unscopable-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/remove-unscopable-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/remove-unscopable-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL remove() should be unscopable undefined is not an object (evaluating 'Element.prototype[Symbol.unscopables].remove')
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesremoveunscopablehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/remove-unscopable.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/remove-unscopable.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/remove-unscopable.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+<!doctype html>
+<meta charset=utf-8>
+<title></title>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<div id="testDiv" onclick="result1 = remove; result2 = this.remove;"></div>
+<script>
+var remove = "Hello there";
+var result1;
+var result2;
+test(function() {
+ assert_true(Element.prototype[Symbol.unscopables].remove);
+ var div = document.querySelector("#testDiv");
+ div.dispatchEvent(new Event("click"));
+ assert_equals(typeof result1, "string");
+ assert_equals(typeof result2, "function");
+}, "remove() should be unscopable")
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesrootNodeexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/rootNode-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/rootNode-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/rootNode-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+
+FAIL rootNode attribute must return the context object when it does not have any parent assert_equals: rootNode on an element without a parent must return the element itself expected (object) Element node <div></div> but got (undefined) undefined
+FAIL rootNode attribute must return the parent node of the context object when the context object has a single ancestor not in a document assert_equals: rootNode on an element with a single ancestor must return the parent node expected (object) Element node <div><div></div></div> but got (undefined) undefined
+FAIL rootNode attribute must return the document when a node is in document assert_equals: rootNode on an element inside a document must return the document expected (object) Document node with 2 children but got (undefined) undefined
+FAIL rootNode attribute must return a document fragment when a node is in the fragment assert_equals: rootNode on an element inside a document fragment must return the fragment expected (object) DocumentFragment node with 1 child but got (undefined) undefined
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesrootNodehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/rootNode.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/rootNode.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/rootNode.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,82 @@
</span><ins>+<!DOCTYPE html>
+<html>
+<head>
+<meta charset=utf-8>
+<title>Node.prototype.rootNode</title>
+<link rel="help" href="https://dom.spec.whatwg.org/#dom-node-rootnode">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+</head>
+<body>
+<script>
+
+test(function () {
+ var element = document.createElement('div');
+ assert_equals(element.rootNode, element, 'rootNode on an element without a parent must return the element itself');
+
+ var text = document.createTextNode('');
+ assert_equals(text.rootNode, text, 'rootNode on a text node without a parent must return the text node itself');
+
+ var processingInstruction = document.createProcessingInstruction('target', 'data');
+ assert_equals(processingInstruction.rootNode, processingInstruction, 'rootNode on a processing instruction node without a parent must return the processing instruction node itself');
+
+ assert_equals(document.rootNode, document, 'rootNode on a document node must return the document itself');
+
+}, 'rootNode attribute must return the context object when it does not have any parent');
+
+test(function () {
+ var parent = document.createElement('div');
+
+ var element = document.createElement('div');
+ parent.appendChild(element);
+ assert_equals(element.rootNode, parent, 'rootNode on an element with a single ancestor must return the parent node');
+
+ var text = document.createTextNode('');
+ parent.appendChild(text);
+ assert_equals(text.rootNode, parent, 'rootNode on a text node with a single ancestor must return the parent node');
+
+ var processingInstruction = document.createProcessingInstruction('target', 'data');
+ parent.appendChild(processingInstruction)
+ assert_equals(processingInstruction.rootNode, parent, 'rootNode on a processing instruction node with a single ancestor must return the parent node');
+
+}, 'rootNode attribute must return the parent node of the context object when the context object has a single ancestor not in a document');
+
+test(function () {
+ var parent = document.createElement('div');
+ document.body.appendChild(parent);
+
+ var element = document.createElement('div');
+ parent.appendChild(element);
+ assert_equals(element.rootNode, document, 'rootNode on an element inside a document must return the document');
+
+ var text = document.createTextNode('');
+ parent.appendChild(text);
+ assert_equals(text.rootNode, document, 'rootNode on a text node inside a document must return the document');
+
+ var processingInstruction = document.createProcessingInstruction('target', 'data');
+ parent.appendChild(processingInstruction)
+ assert_equals(processingInstruction.rootNode, document, 'rootNode on a processing instruction node inside a document must return the document');
+}, 'rootNode attribute must return the document when a node is in document');
+
+test(function () {
+ var fragment = document.createDocumentFragment();
+ var parent = document.createElement('div');
+ fragment.appendChild(parent);
+
+ var element = document.createElement('div');
+ parent.appendChild(element);
+ assert_equals(element.rootNode, fragment, 'rootNode on an element inside a document fragment must return the fragment');
+
+ var text = document.createTextNode('');
+ parent.appendChild(text);
+ assert_equals(text.rootNode, fragment, 'rootNode on a text node inside a document fragment must return the fragment');
+
+ var processingInstruction = document.createProcessingInstruction('target', 'data');
+ parent.appendChild(processingInstruction)
+ assert_equals(processingInstruction.rootNode, fragment,
+ 'rootNode on a processing instruction node inside a document fragment must return the fragment');
+}, 'rootNode attribute must return a document fragment when a node is in the fragment');
+
+</script>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -15,6 +15,7 @@
</span><span class="cx"> None
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-appendChild.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-appendData.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-data.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/CharacterData-deleteData.html
</span><span class="lines">@@ -87,6 +88,9 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagName.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-getElementsByTagNameNS.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-hasAttributes.html
+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentElement.html
+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-insertAdjacentText.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-lastElementChild-xhtml.xhtml
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-lastElementChild.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches.html
</span><span class="lines">@@ -113,13 +117,14 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-cloneNode.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-compareDocumentPosition.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-constants.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains-xml.xml
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains.html
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-contains.xml
</del><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-insertBefore.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-iframe1.xml
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-iframe2.xml
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode-xhtml.xhtml
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode.html
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isEqualNode.xhtml
</del><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-isSameNode.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-lookupNamespaceURI.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-lookupPrefix.xhtml
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Node-nodeName-xhtml.xhtml
</span><span class="lines">@@ -183,7 +188,10 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-30.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassName-31.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/getElementsByClassNameFrame.htm
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/insert-adjacent.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/mutationobservers.js
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/prepend-on-Document.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/productions.js
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/remove-unscopable.html
+/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/rootNode.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/nodes/selectors.js
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomrangesRangestringifierexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-stringifier-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-stringifier-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-stringifier-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+Test div
+Another div
+Last div
+
+PASS Range stringifier
+PASS Node contents of a single div
+PASS Text node with offsets
+PASS Two nodes, each with a text node
+PASS Three nodes with start offset and end offset on text nodes
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomrangesRangestringifierhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-stringifier.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-stringifier.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-stringifier.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,44 @@
</span><ins>+<!doctype html>
+<meta charset="utf-8">
+<title>Range stringifier</title>
+<link rel="author" title="KiChjang" href="mailto:kungfukeith11@gmail.com">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<div id=test>Test div</div>
+<div id=another>Another div</div>
+<div id=last>Last div</div>
+<div id=log></div>
+<script>
+test(function() {
+ var r = new Range();
+ var testDiv = document.getElementById("test");
+ test(function() {
+ r.selectNodeContents(testDiv);
+ assert_equals(r.collapsed, false);
+ assert_equals(r.toString(), testDiv.textContent);
+ }, "Node contents of a single div");
+
+ var textNode = testDiv.childNodes[0];
+ test(function() {
+ r.setStart(textNode, 5);
+ r.setEnd(textNode, 7);
+ assert_equals(r.collapsed, false);
+ assert_equals(r.toString(), "di");
+ }, "Text node with offsets");
+
+ var anotherDiv = document.getElementById("another");
+ test(function() {
+ r.setStart(testDiv, 0);
+ r.setEnd(anotherDiv, 0);
+ assert_equals(r.toString(), "Test div\n");
+ }, "Two nodes, each with a text node");
+
+ var lastDiv = document.getElementById("last");
+ var lastText = lastDiv.childNodes[0];
+ test(function() {
+ r.setStart(textNode, 5);
+ r.setEnd(lastText, 4);
+ assert_equals(r.toString(), "div\nAnother div\nLast");
+ }, "Three nodes with start offset and end offset on text nodes");
+});
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomrangesw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -35,5 +35,6 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-mutations.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-selectNode.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-set.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-stringifier.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-surroundContents.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/dom/ranges/Range-test-iframe.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkeracceptNodefilterhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-acceptNode-filter.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script src="traversal-support.js"></script>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <div id=log></div>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerbasichtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-basic.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-basic.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-basic.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script src="traversal-support.js"></script>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <div id=log></div>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkercurrentNodehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-currentNode.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-currentNode.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-currentNode.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script src="traversal-support.js"></script>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <div id=log></div>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerpreviousNodeLastChildRejecthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousNodeLastChildReject.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script src="traversal-support.js"></script>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <div id=log></div>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerpreviousSiblingLastChildSkiphtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script src="traversal-support.js"></script>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <div id=log></div>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkertraversalrejecthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-reject.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script src="traversal-support.js"></script>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <div id=log></div>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkertraversalskipmosthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip-most.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script src="traversal-support.js"></script>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <div id=log></div>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkertraversalskiphtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-traversal-skip.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script src="traversal-support.js"></script>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <div id=log></div>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomtraversalTreeWalkerwalkingoutsideatreehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-walking-outside-a-tree.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-walking-outside-a-tree.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/traversal/TreeWalker-walking-outside-a-tree.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script src="traversal-support.js"></script>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <div id=log></div>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicorscorspreflightjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -58,25 +58,25 @@
</span><span class="cx">
</span><span class="cx"> var corsUrl = "http://www1.{{host}}:{{ports[http][0]}}" + dirname(location.pathname) + RESOURCES_DIR + "preflight.py";
</span><span class="cx">
</span><del>-//corsPreflight("CORS [DELETE], server allows", corsUrl, "DELETE", true);
-//corsPreflight("CORS [DELETE], server refuses", corsUrl, "DELETE", false);
-//corsPreflight("CORS [PUT], server allows", corsUrl, "PUT", true);
-//corsPreflight("CORS [PUT], server refuses", corsUrl, "PUT", false);
-//corsPreflight("CORS [PATCH], server allows", corsUrl, "PATCH", true);
-//corsPreflight("CORS [PATCH], server refuses", corsUrl, "PATCH", false);
-//corsPreflight("CORS [NEW], server allows", corsUrl, "NEW", true);
-//corsPreflight("CORS [NEW], server refuses", corsUrl, "NEW", false);
-//
-//corsPreflight("CORS [GET] [x-test-header: allowed], server allows", corsUrl, "GET", true, {"x-test-header1": "allowed"});
-//corsPreflight("CORS [GET] [x-test-header: refused], server refuses", corsUrl, "GET", false, {"x-test-header1": "refused"});
-//
</del><ins>+corsPreflight("CORS [DELETE], server allows", corsUrl, "DELETE", true);
+corsPreflight("CORS [DELETE], server refuses", corsUrl, "DELETE", false);
+corsPreflight("CORS [PUT], server allows", corsUrl, "PUT", true);
+corsPreflight("CORS [PUT], server refuses", corsUrl, "PUT", false);
+corsPreflight("CORS [PATCH], server allows", corsUrl, "PATCH", true);
+corsPreflight("CORS [PATCH], server refuses", corsUrl, "PATCH", false);
+corsPreflight("CORS [NEW], server allows", corsUrl, "NEW", true);
+corsPreflight("CORS [NEW], server refuses", corsUrl, "NEW", false);
+
+corsPreflight("CORS [GET] [x-test-header: allowed], server allows", corsUrl, "GET", true, {"x-test-header1": "allowed"});
+corsPreflight("CORS [GET] [x-test-header: refused], server refuses", corsUrl, "GET", false, {"x-test-header1": "refused"});
+
</ins><span class="cx"> var headers = {"x-test-header1": "allowedOrRefused",
</span><span class="cx"> "x-test-header2": "allowedOrRefused",
</span><span class="cx"> "x-test-header3": "allowedOrRefused",
</span><span class="cx"> };
</span><del>-//corsPreflight("CORS [GET] [several headers], server allows", corsUrl, "GET", true, headers);
-//corsPreflight("CORS [GET] [several headers], server refuses", corsUrl, "GET", false, headers);
-//corsPreflight("CORS [PUT] [several headers], server allows", corsUrl, "PUT", true, headers);
</del><ins>+corsPreflight("CORS [GET] [several headers], server allows", corsUrl, "GET", true, headers);
+corsPreflight("CORS [GET] [several headers], server refuses", corsUrl, "GET", false, headers);
+corsPreflight("CORS [PUT] [several headers], server allows", corsUrl, "PUT", true, headers);
</ins><span class="cx"> corsPreflight("CORS [PUT] [several headers], server refuses", corsUrl, "PUT", false, headers);
</span><span class="cx">
</span><span class="cx"> done();
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapicredentialscookiesjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/cookies.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/cookies.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/credentials/cookies.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> return fetch(url + urlCleanParameters, {"credentials": "include"});
</span><span class="cx"> }).catch(function(e) {
</span><span class="cx"> return fetch(url + urlCleanParameters, {"credentials": "include"}).then(function() {
</span><del>- return Promise.reject(e);
</del><ins>+ return Promise.reject(e);
</ins><span class="cx"> });
</span><span class="cx"> });
</span><span class="cx"> }, desc);
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'referrer'.
</span><span class="cx">
</span><span class="cx">
</span><del>-FAIL Request's referrer is origin assert_equals: request's referrer is http://localhost:8800 expected "http://localhost:8800" but got "http://localhost:8800/fetch/api/policies/referrer-origin.html"
</del><ins>+FAIL Request's referrer is origin assert_equals: request's referrer is http://localhost:8800/ expected "http://localhost:8800/" but got "http://localhost:8800/fetch/api/policies/referrer-origin.html"
</ins><span class="cx"> PASS Throw a TypeError referrer is not same-origin with origin
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapipoliciesreferreroriginjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,14 +3,14 @@
</span><span class="cx"> importScripts("../resources/utils.js");
</span><span class="cx"> }
</span><span class="cx">
</span><del>-var origin = "http://{{host}}:{{ports[http][0]}}";
</del><ins>+var referrerOrigin = "http://{{host}}:{{ports[http][0]}}/";
</ins><span class="cx"> var fetchedUrl = RESOURCES_DIR + "inspect-headers.py?headers=referer";
</span><span class="cx">
</span><span class="cx"> promise_test(function(test) {
</span><span class="cx"> return fetch(fetchedUrl).then(function(resp) {
</span><span class="cx"> assert_equals(resp.status, 200, "HTTP status is 200");
</span><span class="cx"> assert_equals(resp.type , "basic", "Response's type is basic");
</span><del>- assert_equals(resp.headers.get("x-request-referer"), origin, "request's referrer is " + origin);
</del><ins>+ assert_equals(resp.headers.get("x-request-referer"), referrerOrigin, "request's referrer is " + referrerOrigin);
</ins><span class="cx"> });
</span><span class="cx"> }, "Request's referrer is origin");
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestrequestconsumehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-consume.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-consume.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-consume.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -11,7 +11,6 @@
</span><span class="cx"> <script src="../resources/utils.js"></script>
</span><span class="cx"> </head>
</span><span class="cx"> <body>
</span><del>- <script src="../resources/utils.js"></script>
</del><span class="cx"> <script>
</span><span class="cx"> function checkBodyText(request, expectedBody) {
</span><span class="cx"> return request.text().then( function(bodyAsText) {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestresourcesw3cimportlog"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/resources/w3c-import.log (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/resources/w3c-import.log         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/resources/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the W3C CSS or WPT github:
+        https://github.com/w3c/csswg-test
+        https://github.com/w3c/web-platform-tests
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/resources/cache.py
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapirequestw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -15,10 +15,13 @@
</span><span class="cx"> None
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-cache.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-clone.sub.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-consume-empty.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-consume.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-disturbed.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-error.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-headers.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-idl.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-001.sub.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-init-002.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapiresourcesutilsjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/resources/utils.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/resources/utils.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/resources/utils.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -61,24 +61,14 @@
</span><span class="cx"> if (!data.done) {
</span><span class="cx"> var newBuffer;
</span><span class="cx"> if (retrievedArrayBuffer) {
</span><del>- newBuffer = new ArrayBuffer(data.value.byteLength + retrievedArrayBuffer.byteLength);
</del><ins>+ newBuffer = new ArrayBuffer(data.value.length + retrievedArrayBuffer.length);
</ins><span class="cx"> newBuffer.set(retrievedArrayBuffer, 0);
</span><del>- newBuffer.set(data.value, retrievedArrayBuffer.byteLength);
</del><ins>+ newBuffer.set(data.value, retrievedArrayBuffer.length);
</ins><span class="cx"> } else {
</span><span class="cx"> newBuffer = data.value;
</span><span class="cx"> }
</span><span class="cx"> return validateStreamFromString(reader, expectedValue, newBuffer);
</span><span class="cx"> }
</span><del>- if (!retrievedArrayBuffer)
- retrievedArrayBuffer = new Uint8Array();
</del><span class="cx"> validateBufferFromString(retrievedArrayBuffer, expectedValue, "Retrieve and verify stream");
</span><span class="cx"> });
</span><span class="cx"> }
</span><del>-
-// From streams tests
-function delay(milliseconds)
-{
- return new Promise(function(resolve) {
- step_timeout(resolve, milliseconds);
- });
-}
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapiresponseresponsecancelstreamexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-cancel-stream-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-cancel-stream-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-cancel-stream-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx">
</span><span class="cx"> PASS Cancelling a starting blob Response stream
</span><span class="cx"> PASS Cancelling a loading blob Response stream
</span><del>-PASS Cancelling a closed blob Response stream
</del><ins>+FAIL Cancelling a closed blob Response stream Can't find variable: delay
</ins><span class="cx"> PASS Cancelling a starting Response stream
</span><span class="cx"> PASS Cancelling a loading Response stream
</span><span class="cx"> PASS Cancelling a closed Response stream
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapiresponseresponseconsumestreamexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-consume-stream-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-consume-stream-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-consume-stream-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx">
</span><span class="cx"> PASS Read empty text response's body as readableStream
</span><del>-PASS Read empty blob response's body as readableStream
</del><ins>+FAIL Read empty blob response's body as readableStream promise_test: Unhandled rejection with value: object "TypeError: Invalid array length argument"
</ins><span class="cx"> PASS Read blob response's body as readableStream
</span><span class="cx"> PASS Read text response's body as readableStream
</span><span class="cx"> FAIL Read form data response's body as readableStream promise_test: Unhandled rejection with value: "not implemented"
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsfetchapiresponsew3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-clone.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-consume-empty.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-consume.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-error.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-idl.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlOWNERS"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/OWNERS (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/OWNERS        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/OWNERS        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,3 +1,4 @@
</span><ins>+@ayg
</ins><span class="cx"> @Ms2ger
</span><span class="cx"> @gsnedders
</span><span class="cx"> @jdm
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsDocumentgetElementsByClassNamenullundefhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/Document.getElementsByClassName-null-undef.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/Document.getElementsByClassName-null-undef.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/Document.getElementsByClassName-null-undef.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>getElementsByClassName and null/undefined</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-getelementsbyclassname">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsElementgetElementsByClassNamenullundefhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/Element.getElementsByClassName-null-undef.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/Element.getElementsByClassName-null-undef.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/Element.getElementsByClassName-null-undef.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>getElementsByClassName and null/undefined</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-getelementsbyclassname">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByClassNamesamehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByClassName-same.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByClassName-same.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByClassName-same.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>Calling getElementsByClassName with the same argument</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-getelementsbyclassname">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamecasexhtmlxhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml.xhtml (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml.xhtml        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml.xhtml        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,7 +3,6 @@
</span><span class="cx"> <title>getElementsByName and case</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"/>
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname"/>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css"/>
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> </head>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamecasehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>getElementsByName and case</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNameidxhtmlxhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml.xhtml (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml.xhtml        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml.xhtml        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,7 +3,6 @@
</span><span class="cx"> <title>getElementsByName and ids</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"/>
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname"/>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css"/>
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> </head>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNameidhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>getElementsByName and ids</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamenamespacexhtmlxhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml.xhtml (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml.xhtml        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml.xhtml        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,7 +3,6 @@
</span><span class="cx"> <title>getElementsByName and foreign namespaces</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"/>
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname"/>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css"/>
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> </head>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamenamespacehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>getElementsByName and foreign namespaces</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamenewelementsxhtmlxhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,7 +3,6 @@
</span><span class="cx"> <title>getElementsByName and newly introduced HTML elements</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"/>
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname"/>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css"/>
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> </head>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamenewelementshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>getElementsByName and newly introduced HTML elements</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNameparamxhtmlxhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml.xhtml (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml.xhtml        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml.xhtml        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,7 +3,6 @@
</span><span class="cx"> <title>getElementsByName and the param element</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"/>
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname"/>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css"/>
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> </head>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNameparamhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>getElementsByName and the param element</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumentgetElementsByNamedocumentgetElementsByNamesamehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-same.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-same.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-same.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>Calling getElementsByName with the same argument</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-getelementsbyname">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumenthead01html"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.head-01.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.head-01.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.head-01.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>document.head</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-head">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumenthead02html"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.head-02.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.head-02.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.head-02.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>document.head</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-head">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumenttitle01html"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-01.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-01.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-01.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>document.title with head blown away</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#document.title">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumenttitle02xhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-02.xhtml (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-02.xhtml        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-02.xhtml        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,7 +3,6 @@
</span><span class="cx"> <title>document.title with head blown away</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"/>
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#document.title"/>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css"/>
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> </head>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumenttitle03html"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-03.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-03.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-03.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title> document.title and space normalization </title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#document.title">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdocumentsdomtreeaccessorsdocumenttitle04xhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-04.xhtml (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-04.xhtml        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.title-04.xhtml        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,7 +3,6 @@
</span><span class="cx"> <title> document.title and space normalization </title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"/>
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#document.title"/>
</span><del>-<link rel="stylesheet" href="/resources/testharness.css"/>
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> </head>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesidnamespecialcasehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/id-name-specialcase.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/id-name-specialcase.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/id-name-specialcase.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,7 +1,6 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <title>HTML5: test id with none pure alpha characters </title>
</span><span class="cx"> <link rel="author" title="justin.shen" href=mailto:cosmichut@msn.com">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesidnamehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/id-name.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/id-name.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/id-name.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> <title>id and name attributes and getElementById</title>
</span><span class="cx"> <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-id-attribute">
</span><del>-<link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <div id="log"></div>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,10 +1,10 @@
</span><del>-CONSOLE MESSAGE: line 226: callback not yet supported
-CONSOLE MESSAGE: line 226: callback not yet supported
-CONSOLE MESSAGE: line 226: callback not yet supported
-CONSOLE MESSAGE: line 226: callback not yet supported
-CONSOLE MESSAGE: line 226: callback not yet supported
-CONSOLE MESSAGE: line 226: callback not yet supported
-CONSOLE MESSAGE: line 226: callback not yet supported
</del><ins>+CONSOLE MESSAGE: line 236: callback not yet supported
+CONSOLE MESSAGE: line 236: callback not yet supported
+CONSOLE MESSAGE: line 236: callback not yet supported
+CONSOLE MESSAGE: line 236: callback not yet supported
+CONSOLE MESSAGE: line 236: callback not yet supported
+CONSOLE MESSAGE: line 236: callback not yet supported
+CONSOLE MESSAGE: line 236: callback not yet supported
</ins><span class="cx"> HTML IDL tests
</span><span class="cx">
</span><span class="cx">
</span><span class="lines">@@ -430,6 +430,314 @@
</span><span class="cx"> }" did not throw
</span><span class="cx"> PASS EventTarget interface: iframe.contentDocument must inherit property "dispatchEvent" with the proper type (2)
</span><span class="cx"> PASS EventTarget interface: calling dispatchEvent(Event) on iframe.contentDocument with too few arguments must throw TypeError
</span><ins>+PASS Document must be primary interface of new Document()
+PASS Stringification of new Document()
+PASS Document interface: new Document() must inherit property "implementation" with the proper type (0)
+PASS Document interface: new Document() must inherit property "URL" with the proper type (1)
+PASS Document interface: new Document() must inherit property "documentURI" with the proper type (2)
+PASS Document interface: new Document() must inherit property "origin" with the proper type (3)
+PASS Document interface: new Document() must inherit property "compatMode" with the proper type (4)
+PASS Document interface: new Document() must inherit property "characterSet" with the proper type (5)
+PASS Document interface: new Document() must inherit property "charset" with the proper type (6)
+PASS Document interface: new Document() must inherit property "inputEncoding" with the proper type (7)
+PASS Document interface: new Document() must inherit property "contentType" with the proper type (8)
+PASS Document interface: new Document() must inherit property "doctype" with the proper type (9)
+PASS Document interface: new Document() must inherit property "documentElement" with the proper type (10)
+PASS Document interface: new Document() must inherit property "getElementsByTagName" with the proper type (11)
+FAIL Document interface: calling getElementsByTagName(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "getElementsByTagNameNS" with the proper type (12)
+FAIL Document interface: calling getElementsByTagNameNS(DOMString,DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "getElementsByClassName" with the proper type (13)
+FAIL Document interface: calling getElementsByClassName(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "createElement" with the proper type (14)
+PASS Document interface: calling createElement(DOMString) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "createElementNS" with the proper type (15)
+FAIL Document interface: calling createElementNS(DOMString,DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "createDocumentFragment" with the proper type (16)
+PASS Document interface: new Document() must inherit property "createTextNode" with the proper type (17)
+FAIL Document interface: calling createTextNode(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "createComment" with the proper type (18)
+FAIL Document interface: calling createComment(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "createProcessingInstruction" with the proper type (19)
+FAIL Document interface: calling createProcessingInstruction(DOMString,DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "importNode" with the proper type (20)
+PASS Document interface: calling importNode(Node,boolean) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "adoptNode" with the proper type (21)
+PASS Document interface: calling adoptNode(Node) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "createAttribute" with the proper type (22)
+FAIL Document interface: calling createAttribute(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "createAttributeNS" with the proper type (23)
+FAIL Document interface: calling createAttributeNS(DOMString,DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "createEvent" with the proper type (24)
+FAIL Document interface: calling createEvent(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" threw object "Error: NotSupportedError: DOM Exception 9" ("NotSupportedError") expected object "TypeError" ("TypeError")
+PASS Document interface: new Document() must inherit property "createRange" with the proper type (25)
+PASS Document interface: new Document() must inherit property "createNodeIterator" with the proper type (26)
+PASS Document interface: calling createNodeIterator(Node,unsigned long,NodeFilter) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "createTreeWalker" with the proper type (27)
+PASS Document interface: calling createTreeWalker(Node,unsigned long,NodeFilter) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "styleSheets" with the proper type (28)
+FAIL Document interface: new Document() must inherit property "selectedStyleSheetSet" with the proper type (29) assert_inherits: property "selectedStyleSheetSet" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "lastStyleSheetSet" with the proper type (30) assert_inherits: property "lastStyleSheetSet" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "preferredStyleSheetSet" with the proper type (31) assert_inherits: property "preferredStyleSheetSet" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "styleSheetSets" with the proper type (32) assert_inherits: property "styleSheetSets" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "enableStyleSheetsForSet" with the proper type (33) assert_inherits: property "enableStyleSheetsForSet" not found in prototype chain
+FAIL Document interface: calling enableStyleSheetsForSet(DOMString) on new Document() with too few arguments must throw TypeError assert_inherits: property "enableStyleSheetsForSet" not found in prototype chain
+PASS Document interface: new Document() must have own property "location"
+PASS Document interface: new Document() must inherit property "domain" with the proper type (35)
+PASS Document interface: new Document() must inherit property "referrer" with the proper type (36)
+PASS Document interface: new Document() must inherit property "cookie" with the proper type (37)
+PASS Document interface: new Document() must inherit property "lastModified" with the proper type (38)
+PASS Document interface: new Document() must inherit property "readyState" with the proper type (39)
+PASS Document interface: new Document() must inherit property "title" with the proper type (41)
+FAIL Document interface: new Document() must inherit property "dir" with the proper type (42) assert_inherits: property "dir" not found in prototype chain
+PASS Document interface: new Document() must inherit property "body" with the proper type (43)
+PASS Document interface: new Document() must inherit property "head" with the proper type (44)
+PASS Document interface: new Document() must inherit property "images" with the proper type (45)
+FAIL Document interface: new Document() must inherit property "embeds" with the proper type (46) assert_inherits: property "embeds" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "plugins" with the proper type (47) assert_inherits: property "plugins" not found in prototype chain
+PASS Document interface: new Document() must inherit property "links" with the proper type (48)
+PASS Document interface: new Document() must inherit property "forms" with the proper type (49)
+FAIL Document interface: new Document() must inherit property "scripts" with the proper type (50) assert_inherits: property "scripts" not found in prototype chain
+PASS Document interface: new Document() must inherit property "getElementsByName" with the proper type (51)
+FAIL Document interface: calling getElementsByName(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+FAIL Document interface: new Document() must inherit property "getItems" with the proper type (52) assert_inherits: property "getItems" not found in prototype chain
+FAIL Document interface: calling getItems(DOMString) on new Document() with too few arguments must throw TypeError assert_inherits: property "getItems" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "cssElementMap" with the proper type (53) assert_inherits: property "cssElementMap" not found in prototype chain
+PASS Document interface: new Document() must inherit property "currentScript" with the proper type (54)
+FAIL Document interface: new Document() must inherit property "open" with the proper type (55) assert_inherits: property "open" not found in prototype chain
+FAIL Document interface: calling open(DOMString,DOMString) on new Document() with too few arguments must throw TypeError assert_inherits: property "open" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "open" with the proper type (56) assert_inherits: property "open" not found in prototype chain
+FAIL Document interface: calling open(DOMString,DOMString,DOMString,boolean) on new Document() with too few arguments must throw TypeError assert_inherits: property "open" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "close" with the proper type (57) assert_inherits: property "close" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "write" with the proper type (58) assert_inherits: property "write" not found in prototype chain
+FAIL Document interface: calling write(DOMString) on new Document() with too few arguments must throw TypeError assert_inherits: property "write" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "writeln" with the proper type (59) assert_inherits: property "writeln" not found in prototype chain
+FAIL Document interface: calling writeln(DOMString) on new Document() with too few arguments must throw TypeError assert_inherits: property "writeln" not found in prototype chain
+PASS Document interface: new Document() must inherit property "defaultView" with the proper type (60)
+PASS Document interface: new Document() must inherit property "activeElement" with the proper type (61)
+PASS Document interface: new Document() must inherit property "hasFocus" with the proper type (62)
+FAIL Document interface: new Document() must inherit property "designMode" with the proper type (63) assert_inherits: property "designMode" not found in prototype chain
+PASS Document interface: new Document() must inherit property "execCommand" with the proper type (64)
+FAIL Document interface: calling execCommand(DOMString,boolean,DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "queryCommandEnabled" with the proper type (65)
+FAIL Document interface: calling queryCommandEnabled(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "queryCommandIndeterm" with the proper type (66)
+FAIL Document interface: calling queryCommandIndeterm(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "queryCommandState" with the proper type (67)
+FAIL Document interface: calling queryCommandState(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "queryCommandSupported" with the proper type (68)
+FAIL Document interface: calling queryCommandSupported(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "queryCommandValue" with the proper type (69)
+FAIL Document interface: calling queryCommandValue(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+FAIL Document interface: new Document() must inherit property "commands" with the proper type (70) assert_inherits: property "commands" not found in prototype chain
+PASS Document interface: new Document() must inherit property "onreadystatechange" with the proper type (71)
+FAIL Document interface: new Document() must inherit property "fgColor" with the proper type (72) assert_inherits: property "fgColor" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "linkColor" with the proper type (73) assert_inherits: property "linkColor" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "vlinkColor" with the proper type (74) assert_inherits: property "vlinkColor" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "alinkColor" with the proper type (75) assert_inherits: property "alinkColor" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "bgColor" with the proper type (76) assert_inherits: property "bgColor" not found in prototype chain
+PASS Document interface: new Document() must inherit property "anchors" with the proper type (77)
+PASS Document interface: new Document() must inherit property "applets" with the proper type (78)
+FAIL Document interface: new Document() must inherit property "clear" with the proper type (79) assert_inherits: property "clear" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "captureEvents" with the proper type (80) assert_inherits: property "captureEvents" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "releaseEvents" with the proper type (81) assert_inherits: property "releaseEvents" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "all" with the proper type (82) assert_inherits: property "all" not found in prototype chain
+PASS Document interface: new Document() must inherit property "getElementById" with the proper type (83)
+FAIL Document interface: calling getElementById(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Document interface: new Document() must inherit property "children" with the proper type (84)
+PASS Document interface: new Document() must inherit property "firstElementChild" with the proper type (85)
+PASS Document interface: new Document() must inherit property "lastElementChild" with the proper type (86)
+PASS Document interface: new Document() must inherit property "childElementCount" with the proper type (87)
+PASS Document interface: new Document() must inherit property "prepend" with the proper type (88)
+PASS Document interface: calling prepend([object Object],[object Object]) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "append" with the proper type (89)
+PASS Document interface: calling append([object Object],[object Object]) on new Document() with too few arguments must throw TypeError
+FAIL Document interface: new Document() must inherit property "query" with the proper type (90) assert_inherits: property "query" not found in prototype chain
+FAIL Document interface: calling query(DOMString) on new Document() with too few arguments must throw TypeError assert_inherits: property "query" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "queryAll" with the proper type (91) assert_inherits: property "queryAll" not found in prototype chain
+FAIL Document interface: calling queryAll(DOMString) on new Document() with too few arguments must throw TypeError assert_inherits: property "queryAll" not found in prototype chain
+PASS Document interface: new Document() must inherit property "querySelector" with the proper type (92)
+PASS Document interface: calling querySelector(DOMString) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "querySelectorAll" with the proper type (93)
+PASS Document interface: calling querySelectorAll(DOMString) on new Document() with too few arguments must throw TypeError
+PASS Document interface: new Document() must inherit property "onabort" with the proper type (94)
+FAIL Document interface: new Document() must inherit property "onautocomplete" with the proper type (95) assert_inherits: property "onautocomplete" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "onautocompleteerror" with the proper type (96) assert_inherits: property "onautocompleteerror" not found in prototype chain
+PASS Document interface: new Document() must inherit property "onblur" with the proper type (97)
+FAIL Document interface: new Document() must inherit property "oncancel" with the proper type (98) assert_inherits: property "oncancel" not found in prototype chain
+PASS Document interface: new Document() must inherit property "oncanplay" with the proper type (99)
+PASS Document interface: new Document() must inherit property "oncanplaythrough" with the proper type (100)
+PASS Document interface: new Document() must inherit property "onchange" with the proper type (101)
+PASS Document interface: new Document() must inherit property "onclick" with the proper type (102)
+FAIL Document interface: new Document() must inherit property "onclose" with the proper type (103) assert_inherits: property "onclose" not found in prototype chain
+PASS Document interface: new Document() must inherit property "oncontextmenu" with the proper type (104)
+FAIL Document interface: new Document() must inherit property "oncuechange" with the proper type (105) assert_inherits: property "oncuechange" not found in prototype chain
+PASS Document interface: new Document() must inherit property "ondblclick" with the proper type (106)
+PASS Document interface: new Document() must inherit property "ondrag" with the proper type (107)
+PASS Document interface: new Document() must inherit property "ondragend" with the proper type (108)
+PASS Document interface: new Document() must inherit property "ondragenter" with the proper type (109)
+FAIL Document interface: new Document() must inherit property "ondragexit" with the proper type (110) assert_inherits: property "ondragexit" not found in prototype chain
+PASS Document interface: new Document() must inherit property "ondragleave" with the proper type (111)
+PASS Document interface: new Document() must inherit property "ondragover" with the proper type (112)
+PASS Document interface: new Document() must inherit property "ondragstart" with the proper type (113)
+PASS Document interface: new Document() must inherit property "ondrop" with the proper type (114)
+PASS Document interface: new Document() must inherit property "ondurationchange" with the proper type (115)
+PASS Document interface: new Document() must inherit property "onemptied" with the proper type (116)
+PASS Document interface: new Document() must inherit property "onended" with the proper type (117)
+PASS Document interface: new Document() must inherit property "onerror" with the proper type (118)
+PASS Document interface: new Document() must inherit property "onfocus" with the proper type (119)
+PASS Document interface: new Document() must inherit property "oninput" with the proper type (120)
+PASS Document interface: new Document() must inherit property "oninvalid" with the proper type (121)
+PASS Document interface: new Document() must inherit property "onkeydown" with the proper type (122)
+PASS Document interface: new Document() must inherit property "onkeypress" with the proper type (123)
+PASS Document interface: new Document() must inherit property "onkeyup" with the proper type (124)
+PASS Document interface: new Document() must inherit property "onload" with the proper type (125)
+PASS Document interface: new Document() must inherit property "onloadeddata" with the proper type (126)
+PASS Document interface: new Document() must inherit property "onloadedmetadata" with the proper type (127)
+PASS Document interface: new Document() must inherit property "onloadstart" with the proper type (128)
+PASS Document interface: new Document() must inherit property "onmousedown" with the proper type (129)
+PASS Document interface: new Document() must inherit property "onmouseenter" with the proper type (130)
+PASS Document interface: new Document() must inherit property "onmouseleave" with the proper type (131)
+PASS Document interface: new Document() must inherit property "onmousemove" with the proper type (132)
+PASS Document interface: new Document() must inherit property "onmouseout" with the proper type (133)
+PASS Document interface: new Document() must inherit property "onmouseover" with the proper type (134)
+PASS Document interface: new Document() must inherit property "onmouseup" with the proper type (135)
+PASS Document interface: new Document() must inherit property "onmousewheel" with the proper type (136)
+PASS Document interface: new Document() must inherit property "onpause" with the proper type (137)
+PASS Document interface: new Document() must inherit property "onplay" with the proper type (138)
+PASS Document interface: new Document() must inherit property "onplaying" with the proper type (139)
+PASS Document interface: new Document() must inherit property "onprogress" with the proper type (140)
+PASS Document interface: new Document() must inherit property "onratechange" with the proper type (141)
+PASS Document interface: new Document() must inherit property "onreset" with the proper type (142)
+PASS Document interface: new Document() must inherit property "onresize" with the proper type (143)
+PASS Document interface: new Document() must inherit property "onscroll" with the proper type (144)
+PASS Document interface: new Document() must inherit property "onseeked" with the proper type (145)
+PASS Document interface: new Document() must inherit property "onseeking" with the proper type (146)
+PASS Document interface: new Document() must inherit property "onselect" with the proper type (147)
+FAIL Document interface: new Document() must inherit property "onshow" with the proper type (148) assert_inherits: property "onshow" not found in prototype chain
+FAIL Document interface: new Document() must inherit property "onsort" with the proper type (149) assert_inherits: property "onsort" not found in prototype chain
+PASS Document interface: new Document() must inherit property "onstalled" with the proper type (150)
+PASS Document interface: new Document() must inherit property "onsubmit" with the proper type (151)
+PASS Document interface: new Document() must inherit property "onsuspend" with the proper type (152)
+PASS Document interface: new Document() must inherit property "ontimeupdate" with the proper type (153)
+FAIL Document interface: new Document() must inherit property "ontoggle" with the proper type (154) assert_inherits: property "ontoggle" not found in prototype chain
+PASS Document interface: new Document() must inherit property "onvolumechange" with the proper type (155)
+PASS Document interface: new Document() must inherit property "onwaiting" with the proper type (156)
+PASS Node interface: new Document() must inherit property "ELEMENT_NODE" with the proper type (0)
+PASS Node interface: new Document() must inherit property "ATTRIBUTE_NODE" with the proper type (1)
+PASS Node interface: new Document() must inherit property "TEXT_NODE" with the proper type (2)
+PASS Node interface: new Document() must inherit property "CDATA_SECTION_NODE" with the proper type (3)
+PASS Node interface: new Document() must inherit property "ENTITY_REFERENCE_NODE" with the proper type (4)
+PASS Node interface: new Document() must inherit property "ENTITY_NODE" with the proper type (5)
+PASS Node interface: new Document() must inherit property "PROCESSING_INSTRUCTION_NODE" with the proper type (6)
+PASS Node interface: new Document() must inherit property "COMMENT_NODE" with the proper type (7)
+PASS Node interface: new Document() must inherit property "DOCUMENT_NODE" with the proper type (8)
+PASS Node interface: new Document() must inherit property "DOCUMENT_TYPE_NODE" with the proper type (9)
+PASS Node interface: new Document() must inherit property "DOCUMENT_FRAGMENT_NODE" with the proper type (10)
+PASS Node interface: new Document() must inherit property "NOTATION_NODE" with the proper type (11)
+PASS Node interface: new Document() must inherit property "nodeType" with the proper type (12)
+PASS Node interface: new Document() must inherit property "nodeName" with the proper type (13)
+PASS Node interface: new Document() must inherit property "baseURI" with the proper type (14)
+PASS Node interface: new Document() must inherit property "ownerDocument" with the proper type (15)
+PASS Node interface: new Document() must inherit property "parentNode" with the proper type (16)
+PASS Node interface: new Document() must inherit property "parentElement" with the proper type (17)
+PASS Node interface: new Document() must inherit property "hasChildNodes" with the proper type (18)
+PASS Node interface: new Document() must inherit property "childNodes" with the proper type (19)
+PASS Node interface: new Document() must inherit property "firstChild" with the proper type (20)
+PASS Node interface: new Document() must inherit property "lastChild" with the proper type (21)
+PASS Node interface: new Document() must inherit property "previousSibling" with the proper type (22)
+PASS Node interface: new Document() must inherit property "nextSibling" with the proper type (23)
+PASS Node interface: new Document() must inherit property "nodeValue" with the proper type (24)
+PASS Node interface: new Document() must inherit property "textContent" with the proper type (25)
+PASS Node interface: new Document() must inherit property "normalize" with the proper type (26)
+PASS Node interface: new Document() must inherit property "cloneNode" with the proper type (27)
+PASS Node interface: calling cloneNode(boolean) on new Document() with too few arguments must throw TypeError
+PASS Node interface: new Document() must inherit property "isEqualNode" with the proper type (28)
+FAIL Node interface: calling isEqualNode(Node) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "DOCUMENT_POSITION_DISCONNECTED" with the proper type (29)
+PASS Node interface: new Document() must inherit property "DOCUMENT_POSITION_PRECEDING" with the proper type (30)
+PASS Node interface: new Document() must inherit property "DOCUMENT_POSITION_FOLLOWING" with the proper type (31)
+PASS Node interface: new Document() must inherit property "DOCUMENT_POSITION_CONTAINS" with the proper type (32)
+PASS Node interface: new Document() must inherit property "DOCUMENT_POSITION_CONTAINED_BY" with the proper type (33)
+PASS Node interface: new Document() must inherit property "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" with the proper type (34)
+PASS Node interface: new Document() must inherit property "compareDocumentPosition" with the proper type (35)
+FAIL Node interface: calling compareDocumentPosition(Node) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "contains" with the proper type (36)
+FAIL Node interface: calling contains(Node) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "lookupPrefix" with the proper type (37)
+FAIL Node interface: calling lookupPrefix(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "lookupNamespaceURI" with the proper type (38)
+FAIL Node interface: calling lookupNamespaceURI(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "isDefaultNamespace" with the proper type (39)
+FAIL Node interface: calling isDefaultNamespace(DOMString) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS Node interface: new Document() must inherit property "insertBefore" with the proper type (40)
+FAIL Node interface: calling insertBefore(Node,Node) on new Document() with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () {
+ fn.apply(obj, args);
+ }" threw object "Error: HierarchyRequestError: DOM Exception 3" ("HierarchyRequestError") expected object "TypeError" ("TypeError")
+PASS Node interface: new Document() must inherit property "appendChild" with the proper type (41)
+PASS Node interface: calling appendChild(Node) on new Document() with too few arguments must throw TypeError
+PASS Node interface: new Document() must inherit property "replaceChild" with the proper type (42)
+PASS Node interface: calling replaceChild(Node,Node) on new Document() with too few arguments must throw TypeError
+PASS Node interface: new Document() must inherit property "removeChild" with the proper type (43)
+PASS Node interface: calling removeChild(Node) on new Document() with too few arguments must throw TypeError
+PASS EventTarget interface: new Document() must inherit property "addEventListener" with the proper type (0)
+FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS EventTarget interface: new Document() must inherit property "removeEventListener" with the proper type (1)
+FAIL EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on new Document() with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+PASS EventTarget interface: new Document() must inherit property "dispatchEvent" with the proper type (2)
+PASS EventTarget interface: calling dispatchEvent(Event) on new Document() with too few arguments must throw TypeError
</ins><span class="cx"> FAIL XMLDocument interface: operation load(DOMString) assert_own_property: interface prototype object missing non-static operation expected property "load" missing
</span><span class="cx"> PASS XMLDocument must be primary interface of document.implementation.createDocument(null, "", null)
</span><span class="cx"> PASS Stringification of document.implementation.createDocument(null, "", null)
</span><span class="lines">@@ -1047,89 +1355,90 @@
</span><span class="cx"> PASS Element interface: document.createElement("noscript") must inherit property "classList" with the proper type (6)
</span><span class="cx"> PASS Element interface: document.createElement("noscript") must inherit property "hasAttributes" with the proper type (7)
</span><span class="cx"> PASS Element interface: document.createElement("noscript") must inherit property "attributes" with the proper type (8)
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "getAttribute" with the proper type (9)
</del><ins>+FAIL Element interface: document.createElement("noscript") must inherit property "getAttributeNames" with the proper type (9) assert_inherits: property "getAttributeNames" not found in prototype chain
+PASS Element interface: document.createElement("noscript") must inherit property "getAttribute" with the proper type (10)
</ins><span class="cx"> FAIL Element interface: calling getAttribute(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "getAttributeNS" with the proper type (10)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "getAttributeNS" with the proper type (11)
</ins><span class="cx"> FAIL Element interface: calling getAttributeNS(DOMString,DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "setAttribute" with the proper type (11)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "setAttribute" with the proper type (12)
</ins><span class="cx"> FAIL Element interface: calling setAttribute(DOMString,DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "setAttributeNS" with the proper type (12)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "setAttributeNS" with the proper type (13)
</ins><span class="cx"> FAIL Element interface: calling setAttributeNS(DOMString,DOMString,DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "removeAttribute" with the proper type (13)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "removeAttribute" with the proper type (14)
</ins><span class="cx"> FAIL Element interface: calling removeAttribute(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "removeAttributeNS" with the proper type (14)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "removeAttributeNS" with the proper type (15)
</ins><span class="cx"> PASS Element interface: calling removeAttributeNS(DOMString,DOMString) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "hasAttribute" with the proper type (15)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "hasAttribute" with the proper type (16)
</ins><span class="cx"> PASS Element interface: calling hasAttribute(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "hasAttributeNS" with the proper type (16)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "hasAttributeNS" with the proper type (17)
</ins><span class="cx"> FAIL Element interface: calling hasAttributeNS(DOMString,DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "getAttributeNode" with the proper type (17)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "getAttributeNode" with the proper type (18)
</ins><span class="cx"> FAIL Element interface: calling getAttributeNode(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "getAttributeNodeNS" with the proper type (18)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "getAttributeNodeNS" with the proper type (19)
</ins><span class="cx"> FAIL Element interface: calling getAttributeNodeNS(DOMString,DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "setAttributeNode" with the proper type (19)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "setAttributeNode" with the proper type (20)
</ins><span class="cx"> PASS Element interface: calling setAttributeNode(Attr) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "setAttributeNodeNS" with the proper type (20)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "setAttributeNodeNS" with the proper type (21)
</ins><span class="cx"> PASS Element interface: calling setAttributeNodeNS(Attr) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "removeAttributeNode" with the proper type (21)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "removeAttributeNode" with the proper type (22)
</ins><span class="cx"> PASS Element interface: calling removeAttributeNode(Attr) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "closest" with the proper type (22)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "closest" with the proper type (23)
</ins><span class="cx"> PASS Element interface: calling closest(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "matches" with the proper type (23)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "matches" with the proper type (24)
</ins><span class="cx"> PASS Element interface: calling matches(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "getElementsByTagName" with the proper type (24)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "getElementsByTagName" with the proper type (25)
</ins><span class="cx"> FAIL Element interface: calling getElementsByTagName(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "getElementsByTagNameNS" with the proper type (25)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "getElementsByTagNameNS" with the proper type (26)
</ins><span class="cx"> FAIL Element interface: calling getElementsByTagNameNS(DOMString,DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "getElementsByClassName" with the proper type (26)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "getElementsByClassName" with the proper type (27)
</ins><span class="cx"> FAIL Element interface: calling getElementsByClassName(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () {
</span><span class="cx"> fn.apply(obj, args);
</span><span class="cx"> }" did not throw
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "children" with the proper type (27)
-PASS Element interface: document.createElement("noscript") must inherit property "firstElementChild" with the proper type (28)
-PASS Element interface: document.createElement("noscript") must inherit property "lastElementChild" with the proper type (29)
-PASS Element interface: document.createElement("noscript") must inherit property "childElementCount" with the proper type (30)
-PASS Element interface: document.createElement("noscript") must inherit property "prepend" with the proper type (31)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "children" with the proper type (28)
+PASS Element interface: document.createElement("noscript") must inherit property "firstElementChild" with the proper type (29)
+PASS Element interface: document.createElement("noscript") must inherit property "lastElementChild" with the proper type (30)
+PASS Element interface: document.createElement("noscript") must inherit property "childElementCount" with the proper type (31)
+PASS Element interface: document.createElement("noscript") must inherit property "prepend" with the proper type (32)
</ins><span class="cx"> PASS Element interface: calling prepend([object Object],[object Object]) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "append" with the proper type (32)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "append" with the proper type (33)
</ins><span class="cx"> PASS Element interface: calling append([object Object],[object Object]) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-FAIL Element interface: document.createElement("noscript") must inherit property "query" with the proper type (33) assert_inherits: property "query" not found in prototype chain
</del><ins>+FAIL Element interface: document.createElement("noscript") must inherit property "query" with the proper type (34) assert_inherits: property "query" not found in prototype chain
</ins><span class="cx"> FAIL Element interface: calling query(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_inherits: property "query" not found in prototype chain
</span><del>-FAIL Element interface: document.createElement("noscript") must inherit property "queryAll" with the proper type (34) assert_inherits: property "queryAll" not found in prototype chain
</del><ins>+FAIL Element interface: document.createElement("noscript") must inherit property "queryAll" with the proper type (35) assert_inherits: property "queryAll" not found in prototype chain
</ins><span class="cx"> FAIL Element interface: calling queryAll(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError assert_inherits: property "queryAll" not found in prototype chain
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "querySelector" with the proper type (35)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "querySelector" with the proper type (36)
</ins><span class="cx"> PASS Element interface: calling querySelector(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "querySelectorAll" with the proper type (36)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "querySelectorAll" with the proper type (37)
</ins><span class="cx"> PASS Element interface: calling querySelectorAll(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "previousElementSibling" with the proper type (37)
-PASS Element interface: document.createElement("noscript") must inherit property "nextElementSibling" with the proper type (38)
-PASS Element interface: document.createElement("noscript") must inherit property "before" with the proper type (39)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "previousElementSibling" with the proper type (38)
+PASS Element interface: document.createElement("noscript") must inherit property "nextElementSibling" with the proper type (39)
+PASS Element interface: document.createElement("noscript") must inherit property "before" with the proper type (40)
</ins><span class="cx"> PASS Element interface: calling before([object Object],[object Object]) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "after" with the proper type (40)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "after" with the proper type (41)
</ins><span class="cx"> PASS Element interface: calling after([object Object],[object Object]) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "replaceWith" with the proper type (41)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "replaceWith" with the proper type (42)
</ins><span class="cx"> PASS Element interface: calling replaceWith([object Object],[object Object]) on document.createElement("noscript") with too few arguments must throw TypeError
</span><del>-PASS Element interface: document.createElement("noscript") must inherit property "remove" with the proper type (42)
</del><ins>+PASS Element interface: document.createElement("noscript") must inherit property "remove" with the proper type (43)
</ins><span class="cx"> PASS Node interface: document.createElement("noscript") must inherit property "ELEMENT_NODE" with the proper type (0)
</span><span class="cx"> PASS Node interface: document.createElement("noscript") must inherit property "ATTRIBUTE_NODE" with the proper type (1)
</span><span class="cx"> PASS Node interface: document.createElement("noscript") must inherit property "TEXT_NODE" with the proper type (2)
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfaceshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -289,6 +289,7 @@
</span><span class="cx">
</span><span class="cx"> boolean hasAttributes();
</span><span class="cx"> [SameObject] readonly attribute NamedNodeMap attributes;
</span><ins>+ sequence<DOMString> getAttributeNames();
</ins><span class="cx"> DOMString? getAttribute(DOMString name);
</span><span class="cx"> DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
</span><span class="cx"> void setAttribute(DOMString name, DOMString value);
</span><span class="lines">@@ -3201,7 +3202,7 @@
</span><span class="cx"> DOMStringMap: ['document.head.dataset'],
</span><span class="cx"> DOMElementMap: ['document.cssElementMap'],
</span><span class="cx"> Transferable: [],
</span><del>- Document: ['iframe.contentDocument'],
</del><ins>+ Document: ['iframe.contentDocument', 'new Document()'],
</ins><span class="cx"> XMLDocument: ['document.implementation.createDocument(null, "", null)'],
</span><span class="cx"> HTMLElement: [
</span><span class="cx"> 'document.createElement("noscript")',
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -34,7 +34,6 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-metadata.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-misc.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-obsolete.html
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-original.html
</del><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-sections.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-tabular.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-text.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlresourcescommonjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/resources/common.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/resources/common.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/resources/common.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -157,10 +157,6 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-function isVisible(el) {
- return el.offsetTop != 0;
-}
-
</del><span class="cx"> function isVoidElement(elementName) {
</span><span class="cx"> return HTML5_VOID_ELEMENTS.indexOf(elementName) >= 0;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementresourcesstylesheetcss"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/stylesheet.css (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/stylesheet.css         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/stylesheet.css        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+body {
+ background-color: green;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementresourcesw3cimportlog"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/w3c-import.log (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/w3c-import.log         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the W3C CSS or WPT github:
+        https://github.com/w3c/csswg-test
+        https://github.com/w3c/web-platform-tests
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/resources/stylesheet.css
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementstylesheetwithbaseexpectedhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base-expected.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base-expected.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base-expected.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+<!DOCTYPE html>
+<html>
+<head>
+ <title>Stylesheet Without Base Tag</title>
+ <style>
+ body { background-color: green; }
+ </style>
+</head>
+<body>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementstylesheetwithbasehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+<!DOCTYPE html>
+<html>
+<head>
+ <title>Stylesheet With Base Tag</title>
+ <link rel="match" href="stylesheet-with-base-ref.html">
+ <base href="resources/">
+ <link rel="stylesheet" href="stylesheet.css">
+</head>
+<body>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementstylesheetcss"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.css (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.css         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.css        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+body {
+ background-color: red;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsdocumentmetadatathelinkelementw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -19,3 +19,6 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-rellist.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/style.css
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet-with-base.html
+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/document-metadata/the-link-element/stylesheet.css
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselement2dscaledpng"></a>
<div class="binary"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.scaled.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.scaled.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontentthecanvaselementw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -21,7 +21,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.getcontext.extraargs.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.getcontext.shared.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.getcontext.unique.html
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.scaled-manual.png
</del><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.scaled.png
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.type.exists.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.type.extend.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.type.prototype.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheembedelementembedignoredinmediaelementexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+
+PASS Test embed being ignored inside media element
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheembedelementembedignoredinmediaelementhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+<!doctype html>
+<meta charset="utf-8">
+<title>HTML Test: The embed element represents a document</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<meta name="assert" content="Check if the embed element is ignored when used inside a media element">
+<script type="application/javascript">
+ window.childLoaded = false;
+ async_test(function() {
+ addEventListener("load", this.step_func_done(function() {
+ assert_false(window.childLoaded);
+ }));
+ }, "Test embed being ignored inside media element");
+</script>
+<body>
+ <video>
+ <embed type="text/html" src="embed-iframe.html" />
+ </video>
+ <audio>
+ <embed type="text/html" src="embed-iframe.html" />
+ </audio>
+</body>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheembedelementw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -18,6 +18,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-dimension.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-document.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-iframe.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-01-expected.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-01.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-02-expected.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframewithbaseexpectedhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base-expected.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base-expected.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base-expected.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+<!doctype html>
+<html>
+<head>
+ <title>iframe Without Base Tag</title>
+</head>
+<body>
+ <iframe src="support/blank.htm">
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementiframewithbasehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+<!doctype html>
+<html>
+<head>
+ <title>iframe With Base Tag</title>
+ <link rel="match" href="iframe-with-base-ref.html">
+ <base href="support/">
+</head>
+<body>
+ <iframe src="blank.htm">
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheiframeelementw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -15,6 +15,8 @@
</span><span class="cx"> None
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-with-base.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_javascript_url_01.htm
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_01.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementdocumentbaseurlexpectedhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url-expected.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url-expected.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url-expected.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+<!DOCTYPE HTML>
+<meta charset="utf-8">
+<title>Document base URL img test</title>
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-img-element" />
+<img src="resources/cat.jpg" alt="cat">
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementdocumentbaseurlhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+<!DOCTYPE HTML>
+<meta charset="utf-8">
+<title>Document base URL img test</title>
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-img-element" />
+<link rel="match" href="document-base-url-ref.html">
+<base href="resources/" />
+<img src="cat.jpg" alt="cat">
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementenvironmentchangesviewportchangeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,8 +1,10 @@
</span><span class="cx">
</span><span class="cx">
</span><ins>+Harness Error (TIMEOUT), message = null
+
</ins><span class="cx"> PASS img (no src), onload, narrow
</span><span class="cx"> PASS img (no src), resize to wide
</span><del>-FAIL img (empty src), onload, narrow assert_equals: expected "" but got "http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=02edf22a-03f6-44d2-9b5e-417f19c0040d"
</del><ins>+FAIL img (empty src), onload, narrow assert_equals: expected "" but got "http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=a0272162-8acc-4e51-b891-335d517fdfcb"
</ins><span class="cx"> PASS img (empty src), resize to wide
</span><span class="cx"> PASS img (src only) broken image, onload, narrow
</span><span class="cx"> PASS img (src only) broken image, resize to wide
</span><span class="lines">@@ -24,7 +26,7 @@
</span><span class="cx"> FAIL picture: same URL in source (max-width:500px) and img, resize to wide assert_unreached: Got unexpected load event Reached unreachable code
</span><span class="cx"> PASS img (no src), onload, wide
</span><span class="cx"> PASS img (no src), resize to narrow
</span><del>-FAIL img (empty src), onload, wide assert_equals: expected "" but got "http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=f0ecd3f6-a6df-40ac-8630-4b09c34db93a"
</del><ins>+FAIL img (empty src), onload, wide assert_equals: expected "" but got "http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=8e061ec0-3681-480a-8289-7d88d324ca43"
</ins><span class="cx"> PASS img (empty src), resize to narrow
</span><span class="cx"> PASS img (src only) broken image, onload, wide
</span><span class="cx"> PASS img (src only) broken image, resize to narrow
</span><span class="lines">@@ -34,14 +36,14 @@
</span><span class="cx"> PASS img (srcset 1 cand) broken image, resize to narrow
</span><span class="cx"> PASS img (srcset 1 cand) valid image, onload, wide
</span><span class="cx"> PASS img (srcset 1 cand) valid image, resize to narrow
</span><del>-PASS picture: source (max-width:500px) broken image, img broken image, onload, wide
-PASS picture: source (max-width:500px) broken image, img broken image, resize to narrow
-PASS picture: source (max-width:500px) broken image, img valid image, onload, wide
-PASS picture: source (max-width:500px) broken image, img valid image, resize to narrow
-PASS picture: source (max-width:500px) valid image, img broken image, onload, wide
-PASS picture: source (max-width:500px) valid image, img broken image, resize to narrow
-PASS picture: source (max-width:500px) valid image, img valid image, onload, wide
-PASS picture: source (max-width:500px) valid image, img valid image, resize to narrow
</del><ins>+FAIL picture: source (max-width:500px) broken image, img broken image, onload, wide assert_equals: expected "http://localhost:8800/images/broken.png?71-8e061ec0-3681-480a-8289-7d88d324ca43" but got "http://localhost:8800/images/broken.png?70-8e061ec0-3681-480a-8289-7d88d324ca43"
+TIMEOUT picture: source (max-width:500px) broken image, img broken image, resize to narrow Test timed out
+FAIL picture: source (max-width:500px) broken image, img valid image, onload, wide assert_equals: expected "http://localhost:8800/images/green-2x2.png?81-8e061ec0-3681-480a-8289-7d88d324ca43" but got "http://localhost:8800/images/broken.png?80-8e061ec0-3681-480a-8289-7d88d324ca43"
+TIMEOUT picture: source (max-width:500px) broken image, img valid image, resize to narrow Test timed out
+FAIL picture: source (max-width:500px) valid image, img broken image, onload, wide assert_equals: expected "http://localhost:8800/images/broken.png?91-8e061ec0-3681-480a-8289-7d88d324ca43" but got "http://localhost:8800/images/green-1x1.png?90-8e061ec0-3681-480a-8289-7d88d324ca43"
+TIMEOUT picture: source (max-width:500px) valid image, img broken image, resize to narrow Test timed out
+FAIL picture: source (max-width:500px) valid image, img valid image, onload, wide assert_equals: expected "http://localhost:8800/images/green-2x2.png?101-8e061ec0-3681-480a-8289-7d88d324ca43" but got "http://localhost:8800/images/green-1x1.png?100-8e061ec0-3681-480a-8289-7d88d324ca43"
+TIMEOUT picture: source (max-width:500px) valid image, img valid image, resize to narrow Test timed out
</ins><span class="cx"> PASS picture: same URL in source (max-width:500px) and img, onload, wide
</span><del>-FAIL picture: same URL in source (max-width:500px) and img, resize to narrow assert_unreached: Got unexpected load event Reached unreachable code
</del><ins>+PASS picture: same URL in source (max-width:500px) and img, resize to narrow
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementresourcescatjpg"></a>
<div class="binary"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/resources/cat.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/resources/cat.jpg
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementresourcesw3cimportlog"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/resources/w3c-import.log (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/resources/w3c-import.log         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/resources/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the W3C CSS or WPT github:
+        https://github.com/w3c/csswg-test
+        https://github.com/w3c/web-platform-tests
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/resources/cat.jpg
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsembeddedcontenttheimgelementw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -19,6 +19,8 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/Image-constructor.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/brokenimg.jpg
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/contains.json
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/document-base-url.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-1.jpg
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/img.complete.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/update-media.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsconstraintsformvalidationvaliditybadInputexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -4,9 +4,9 @@
</span><span class="cx"> PASS [INPUT in EMAIL status] The multiple attribute is false and the value attribute is a valid e-mail address
</span><span class="cx"> PASS [INPUT in EMAIL status] The multiple attribute is true and the value contains valid e-mail addresses
</span><span class="cx"> PASS [INPUT in EMAIL status] The multiple attribute is true and the value attribute contains a ','
</span><del>-FAIL [INPUT in DATETIME status] The datetime type must be supported. assert_equals: The datetime type should be supported. expected "datetime" but got "text"
-FAIL [INPUT in COLOR status] The value attribute is empty assert_true: The validity.badInput should be true. expected true got false
</del><ins>+FAIL [INPUT in DATETIME-LOCAL status] The datetime-local type must be supported. assert_equals: The datetime-local type should be supported. expected "datetime-local" but got "text"
+PASS [INPUT in COLOR status] The value attribute is empty
</ins><span class="cx"> PASS [INPUT in COLOR status] The value attribute is a valid sample color
</span><span class="cx"> PASS [INPUT in COLOR status] The value attribute is not a valid lowercase sample color
</span><del>-FAIL [INPUT in COLOR status] The value attribute cannot convert to a valid sample color assert_true: The validity.badInput should be true. expected true got false
</del><ins>+PASS [INPUT in COLOR status] The value attribute cannot convert to a valid sample color
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsconstraintsformvalidationvaliditybadInputhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -24,21 +24,21 @@
</span><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> tag: "input",
</span><del>- types: ["datetime"],
</del><ins>+ types: ["datetime-local"],
</ins><span class="cx"> testData: [
</span><span class="cx"> {conditions: {value: ""}, expected: false, name: "[target] The value attribute is empty"},
</span><del>- {conditions: {value: "2000-01-01T12:00:00Z"}, expected: false, name: "[target] The value attribute is a valid date and time string"},
- {conditions: {value: "abc"}, expected: true, name: "[target] The value attribute cannot convert to a valid normalized forced-UTC global date and time string"}
</del><ins>+ {conditions: {value: "2000-01-01T12:00:00"}, expected: false, name: "[target] The value attribute is a valid date and time string"},
+ {conditions: {value: "abc"}, expected: false, name: "[target] The value attribute cannot convert to a valid normalized forced-UTC global date and time string"}
</ins><span class="cx"> ]
</span><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> tag: "input",
</span><span class="cx"> types: ["color"],
</span><span class="cx"> testData: [
</span><del>- {conditions: {value: ""}, expected: true, name: "[target] The value attribute is empty"},
</del><ins>+ {conditions: {value: ""}, expected: false, name: "[target] The value attribute is empty"},
</ins><span class="cx"> {conditions: {value: "#000000"}, expected: false, name: "[target] The value attribute is a valid sample color"},
</span><span class="cx"> {conditions: {value: "#FFFFFF"}, expected: false, name: "[target] The value attribute is not a valid lowercase sample color"},
</span><del>- {conditions: {value: "abc"}, expected: true, name: "[target] The value attribute cannot convert to a valid sample color"}
</del><ins>+ {conditions: {value: "abc"}, expected: false, name: "[target] The value attribute cannot convert to a valid sample color"}
</ins><span class="cx"> ]
</span><span class="cx"> },
</span><span class="cx"> ];
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsformsubmission0getactionurlexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/getactionurl-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/getactionurl-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/getactionurl-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+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.
+
+
+
+FAIL Navigating to URL with a data scheme undefined is not an object (evaluating 'testframe.contentWindow.document.textContent')
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsformsubmission0getactionurlhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/getactionurl.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/getactionurl.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/getactionurl.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<iframe id=testframe src="/common/blank.html"></iframe>
+<script>
+var tests = [
+ {
+ name: "Navigating to URL with a data scheme",
+ action: "data:,hello%20world",
+ output: "hello world"
+ }
+];
+tests.forEach(function(test_obj) {
+ test_obj.test = async_test(test_obj.name);
+});
+
+function run_test() {
+ if (tests.length == 0) {
+ return;
+ }
+ var test_obj = tests.pop();
+ var t = test_obj.test;
+ var testframe = document.getElementById("testframe");
+ var testdocument = testframe.contentWindow.document;
+ testdocument.body.innerHTML =
+ "<form id=testform method=get action=\"" + test_obj.action +"\"></form>";
+ testframe.onload = function() {
+ t.step(function() {
+ var body_text = testframe.contentWindow.document.textContent;
+ assert_equals(body_text, test_obj.output);
+ });
+ t.done();
+ run_test();
+ };
+ testdocument.getElementById("testform").submit();
+};
+document.getElementById("testframe").onload = run_test;
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsformsubmission0w3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -16,4 +16,5 @@
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/contains.json
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/getactionurl.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/url-encoded.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstextfieldselectionselectionaftercontentchangeexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Selection indices after reseting content
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstextfieldselectionselectionaftercontentchangehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+<!doctype html>
+<meta charset="utf-8">
+<title>Selection indices after content change</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+ test(function() {
+ var input = document.createElement("input");
+ input.focus();
+ input.value = "something something something dark side";
+ input.setSelectionRange(4,20);
+ assert_equals(input.selectionStart, 4);
+ assert_equals(input.selectionEnd, 20);
+ input.value = "It's a trap!";
+ assert_equals(input.selectionStart, input.value.length);
+ assert_equals(input.selectionEnd, input.value.length);
+}, "Selection indices after reseting content");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstextfieldselectionw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/original-id.json
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-after-content-change.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-textarea.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheformelementformautocompleteexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,10 +3,10 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx">
</span><del>-PASS form autocomplete attribute missing
-PASS form autocomplete attribute on
-PASS form autocomplete attribute off
-PASS form autocomplete attribute invalid
</del><ins>+FAIL form autocomplete attribute missing assert_equals: expected "on" but got ""
+FAIL form autocomplete attribute on assert_equals: expected "on" but got ""
+FAIL form autocomplete attribute off assert_equals: expected "off" but got ""
+FAIL form autocomplete attribute invalid assert_equals: expected "on" but got ""
</ins><span class="cx"> PASS name is an allowed autocomplete field name
</span><span class="cx"> PASS honorific-prefix is an allowed autocomplete field name
</span><span class="cx"> PASS given-name is an allowed autocomplete field name
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheformelementformautocompletehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -42,10 +42,10 @@
</span><span class="cx"> }, desc);
</span><span class="cx"> }
</span><span class="cx">
</span><del>- autocompletetest(document.forms.missing_attribute, ["on", "", "on", "off", ""], "form autocomplete attribute missing");
- autocompletetest(document.forms.autocomplete_on, ["on", "", "on", "off", ""], "form autocomplete attribute on");
- autocompletetest(document.forms.autocomplete_off, ["off", "", "on", "off", ""], "form autocomplete attribute off");
- autocompletetest(document.forms.autocomplete_invalid, ["on", "", "on", "off", ""], "form autocomplete attribute invalid");
</del><ins>+ autocompletetest(document.forms.missing_attribute, ["on", "on", "on", "off", ""], "form autocomplete attribute missing");
+ autocompletetest(document.forms.autocomplete_on, ["on", "on", "on", "off", ""], "form autocomplete attribute on");
+ autocompletetest(document.forms.autocomplete_off, ["off", "off", "on", "off", ""], "form autocomplete attribute off");
+ autocompletetest(document.forms.autocomplete_invalid, ["on", "on", "on", "off", ""], "form autocomplete attribute invalid");
</ins><span class="cx">
</span><span class="cx"> 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", "bd
ay", "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" ];
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheinputelementcheckboxhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/checkbox.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/checkbox.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/checkbox.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx"> assert_true(c1_click_fired, "input event should fire after click event");
</span><span class="cx"> assert_false(c1_change_fired, "input event should fire before change event");
</span><span class="cx"> assert_true(e.bubbles, "event should bubble");
</span><del>- assert_false(e.isTrusted, "click()-initiated event should be trusted");
</del><ins>+ assert_false(e.isTrusted, "click()-initiated event should not be trusted");
</ins><span class="cx"> assert_false(e.cancelable, "event should not be cancelable");
</span><span class="cx"> assert_true(checkbox1.checked, "checkbox is checked");
</span><span class="cx"> assert_false(checkbox1.indeterminate, "checkbox is not indeterminate");
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx"> assert_true(c1_click_fired, "change event should fire after click event");
</span><span class="cx"> assert_true(c1_input_fired, "change event should fire after input event");
</span><span class="cx"> assert_true(e.bubbles, "event should bubble")
</span><del>- assert_false(e.isTrusted, "click()-initiated event should be trusted");
</del><ins>+ assert_false(e.isTrusted, "click()-initiated event should not be trusted");
</ins><span class="cx"> assert_false(e.cancelable, "event should not be cancelable");
</span><span class="cx"> assert_true(checkbox1.checked, "checkbox is checked");
</span><span class="cx"> assert_false(checkbox1.indeterminate, "checkbox is not indeterminate");
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheinputelementselectionexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+
+PASS Input element programmatic selection support
+PASS input type text should support the select() method
+PASS input type search should support the select() method
+PASS input type url should support the select() method
+PASS input type tel should support the select() method
+PASS input type email should support the select() method
+PASS input type password should support the select() method
+FAIL input type date should support the select() method assert_equals: the given input type is not supported expected "date" but got "text"
+FAIL input type month should support the select() method assert_equals: the given input type is not supported expected "month" but got "text"
+FAIL input type week should support the select() method assert_equals: the given input type is not supported expected "week" but got "text"
+FAIL input type time should support the select() method assert_equals: the given input type is not supported expected "time" but got "text"
+FAIL input type datetime-local should support the select() method assert_equals: the given input type is not supported expected "datetime-local" but got "text"
+PASS input type number should support the select() method
+PASS input type color should support the select() method
+PASS input type file should support the select() method
+FAIL input type hidden should not support the select() method assert_throws: function "function () { input.select(); }" did not throw
+FAIL input type range should not support the select() method assert_throws: function "function () { input.select(); }" did not throw
+FAIL input type checkbox should not support the select() method assert_throws: function "function () { input.select(); }" did not throw
+FAIL input type radio should not support the select() method assert_throws: function "function () { input.select(); }" did not throw
+FAIL input type submit should not support the select() method assert_throws: function "function () { input.select(); }" did not throw
+FAIL input type image should not support the select() method assert_throws: function "function () { input.select(); }" did not throw
+FAIL input type reset should not support the select() method assert_throws: function "function () { input.select(); }" did not throw
+FAIL input type button should not support the select() method assert_throws: function "function () { input.select(); }" did not throw
+PASS Input element programmatic selection support 1
+PASS input type text should support all selection attributes and methods
+PASS input type search should support all selection attributes and methods
+PASS input type url should support all selection attributes and methods
+PASS input type tel should support all selection attributes and methods
+PASS input type password should support all selection attributes and methods
+FAIL input type hidden should not support variable-length selections assert_throws: function "function () { var a = input.selectionStart; }" threw object "TypeError: Type error" that is not a DOMException INVALID_STATE_ERR: property "code" is equal to undefined, expected 11
+FAIL input type email should not support variable-length selections assert_throws: function "function () { var a = input.selectionStart; }" did not throw
+FAIL input type date should not support variable-length selections assert_equals: the given input type is not supported expected "date" but got "text"
+FAIL input type month should not support variable-length selections assert_equals: the given input type is not supported expected "month" but got "text"
+FAIL input type week should not support variable-length selections assert_equals: the given input type is not supported expected "week" but got "text"
+FAIL input type time should not support variable-length selections assert_equals: the given input type is not supported expected "time" but got "text"
+FAIL input type datetime-local should not support variable-length selections assert_equals: the given input type is not supported expected "datetime-local" but got "text"
+FAIL input type number should not support variable-length selections assert_throws: function "function () { var a = input.selectionStart; }" did not throw
+FAIL input type range should not support variable-length selections assert_throws: function "function () { var a = input.selectionStart; }" threw object "TypeError: Type error" that is not a DOMException INVALID_STATE_ERR: property "code" is equal to undefined, expected 11
+FAIL input type color should not support variable-length selections assert_throws: function "function () { var a = input.selectionStart; }" threw object "TypeError: Type error" that is not a DOMException INVALID_STATE_ERR: property "code" is equal to undefined, expected 11
+FAIL input type checkbox should not support variable-length selections assert_throws: function "function () { var a = input.selectionStart; }" threw object "TypeError: Type error" that is not a DOMException INVALID_STATE_ERR: property "code" is equal to undefined, expected 11
+FAIL input type radio should not support variable-length selections assert_throws: function "function () { var a = input.selectionStart; }" threw object "TypeError: Type error" that is not a DOMException INVALID_STATE_ERR: property "code" is equal to undefined, expected 11
+FAIL input type file should not support variable-length selections assert_throws: function "function () { var a = input.selectionStart; }" threw object "TypeError: Type error" that is not a DOMException INVALID_STATE_ERR: property "code" is equal to undefined, expected 11
+FAIL input type submit should not support variable-length selections assert_throws: function "function () { var a = input.selectionStart; }" threw object "TypeError: Type error" that is not a DOMException INVALID_STATE_ERR: property "code" is equal to undefined, expected 11
+FAIL input type image should not support variable-length selections assert_throws: function "function () { var a = input.selectionStart; }" threw object "TypeError: Type error" that is not a DOMException INVALID_STATE_ERR: property "code" is equal to undefined, expected 11
+FAIL input type reset should not support variable-length selections assert_throws: function "function () { var a = input.selectionStart; }" threw object "TypeError: Type error" that is not a DOMException INVALID_STATE_ERR: property "code" is equal to undefined, expected 11
+FAIL input type button should not support variable-length selections assert_throws: function "function () { var a = input.selectionStart; }" threw object "TypeError: Type error" that is not a DOMException INVALID_STATE_ERR: property "code" is equal to undefined, expected 11
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheinputelementselectionhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,131 @@
</span><ins>+<!DOCTYPE HTML>
+<title>Input element programmatic selection support</title>
+<link rel="author" title="yaycmyk" href="mailto:evan@yaycmyk.com">
+<link rel="help" href="https://html.spec.whatwg.org/multipage/forms.html#dom-textarea/input-select">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<div id="log"></div>
+<script>
+
+/* all textual, non-hidden inputs support .select() */
+test(function() {
+ var valid = [
+ "text",
+ "search",
+ "url",
+ "tel",
+ "email",
+ "password",
+ "date",
+ "month",
+ "week",
+ "time",
+ "datetime-local",
+ "number",
+ "color",
+ "file",
+ ];
+
+ var invalid = [
+ "hidden",
+ "range",
+ "checkbox",
+ "radio",
+ "submit",
+ "image",
+ "reset",
+ "button"
+ ];
+
+ valid.forEach(function(type) {
+ test(function() {
+ var input = document.createElement("input");
+ var a;
+
+ input.type = type;
+ assert_equals(input.type, type, "the given input type is not supported");
+
+ input.select();
+
+ }, "input type " + type + " should support the select() method");
+ });
+
+ invalid.forEach(function(type) {
+ test(function() {
+ var input = document.createElement("input");
+
+ input.type = type;
+ assert_equals(input.type, type, "the given input type is not supported");
+
+ assert_throws("INVALID_STATE_ERR", function() { input.select(); });
+
+ }, "input type " + type + " should not support the select() method");
+ });
+});
+
+/* only certain input types are allowed to have a variable-length selection */
+test(function() {
+ var valid = [
+ "text",
+ "search",
+ "url",
+ "tel",
+ "password"
+ ];
+
+ var invalid = [
+ "hidden",
+ "email",
+ "date",
+ "month",
+ "week",
+ "time",
+ "datetime-local",
+ "number",
+ "range",
+ "color",
+ "checkbox",
+ "radio",
+ "file",
+ "submit",
+ "image",
+ "reset",
+ "button"
+ ];
+
+ valid.forEach(function(type) {
+ test(function() {
+ var input = document.createElement("input");
+ var a;
+
+ input.type = type;
+ assert_equals(input.type, type, "the given input type is not supported");
+
+ a = input.selectionStart;
+ input.selectionStart = 0;
+ a = input.selectionEnd;
+ input.selectionEnd = 0;
+ input.setSelectionRange(0, 0);
+ input.setRangeText('', 0, 0);
+
+ }, "input type " + type + " should support all selection attributes and methods");
+ });
+
+ invalid.forEach(function(type) {
+ test(function() {
+ var input = document.createElement("input");
+
+ input.type = type;
+ assert_equals(input.type, type, "the given input type is not supported");
+
+ assert_throws("INVALID_STATE_ERR", function() { var a = input.selectionStart; });
+ assert_throws("INVALID_STATE_ERR", function() { input.selectionStart = 0; });
+ assert_throws("INVALID_STATE_ERR", function() { var a = input.selectionEnd; });
+ assert_throws("INVALID_STATE_ERR", function() { input.selectionEnd = 0; });
+ assert_throws("INVALID_STATE_ERR", function() { input.setSelectionRange(0, 0); });
+ assert_throws("INVALID_STATE_ERR", function() { input.setRangeText('', 0, 0); });
+
+ }, "input type " + type + " should not support variable-length selections");
+ });
+});
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformstheinputelementw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/hidden.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/image01-expected.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/image01.html
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/input-textselection-01.html
</del><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/input-type-button.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/input-type-checkbox.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/maxlength.html
</span><span class="lines">@@ -44,6 +43,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/required_attribute.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/reset.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/search_input.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/telephone.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/text.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/time-2.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsthelegendelementlegendformexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-legend-element/legend-form-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-legend-element/legend-form-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-legend-element/legend-form-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,3 +1,4 @@
</span><span class="cx">
</span><ins>+PASS Check if legend.form returns its parent when it's inside a fieldset
</ins><span class="cx"> PASS Check if legend.form return null when legend has no fieldset element as its parent
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsformsthelegendelementlegendformhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-legend-element/legend-form.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-legend-element/legend-form.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-legend-element/legend-form.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -13,11 +13,21 @@
</span><span class="cx"> </form>
</span><span class="cx"> </div>
</span><span class="cx">
</span><ins>+<div style="display:none">
+ <form id="testformWithFieldSet">
+ <fieldset>
+ <legend id="legendWithFieldSet">radio</legend>
+ </fieldset>
+ </form>
+</div>
</ins><span class="cx"> <script>
</span><del>-
</del><span class="cx"> test(function () {
</span><ins>+ var legendEle = document.getElementById("legendWithFieldSet");
+ assert_not_equals(legendEle.form, null);
+ assert_equals(legendEle.form, document.getElementById("testformWithFieldSet"));
+}, "Check if legend.form returns its parent when it's inside a fieldset");
+test(function () {
</ins><span class="cx"> var legendEle = document.getElementById("testlegend");
</span><span class="cx"> assert_equals(legendEle.form, null);
</span><span class="cx"> }, "Check if legend.form return null when legend has no fieldset element as its parent");
</span><del>-
</del><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsgroupingcontenttheolelementolstartreflection1html"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-1.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-1.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-1.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -6,7 +6,6 @@
</span><span class="cx"> <link rel="author" title="Esrille Inc." href="http://www.esrille.com/">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-ol-element">
</span><span class="cx"> <meta name="assert" content="This test checks that the start IDL attribute reflects the respective content attribute of the same name.">
</span><del>- <link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> </head>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsgroupingcontenttheolelementolstartreflection2html"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -6,7 +6,6 @@
</span><span class="cx"> <link rel="author" title="Esrille Inc." href="http://www.esrille.com/">
</span><span class="cx"> <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-ol-element">
</span><span class="cx"> <meta name="assert" content="This test checks that the start IDL attribute reflects the respective content attribute of the same name.">
</span><del>- <link rel="stylesheet" href="/resources/testharness.css">
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> </head>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticslinkslinktypesalternatecssexpectedhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate-css-expected.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate-css-expected.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate-css-expected.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Reference of Alternate css</title>
+<link rel="match" href="alternate-css-ref.html">
+<link rel="stylesheet" href="preferred.css" title="preferred">
+<div>foobar</div>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticslinkslinktypesalternatecsshtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate-css.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate-css.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate-css.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Alternate css</title>
+<link rel="match" href="alternate-css-ref.html">
+<link rel="stylesheet" href="preferred.css" title="preferred">
+<link rel="alternate stylesheet" href="alternate.css" title="alternate">
+<div>foobar</div>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticslinkslinktypesalternatecss"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate.css (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate.css         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate.css        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+div {
+ background-color: red;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticslinkslinktypespreferredcss"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/preferred.css (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/preferred.css         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/preferred.css        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+div {
+ border: 4px solid green;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticslinkslinktypesw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -15,5 +15,9 @@
</span><span class="cx"> None
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate-css-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate-css.html
+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/alternate.css
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/contains.json
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/original-id.json
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/links/linktypes/preferred.css
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesdefaultexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/default-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/default-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/default-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -6,10 +6,10 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx">
</span><del>-
</del><ins>+
</ins><span class="cx"> button6 button7
</span><span class="cx"> button8 button9
</span><span class="cx">
</span><del>-FAIL ':default' matches <button>s that are their form's default button, <input>s of type submit/image that are their form's default button, checked <input>s and selected <option>s assert_array_equals: lengths differ, expected 9 got 7
-FAIL ':default' matches dynamically changed form's default buttons assert_array_equals: lengths differ, expected 9 got 7
</del><ins>+FAIL ':default' matches <button>s that are their form's default button, <input>s of type submit/image that are their form's default button, checked <input>s and selected <option>s assert_array_equals: lengths differ, expected 10 got 7
+FAIL ':default' matches dynamically changed form's default buttons assert_array_equals: lengths differ, expected 10 got 7
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesdefaulthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/default.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/default.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/default.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -34,10 +34,13 @@
</span><span class="cx"> <input type=checkbox id=checkbox1 checked>
</span><span class="cx"> <input type=checkbox id=checkbox2>
</span><span class="cx"> <input type=checkbox id=checkbox3 default>
</span><ins>+<input type=radio name=radios id=radio1 checked>
+<input type=radio name=radios id=radio2>
+<input type=radio name=radios id=radio3 default>
</ins><span class="cx"> <select id=select1>
</span><span class="cx"> <optgroup label="options" id=optgroup1>
</span><del>- <option value="option1" id=option1 selected>option1
</del><span class="cx"> <option value="option1" id=option1>option1
</span><ins>+ <option value="option2" id=option2 selected>option2
</ins><span class="cx"> </select>
</span><span class="cx"> <dialog id="dialog">
</span><span class="cx"> <input type=submit id=input8>
</span><span class="lines">@@ -53,9 +56,9 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> <script>
</span><del>- testSelector(":default", ["button2", "button4", "input3", "input5", "input7", "checkbox1", "option1", "button6", "button8"], "':default' matches <button>s that are their form's default button, <input>s of type submit/image that are their form's default button, checked <input>s and selected <option>s");
</del><ins>+ testSelector(":default", ["button2", "button4", "input3", "input5", "input7", "checkbox1", "radio1", "option2", "button6", "button8"], "':default' matches <button>s that are their form's default button, <input>s of type submit/image that are their form's default button, checked <input>s and selected <option>s");
</ins><span class="cx">
</span><span class="cx"> document.getElementById("button1").type = "submit"; // change the form's default button
</span><del>- testSelector(":default", ["button1", "button4", "input3", "input5", "input7", "checkbox1", "option1", "button6", "button8"], "':default' matches dynamically changed form's default buttons");
</del><ins>+ testSelector(":default", ["button1", "button4", "input3", "input5", "input7", "checkbox1", "radio1", "option2", "button6", "button8"], "':default' matches dynamically changed form's default buttons");
</ins><span class="cx">
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesfocusautofocusexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+
+FAIL :focus selector should work with an autofocused element. assert_array_equals: lengths differ, expected 1 got 0
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesfocusautofocushtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+<!DOCTYPE html>
+<meta charset=utf-8>
+<title>Selector: pseudo-classes (:focus for autofocus)</title>
+<link rel="author" title="Kent Tamura" href="mailto:tkent@chromium.org">
+<link rel=help href="https://html.spec.whatwg.org/multipage/#pseudo-classes">
+<link rel=help href="https://html.spec.whatwg.org/multipage/forms.html#autofocusing-a-form-control:-the-autofocus-attribute">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<body>
+<script>
+// This test can't be merged to focus.html because element.focus() may affect
+// autofocus behavior.
+var autofocusTest = async_test(":focus selector should work with an autofocused element.");
+var input = document.createElement("input");
+input.autofocus = true;
+input.addEventListener("focus", function() {
+ autofocusTest.step(function() {
+ assert_array_equals(document.querySelectorAll(":focus"), [input])
+ autofocusTest.done();
+ });
+}, false);
+document.body.appendChild(input);
+</script>
+</body>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesfocusexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,9 +1,8 @@
</span><del>-button1
</del><ins>+button1
</ins><span class="cx"> hello
</span><span class="cx"> content
</span><span class="cx">
</span><span class="cx">
</span><del>-FAIL input3 has the attribute autofocus assert_array_equals: lengths differ, expected 1 got 0
</del><span class="cx"> PASS input1 has the focus
</span><span class="cx"> PASS tabindex attribute makes the element focusable
</span><span class="cx"> PASS editable elements are focusable
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesfocushtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -11,7 +11,6 @@
</span><span class="cx"> <button id=button1 type=submit>button1</button>
</span><span class="cx"> <input id=input1>
</span><span class="cx"> <input id=input2 disabled>
</span><del>- <input id=input3 autofocus>
</del><span class="cx"> <textarea id=textarea1>textarea1</textarea>
</span><span class="cx"> <input type=checkbox id=checkbox1 checked>
</span><span class="cx"> <input type=radio id=radio1 checked>
</span><span class="lines">@@ -20,8 +19,6 @@
</span><span class="cx"> <iframe src="focus-iframe.html" id=iframe onload="load()"></iframe>
</span><span class="cx">
</span><span class="cx"> <script>
</span><del>- testSelector(":focus", ["input3"], "input3 has the attribute autofocus");
-
</del><span class="cx"> document.getElementById("input1").focus(); // set the focus on input1
</span><span class="cx"> testSelector(":focus", ["input1"], "input1 has the focus");
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesinrangeoutofrangeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,9 +1,9 @@
</span><del>-
</del><ins>+
</ins><span class="cx">
</span><del>-FAIL ':in-range' matches all elements that are candidates for constraint validation, have range limitations, and that are neither suffering from an underflow nor suffering from an overflow assert_array_equals: lengths differ, expected 1 got 2
-PASS ':out-of-range' matches all elements that are candidates for constraint validation, have range limitations, and that are either suffering from an underflow or suffering from an overflow
-FAIL ':in-range' update number1's value < min assert_array_equals: lengths differ, expected 0 got 1
-PASS ':out-of-range' update number1's value < min
-FAIL ':in-range' update number3's min < value assert_array_equals: lengths differ, expected 1 got 2
-PASS ':out-of-range' update number3's min < value
</del><ins>+FAIL ':in-range' matches all elements that are candidates for constraint validation, have range limitations, and that are neither suffering from an underflow nor suffering from an overflow assert_array_equals: lengths differ, expected 10 got 8
+FAIL ':out-of-range' matches all elements that are candidates for constraint validation, have range limitations, and that are either suffering from an underflow or suffering from an overflow assert_array_equals: lengths differ, expected 12 got 2
+FAIL ':in-range' update number1's value < min assert_array_equals: lengths differ, expected 9 got 7
+FAIL ':out-of-range' update number1's value < min assert_array_equals: lengths differ, expected 13 got 3
+FAIL ':in-range' update number3's min < value assert_array_equals: lengths differ, expected 10 got 8
+FAIL ':out-of-range' update number3's min < value assert_array_equals: lengths differ, expected 12 got 2
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesinrangeoutofrangehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,8 +1,10 @@
</span><span class="cx"> <!DOCTYPE html>
</span><span class="cx"> <meta charset=utf-8>
</span><span class="cx"> <title>Selector: pseudo-classes (:in-range, :out-of-range)</title>
</span><del>-<link rel="author" title="Denis Ah-Kang" href="mailto:denis@w3.org" id=link1>
-<link rel=help href="https://html.spec.whatwg.org/multipage/#pseudo-classes" id=link2>
</del><ins>+<link rel="author" title="Denis Ah-Kang" href="mailto:denis@w3.org" id="link1">
+<link rel="author" title="Chris Rebert" href="http://chrisrebert.com" id="link2">
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#selector-in-range" id="link3">
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#selector-out-of-range" id="link4">
</ins><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script src="utils.js"></script>
</span><span class="lines">@@ -11,17 +13,72 @@
</span><span class="cx"> <input type=number value=0 min=0 max=10 id=number2 disabled>
</span><span class="cx"> <input type=number value=0 min=1 max=10 id=number3>
</span><span class="cx"> <input type=number value=11 min=0 max=10 id=number4>
</span><ins>+<input type=number value=0 min=0 max=10 id=number5 readonly>
</ins><span class="cx">
</span><ins>+<input type="date" min="2005-10-10" max="2020-10-10" value="2010-10-10" id="datein">
+<input type="date" min="2010-10-10" max="2020-10-10" value="2005-10-10" id="dateunder">
+<input type="date" min="2010-10-10" max="2020-10-10" value="2030-10-10" id="dateover">
+
+<input type="time" min="01:00:00" max="05:00:00" value="02:00:00" id="timein">
+<input type="time" min="02:00:00" max="05:00:00" value="01:00:00" id="timeunder">
+<input type="time" min="02:00:00" max="05:00:00" value="07:00:00" id="timeover">
+
+<input type="week" min="2016-W05" max="2016-W10" value="2016-W07" id="weekin">
+<input type="week" min="2016-W05" max="2016-W10" value="2016-W02" id="weekunder">
+<input type="week" min="2016-W05" max="2016-W10" value="2016-W26" id="weekover">
+
+<input type="month" min="2000-04" max="2000-09" value="2000-06" id="monthin">
+<input type="month" min="2000-04" max="2000-09" value="2000-02" id="monthunder">
+<input type="month" min="2000-04" max="2000-09" value="2000-11" id="monthover">
+
+<input type="datetime-local" min="2008-03-12T23:59:59" max="2015-02-13T23:59:59" value="2012-11-28T23:59:59" id="datetimelocalin">
+<input type="datetime-local" min="2008-03-12T23:59:59" max="2015-02-13T23:59:59" value="2008-03-01T23:59:59" id="datetimelocalunder">
+<input type="datetime-local" min="2008-03-12T23:59:59" max="2015-02-13T23:59:59" value="2016-01-01T23:59:59" id="datetimelocalover">
+
+<!-- None of the following have range limitations since they have neither min nor max attributes -->
+<input type="number" value="0" id="numbernolimit">
+<input type="date" value="2010-10-10" id="datenolimit">
+<input type="time" value="02:00:00" id="timenolimit">
+<input type="week" value="2016-W07" id="weeknolimit">
+<input type="month" value="2000-06" id="monthnolimit">
+<input type="datetime-local" value="2012-11-28T23:59:59" id="datetimelocalnolimit">
+
+<!-- range inputs have default minimum of 0 and default maximum of 100 -->
+<input type="range" value="50" id="range0">
+
+<!-- range input's value gets immediately clamped to the nearest boundary point -->
+<input type="range" min="2" max="7" value="5" id="range1">
+<input type="range" min="2" max="7" value="1" id="range2">
+<input type="range" min="2" max="7" value="9" id="range3">
+
+<!-- None of the following input types can have range limitations -->
+<input min="1" value="0" type="text">
+<input min="1" value="0" type="search">
+<input min="1" value="0" type="url">
+<input min="1" value="0" type="tel">
+<input min="1" value="0" type="email">
+<input min="1" value="0" type="password">
+<input min="1" value="#000000" type="color">
+<input min="1" value="0" type="checkbox">
+<input min="1" value="0" type="radio">
+<input min="1" value="0" type="file">
+<input min="1" value="0" type="submit">
+<input min="1" value="0" type="image">
+<!-- The following types are also barred from constraint validation -->
+<input min="1" value="0" type="hidden">
+<input min="1" value="0" type="button">
+<input min="1" value="0" type="reset">
+
</ins><span class="cx"> <script>
</span><del>- testSelector(":in-range", ["number1"], "':in-range' matches all elements that are candidates for constraint validation, have range limitations, and that are neither suffering from an underflow nor suffering from an overflow");
</del><ins>+ testSelector(":in-range", ["number1", "datein", "timein", "weekin", "monthin", "datetimelocalin", "range0", "range1", "range2", "range3"], "':in-range' matches all elements that are candidates for constraint validation, have range limitations, and that are neither suffering from an underflow nor suffering from an overflow");
</ins><span class="cx">
</span><del>- testSelector(":out-of-range", ["number3", "number4"], "':out-of-range' matches all elements that are candidates for constraint validation, have range limitations, and that are either suffering from an underflow or suffering from an overflow");
</del><ins>+ testSelector(":out-of-range", ["number3", "number4", "dateunder", "dateover", "timeunder", "timeover", "weekunder", "weekover", "monthunder", "monthover", "datetimelocalunder", "datetimelocalover"], "':out-of-range' matches all elements that are candidates for constraint validation, have range limitations, and that are either suffering from an underflow or suffering from an overflow");
</ins><span class="cx">
</span><span class="cx"> document.getElementById("number1").value = -10;
</span><del>- testSelector(":in-range", [], "':in-range' update number1's value < min");
- testSelector(":out-of-range", ["number1", "number3", "number4"], "':out-of-range' update number1's value < min");
</del><ins>+ testSelector(":in-range", ["datein", "timein", "weekin", "monthin", "datetimelocalin", "range0", "range1", "range2", "range3"], "':in-range' update number1's value < min");
+ testSelector(":out-of-range", ["number1", "number3", "number4", "dateunder", "dateover", "timeunder", "timeover", "weekunder", "weekover", "monthunder", "monthover", "datetimelocalunder", "datetimelocalover"], "':out-of-range' update number1's value < min");
</ins><span class="cx">
</span><span class="cx"> document.getElementById("number3").min = 0;
</span><del>- testSelector(":in-range", ["number3"], "':in-range' update number3's min < value");
- testSelector(":out-of-range", ["number1", "number4"], "':out-of-range' update number3's min < value");
</del><ins>+ testSelector(":in-range", ["number3", "datein", "timein", "weekin", "monthin", "datetimelocalin", "range0", "range1", "range2", "range3"], "':in-range' update number3's min < value");
+ testSelector(":out-of-range", ["number1", "number4", "dateunder", "dateover", "timeunder", "timeover", "weekunder", "weekover", "monthunder", "monthover", "datetimelocalunder", "datetimelocalover"], "':out-of-range' update number3's min < value");
</ins><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclasseslinkexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/link-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/link-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/link-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><span class="cx">
</span><del>-PASS Only <a>s, <area>s and <link>s that have a href attribute match ':link'
-PASS ':link' doesn't match elements whos href attribute has been removed
</del><ins>+FAIL Only <a>s, <area>s and <link>s that have a href attribute match ':link' assert_array_equals: lengths differ, expected 7 got 6
+FAIL ':link' doesn't match elements whos href attribute has been removed assert_array_equals: lengths differ, expected 6 got 5
</ins><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclasseslinkhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/link.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/link.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/link.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3,7 +3,6 @@
</span><span class="cx"> <title>Selector: pseudo-classes (:link)</title>
</span><span class="cx"> <link rel="author" title="Denis Ah-Kang" href="mailto:denis@w3.org" id=link1>
</span><span class="cx"> <link rel=help href="https://html.spec.whatwg.org/multipage/#pseudo-classes" id=link2>
</span><del>-<link rel=stylesheet href="/resources/testharness.css" id=link3>
</del><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><span class="cx"> <script src="utils.js"></script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesreadwritereadonlyexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,3 +1,4 @@
</span><ins>+
</ins><span class="cx">
</span><span class="cx">
</span><span class="cx">
</span><span class="lines">@@ -6,6 +7,8 @@
</span><span class="cx"> paragraph2.
</span><span class="cx">
</span><span class="cx">
</span><ins>+PASS The :read-write pseudo-class must not match input elements to which the readonly attribute does not apply
+PASS The :read-only pseudo-class must match input elements to which the readonly attribute does not apply
</ins><span class="cx"> PASS The :read-write pseudo-class must match input elements to which the readonly attribute applies, and that are mutable
</span><span class="cx"> FAIL The :read-only pseudo-class must not match input elements to which the readonly attribute applies, and that are mutable assert_array_equals: lengths differ, expected 1 got 4
</span><span class="cx"> PASS The :read-write pseudo-class must not match input elements after the readonly attribute has been added
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesreadwritereadonlyhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -7,6 +7,20 @@
</span><span class="cx"> <script src="utils.js"></script>
</span><span class="cx"> <div id="log"></div>
</span><span class="cx">
</span><ins>+<div id=set0>
+<!-- The readonly attribute does not apply to the following input types -->
+<input id=checkbox1 type=checkbox>
+<input id=hidden1 type=hidden value=abc>
+<input id=range1 type=range>
+<input id=color1 type=color>
+<input id=radio1 type=radio>
+<input id=file1 type=file>
+<input id=submit1 type=submit>
+<input id=image1 type=image>
+<input id=button1 type=button value="Button">
+<input id=reset1 type=reset>
+</div>
+
</ins><span class="cx"> <div id=set1>
</span><span class="cx"> <input id=input1>
</span><span class="cx"> <input id=input2 readonly>
</span><span class="lines">@@ -31,6 +45,10 @@
</span><span class="cx"> </div>
</span><span class="cx">
</span><span class="cx"> <script>
</span><ins>+ testSelector("#set0 :read-write", [], "The :read-write pseudo-class must not match input elements to which the readonly attribute does not apply");
+
+ testSelector("#set0 :read-only", ["checkbox1", "hidden1", "range1", "color1", "radio1", "file1", "submit1", "image1", "button1", "reset1"], "The :read-only pseudo-class must match input elements to which the readonly attribute does not apply");
+
</ins><span class="cx"> testSelector("#set1 :read-write", ["input1"], "The :read-write pseudo-class must match input elements to which the readonly attribute applies, and that are mutable");
</span><span class="cx">
</span><span class="cx"> testSelector("#set1 :read-only", ["input2"], "The :read-only pseudo-class must not match input elements to which the readonly attribute applies, and that are mutable");
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticsselectorspseudoclassesw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -21,6 +21,7 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/dir01.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/disabled.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/enabled.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-iframe.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/indeterminate-radio.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementinsertRowmethod03expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+
+PASS insertRow(): non-empty table
+PASS table should start out with two rows
+PASS insertRow should insert a tr element before the second row
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementinsertRowmethod03html"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,32 @@
</span><ins>+<!DOCTYPE html>
+<title>insertRow(): non-empty table</title>
+<link rel="author" title="g-k" href="mailto:greg.guthe@gmail.com">
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-table-insertrow">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<div id="log"></div>
+<div id="test">
+ <table>
+ <tbody><tr id="first"></tr><tr id="second"></tr></tbody>
+ </table>
+</div>
+<script>
+var HTML = "http://www.w3.org/1999/xhtml";
+test(function() {
+ var table = document.getElementById("test").getElementsByTagName("table")[0];
+ test(function() {
+ assert_equals(table.childNodes.length, 3);
+ assert_equals(table.rows.length, 2);
+ }, "table should start out with two rows")
+
+ var tr;
+ test(function() {
+ tr = table.insertRow(1);
+ assert_equals(tr.localName, "tr");
+ assert_equals(tr.namespaceURI, HTML);
+ assert_equals(table.getElementsByTagName("tr")[0].id, "first");
+ assert_equals(table.getElementsByTagName("tr")[1].id, "");
+ assert_equals(table.getElementsByTagName("tr")[2].id, "second");
+ }, "insertRow should insert a tr element before the second row")
+});
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementtFootexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+FAIL tFoot tests assert_equals: expected Element node <tbody id="tbody2"></tbody> but got Element node <thead id="thead"></thead>
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementtFoothtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+<!doctype html>
+<meta charset="utf-8">
+<title>tFoot tests</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<table id="t">
+<caption id="tcaption"></caption><thead id="thead"></thead><tbody id="tbody1"></tbody><tbody id="tbody2"></tbody><tfoot id="tfoot1"></tfoot><tfoot id="tfoot2"></tfoot><tfoot id="tfoot3"></tfoot></table>
+<script>
+test(function() {
+ var t = document.getElementById("t");
+ var tfoot1 = document.getElementById("tfoot1");
+
+ assert_equals(t.tFoot, tfoot1);
+
+ var tfoot2 = document.getElementById("tfoot2");
+ t.tFoot = null;
+
+ assert_equals(t.tFoot, tfoot2);
+
+ var tfoot3 = document.getElementById("tfoot3");
+ t.deleteTFoot();
+
+ assert_equals(t.tFoot, tfoot3);
+
+ var tfoot = t.createTFoot();
+ assert_equals(t.tFoot, tfoot);
+ assert_equals(tfoot, tfoot3);
+
+ t.deleteTFoot();
+ assert_equals(t.tFoot, null);
+
+ var tbody2 = document.getElementById("tbody2");
+
+ tfoot = t.createTFoot();
+ assert_equals(t.tFoot, tfoot);
+
+ assert_equals(t.tFoot.previousSibling, tbody2);
+ assert_equals(t.tFoot.nextSibling, null);
+
+ assert_throws(new TypeError(), function(){
+ t.tFoot = document.createElement("div");
+ });
+
+ assert_throws("HierarchyRequestError", function(){
+ t.tFoot = document.createElement("thead");
+ });
+})
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementtHeadexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tHead-expected.txt (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tHead-expected.txt         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tHead-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+
+PASS tHead tests
+PASS tHead tests 1
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementtHeadhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tHead.html (0 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tHead.html         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tHead.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -0,0 +1,66 @@
</span><ins>+<!doctype html>
+<meta charset="utf-8">
+<title>tHead tests</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<table id="t">
+<caption id="tcaption"></caption><thead id="thead1"></thead><thead id="thead2"></thead><thead id="thead3"></thead><tbody id="tbody1"></tbody><tbody id="tbody2"></tbody><tfoot id="tfoot"></tfoot>
+</table>
+<table>
+<thead id="t2thead">
+<td>
+<table id="t2">
+</table>
+</table>
+<script>
+test(function() {
+ var t = document.getElementById("t");
+ var thead1 = document.getElementById("thead1");
+
+ assert_equals(t.tHead, thead1);
+
+ var thead2 = document.getElementById("thead2");
+ t.tHead = null;
+
+ assert_equals(t.tHead, thead2);
+
+ var thead3 = document.getElementById("thead3");
+ t.deleteTHead();
+
+ assert_equals(t.tHead, thead3);
+
+ var thead = t.createTHead();
+ assert_equals(t.tHead, thead);
+ assert_equals(thead, thead3);
+
+ t.deleteTHead();
+ assert_equals(t.tHead, null);
+
+ var tcaption = document.getElementById("tcaption");
+ var tbody1 = document.getElementById("tbody1");
+
+ thead = t.createTHead();
+ assert_equals(t.tHead, thead);
+
+ assert_equals(t.tHead.previousSibling, tcaption);
+ assert_equals(t.tHead.nextSibling, tbody1);
+
+ assert_throws(new TypeError(), function(){
+ t.tHead = document.createElement("div");
+ });
+
+ assert_throws("HierarchyRequestError", function(){
+ t.tHead = document.createElement("tbody");
+ });
+
+});
+
+test(function() {
+ var t2 = document.getElementById("t2");
+ var t2thead = document.getElementById("t2thead");
+
+ assert_throws("HierarchyRequestError", function() {
+ t2.tHead = t2thead;
+ });
+});
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmlsemanticstabulardatathetableelementw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/w3c-import.log        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -21,6 +21,9 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/delete-caption.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-01.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-02.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/insertRow-method-03.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tBodies.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tFoot.html
+/LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/tHead.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/table-insertRow.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/html/semantics/tabular-data/the-table-element/table-rows.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestslintwhitelist"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/lint.whitelist        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -105,6 +105,9 @@
</span><span class="cx">
</span><span class="cx"> # semi-legitimate use of console.*
</span><span class="cx"> CONSOLE:streams/resources/test-utils.js
</span><ins>+CONSOLE:service-workers/service-worker/resources/navigation-redirect-other-origin.html
+CONSOLE:service-workers/service-worker/navigation-redirect.https.html
+CONSOLE:service-workers/service-worker/resources/clients-get-other-origin.html
</ins><span class="cx">
</span><span class="cx"> # Lint doesn't know about sub.svg I guess
</span><span class="cx"> PARSE-FAILED:content-security-policy/svg/including.sub.svg
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsmediaOWNERS"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/media/OWNERS (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/media/OWNERS        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/media/OWNERS        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,2 +1 @@
</span><span class="cx"> @hillbrad
</span><del>-@foolip
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercacheaddhttpshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-add.https.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-add.https.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-add.https.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> <meta name="timeout" content="long">
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><del>-<script src="../../service-workers/resources/test-helpers.js"></script>
</del><ins>+<script src="../../service-worker/resources/test-helpers.sub.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx"> service_worker_test('../script-tests/cache-add.js');
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercachedeletehttpshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-delete.https.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-delete.https.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-delete.https.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> <meta name="timeout" content="long">
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><del>-<script src="../../service-workers/resources/test-helpers.js"></script>
</del><ins>+<script src="../../service-worker/resources/test-helpers.sub.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx"> service_worker_test('../script-tests/cache-delete.js');
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercachematchhttpshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-match.https.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> <meta name="timeout" content="long">
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><del>-<script src="../../service-workers/resources/test-helpers.js"></script>
</del><ins>+<script src="../../service-worker/resources/test-helpers.sub.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx"> service_worker_test('../script-tests/cache-match.js');
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercachematchAllhttpshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-matchAll.https.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-matchAll.https.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-matchAll.https.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> <meta name="timeout" content="long">
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><del>-<script src="../../service-workers/resources/test-helpers.js"></script>
</del><ins>+<script src="../../service-worker/resources/test-helpers.sub.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx"> service_worker_test('../script-tests/cache-matchAll.js');
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercacheputhttpshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-put.https.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-put.https.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-put.https.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> <meta name="timeout" content="long">
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><del>-<script src="../../service-workers/resources/test-helpers.js"></script>
</del><ins>+<script src="../../service-worker/resources/test-helpers.sub.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx"> service_worker_test('../script-tests/cache-put.js');
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercachestoragekeyshttpshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-keys.https.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-keys.https.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-keys.https.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> <meta name="timeout" content="long">
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><del>-<script src="../../service-workers/resources/test-helpers.js"></script>
</del><ins>+<script src="../../service-worker/resources/test-helpers.sub.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx"> service_worker_test('../script-tests/cache-storage-keys.js');
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercachestoragematchhttpshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-match.https.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-match.https.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage-match.https.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> <meta name="timeout" content="long">
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><del>-<script src="../../service-workers/resources/test-helpers.js"></script>
</del><ins>+<script src="../../service-worker/resources/test-helpers.sub.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx"> service_worker_test('../script-tests/cache-storage-match.js');
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercachestoragehttpshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage.https.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage.https.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/cache-storage.https.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> <meta name="timeout" content="long">
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><del>-<script src="../../service-workers/resources/test-helpers.js"></script>
</del><ins>+<script src="../../service-worker/resources/test-helpers.sub.js"></script>
</ins><span class="cx"> <script>
</span><span class="cx"> service_worker_test('../script-tests/cache-storage.js');
</span><span class="cx"> </script>
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsserviceworkerscachestorageserviceworkercredentialshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/credentials.html (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/credentials.html        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/cache-storage/serviceworker/credentials.html        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> <link rel="help" href="https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#cache-storage">
</span><span class="cx"> <script src="/resources/testharness.js"></script>
</span><span class="cx"> <script src="/resources/testharnessreport.js"></script>
</span><del>-<script src="../../service-workers/resources/test-helpers.js"></script>
</del><ins>+<script src="../../service-worker/resources/test-helpers.sub.js"></script>
</ins><span class="cx"> <style>iframe { display: none; }</style>
</span><span class="cx"> <script>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamsbytelengthqueuingstrategyjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -12,7 +12,7 @@
</span><span class="cx">
</span><span class="cx"> test(() => {
</span><span class="cx">
</span><del>- for (let highWaterMark of [-Infinity, NaN, 'foo', {}, () => {}]) {
</del><ins>+ for (const highWaterMark of [-Infinity, NaN, 'foo', {}, () => {}]) {
</ins><span class="cx"> const strategy = new ByteLengthQueuingStrategy({ highWaterMark });
</span><span class="cx"> assert_equals(strategy.highWaterMark, highWaterMark, `${highWaterMark} gets set correctly`);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamscountqueuingstrategyjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -12,7 +12,7 @@
</span><span class="cx">
</span><span class="cx"> test(() => {
</span><span class="cx">
</span><del>- for (let highWaterMark of [-Infinity, NaN, 'foo', {}, () => {}]) {
</del><ins>+ for (const highWaterMark of [-Infinity, NaN, 'foo', {}, () => {}]) {
</ins><span class="cx"> const strategy = new CountQueuingStrategy({ highWaterMark });
</span><span class="cx"> assert_equals(strategy.highWaterMark, highWaterMark, `${highWaterMark} gets set correctly`);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsbadstrategiesjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -19,9 +19,10 @@
</span><span class="cx">
</span><span class="cx"> }, 'Readable stream: throwing strategy.size getter');
</span><span class="cx">
</span><del>-test(() => {
</del><ins>+promise_test(t => {
</ins><span class="cx">
</span><del>- const theError = new Error('a unique string');
</del><ins>+ const controllerError = { name: 'controller error' };
+ const thrownError = { name: 'thrown error' };
</ins><span class="cx">
</span><span class="cx"> let controller;
</span><span class="cx"> const rs = new ReadableStream(
</span><span class="lines">@@ -32,22 +33,22 @@
</span><span class="cx"> },
</span><span class="cx"> {
</span><span class="cx"> size() {
</span><del>- controller.error(theError);
- throw theError;
</del><ins>+ controller.error(controllerError);
+ throw thrownError;
</ins><span class="cx"> },
</span><span class="cx"> highWaterMark: 5
</span><span class="cx"> }
</span><span class="cx"> );
</span><span class="cx">
</span><del>- assert_throws(theError, () => {
- controller.enqueue('a');
- }, 'enqueue should re-throw the error');
</del><ins>+ assert_throws(thrownError, () => controller.enqueue('a'), 'enqueue should re-throw the error');
</ins><span class="cx">
</span><ins>+ return promise_rejects(t, controllerError, rs.getReader().closed);
+
</ins><span class="cx"> }, 'Readable stream: strategy.size errors the stream and then throws');
</span><span class="cx">
</span><del>-test(() => {
</del><ins>+promise_test(t => {
</ins><span class="cx">
</span><del>- const theError = new Error('a unique string');
</del><ins>+ const theError = { name: 'my error' };
</ins><span class="cx">
</span><span class="cx"> let controller;
</span><span class="cx"> const rs = new ReadableStream(
</span><span class="lines">@@ -65,12 +66,10 @@
</span><span class="cx"> }
</span><span class="cx"> );
</span><span class="cx">
</span><del>- try {
- controller.enqueue('a');
- } catch (error) {
- assert_equals(error.name, 'RangeError', 'enqueue should throw a RangeError');
- }
</del><ins>+ assert_throws(new RangeError(), () => controller.enqueue('a'), 'enqueue should throw a RangeError');
</ins><span class="cx">
</span><ins>+ return promise_rejects(t, theError, rs.getReader().closed, 'closed should reject with the error');
+
</ins><span class="cx"> }, 'Readable stream: strategy.size errors the stream and then returns Infinity');
</span><span class="cx">
</span><span class="cx"> promise_test(() => {
</span><span class="lines">@@ -115,7 +114,7 @@
</span><span class="cx">
</span><span class="cx"> test(() => {
</span><span class="cx">
</span><del>- for (let highWaterMark of [-1, -Infinity]) {
</del><ins>+ for (const highWaterMark of [-1, -Infinity]) {
</ins><span class="cx"> assert_throws(new RangeError(), () => {
</span><span class="cx"> new ReadableStream({}, {
</span><span class="cx"> size() {
</span><span class="lines">@@ -126,7 +125,7 @@
</span><span class="cx"> }, 'construction should throw a RangeError for ' + highWaterMark);
</span><span class="cx"> }
</span><span class="cx">
</span><del>- for (let highWaterMark of [NaN, 'foo', {}]) {
</del><ins>+ for (const highWaterMark of [NaN, 'foo', {}]) {
</ins><span class="cx"> assert_throws(new TypeError(), () => {
</span><span class="cx"> new ReadableStream({}, {
</span><span class="cx"> size() {
</span><span class="lines">@@ -142,7 +141,7 @@
</span><span class="cx"> promise_test(() => {
</span><span class="cx">
</span><span class="cx"> const promises = [];
</span><del>- for (let size of [NaN, -Infinity, Infinity, -1]) {
</del><ins>+ for (const size of [NaN, -Infinity, Infinity, -1]) {
</ins><span class="cx"> let theError;
</span><span class="cx"> const rs = new ReadableStream(
</span><span class="cx"> {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsbadunderlyingsourceshttpsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.https-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.https-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.https-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -7,14 +7,14 @@
</span><span class="cx"> PASS Underlying source pull: throwing method (second pull)
</span><span class="cx"> PASS Underlying source cancel: throwing getter
</span><span class="cx"> PASS Underlying source cancel: throwing method
</span><del>-PASS Underlying source: calling enqueue on an empty canceled stream should not throw
-PASS Underlying source: calling enqueue on a non-empty canceled stream should not throw
</del><ins>+FAIL Underlying source: calling enqueue on an empty canceled stream should throw assert_throws: Calling enqueue after canceling should throw function "() => controller.enqueue('a')" did not throw
+FAIL Underlying source: calling enqueue on a non-empty canceled stream should throw assert_throws: Calling enqueue after canceling should throw function "() => controller.enqueue('c')" did not throw
</ins><span class="cx"> PASS Underlying source: calling enqueue on a closed stream should throw
</span><del>-PASS Underlying source: calling enqueue on an errored stream should throw
</del><ins>+FAIL Underlying source: calling enqueue on an errored stream should throw assert_throws: call to enqueue should throw the error function "() => c.enqueue('a')" threw object "Error: boo" ("Error") expected object "TypeError" ("TypeError")
</ins><span class="cx"> PASS Underlying source: calling close twice on an empty stream should throw the second time
</span><span class="cx"> PASS Underlying source: calling close twice on a non-empty stream should throw the second time
</span><del>-PASS Underlying source: calling close on an empty canceled stream should not throw
-PASS Underlying source: calling close on a non-empty canceled stream should not throw
</del><ins>+FAIL Underlying source: calling close on an empty canceled stream should throw assert_throws: Calling close after canceling should throw function "() => controller.close()" did not throw
+FAIL Underlying source: calling close on a non-empty canceled stream should throw assert_throws: Calling close after canceling should throw function "() => controller.close()" did not throw
</ins><span class="cx"> PASS Underlying source: calling close after error should throw
</span><span class="cx"> PASS Underlying source: calling error twice should throw the second time
</span><span class="cx"> PASS Underlying source: calling error after close should throw
</span><span class="lines">@@ -30,14 +30,14 @@
</span><span class="cx"> PASS Underlying source pull: throwing method (second pull)
</span><span class="cx"> PASS Underlying source cancel: throwing getter
</span><span class="cx"> PASS Underlying source cancel: throwing method
</span><del>-PASS Underlying source: calling enqueue on an empty canceled stream should not throw
-PASS Underlying source: calling enqueue on a non-empty canceled stream should not throw
</del><ins>+FAIL Underlying source: calling enqueue on an empty canceled stream should throw assert_throws: Calling enqueue after canceling should throw function "() => controller.enqueue('a')" did not throw
+FAIL Underlying source: calling enqueue on a non-empty canceled stream should throw assert_throws: Calling enqueue after canceling should throw function "() => controller.enqueue('c')" did not throw
</ins><span class="cx"> PASS Underlying source: calling enqueue on a closed stream should throw
</span><del>-PASS Underlying source: calling enqueue on an errored stream should throw
</del><ins>+FAIL Underlying source: calling enqueue on an errored stream should throw assert_throws: call to enqueue should throw the error function "() => c.enqueue('a')" threw object "Error: boo" ("Error") expected object "TypeError" ("TypeError")
</ins><span class="cx"> PASS Underlying source: calling close twice on an empty stream should throw the second time
</span><span class="cx"> PASS Underlying source: calling close twice on a non-empty stream should throw the second time
</span><del>-PASS Underlying source: calling close on an empty canceled stream should not throw
-PASS Underlying source: calling close on a non-empty canceled stream should not throw
</del><ins>+FAIL Underlying source: calling close on an empty canceled stream should throw assert_throws: Calling close after canceling should throw function "() => controller.close()" did not throw
+FAIL Underlying source: calling close on a non-empty canceled stream should throw assert_throws: Calling close after canceling should throw function "() => controller.close()" did not throw
</ins><span class="cx"> PASS Underlying source: calling close after error should throw
</span><span class="cx"> PASS Underlying source: calling error twice should throw the second time
</span><span class="cx"> PASS Underlying source: calling error after close should throw
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsbadunderlyingsourcesjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -153,11 +153,11 @@
</span><span class="cx"> });
</span><span class="cx">
</span><span class="cx"> rs.cancel();
</span><del>- controller.enqueue('a'); // Calling enqueue after canceling should not throw anything.
</del><ins>+ assert_throws(new TypeError, () => controller.enqueue('a'), 'Calling enqueue after canceling should throw');
</ins><span class="cx">
</span><span class="cx"> return rs.getReader().closed;
</span><span class="cx">
</span><del>-}, 'Underlying source: calling enqueue on an empty canceled stream should not throw');
</del><ins>+}, 'Underlying source: calling enqueue on an empty canceled stream should throw');
</ins><span class="cx">
</span><span class="cx"> promise_test(() => {
</span><span class="cx">
</span><span class="lines">@@ -171,11 +171,11 @@
</span><span class="cx"> });
</span><span class="cx">
</span><span class="cx"> rs.cancel();
</span><del>- controller.enqueue('c'); // Calling enqueue after canceling should not throw anything.
</del><ins>+ assert_throws(new TypeError, () => controller.enqueue('c'), 'Calling enqueue after canceling should throw');
</ins><span class="cx">
</span><span class="cx"> return rs.getReader().closed;
</span><span class="cx">
</span><del>-}, 'Underlying source: calling enqueue on a non-empty canceled stream should not throw');
</del><ins>+}, 'Underlying source: calling enqueue on a non-empty canceled stream should throw');
</ins><span class="cx">
</span><span class="cx"> promise_test(() => {
</span><span class="cx">
</span><span class="lines">@@ -194,7 +194,7 @@
</span><span class="cx"> const closed = new ReadableStream({
</span><span class="cx"> start(c) {
</span><span class="cx"> c.error(theError);
</span><del>- assert_throws(theError, () => c.enqueue('a'), 'call to enqueue should throw the error');
</del><ins>+ assert_throws(new TypeError(), () => c.enqueue('a'), 'call to enqueue should throw the error');
</ins><span class="cx"> }
</span><span class="cx"> }).getReader().closed;
</span><span class="cx">
</span><span class="lines">@@ -251,13 +251,13 @@
</span><span class="cx"> });
</span><span class="cx">
</span><span class="cx"> rs.cancel();
</span><del>- controller.close(); // Calling close after canceling should not throw anything.
</del><ins>+ assert_throws(new TypeError(), () => controller.close(), 'Calling close after canceling should throw');
</ins><span class="cx">
</span><span class="cx"> return rs.getReader().closed.then(() => {
</span><span class="cx"> assert_true(startCalled);
</span><span class="cx"> });
</span><span class="cx">
</span><del>-}, 'Underlying source: calling close on an empty canceled stream should not throw');
</del><ins>+}, 'Underlying source: calling close on an empty canceled stream should throw');
</ins><span class="cx">
</span><span class="cx"> promise_test(() => {
</span><span class="cx">
</span><span class="lines">@@ -272,13 +272,13 @@
</span><span class="cx"> });
</span><span class="cx">
</span><span class="cx"> rs.cancel();
</span><del>- controller.close(); // Calling close after canceling should not throw anything.
</del><ins>+ assert_throws(new TypeError(), () => controller.close(), 'Calling close after canceling should throw');
</ins><span class="cx">
</span><span class="cx"> return rs.getReader().closed.then(() => {
</span><span class="cx"> assert_true(startCalled);
</span><span class="cx"> });
</span><span class="cx">
</span><del>-}, 'Underlying source: calling close on a non-empty canceled stream should not throw');
</del><ins>+}, 'Underlying source: calling close on a non-empty canceled stream should throw');
</ins><span class="cx">
</span><span class="cx"> promise_test(() => {
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamscanceljs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/cancel.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/cancel.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/cancel.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -24,7 +24,6 @@
</span><span class="cx">
</span><span class="cx"> cancel() {
</span><span class="cx"> randomSource.readStop();
</span><del>- randomSource.onend();
</del><span class="cx">
</span><span class="cx"> return new Promise(resolve => {
</span><span class="cx"> setTimeout(() => {
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsgeneralhttpsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.https-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.https-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.https-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,6 +1,7 @@
</span><span class="cx">
</span><span class="cx"> PASS ReadableStream can be constructed with no errors
</span><span class="cx"> PASS ReadableStream can't be constructed with garbage
</span><ins>+FAIL ReadableStream can't be constructed with an invalid type assert_throws: constructor should throw when the type is null function "() => new ReadableStream({ type: null })" did not throw
</ins><span class="cx"> FAIL ReadableStream instances should have the correct list of properties assert_false: method should be non-enumerable expected false got true
</span><span class="cx"> PASS ReadableStream constructor should throw for non-function start arguments
</span><span class="cx"> PASS ReadableStream constructor can get initial garbage as cancel argument
</span><span class="lines">@@ -23,9 +24,10 @@
</span><span class="cx"> PASS ReadableStream: should not call pull after start if the stream is now closed
</span><span class="cx"> PASS ReadableStream: should call pull after enqueueing from inside pull (with no read requests), if strategy allows
</span><span class="cx"> PASS ReadableStream pull should be able to close a stream.
</span><ins>+PASS ReadableStream pull should be able to error a stream.
+PASS ReadableStream pull should be able to error a stream and throw.
</ins><span class="cx"> PASS ReadableStream: enqueue should throw when the stream is readable but draining
</span><span class="cx"> PASS ReadableStream: enqueue should throw when the stream is closed
</span><del>-PASS ReadableStream: enqueue should throw the stored error when the stream is errored
</del><span class="cx"> PASS ReadableStream: should call underlying source methods as methods
</span><span class="cx"> PASS ReadableStream strategies: the default strategy should give desiredSize of 1 to start, decreasing by 1 per enqueue
</span><span class="cx"> PASS ReadableStream strategies: the default strategy should continue giving desiredSize of 1 if the chunks are read immediately
</span><span class="lines">@@ -36,6 +38,7 @@
</span><span class="cx"> FAIL Untitled undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
</span><span class="cx"> PASS ReadableStream can be constructed with no errors
</span><span class="cx"> PASS ReadableStream can't be constructed with garbage
</span><ins>+FAIL ReadableStream can't be constructed with an invalid type assert_throws: constructor should throw when the type is null function "() => new ReadableStream({ type: null })" did not throw
</ins><span class="cx"> FAIL ReadableStream instances should have the correct list of properties assert_false: method should be non-enumerable expected false got true
</span><span class="cx"> PASS ReadableStream constructor should throw for non-function start arguments
</span><span class="cx"> PASS ReadableStream constructor can get initial garbage as cancel argument
</span><span class="lines">@@ -58,9 +61,10 @@
</span><span class="cx"> PASS ReadableStream: should not call pull after start if the stream is now closed
</span><span class="cx"> PASS ReadableStream: should call pull after enqueueing from inside pull (with no read requests), if strategy allows
</span><span class="cx"> PASS ReadableStream pull should be able to close a stream.
</span><ins>+PASS ReadableStream pull should be able to error a stream.
+PASS ReadableStream pull should be able to error a stream and throw.
</ins><span class="cx"> PASS ReadableStream: enqueue should throw when the stream is readable but draining
</span><span class="cx"> PASS ReadableStream: enqueue should throw when the stream is closed
</span><del>-PASS ReadableStream: enqueue should throw the stored error when the stream is errored
</del><span class="cx"> PASS ReadableStream: should call underlying source methods as methods
</span><span class="cx"> PASS ReadableStream strategies: the default strategy should give desiredSize of 1 to start, decreasing by 1 per enqueue
</span><span class="cx"> PASS ReadableStream strategies: the default strategy should continue giving desiredSize of 1 if the chunks are read immediately
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsgeneraljs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -10,6 +10,7 @@
</span><span class="cx">
</span><span class="cx"> new ReadableStream(); // ReadableStream constructed with no parameters
</span><span class="cx"> new ReadableStream({ }); // ReadableStream constructed with an empty object as parameter
</span><ins>+ new ReadableStream({ type: undefined }); // ReadableStream constructed with undefined type
</ins><span class="cx"> new ReadableStream(undefined); // ReadableStream constructed with undefined as parameter
</span><span class="cx">
</span><span class="cx"> let x;
</span><span class="lines">@@ -25,6 +26,17 @@
</span><span class="cx">
</span><span class="cx"> test(() => {
</span><span class="cx">
</span><ins>+ assert_throws(new RangeError(), () => new ReadableStream({ type: null }),
+ 'constructor should throw when the type is null');
+ assert_throws(new RangeError(), () => new ReadableStream({ type: '' }),
+ 'constructor should throw when the type is empty string');
+ assert_throws(new RangeError(), () => new ReadableStream({ type: 'asdf' }),
+ 'constructor should throw when the type is asdf');
+
+}, 'ReadableStream can\'t be constructed with an invalid type');
+
+test(() => {
+
</ins><span class="cx"> const methods = ['cancel', 'constructor', 'getReader', 'pipeThrough', 'pipeTo', 'tee'];
</span><span class="cx"> const properties = methods.concat(['locked']).sort();
</span><span class="cx">
</span><span class="lines">@@ -33,7 +45,7 @@
</span><span class="cx">
</span><span class="cx"> assert_array_equals(Object.getOwnPropertyNames(proto).sort(), properties, 'should have all the correct methods');
</span><span class="cx">
</span><del>- for (let m of methods) {
</del><ins>+ for (const m of methods) {
</ins><span class="cx"> const propDesc = Object.getOwnPropertyDescriptor(proto, m);
</span><span class="cx"> assert_false(propDesc.enumerable, 'method should be non-enumerable');
</span><span class="cx"> assert_true(propDesc.configurable, 'method should be configurable');
</span><span class="lines">@@ -92,7 +104,7 @@
</span><span class="cx"> assert_array_equals(Object.getOwnPropertyNames(proto).sort(), properties,
</span><span class="cx"> 'the controller should have the right properties');
</span><span class="cx">
</span><del>- for (let m of methods) {
</del><ins>+ for (const m of methods) {
</ins><span class="cx"> const propDesc = Object.getOwnPropertyDescriptor(proto, m);
</span><span class="cx"> assert_equals(typeof controller[m], 'function', `should have a ${m} method`);
</span><span class="cx"> assert_false(propDesc.enumerable, m + ' should be non-enumerable');
</span><span class="lines">@@ -108,7 +120,7 @@
</span><span class="cx"> assert_true(desiredSizePropDesc.configurable, 'desiredSize should be configurable');
</span><span class="cx">
</span><span class="cx"> assert_equals(controller.close.length, 0, 'close should have no parameters');
</span><del>- assert_equals(controller.constructor.length, 1, 'constructor should have 1 parameter');
</del><ins>+ assert_equals(controller.constructor.length, 4, 'constructor should have 4 parameter');
</ins><span class="cx"> assert_equals(controller.enqueue.length, 1, 'enqueue should have 1 parameter');
</span><span class="cx"> assert_equals(controller.error.length, 1, 'error should have 1 parameter');
</span><span class="cx">
</span><span class="lines">@@ -205,7 +217,7 @@
</span><span class="cx">
</span><span class="cx"> const rs = new ReadableStream({
</span><span class="cx"> start(c) {
</span><del>- for (let o of objects) {
</del><ins>+ for (const o of objects) {
</ins><span class="cx"> c.enqueue(o);
</span><span class="cx"> }
</span><span class="cx"> c.close();
</span><span class="lines">@@ -609,23 +621,35 @@
</span><span class="cx">
</span><span class="cx"> }, 'ReadableStream pull should be able to close a stream.');
</span><span class="cx">
</span><del>-test(() => {
</del><ins>+promise_test(t => {
</ins><span class="cx">
</span><del>- let startCalled = false;
</del><ins>+ const controllerError = { name: 'controller error' };
</ins><span class="cx">
</span><del>- new ReadableStream({
- start(c) {
- assert_equals(c.enqueue('a'), undefined, 'the first enqueue should return undefined');
- c.close();
</del><ins>+ const rs = new ReadableStream({
+ pull(c) {
+ c.error(controllerError);
+ }
+ });
</ins><span class="cx">
</span><del>- assert_throws(new TypeError(), () => c.enqueue('b'), 'enqueue after close should throw a TypeError');
- startCalled = true;
</del><ins>+ return promise_rejects(t, controllerError, rs.getReader().closed);
+
+}, 'ReadableStream pull should be able to error a stream.');
+
+promise_test(t => {
+
+ const controllerError = { name: 'controller error' };
+ const thrownError = { name: 'thrown error' };
+
+ const rs = new ReadableStream({
+ pull(c) {
+ c.error(controllerError);
+ throw thrownError;
</ins><span class="cx"> }
</span><span class="cx"> });
</span><span class="cx">
</span><del>- assert_true(startCalled);
</del><ins>+ return promise_rejects(t, controllerError, rs.getReader().closed);
</ins><span class="cx">
</span><del>-}, 'ReadableStream: enqueue should throw when the stream is readable but draining');
</del><ins>+}, 'ReadableStream pull should be able to error a stream and throw.');
</ins><span class="cx">
</span><span class="cx"> test(() => {
</span><span class="cx">
</span><span class="lines">@@ -633,34 +657,34 @@
</span><span class="cx">
</span><span class="cx"> new ReadableStream({
</span><span class="cx"> start(c) {
</span><ins>+ assert_equals(c.enqueue('a'), undefined, 'the first enqueue should return undefined');
</ins><span class="cx"> c.close();
</span><span class="cx">
</span><del>- assert_throws(new TypeError(), () => c.enqueue('a'), 'enqueue after close should throw a TypeError');
</del><ins>+ assert_throws(new TypeError(), () => c.enqueue('b'), 'enqueue after close should throw a TypeError');
</ins><span class="cx"> startCalled = true;
</span><span class="cx"> }
</span><span class="cx"> });
</span><span class="cx">
</span><span class="cx"> assert_true(startCalled);
</span><span class="cx">
</span><del>-}, 'ReadableStream: enqueue should throw when the stream is closed');
</del><ins>+}, 'ReadableStream: enqueue should throw when the stream is readable but draining');
</ins><span class="cx">
</span><span class="cx"> test(() => {
</span><span class="cx">
</span><span class="cx"> let startCalled = false;
</span><del>- const expectedError = new Error('i am sad');
</del><span class="cx">
</span><span class="cx"> new ReadableStream({
</span><span class="cx"> start(c) {
</span><del>- c.error(expectedError);
</del><ins>+ c.close();
</ins><span class="cx">
</span><del>- assert_throws(expectedError, () => c.enqueue('a'), 'enqueue after error should throw that error');
</del><ins>+ assert_throws(new TypeError(), () => c.enqueue('a'), 'enqueue after close should throw a TypeError');
</ins><span class="cx"> startCalled = true;
</span><span class="cx"> }
</span><span class="cx"> });
</span><span class="cx">
</span><span class="cx"> assert_true(startCalled);
</span><span class="cx">
</span><del>-}, 'ReadableStream: enqueue should throw the stored error when the stream is errored');
</del><ins>+}, 'ReadableStream: enqueue should throw when the stream is closed');
</ins><span class="cx">
</span><span class="cx"> promise_test(() => {
</span><span class="cx">
</span><span class="lines">@@ -800,7 +824,7 @@
</span><span class="cx">
</span><span class="cx"> return readableStreamToArray(rs).then(chunks => {
</span><span class="cx"> assert_equals(chunks.length, 8, '8 chunks should be read');
</span><del>- for (let chunk of chunks) {
</del><ins>+ for (const chunk of chunks) {
</ins><span class="cx"> assert_equals(chunk.length, 128, 'chunk should have 128 bytes');
</span><span class="cx"> }
</span><span class="cx"> });
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamsreadablestreamreaderjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> assert_array_equals(Object.getOwnPropertyNames(proto).sort(), properties);
</span><span class="cx">
</span><del>- for (let m of methods) {
</del><ins>+ for (const m of methods) {
</ins><span class="cx"> const propDesc = Object.getOwnPropertyDescriptor(proto, m);
</span><span class="cx"> assert_equals(propDesc.enumerable, false, 'method should be non-enumerable');
</span><span class="cx"> assert_equals(propDesc.configurable, true, 'method should be configurable');
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamsreadablestreamstemplatedhttpsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/templated.https-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/templated.https-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/templated.https-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,6 +1,7 @@
</span><span class="cx">
</span><span class="cx"> PASS Running templatedRSEmpty with ReadableStream (empty)
</span><span class="cx"> PASS instances have the correct methods and properties
</span><ins>+FAIL calling getReader with invalid arguments should throw appropriate errors assert_throws: empty string mode should throw function "() => rs.getReader({ mode: '' })" did not throw
</ins><span class="cx"> PASS Running templatedRSEmptyReader with ReadableStream (empty) reader
</span><span class="cx"> PASS instances have the correct methods and properties
</span><span class="cx"> PASS locked should be true
</span><span class="lines">@@ -88,6 +89,7 @@
</span><span class="cx"> FAIL Untitled undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
</span><span class="cx"> PASS Running templatedRSEmpty with ReadableStream (empty)
</span><span class="cx"> PASS instances have the correct methods and properties
</span><ins>+FAIL calling getReader with invalid arguments should throw appropriate errors assert_throws: empty string mode should throw function "() => rs.getReader({ mode: '' })" did not throw
</ins><span class="cx"> PASS Running templatedRSEmptyReader with ReadableStream (empty) reader
</span><span class="cx"> PASS instances have the correct methods and properties
</span><span class="cx"> PASS locked should be true
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsstreamsresourcesrstesttemplatesjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/resources/rs-test-templates.js (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/resources/rs-test-templates.js        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/resources/rs-test-templates.js        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -19,6 +19,16 @@
</span><span class="cx"> assert_equals(typeof rs.tee, 'function', 'has a tee method');
</span><span class="cx">
</span><span class="cx"> }, 'instances have the correct methods and properties');
</span><ins>+
+ test(() => {
+ const rs = factory();
+
+ assert_throws(new RangeError(), () => rs.getReader({ mode: '' }), 'empty string mode should throw');
+ assert_throws(new RangeError(), () => rs.getReader({ mode: null }), 'null mode should throw');
+ assert_throws(new RangeError(), () => rs.getReader({ mode: 'asdf' }), 'asdf mode should throw');
+ assert_throws(new TypeError(), () => rs.getReader(null), 'null should throw');
+
+ }, 'calling getReader with invalid arguments should throw appropriate errors');
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> self.templatedRSClosed = (label, factory) => {
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/TestExpectations (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/TestExpectations        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/platform/ios-simulator/TestExpectations        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -3016,3 +3016,11 @@
</span><span class="cx">
</span><span class="cx"> # iOS does not allow you to scroll by dragging the scrollbar thumb.
</span><span class="cx"> webkit.org/b/157201 fast/scrolling/rtl-drag-vertical-scroller.html [ Failure ]
</span><ins>+
+# Tests that are failing after bug 157170 (WPT test sync). These tests may just need rebasing.
+imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly.html [ Failure ]
+imported/w3c/web-platform-tests/html/dom/interfaces.html [ Failure ]
+imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.html [ Failure ]
+imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection.html [ Failure ]
+imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput.html [ Failure ]
+imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/inrange-outofrange.html [ Failure ]
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformwk2importedw3cwebplatformtestshtmlsemanticsdocumentmetadatastylingLinkStyleexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/wk2/imported/w3c/web-platform-tests/html/semantics/document-metadata/styling/LinkStyle-expected.txt (200308 => 200309)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/wk2/imported/w3c/web-platform-tests/html/semantics/document-metadata/styling/LinkStyle-expected.txt        2016-05-01 19:22:25 UTC (rev 200308)
+++ trunk/LayoutTests/platform/wk2/imported/w3c/web-platform-tests/html/semantics/document-metadata/styling/LinkStyle-expected.txt        2016-05-01 20:00:14 UTC (rev 200309)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx">
</span><span class="cx"> FAIL The LinkStyle interface's sheet attribute must return null; the disabled attribute must be false assert_equals: The sheet attribute of style2 should be null. expected null but got object "[object CSSStyleSheet]"
</span><span class="cx"> PASS The LinkStyle interface's sheet attribute must return null if the corresponding element is not in a Document
</span><del>-PASS The LinkStyle interface's sheet attribute must return StyleSheet object; the disabled attribute must be same as the StyleSheet's disabled attribute
</del><ins>+FAIL The LinkStyle interface's sheet attribute must return StyleSheet object; the disabled attribute must be same as the StyleSheet's disabled attribute assert_true: The sheet attribute of style6 should be a StyleSheet object. expected true got false
</ins><span class="cx"> PASS The title must be the same as the value of the element's title content attribute
</span><span class="cx"> PASS The media must be the same as the value of the element's media content attribute, or the empty string if it is omitted
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>