Update web-platform-tests to revision 5dbe45af3ad3a933c03187c72f1c12cbe2877703

This commit is contained in:
Ms2ger 2015-12-09 01:38:02 -05:00
parent 6c0eb115f4
commit 9aa1b1e408
129 changed files with 2604 additions and 290 deletions

View file

@ -105,3 +105,6 @@
[FileReaderSync interface: calling readAsDataURL(Blob) on new FileReaderSync() with too few arguments must throw TypeError] [FileReaderSync interface: calling readAsDataURL(Blob) on new FileReaderSync() with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[FileReaderSync interface object name]
expected: FAIL

View file

@ -101,10 +101,6 @@
"path": "battery-status/battery-charging-manual.html", "path": "battery-status/battery-charging-manual.html",
"url": "/battery-status/battery-charging-manual.html" "url": "/battery-status/battery-charging-manual.html"
}, },
{
"path": "battery-status/battery-created-manual.html",
"url": "/battery-status/battery-created-manual.html"
},
{ {
"path": "battery-status/battery-discharging-manual.html", "path": "battery-status/battery-discharging-manual.html",
"url": "/battery-status/battery-discharging-manual.html" "url": "/battery-status/battery-discharging-manual.html"
@ -777,6 +773,10 @@
"path": "html/semantics/forms/the-input-element/file-manual.html", "path": "html/semantics/forms/the-input-element/file-manual.html",
"url": "/html/semantics/forms/the-input-element/file-manual.html" "url": "/html/semantics/forms/the-input-element/file-manual.html"
}, },
{
"path": "html/semantics/forms/the-input-element/maxlength-manual.html",
"url": "/html/semantics/forms/the-input-element/maxlength-manual.html"
},
{ {
"path": "html/semantics/forms/the-optgroup-element/optgroup-disabled-manual.html", "path": "html/semantics/forms/the-optgroup-element/optgroup-disabled-manual.html",
"url": "/html/semantics/forms/the-optgroup-element/optgroup-disabled-manual.html" "url": "/html/semantics/forms/the-optgroup-element/optgroup-disabled-manual.html"
@ -13091,6 +13091,10 @@
"path": "content-security-policy/media-src/media-src-7_3_2.html", "path": "content-security-policy/media-src/media-src-7_3_2.html",
"url": "/content-security-policy/media-src/media-src-7_3_2.html" "url": "/content-security-policy/media-src/media-src-7_3_2.html"
}, },
{
"path": "content-security-policy/media-src/media-src-redir-bug.sub.html",
"url": "/content-security-policy/media-src/media-src-redir-bug.sub.html"
},
{ {
"path": "content-security-policy/meta/meta-img-src.html", "path": "content-security-policy/meta/meta-img-src.html",
"url": "/content-security-policy/meta/meta-img-src.html" "url": "/content-security-policy/meta/meta-img-src.html"
@ -13740,12 +13744,12 @@
"url": "/dom/nodes/Document-createEvent.html" "url": "/dom/nodes/Document-createEvent.html"
}, },
{ {
"path": "dom/nodes/Document-createProcessingInstruction.html", "path": "dom/nodes/Document-createProcessingInstruction-xhtml.xhtml",
"url": "/dom/nodes/Document-createProcessingInstruction.html" "url": "/dom/nodes/Document-createProcessingInstruction-xhtml.xhtml"
}, },
{ {
"path": "dom/nodes/Document-createProcessingInstruction.xhtml", "path": "dom/nodes/Document-createProcessingInstruction.html",
"url": "/dom/nodes/Document-createProcessingInstruction.xhtml" "url": "/dom/nodes/Document-createProcessingInstruction.html"
}, },
{ {
"path": "dom/nodes/Document-createTextNode.html", "path": "dom/nodes/Document-createTextNode.html",
@ -13764,12 +13768,12 @@
"url": "/dom/nodes/Document-getElementById.html" "url": "/dom/nodes/Document-getElementById.html"
}, },
{ {
"path": "dom/nodes/Document-getElementsByTagName.html", "path": "dom/nodes/Document-getElementsByTagName-xhtml.xhtml",
"url": "/dom/nodes/Document-getElementsByTagName.html" "url": "/dom/nodes/Document-getElementsByTagName-xhtml.xhtml"
}, },
{ {
"path": "dom/nodes/Document-getElementsByTagName.xhtml", "path": "dom/nodes/Document-getElementsByTagName.html",
"url": "/dom/nodes/Document-getElementsByTagName.xhtml" "url": "/dom/nodes/Document-getElementsByTagName.html"
}, },
{ {
"path": "dom/nodes/Document-getElementsByTagNameNS.html", "path": "dom/nodes/Document-getElementsByTagNameNS.html",
@ -13784,77 +13788,77 @@
"url": "/dom/nodes/Document-importNode.html" "url": "/dom/nodes/Document-importNode.html"
}, },
{ {
"path": "dom/nodes/DocumentType-literal.html", "path": "dom/nodes/DocumentType-literal-xhtml.xhtml",
"url": "/dom/nodes/DocumentType-literal.html" "url": "/dom/nodes/DocumentType-literal-xhtml.xhtml"
}, },
{ {
"path": "dom/nodes/DocumentType-literal.xhtml", "path": "dom/nodes/DocumentType-literal.html",
"url": "/dom/nodes/DocumentType-literal.xhtml" "url": "/dom/nodes/DocumentType-literal.html"
}, },
{ {
"path": "dom/nodes/DocumentType-remove.html", "path": "dom/nodes/DocumentType-remove.html",
"url": "/dom/nodes/DocumentType-remove.html" "url": "/dom/nodes/DocumentType-remove.html"
}, },
{
"path": "dom/nodes/Element-childElement-null-svg.svg",
"url": "/dom/nodes/Element-childElement-null-svg.svg"
},
{
"path": "dom/nodes/Element-childElement-null-xhtml.xhtml",
"url": "/dom/nodes/Element-childElement-null-xhtml.xhtml"
},
{ {
"path": "dom/nodes/Element-childElement-null.html", "path": "dom/nodes/Element-childElement-null.html",
"url": "/dom/nodes/Element-childElement-null.html" "url": "/dom/nodes/Element-childElement-null.html"
}, },
{ {
"path": "dom/nodes/Element-childElement-null.svg", "path": "dom/nodes/Element-childElementCount-dynamic-add-svg.svg",
"url": "/dom/nodes/Element-childElement-null.svg" "url": "/dom/nodes/Element-childElementCount-dynamic-add-svg.svg"
}, },
{ {
"path": "dom/nodes/Element-childElement-null.xhtml", "path": "dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml",
"url": "/dom/nodes/Element-childElement-null.xhtml" "url": "/dom/nodes/Element-childElementCount-dynamic-add-xhtml.xhtml"
}, },
{ {
"path": "dom/nodes/Element-childElementCount-dynamic-add.html", "path": "dom/nodes/Element-childElementCount-dynamic-add.html",
"url": "/dom/nodes/Element-childElementCount-dynamic-add.html" "url": "/dom/nodes/Element-childElementCount-dynamic-add.html"
}, },
{ {
"path": "dom/nodes/Element-childElementCount-dynamic-add.svg", "path": "dom/nodes/Element-childElementCount-dynamic-remove-svg.svg",
"url": "/dom/nodes/Element-childElementCount-dynamic-add.svg" "url": "/dom/nodes/Element-childElementCount-dynamic-remove-svg.svg"
}, },
{ {
"path": "dom/nodes/Element-childElementCount-dynamic-add.xhtml", "path": "dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml",
"url": "/dom/nodes/Element-childElementCount-dynamic-add.xhtml" "url": "/dom/nodes/Element-childElementCount-dynamic-remove-xhtml.xhtml"
}, },
{ {
"path": "dom/nodes/Element-childElementCount-dynamic-remove.html", "path": "dom/nodes/Element-childElementCount-dynamic-remove.html",
"url": "/dom/nodes/Element-childElementCount-dynamic-remove.html" "url": "/dom/nodes/Element-childElementCount-dynamic-remove.html"
}, },
{ {
"path": "dom/nodes/Element-childElementCount-dynamic-remove.svg", "path": "dom/nodes/Element-childElementCount-nochild-svg.svg",
"url": "/dom/nodes/Element-childElementCount-dynamic-remove.svg" "url": "/dom/nodes/Element-childElementCount-nochild-svg.svg"
}, },
{ {
"path": "dom/nodes/Element-childElementCount-dynamic-remove.xhtml", "path": "dom/nodes/Element-childElementCount-nochild-xhtml.xhtml",
"url": "/dom/nodes/Element-childElementCount-dynamic-remove.xhtml" "url": "/dom/nodes/Element-childElementCount-nochild-xhtml.xhtml"
}, },
{ {
"path": "dom/nodes/Element-childElementCount-nochild.html", "path": "dom/nodes/Element-childElementCount-nochild.html",
"url": "/dom/nodes/Element-childElementCount-nochild.html" "url": "/dom/nodes/Element-childElementCount-nochild.html"
}, },
{ {
"path": "dom/nodes/Element-childElementCount-nochild.svg", "path": "dom/nodes/Element-childElementCount-svg.svg",
"url": "/dom/nodes/Element-childElementCount-nochild.svg" "url": "/dom/nodes/Element-childElementCount-svg.svg"
}, },
{ {
"path": "dom/nodes/Element-childElementCount-nochild.xhtml", "path": "dom/nodes/Element-childElementCount-xhtml.xhtml",
"url": "/dom/nodes/Element-childElementCount-nochild.xhtml" "url": "/dom/nodes/Element-childElementCount-xhtml.xhtml"
}, },
{ {
"path": "dom/nodes/Element-childElementCount.html", "path": "dom/nodes/Element-childElementCount.html",
"url": "/dom/nodes/Element-childElementCount.html" "url": "/dom/nodes/Element-childElementCount.html"
}, },
{
"path": "dom/nodes/Element-childElementCount.svg",
"url": "/dom/nodes/Element-childElementCount.svg"
},
{
"path": "dom/nodes/Element-childElementCount.xhtml",
"url": "/dom/nodes/Element-childElementCount.xhtml"
},
{ {
"path": "dom/nodes/Element-children.html", "path": "dom/nodes/Element-children.html",
"url": "/dom/nodes/Element-children.html" "url": "/dom/nodes/Element-children.html"
@ -13867,38 +13871,38 @@
"path": "dom/nodes/Element-closest.html", "path": "dom/nodes/Element-closest.html",
"url": "/dom/nodes/Element-closest.html" "url": "/dom/nodes/Element-closest.html"
}, },
{
"path": "dom/nodes/Element-firstElementChild-entity-xhtml.xhtml",
"url": "/dom/nodes/Element-firstElementChild-entity-xhtml.xhtml"
},
{ {
"path": "dom/nodes/Element-firstElementChild-entity.svg", "path": "dom/nodes/Element-firstElementChild-entity.svg",
"url": "/dom/nodes/Element-firstElementChild-entity.svg" "url": "/dom/nodes/Element-firstElementChild-entity.svg"
}, },
{ {
"path": "dom/nodes/Element-firstElementChild-entity.xhtml", "path": "dom/nodes/Element-firstElementChild-namespace-svg.svg",
"url": "/dom/nodes/Element-firstElementChild-entity.xhtml" "url": "/dom/nodes/Element-firstElementChild-namespace-svg.svg"
},
{
"path": "dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml",
"url": "/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml"
}, },
{ {
"path": "dom/nodes/Element-firstElementChild-namespace.html", "path": "dom/nodes/Element-firstElementChild-namespace.html",
"url": "/dom/nodes/Element-firstElementChild-namespace.html" "url": "/dom/nodes/Element-firstElementChild-namespace.html"
}, },
{ {
"path": "dom/nodes/Element-firstElementChild-namespace.svg", "path": "dom/nodes/Element-firstElementChild-svg.svg",
"url": "/dom/nodes/Element-firstElementChild-namespace.svg" "url": "/dom/nodes/Element-firstElementChild-svg.svg"
}, },
{ {
"path": "dom/nodes/Element-firstElementChild-namespace.xhtml", "path": "dom/nodes/Element-firstElementChild-xhtml.xhtml",
"url": "/dom/nodes/Element-firstElementChild-namespace.xhtml" "url": "/dom/nodes/Element-firstElementChild-xhtml.xhtml"
}, },
{ {
"path": "dom/nodes/Element-firstElementChild.html", "path": "dom/nodes/Element-firstElementChild.html",
"url": "/dom/nodes/Element-firstElementChild.html" "url": "/dom/nodes/Element-firstElementChild.html"
}, },
{
"path": "dom/nodes/Element-firstElementChild.svg",
"url": "/dom/nodes/Element-firstElementChild.svg"
},
{
"path": "dom/nodes/Element-firstElementChild.xhtml",
"url": "/dom/nodes/Element-firstElementChild.xhtml"
},
{ {
"path": "dom/nodes/Element-getElementsByClassName.html", "path": "dom/nodes/Element-getElementsByClassName.html",
"url": "/dom/nodes/Element-getElementsByClassName.html" "url": "/dom/nodes/Element-getElementsByClassName.html"
@ -13915,46 +13919,46 @@
"path": "dom/nodes/Element-getElementsByTagNameNS.html", "path": "dom/nodes/Element-getElementsByTagNameNS.html",
"url": "/dom/nodes/Element-getElementsByTagNameNS.html" "url": "/dom/nodes/Element-getElementsByTagNameNS.html"
}, },
{
"path": "dom/nodes/Element-lastElementChild-svg.svg",
"url": "/dom/nodes/Element-lastElementChild-svg.svg"
},
{
"path": "dom/nodes/Element-lastElementChild-xhtml.xhtml",
"url": "/dom/nodes/Element-lastElementChild-xhtml.xhtml"
},
{ {
"path": "dom/nodes/Element-lastElementChild.html", "path": "dom/nodes/Element-lastElementChild.html",
"url": "/dom/nodes/Element-lastElementChild.html" "url": "/dom/nodes/Element-lastElementChild.html"
}, },
{
"path": "dom/nodes/Element-lastElementChild.svg",
"url": "/dom/nodes/Element-lastElementChild.svg"
},
{
"path": "dom/nodes/Element-lastElementChild.xhtml",
"url": "/dom/nodes/Element-lastElementChild.xhtml"
},
{ {
"path": "dom/nodes/Element-matches.html", "path": "dom/nodes/Element-matches.html",
"url": "/dom/nodes/Element-matches.html" "url": "/dom/nodes/Element-matches.html"
}, },
{
"path": "dom/nodes/Element-nextElementSibling-svg.svg",
"url": "/dom/nodes/Element-nextElementSibling-svg.svg"
},
{
"path": "dom/nodes/Element-nextElementSibling-xhtml.xhtml",
"url": "/dom/nodes/Element-nextElementSibling-xhtml.xhtml"
},
{ {
"path": "dom/nodes/Element-nextElementSibling.html", "path": "dom/nodes/Element-nextElementSibling.html",
"url": "/dom/nodes/Element-nextElementSibling.html" "url": "/dom/nodes/Element-nextElementSibling.html"
}, },
{ {
"path": "dom/nodes/Element-nextElementSibling.svg", "path": "dom/nodes/Element-previousElementSibling-svg.svg",
"url": "/dom/nodes/Element-nextElementSibling.svg" "url": "/dom/nodes/Element-previousElementSibling-svg.svg"
}, },
{ {
"path": "dom/nodes/Element-nextElementSibling.xhtml", "path": "dom/nodes/Element-previousElementSibling-xhtml.xhtml",
"url": "/dom/nodes/Element-nextElementSibling.xhtml" "url": "/dom/nodes/Element-previousElementSibling-xhtml.xhtml"
}, },
{ {
"path": "dom/nodes/Element-previousElementSibling.html", "path": "dom/nodes/Element-previousElementSibling.html",
"url": "/dom/nodes/Element-previousElementSibling.html" "url": "/dom/nodes/Element-previousElementSibling.html"
}, },
{
"path": "dom/nodes/Element-previousElementSibling.svg",
"url": "/dom/nodes/Element-previousElementSibling.svg"
},
{
"path": "dom/nodes/Element-previousElementSibling.xhtml",
"url": "/dom/nodes/Element-previousElementSibling.xhtml"
},
{ {
"path": "dom/nodes/Element-remove.html", "path": "dom/nodes/Element-remove.html",
"url": "/dom/nodes/Element-remove.html" "url": "/dom/nodes/Element-remove.html"
@ -13963,18 +13967,18 @@
"path": "dom/nodes/Element-removeAttributeNS.html", "path": "dom/nodes/Element-removeAttributeNS.html",
"url": "/dom/nodes/Element-removeAttributeNS.html" "url": "/dom/nodes/Element-removeAttributeNS.html"
}, },
{
"path": "dom/nodes/Element-siblingElement-null-svg.svg",
"url": "/dom/nodes/Element-siblingElement-null-svg.svg"
},
{
"path": "dom/nodes/Element-siblingElement-null-xhtml.xhtml",
"url": "/dom/nodes/Element-siblingElement-null-xhtml.xhtml"
},
{ {
"path": "dom/nodes/Element-siblingElement-null.html", "path": "dom/nodes/Element-siblingElement-null.html",
"url": "/dom/nodes/Element-siblingElement-null.html" "url": "/dom/nodes/Element-siblingElement-null.html"
}, },
{
"path": "dom/nodes/Element-siblingElement-null.svg",
"url": "/dom/nodes/Element-siblingElement-null.svg"
},
{
"path": "dom/nodes/Element-siblingElement-null.xhtml",
"url": "/dom/nodes/Element-siblingElement-null.xhtml"
},
{ {
"path": "dom/nodes/Element-tagName.html", "path": "dom/nodes/Element-tagName.html",
"url": "/dom/nodes/Element-tagName.html" "url": "/dom/nodes/Element-tagName.html"
@ -14056,12 +14060,12 @@
"url": "/dom/nodes/Node-lookupPrefix.xhtml" "url": "/dom/nodes/Node-lookupPrefix.xhtml"
}, },
{ {
"path": "dom/nodes/Node-nodeName.html", "path": "dom/nodes/Node-nodeName-xhtml.xhtml",
"url": "/dom/nodes/Node-nodeName.html" "url": "/dom/nodes/Node-nodeName-xhtml.xhtml"
}, },
{ {
"path": "dom/nodes/Node-nodeName.xhtml", "path": "dom/nodes/Node-nodeName.html",
"url": "/dom/nodes/Node-nodeName.xhtml" "url": "/dom/nodes/Node-nodeName.html"
}, },
{ {
"path": "dom/nodes/Node-nodeValue.html", "path": "dom/nodes/Node-nodeValue.html",
@ -14104,12 +14108,12 @@
"url": "/dom/nodes/ParentNode-prepend.html" "url": "/dom/nodes/ParentNode-prepend.html"
}, },
{ {
"path": "dom/nodes/ParentNode-querySelector-All.html", "path": "dom/nodes/ParentNode-querySelector-All-xht.xht",
"url": "/dom/nodes/ParentNode-querySelector-All.html" "url": "/dom/nodes/ParentNode-querySelector-All-xht.xht"
}, },
{ {
"path": "dom/nodes/ParentNode-querySelector-All.xht", "path": "dom/nodes/ParentNode-querySelector-All.html",
"url": "/dom/nodes/ParentNode-querySelector-All.xht" "url": "/dom/nodes/ParentNode-querySelector-All.html"
}, },
{ {
"path": "dom/nodes/ProcessingInstruction-literal-1.xhtml", "path": "dom/nodes/ProcessingInstruction-literal-1.xhtml",
@ -15631,58 +15635,58 @@
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByClassName-same.html", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByClassName-same.html",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByClassName-same.html" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByClassName-same.html"
}, },
{
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml.xhtml",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case-xhtml.xhtml"
},
{ {
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.html", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.html",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.html" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.html"
}, },
{ {
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.xhtml", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml.xhtml",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.xhtml" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id-xhtml.xhtml"
}, },
{ {
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.html", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.html",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.html" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.html"
}, },
{
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.xhtml",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-id.xhtml"
},
{ {
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-interface.html", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-interface.html",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-interface.html" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-interface.html"
}, },
{
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml.xhtml",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml.xhtml"
},
{ {
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.html", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.html",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.html" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.html"
}, },
{ {
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.xhtml", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.xhtml" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements-xhtml.xhtml"
}, },
{ {
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.html"
}, },
{ {
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.xhtml", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef-xhtml.xhtml",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-newelements.xhtml" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef-xhtml.xhtml"
}, },
{ {
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef.html", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef.html",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef.html" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef.html"
}, },
{ {
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef.xhtml", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml.xhtml",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-null-undef.xhtml" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param-xhtml.xhtml"
}, },
{ {
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.html", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.html",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.html" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.html"
}, },
{
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.xhtml",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-param.xhtml"
},
{ {
"path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-same.html", "path": "html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-same.html",
"url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-same.html" "url": "/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-same.html"
@ -16115,6 +16119,10 @@
"path": "html/dom/dynamic-markup-insertion/document-writeln/document.writeln-02.html", "path": "html/dom/dynamic-markup-insertion/document-writeln/document.writeln-02.html",
"url": "/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-02.html" "url": "/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-02.html"
}, },
{
"path": "html/dom/dynamic-markup-insertion/document-writeln/document.writeln-03.html",
"url": "/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-03.html"
},
{ {
"path": "html/dom/dynamic-markup-insertion/opening-the-input-stream/001.html", "path": "html/dom/dynamic-markup-insertion/opening-the-input-stream/001.html",
"url": "/html/dom/dynamic-markup-insertion/opening-the-input-stream/001.html" "url": "/html/dom/dynamic-markup-insertion/opening-the-input-stream/001.html"
@ -18296,12 +18304,12 @@
"url": "/html/semantics/scripting-1/the-script-element/script-before-after-events.html" "url": "/html/semantics/scripting-1/the-script-element/script-before-after-events.html"
}, },
{ {
"path": "html/semantics/scripting-1/the-script-element/script-for-event.html", "path": "html/semantics/scripting-1/the-script-element/script-for-event-xhtml.xhtml",
"url": "/html/semantics/scripting-1/the-script-element/script-for-event.html" "url": "/html/semantics/scripting-1/the-script-element/script-for-event-xhtml.xhtml"
}, },
{ {
"path": "html/semantics/scripting-1/the-script-element/script-for-event.xhtml", "path": "html/semantics/scripting-1/the-script-element/script-for-event.html",
"url": "/html/semantics/scripting-1/the-script-element/script-for-event.xhtml" "url": "/html/semantics/scripting-1/the-script-element/script-for-event.html"
}, },
{ {
"path": "html/semantics/scripting-1/the-script-element/script-language-type.html", "path": "html/semantics/scripting-1/the-script-element/script-language-type.html",
@ -18324,12 +18332,12 @@
"url": "/html/semantics/scripting-1/the-script-element/script-onload-string.html" "url": "/html/semantics/scripting-1/the-script-element/script-onload-string.html"
}, },
{ {
"path": "html/semantics/scripting-1/the-script-element/script-text.html", "path": "html/semantics/scripting-1/the-script-element/script-text-xhtml.xhtml",
"url": "/html/semantics/scripting-1/the-script-element/script-text.html" "url": "/html/semantics/scripting-1/the-script-element/script-text-xhtml.xhtml"
}, },
{ {
"path": "html/semantics/scripting-1/the-script-element/script-text.xhtml", "path": "html/semantics/scripting-1/the-script-element/script-text.html",
"url": "/html/semantics/scripting-1/the-script-element/script-text.xhtml" "url": "/html/semantics/scripting-1/the-script-element/script-text.html"
}, },
{ {
"path": "html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html", "path": "html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html",
@ -19015,6 +19023,10 @@
"path": "js/builtins/Object.prototype.seal.html", "path": "js/builtins/Object.prototype.seal.html",
"url": "/js/builtins/Object.prototype.seal.html" "url": "/js/builtins/Object.prototype.seal.html"
}, },
{
"path": "js/builtins/Promise-subclassing.html",
"url": "/js/builtins/Promise-subclassing.html"
},
{ {
"path": "js/builtins/WeakMap.prototype-properties.html", "path": "js/builtins/WeakMap.prototype-properties.html",
"url": "/js/builtins/WeakMap.prototype-properties.html" "url": "/js/builtins/WeakMap.prototype-properties.html"
@ -26403,6 +26415,10 @@
"path": "shadow-dom/untriaged/user-interaction/ranges-and-selections/test-002.html", "path": "shadow-dom/untriaged/user-interaction/ranges-and-selections/test-002.html",
"url": "/shadow-dom/untriaged/user-interaction/ranges-and-selections/test-002.html" "url": "/shadow-dom/untriaged/user-interaction/ranges-and-selections/test-002.html"
}, },
{
"path": "svg/interfaces.html",
"url": "/svg/interfaces.html"
},
{ {
"path": "touch-events/create-touch-touchlist.html", "path": "touch-events/create-touch-touchlist.html",
"url": "/touch-events/create-touch-touchlist.html" "url": "/touch-events/create-touch-touchlist.html"
@ -26436,12 +26452,12 @@
"url": "/typedarrays/constructors.html" "url": "/typedarrays/constructors.html"
}, },
{ {
"path": "url/a-element.html", "path": "url/a-element-xhtml.xhtml",
"url": "/url/a-element.html" "url": "/url/a-element-xhtml.xhtml"
}, },
{ {
"path": "url/a-element.xhtml", "path": "url/a-element.html",
"url": "/url/a-element.xhtml" "url": "/url/a-element.html"
}, },
{ {
"path": "url/historical.html", "path": "url/historical.html",
@ -30133,16 +30149,7 @@
}, },
"local_changes": { "local_changes": {
"deleted": [], "deleted": [],
"items": { "items": {},
"manual": {
"html/semantics/forms/the-input-element/maxlength-manual.html": [
{
"path": "html/semantics/forms/the-input-element/maxlength-manual.html",
"url": "/html/semantics/forms/the-input-element/maxlength-manual.html"
}
]
}
},
"reftest_nodes": {} "reftest_nodes": {}
}, },
"reftest_nodes": { "reftest_nodes": {
@ -35859,7 +35866,7 @@
} }
] ]
}, },
"rev": "a3b0fadc7f5001bbe52c65e0a354c454981423a3", "rev": "5dbe45af3ad3a933c03187c72f1c12cbe2877703",
"url_base": "/", "url_base": "/",
"version": 2 "version": 2
} }

View file

@ -234,3 +234,12 @@
[DOMSettableTokenList interface object length] [DOMSettableTokenList interface object length]
expected: FAIL expected: FAIL
[MutationObserver interface object name]
expected: FAIL
[MutationRecord interface object name]
expected: FAIL
[DOMSettableTokenList interface object name]
expected: FAIL

View file

@ -0,0 +1,3 @@
[Document-createProcessingInstruction-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Document-createProcessingInstruction.xhtml]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Document-getElementsByTagName-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Document-getElementsByTagName.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +1,3 @@
[Element-childElementCount.xhtml] [Element-childElement-null-svg.svg]
type: testharness type: testharness
disabled: xml disabled: xml

View file

@ -0,0 +1,3 @@
[Element-childElement-null-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-childElementCount-dynamic-add-svg.svg]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-childElementCount-dynamic-add-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-childElementCount-dynamic-add.svg]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-childElementCount-dynamic-add.xhtml]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-childElementCount-dynamic-remove-svg.svg]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-childElementCount-dynamic-remove-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-childElementCount-dynamic-remove.svg]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-childElementCount-dynamic-remove.xhtml]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-childElementCount-nochild-svg.svg]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-childElementCount-nochild-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-childElementCount-nochild.svg]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-childElementCount-nochild.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +1,3 @@
[Element-childElement-null.svg] [Element-childElementCount-svg.svg]
type: testharness type: testharness
disabled: xml disabled: xml

View file

@ -0,0 +1,3 @@
[Element-childElementCount-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-firstElementChild-entity-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-firstElementChild-entity.xhtml]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-firstElementChild-namespace-svg.svg]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-firstElementChild-namespace-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-firstElementChild-namespace.svg]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-firstElementChild-namespace.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +1,3 @@
[Element-childElement-null.xhtml] [Element-firstElementChild-svg.svg]
type: testharness type: testharness
disabled: xml disabled: xml

View file

@ -0,0 +1,3 @@
[Element-firstElementChild-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-firstElementChild.svg]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-firstElementChild.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +1,3 @@
[Element-childElementCount.svg] [Element-lastElementChild-svg.svg]
type: testharness type: testharness
disabled: xml disabled: xml

View file

@ -0,0 +1,3 @@
[Element-lastElementChild-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-lastElementChild.svg]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-lastElementChild.xhtml]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-nextElementSibling-svg.svg]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-nextElementSibling-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-nextElementSibling.svg]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-nextElementSibling.xhtml]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-previousElementSibling-svg.svg]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-previousElementSibling-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-previousElementSibling.svg]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-previousElementSibling.xhtml]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-siblingElement-null-svg.svg]
type: testharness
disabled: xml

View file

@ -0,0 +1,3 @@
[Element-siblingElement-null-xhtml.xhtml]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-siblingElement-null.svg]
type: testharness
disabled: xml

View file

@ -1,3 +0,0 @@
[Element-siblingElement-null.xhtml]
type: testharness
disabled: xml

View file

@ -90,3 +90,6 @@
[childList Range.surroundContents: children removal and addition mutation] [childList Range.surroundContents: children removal and addition mutation]
expected: FAIL expected: FAIL
[childList Node.replaceChild: self internal replacement mutation]
expected: FAIL

View file

@ -1,4 +1,4 @@
[Node-nodeName.xhtml] [Node-nodeName-xhtml.xhtml]
type: testharness type: testharness
[For Element nodes, nodeName should return the same as tagName.] [For Element nodes, nodeName should return the same as tagName.]
expected: FAIL expected: FAIL

View file

@ -1,3 +1,3 @@
[ParentNode-querySelector-All.xht] [ParentNode-querySelector-All-xht.xht]
type: testharness type: testharness
expected: TIMEOUT expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[nameditem-06.html]
type: testharness
[If there are two imgs, nothing should be returned. (id)]
expected: FAIL

View file

@ -9333,3 +9333,168 @@
[WorkerLocation interface: attribute origin] [WorkerLocation interface: attribute origin]
expected: FAIL expected: FAIL
[HTMLAllCollection interface object name]
expected: FAIL
[HTMLFormControlsCollection interface object name]
expected: FAIL
[RadioNodeList interface object name]
expected: FAIL
[HTMLOptionsCollection interface object name]
expected: FAIL
[HTMLPropertiesCollection interface object name]
expected: FAIL
[PropertyNodeList interface object name]
expected: FAIL
[DOMElementMap interface object name]
expected: FAIL
[HTMLPictureElement interface object name]
expected: FAIL
[MediaError interface object name]
expected: FAIL
[AudioTrackList interface object name]
expected: FAIL
[AudioTrack interface object name]
expected: FAIL
[VideoTrackList interface object name]
expected: FAIL
[VideoTrack interface object name]
expected: FAIL
[MediaController interface object name]
expected: FAIL
[TextTrackList interface object name]
expected: FAIL
[TextTrack interface object name]
expected: FAIL
[TextTrackCueList interface object name]
expected: FAIL
[TextTrackCue interface object name]
expected: FAIL
[TimeRanges interface object name]
expected: FAIL
[TrackEvent interface object name]
expected: FAIL
[HTMLKeygenElement interface object name]
expected: FAIL
[AutocompleteErrorEvent interface object name]
expected: FAIL
[HTMLDetailsElement interface object name]
expected: FAIL
[HTMLMenuElement interface object name]
expected: FAIL
[HTMLMenuItemElement interface object name]
expected: FAIL
[RelatedEvent interface object name]
expected: FAIL
[CanvasProxy interface object name]
expected: FAIL
[TextMetrics interface object name]
expected: FAIL
[DrawingStyle interface object name]
expected: FAIL
[Path2D interface object name]
expected: FAIL
[DataTransfer interface object name]
expected: FAIL
[DataTransferItemList interface object name]
expected: FAIL
[DataTransferItem interface object name]
expected: FAIL
[DragEvent interface object name]
expected: FAIL
[BarProp interface object name]
expected: FAIL
[History interface object name]
expected: FAIL
[PopStateEvent interface object name]
expected: FAIL
[HashChangeEvent interface object name]
expected: FAIL
[PageTransitionEvent interface object name]
expected: FAIL
[BeforeUnloadEvent interface object name]
expected: FAIL
[ApplicationCache interface object name]
expected: FAIL
[PluginArray interface object name]
expected: FAIL
[MimeTypeArray interface object name]
expected: FAIL
[Plugin interface object name]
expected: FAIL
[MimeType interface object name]
expected: FAIL
[External interface object name]
expected: FAIL
[ImageBitmap interface object name]
expected: FAIL
[EventSource interface object name]
expected: FAIL
[MessageChannel interface object name]
expected: FAIL
[MessagePort interface object name]
expected: FAIL
[PortCollection interface object name]
expected: FAIL
[BroadcastChannel interface object name]
expected: FAIL
[SharedWorkerGlobalScope interface object name]
expected: FAIL
[SharedWorker interface object name]
expected: FAIL
[HTMLMarqueeElement interface object name]
expected: FAIL

View file

@ -1,3 +1,3 @@
[a-element.xhtml] [script-text-xhtml.xhtml]
type: testharness type: testharness
expected: TIMEOUT expected: TIMEOUT

View file

@ -1 +1 @@
6bb495338bc5dd2ce4e66ca5e0e69b0016319f07 6c0eb115f4548deb09ac3439f914df5f22f964a5

View file

@ -1,3 +1,3 @@
[script-text.xhtml] [a-element-xhtml.xhtml]
type: testharness type: testharness
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,54 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Battery Test: no backend implementation, charger unplugged in</title>
<meta name="flags" content="interact">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<h2>Description</h2>
<p>
<strong>
This test is only useful on devices that expose the BatteryManager interface,
but lack a backend implementation.
</strong>
</p>
<p>
This test validates that all of the BatteryManager attributes exist and are set to their default values.
</p>
<h2>Preconditions</h2>
<ol>
<li>
The implementation is unable to report the battery's charging state,
charging time, level or remaining time respectively.
</li>
<li>
The device is unplugged from the charger before this test case is run.
</li>
</ol>
<div id="log"></div>
<script>
async_test(function (t) {
navigator.getBattery().then(function (battery) {
t.step(function () {
assert_true(battery.charging, 'charging must be set to true');
assert_equals(battery.chargingTime, 0, 'chargingTime must be set to 0');
assert_equals(battery.dischargingTime, Infinity, 'dischargingTime must be set to Infinity');
assert_equals(battery.level, 1.0, 'level must be set to 1.0');
});
t.done();
}, function (error) {
t.step(function () {
assert_unreached(error.message);
});
t.done();
});
}, 'When a BatteryManager object is created, charging must be set to true, ' +
'chargingTime to 0, level to 1.0 and dischargingTime to the value positive ' +
'Infinity, if the implementation is unable to report the battery\'s charging ' +
'state, charging time, level or remaining time respectively.');
</script>

View file

@ -0,0 +1,66 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Video element src attribute must match src list - positive test</title>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
</head>
<body>
<h1>Video element in media-src list - redirect test</h1>
<div id='log'></div>
<p>This test tests a buggy interaction in Chrome 46. Two hosts (self and www2) are both allowed
as media-src, but only one (self) is allowed for connect-src. If a video src starts on
an allowed host (self), and is redirected to another allowed media-src host, it should succeed. But a bug
causes the redirect to be done in a fetch context to which connect-src is being applied instead, so
the load is blocked. (This test passes in Firefox 45, modulo an event listener not firing.)</p>
<script>
var src_test = async_test("In-policy async video src");
var src_redir_test = async_test("in-policy async video src w/redir")
var source_test = async_test("In-policy async video source element");
var source_redir_test = async_test("In-policy async video source element w/redir");
function media_loaded(t) {
t.done();
}
function media_error_handler(t) {
t.step( function () {
assert_unreached("Media error handler shouldn't be triggered for allowed domain.");
});
t.done();
}
</script>
<video id="videoObject" width="320" height="240" controls
onloadeddata="media_loaded(source_test)">
<source id="videoSourceObject"
type="video/mp4"
onerror="media_error_handler(source_test)"
src="http://www2.{{host}}:{{ports[http][0]}}/media/white.mp4">
</video>
<video id="videoObject2" width="320" height="240" controls
onerror="media_error_handler(src_test)"
onloadeddata="media_loaded(src_test)"
src="http://www2.{{host}}:{{ports[http][0]}}/media/white.mp4">
<video id="videoObject3" width="320" height="240" controls
onloadeddata="media_loaded(source_redir_test)">
<source id="videoSourceObject"
type="video/mp4"
onerror="media_error_handler(source_test)"
src="/common/redirect.py?location=http://www2.{{host}}:{{ports[http][0]}}/media/white.mp4">
</video>
<video id="videoObject2" width="320" height="240" controls
onerror="media_error_handler(src_test)"
onloadeddata="media_loaded(src_test)"
src="/common/redirect.py?location=http://www2.{{host}}:{{ports[http][0]}}/media/white.mp4">
<script async defer src="../support/checkReport.sub.js?reportExists=false">
</script>
</body>
</html>

View file

@ -0,0 +1,6 @@
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0, false
Pragma: no-cache
Set-Cookie: media-src-redir-bug={{$id:uuid()}}; Path=/content-security-policy/media-src/
Content-Security-Policy: script-src * 'unsafe-inline'; media-src http://www2.{{host}}:{{ports[http][0]}}/ 'self'; connect-src 'self'; report-uri ../support/report.py?op=put&reportID={{$id}}

View file

@ -47,6 +47,7 @@
<p id='n50'><span>text content</span></p> <p id='n50'><span>text content</span></p>
<p id='n51'><span>text content</span></p> <p id='n51'><span>text content</span></p>
<p id='n52'><span>NO </span><span>CHANGED</span></p> <p id='n52'><span>NO </span><span>CHANGED</span></p>
<p id='n53'><span>text content</span></p>
<p id='n60'><span>text content</span></p> <p id='n60'><span>text content</span></p>
@ -285,6 +286,16 @@
function() { n52.replaceChild(n52.lastChild, n52.firstChild); }, function() { n52.replaceChild(n52.lastChild, n52.firstChild); },
"childList Node.replaceChild: internal replacement mutation"); "childList Node.replaceChild: internal replacement mutation");
var n53 = document.getElementById('n53');
runMutationTest(n53,
{"childList":true},
[{type: "childList",
removedNodes: [n53.firstChild]},
{type: "childList",
addedNodes: [n53.firstChild]}],
function() { n53.replaceChild(n53.firstChild, n53.firstChild); },
"childList Node.replaceChild: self internal replacement mutation");
var n60 = document.getElementById('n60'); var n60 = document.getElementById('n60');
runMutationTest(n60, runMutationTest(n60,
{"childList":true}, {"childList":true},

View file

@ -48,20 +48,20 @@
function () { function () {
checkRecords(document, sequence, checkRecords(document, sequence,
[{type: "childList", [{type: "childList",
addedNodes: function () {
return [ document.getElementById("inserted_script") ];
},
target: function () {
return document.getElementById("n00");
}},
{type: "childList",
addedNodes: function () { addedNodes: function () {
return [ document.getElementById("inserted_element") ]; return [ document.getElementById("inserted_element") ];
}, },
previousSibling: function () { previousSibling: function () {
return document.getElementById("s002"); return document.getElementById("s002");
}, },
target: document.body}, target: document.body}
{type: "childList",
addedNodes: function () {
return [ document.getElementById("inserted_script") ];
},
target: function () {
return document.getElementById("n00");
}}
]); ]);
}); });
} }

View file

@ -15,7 +15,7 @@
<img id=test3> <img id=test3>
<img id=test4> <img id=test4>
<img id=test4> <img id=test4 name="">
<img name=test5> <img name=test5>
<img id=test5> <img id=test5>

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<title>document.writeln with multiple arguments</title>
<link rel="author" title="Sebmaster" href="mailto:wpt@smayr.name">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-writeln%28%29">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#documents-in-the-dom">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
var iframe = document.createElement("iframe");
document.body.appendChild(iframe);
var doc = iframe.contentDocument;
doc.open();
doc.writeln('a', 'b');
doc.close();
assert_equals(doc.documentElement.textContent, "ab\n");
}, "Calling document.writeln with multiple arguments");
</script>

View file

@ -90,8 +90,9 @@ tests_arr.forEach(function(test_obj) {
var loadCount = 0; var loadCount = 0;
iframe.onload = t.step_func(function() { iframe.onload = t.step_func(function() {
loadCount++; loadCount++;
var got = iframe.contentDocument.body.textContent.trim();
if (test_obj.expected.length === 0) { if (test_obj.expected.length === 0) {
assert_equals(iframe.contentDocument.body.textContent, 'no redirect\n'); assert_equals(got, 'refresh.sub.html');
if (loadCount === 1) { if (loadCount === 1) {
setTimeout(function() { setTimeout(function() {
t.done(); t.done();
@ -101,8 +102,7 @@ tests_arr.forEach(function(test_obj) {
} }
} else { } else {
if (loadCount === 2) { if (loadCount === 2) {
var path = iframe.contentWindow.location.pathname; assert_equals(got, test_obj.expected[1]);
assert_equals(decodeURIComponent(path.substr(path.lastIndexOf('/') + 1)), test_obj.expected[1]);
t.done(); t.done();
} }
} }

Some files were not shown because too many files have changed in this diff Show more