From 7ccb09b34d108a444d7fa3e26e954a86e5232708 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Wed, 19 Nov 2014 17:00:11 +0100 Subject: [PATCH] Update web-platform-tests. --- tests/wpt/metadata/MANIFEST.json | 98 ++++++++++++++++--- .../Event-dispatch-omitted-capture.html.ini | 5 + tests/wpt/metadata/dom/interfaces.html.ini | 6 ++ ...Implementation-createHTMLDocument.html.ini | 6 +- .../nodes/Document-createAttribute.html.ini | 35 +++++++ .../dom/nodes/Text-constructor.html.ini | 3 + .../metadata/dom/nodes/attributes.html.ini | 36 +++++++ .../document.title-07.html.ini | 2 +- .../wpt/metadata/html/dom/interfaces.html.ini | 3 - tests/wpt/web-platform-tests | 2 +- 10 files changed, 172 insertions(+), 24 deletions(-) create mode 100644 tests/wpt/metadata/dom/events/Event-dispatch-omitted-capture.html.ini create mode 100644 tests/wpt/metadata/dom/nodes/Document-createAttribute.html.ini create mode 100644 tests/wpt/metadata/dom/nodes/Text-constructor.html.ini 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 @@ -1210,6 +1210,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" }, @@ -1237,6 +1243,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" }, @@ -1360,6 +1369,9 @@ { "url": "/dom/traversal/unfinished/TODO" }, + { + "url": "/encoding/resources/single-byte-raw.py" + }, { "url": "/eventsource/README.md" }, @@ -2851,6 +2863,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" }, @@ -2926,6 +2944,9 @@ { "url": "/web-animations/README.md" }, + { + "url": "/web-animations/testcommon.js" + }, { "url": "/webaudio/README.md" }, @@ -4995,6 +5016,9 @@ { "url": "/vibration/pattern-array-manual.html" }, + { + "url": "/vibration/pattern-array-with-0-manual.html" + }, { "url": "/vibration/simple-array-manual.html" }, @@ -9137,6 +9161,9 @@ { "url": "/DOMEvents/event-phases-order.html" }, + { + "url": "/DOMEvents/init-event-while-dispatching.html" + }, { "url": "/DOMEvents/tests/approved/DOM.event.flow.html" }, @@ -9167,15 +9194,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" }, @@ -9218,9 +9239,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" }, @@ -9233,9 +9251,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" }, @@ -10331,9 +10346,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" }, @@ -10838,6 +10859,9 @@ { "url": "/dom/events/Event-defaultPrevented.html" }, + { + "url": "/dom/events/Event-dispatch-omitted-capture.html" + }, { "url": "/dom/events/Event-initEvent.html" }, @@ -10853,6 +10877,9 @@ { "url": "/dom/events/EventTarget-addEventListener.html" }, + { + "url": "/dom/events/EventTarget-dispatchEvent-returnvalue.html" + }, { "url": "/dom/events/EventTarget-dispatchEvent.html" }, @@ -10961,6 +10988,9 @@ { "url": "/dom/nodes/Document-contentType/contentType/xhr_responseType_document.html" }, + { + "url": "/dom/nodes/Document-createAttribute.html" + }, { "url": "/dom/nodes/Document-createComment.html" }, @@ -10982,6 +11012,9 @@ { "url": "/dom/nodes/Document-createProcessingInstruction.xhtml" }, + { + "url": "/dom/nodes/Document-createTextNode.html" + }, { "url": "/dom/nodes/Document-createTreeWalker.html" }, @@ -11231,6 +11264,9 @@ { "url": "/dom/nodes/ProcessingInstruction-literal-2.xhtml" }, + { + "url": "/dom/nodes/Text-constructor.html" + }, { "url": "/dom/nodes/attributes.html" }, @@ -11369,6 +11405,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" @@ -16817,6 +16880,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] - expected: FAIL - [createHTMLDocument(): URL parsing] expected: FAIL + [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 index f1d7cb0983f..d917e4056a6 160000 --- a/tests/wpt/web-platform-tests +++ b/tests/wpt/web-platform-tests @@ -1 +1 @@ -Subproject commit f1d7cb0983f5ca81ba7bd49b587156b949a6b367 +Subproject commit d917e4056a6a126e8edfc266db124923579bb441