diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-11-19 17:00:11 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-11-19 18:29:01 +0100 |
commit | b7da201ebff825c2f9e8bed1ff699836998dd2fc (patch) | |
tree | b849281195c6bd21b2f07e295ff1914bbd3571aa /tests | |
parent | 554f696db81665f92e9976a15d986b0fd0f99edf (diff) | |
download | servo-b7da201ebff825c2f9e8bed1ff699836998dd2fc.tar.gz servo-b7da201ebff825c2f9e8bed1ff699836998dd2fc.zip |
Update web-platform-tests.
Diffstat (limited to 'tests')
10 files changed, 170 insertions, 22 deletions
diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 00bb855f96b..2f28e88f550 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -1211,6 +1211,12 @@ "url": "/dom/nodes/ChildNode-remove.js" }, { + "url": "/dom/nodes/Comment-Text-constructor.js" + }, + { + "url": "/dom/nodes/DOMImplementation-createHTMLDocument.js" + }, + { "url": "/dom/nodes/Document-contentType/resources/blob.txt" }, { @@ -1238,6 +1244,9 @@ "url": "/dom/nodes/Document-contentType/support/contenttype_setter.py" }, { + "url": "/dom/nodes/Document-createComment-createTextNode.js" + }, + { "url": "/dom/nodes/Document-createElement-namespace-tests/bare_mathml.xml" }, { @@ -1361,6 +1370,9 @@ "url": "/dom/traversal/unfinished/TODO" }, { + "url": "/encoding/resources/single-byte-raw.py" + }, + { "url": "/eventsource/README.md" }, { @@ -2852,6 +2864,12 @@ "url": "/resource-timing/test_resource_timing.js" }, { + "url": "/selectors-api/tests/submissions/Opera/Element-matches.js" + }, + { + "url": "/selectors-api/tests/submissions/Opera/ParentNode-find-findAll.js" + }, + { "url": "/selectors-api/tests/submissions/Opera/level2-lib.js" }, { @@ -2927,6 +2945,9 @@ "url": "/web-animations/README.md" }, { + "url": "/web-animations/testcommon.js" + }, + { "url": "/webaudio/README.md" }, { @@ -4996,6 +5017,9 @@ "url": "/vibration/pattern-array-manual.html" }, { + "url": "/vibration/pattern-array-with-0-manual.html" + }, + { "url": "/vibration/simple-array-manual.html" }, { @@ -9138,6 +9162,9 @@ "url": "/DOMEvents/event-phases-order.html" }, { + "url": "/DOMEvents/init-event-while-dispatching.html" + }, + { "url": "/DOMEvents/tests/approved/DOM.event.flow.html" }, { @@ -9168,15 +9195,9 @@ "url": "/DOMEvents/tests/approved/Propagation.path.target.removed.html" }, { - "url": "/DOMEvents/tests/approved/addEventListener.optional.useCapture.html" - }, - { "url": "/DOMEvents/tests/approved/dispatchEvent.click.checkbox.html" }, { - "url": "/DOMEvents/tests/approved/dispatchEvent.return.value.html" - }, - { "url": "/DOMEvents/tests/approved/domnodeinserted.html" }, { @@ -9219,9 +9240,6 @@ "url": "/DOMEvents/tests/submissions/Microsoft/converted/Propagation.path.target.removed.html" }, { - "url": "/DOMEvents/tests/submissions/Microsoft/converted/addEventListener.optional.useCapture.html" - }, - { "url": "/DOMEvents/tests/submissions/Microsoft/converted/dispatchEvent.DISPATCH_REQUEST_ERR.html" }, { @@ -9234,9 +9252,6 @@ "url": "/DOMEvents/tests/submissions/Microsoft/converted/dispatchEvent.click.checkbox.html" }, { - "url": "/DOMEvents/tests/submissions/Microsoft/converted/dispatchEvent.return.value.html" - }, - { "url": "/DOMEvents/tests/submissions/Microsoft/converted/domnodeinserted.html" }, { @@ -10332,9 +10347,15 @@ "url": "/XMLHttpRequest/send-data-blob.htm" }, { + "url": "/XMLHttpRequest/send-data-es-object.htm" + }, + { "url": "/XMLHttpRequest/send-data-formdata.htm" }, { + "url": "/XMLHttpRequest/send-data-unexpected-tostring.htm" + }, + { "url": "/XMLHttpRequest/send-entity-body-basic.htm" }, { @@ -10839,6 +10860,9 @@ "url": "/dom/events/Event-defaultPrevented.html" }, { + "url": "/dom/events/Event-dispatch-omitted-capture.html" + }, + { "url": "/dom/events/Event-initEvent.html" }, { @@ -10854,6 +10878,9 @@ "url": "/dom/events/EventTarget-addEventListener.html" }, { + "url": "/dom/events/EventTarget-dispatchEvent-returnvalue.html" + }, + { "url": "/dom/events/EventTarget-dispatchEvent.html" }, { @@ -10962,6 +10989,9 @@ "url": "/dom/nodes/Document-contentType/contentType/xhr_responseType_document.html" }, { + "url": "/dom/nodes/Document-createAttribute.html" + }, + { "url": "/dom/nodes/Document-createComment.html" }, { @@ -10983,6 +11013,9 @@ "url": "/dom/nodes/Document-createProcessingInstruction.xhtml" }, { + "url": "/dom/nodes/Document-createTextNode.html" + }, + { "url": "/dom/nodes/Document-createTreeWalker.html" }, { @@ -11232,6 +11265,9 @@ "url": "/dom/nodes/ProcessingInstruction-literal-2.xhtml" }, { + "url": "/dom/nodes/Text-constructor.html" + }, + { "url": "/dom/nodes/attributes.html" }, { @@ -11370,6 +11406,21 @@ "url": "/domxpath/evaluator-constructor.html" }, { + "url": "/encoding/gb18030-encoder.html" + }, + { + "url": "/encoding/gbk-encoder.html" + }, + { + "url": "/encoding/iso-2022-jp-decoder.html" + }, + { + "url": "/encoding/iso-2022-jp-encoder.html" + }, + { + "url": "/encoding/single-byte-decoder.html" + }, + { "url": "/eventsource/dedicated-worker/eventsource-close.htm" }, { @@ -15036,7 +15087,10 @@ "url": "/resource-timing/test_resource_timing.html" }, { - "url": "/selectors-api/tests/submissions/Opera/level2-baseline.html" + "url": "/selectors-api/tests/submissions/Opera/Element-matches.html" + }, + { + "url": "/selectors-api/tests/submissions/Opera/ParentNode-find-findAll.html" }, { "url": "/selectors/attribute-selectors/attribute-case/cssom.html" @@ -15534,10 +15588,19 @@ "url": "/vibration/silent-ignore.html" }, { - "url": "/web-animations/animation-timeline/animation-timeline.html" + "url": "/web-animations/animation-node/animation-node-after.html" }, { - "url": "/web-animations/animation-timeline/idlharness.html" + "url": "/web-animations/animation-node/animation-node-before.html" + }, + { + "url": "/web-animations/animation-node/animation-node-remove.html" + }, + { + "url": "/web-animations/animation-node/animation-node-replace.html" + }, + { + "url": "/web-animations/animation-node/idlharness.html" }, { "url": "/webaudio/the-audio-api/the-audiobuffer-interface/idl-test.html" @@ -16818,6 +16881,9 @@ "url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-null.html" }, { + "url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-undefined.html" + }, + { "url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/setting-postMessage.html" }, { @@ -17625,6 +17691,6 @@ "deleted": [], "items": {} }, - "rev": "af1614eee3afcbd5ada2ba2da20535f72de22074", + "rev": "d917e4056a6a126e8edfc266db124923579bb441", "url_base": "/" }
\ No newline at end of file diff --git a/tests/wpt/metadata/dom/events/Event-dispatch-omitted-capture.html.ini b/tests/wpt/metadata/dom/events/Event-dispatch-omitted-capture.html.ini new file mode 100644 index 00000000000..5108f7dcd51 --- /dev/null +++ b/tests/wpt/metadata/dom/events/Event-dispatch-omitted-capture.html.ini @@ -0,0 +1,5 @@ +[Event-dispatch-omitted-capture.html] + type: testharness + [EventTarget.addEventListener with the capture argument omitted] + expected: FAIL + diff --git a/tests/wpt/metadata/dom/interfaces.html.ini b/tests/wpt/metadata/dom/interfaces.html.ini index 06fb2a0ebea..77ab75c4e3b 100644 --- a/tests/wpt/metadata/dom/interfaces.html.ini +++ b/tests/wpt/metadata/dom/interfaces.html.ini @@ -1164,3 +1164,9 @@ [DOMTokenList interface object length] expected: FAIL + [Attr interface: attribute nodeValue] + expected: FAIL + + [Attr interface: document.querySelector("[id\]").attributes[0\] must inherit property "nodeValue" with the proper type (5)] + expected: FAIL + diff --git a/tests/wpt/metadata/dom/nodes/DOMImplementation-createHTMLDocument.html.ini b/tests/wpt/metadata/dom/nodes/DOMImplementation-createHTMLDocument.html.ini index 75cf27397ca..62f37b72e10 100644 --- a/tests/wpt/metadata/dom/nodes/DOMImplementation-createHTMLDocument.html.ini +++ b/tests/wpt/metadata/dom/nodes/DOMImplementation-createHTMLDocument.html.ini @@ -1,8 +1,8 @@ [DOMImplementation-createHTMLDocument.html] type: testharness - [DOMImplementation.createHTMLDocument 2] + [createHTMLDocument(): URL parsing] expected: FAIL - [createHTMLDocument(): URL parsing] + [createHTMLDocument test 2: undefined,undefined,""] expected: FAIL diff --git a/tests/wpt/metadata/dom/nodes/Document-createAttribute.html.ini b/tests/wpt/metadata/dom/nodes/Document-createAttribute.html.ini new file mode 100644 index 00000000000..4c77f8f7b19 --- /dev/null +++ b/tests/wpt/metadata/dom/nodes/Document-createAttribute.html.ini @@ -0,0 +1,35 @@ +[Document-createAttribute.html] + type: testharness + [createAttribute("")] + expected: FAIL + + [createAttribute("invalid^Name")] + expected: FAIL + + [createAttribute("\\\\")] + expected: FAIL + + [createAttribute("\'")] + expected: FAIL + + [createAttribute("\\"")] + expected: FAIL + + [createAttribute("0")] + expected: FAIL + + [createAttribute("0:a")] + expected: FAIL + + [createAttribute("title")] + expected: FAIL + + [createAttribute("TITLE")] + expected: FAIL + + [createAttribute(null)] + expected: FAIL + + [createAttribute(undefined)] + expected: FAIL + diff --git a/tests/wpt/metadata/dom/nodes/Text-constructor.html.ini b/tests/wpt/metadata/dom/nodes/Text-constructor.html.ini new file mode 100644 index 00000000000..77baf056168 --- /dev/null +++ b/tests/wpt/metadata/dom/nodes/Text-constructor.html.ini @@ -0,0 +1,3 @@ +[Text-constructor.html] + type: testharness + expected: TIMEOUT diff --git a/tests/wpt/metadata/dom/nodes/attributes.html.ini b/tests/wpt/metadata/dom/nodes/attributes.html.ini index f3e1c5bcdf8..e5932c51a18 100644 --- a/tests/wpt/metadata/dom/nodes/attributes.html.ini +++ b/tests/wpt/metadata/dom/nodes/attributes.html.ini @@ -15,3 +15,39 @@ [Attribute with prefix in local name] expected: FAIL + [setAttribute should not change the order of previously set attributes.] + expected: FAIL + + [setAttribute should set the first attribute with the given name] + expected: FAIL + + [null and the empty string should result in a null namespace.] + expected: FAIL + + [XML-namespaced attributes don\'t need an xml prefix] + expected: FAIL + + [xmlns should be allowed as local name] + expected: FAIL + + [xmlns should be allowed as prefix in the XMLNS namespace] + expected: FAIL + + [xmlns should be allowed as qualified name in the XMLNS namespace] + expected: FAIL + + [Setting the same attribute with another prefix should not change the prefix] + expected: FAIL + + [Attributes should work in document fragments.] + expected: FAIL + + [Attribute values should not be parsed.] + expected: FAIL + + [Specified attributes should be accessible.] + expected: FAIL + + [Entities in attributes should have been expanded while parsing.] + expected: FAIL + diff --git a/tests/wpt/metadata/html/dom/documents/dom-tree-accessors/document.title-07.html.ini b/tests/wpt/metadata/html/dom/documents/dom-tree-accessors/document.title-07.html.ini index c4a8b2f89ac..5fd8e536466 100644 --- a/tests/wpt/metadata/html/dom/documents/dom-tree-accessors/document.title-07.html.ini +++ b/tests/wpt/metadata/html/dom/documents/dom-tree-accessors/document.title-07.html.ini @@ -1,5 +1,5 @@ [document.title-07.html] type: testharness - [Document.title and DOMImplementation.createHTMLDocument 2] + [createHTMLDocument test 2: undefined,undefined,""] expected: FAIL diff --git a/tests/wpt/metadata/html/dom/interfaces.html.ini b/tests/wpt/metadata/html/dom/interfaces.html.ini index f61d940b9b2..ab0e440c3e4 100644 --- a/tests/wpt/metadata/html/dom/interfaces.html.ini +++ b/tests/wpt/metadata/html/dom/interfaces.html.ini @@ -282,9 +282,6 @@ [Document interface: attribute onwaiting] expected: FAIL - [Document must be primary interface of iframe.contentDocument] - expected: FAIL - [Stringification of iframe.contentDocument] expected: FAIL diff --git a/tests/wpt/web-platform-tests b/tests/wpt/web-platform-tests -Subproject f1d7cb0983f5ca81ba7bd49b587156b949a6b36 +Subproject d917e4056a6a126e8edfc266db124923579bb44 |