diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-11-13 20:15:42 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-11-15 12:37:57 +0100 |
commit | bd400b0665318e4b5b58f3a960519f2a4afae66a (patch) | |
tree | aa11e1e11dc5c79be61f9517a5aeccee9db26d76 | |
parent | 443b1b98e168f2831ff0d6526c3a00b1a05c763e (diff) | |
download | servo-bd400b0665318e4b5b58f3a960519f2a4afae66a.tar.gz servo-bd400b0665318e4b5b58f3a960519f2a4afae66a.zip |
Update web-platform-tests.
21 files changed, 328 insertions, 47 deletions
diff --git a/tests/wpt/config.ini b/tests/wpt/config.ini index 690f00233a2..c50326072fa 100644 --- a/tests/wpt/config.ini +++ b/tests/wpt/config.ini @@ -7,5 +7,9 @@ branch = master sync_path = web-platform-tests [paths] +run-info = . + +[manifest:upstream] tests = web-platform-tests metadata = metadata +url-base = / diff --git a/tests/wpt/metadata/XMLHttpRequest/event-timeout.htm.ini b/tests/wpt/metadata/XMLHttpRequest/event-timeout.htm.ini index dfdef29ac51..bbc554a338c 100644 --- a/tests/wpt/metadata/XMLHttpRequest/event-timeout.htm.ini +++ b/tests/wpt/metadata/XMLHttpRequest/event-timeout.htm.ini @@ -1,4 +1,3 @@ [event-timeout.htm] type: testharness disabled: issue 3396 - diff --git a/tests/wpt/metadata/XMLHttpRequest/interfaces.html.ini b/tests/wpt/metadata/XMLHttpRequest/interfaces.html.ini index 55bb08c3fcf..a2a210354d4 100644 --- a/tests/wpt/metadata/XMLHttpRequest/interfaces.html.ini +++ b/tests/wpt/metadata/XMLHttpRequest/interfaces.html.ini @@ -1,65 +1,62 @@ [interfaces.html] type: testharness - [XMLHttpRequest interface: operation open(ByteString,DOMString)] - expected: FAIL - - [XMLHttpRequest interface: operation open(ByteString,DOMString,boolean,DOMString,DOMString)] + [XMLHttpRequest interface: operation overrideMimeType(DOMString)] expected: FAIL - [XMLHttpRequest interface: operation send([object Object\],[object Object\],[object Object\],[object Object\],[object Object\],[object Object\])] + [XMLHttpRequest interface: calling overrideMimeType(DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError] expected: FAIL - [XMLHttpRequest interface: operation overrideMimeType(DOMString)] + [FormData interface object length] expected: FAIL - [XMLHttpRequest interface: calling open(ByteString,DOMString,boolean,DOMString,DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError] + [FormData interface: new FormData() must inherit property "getAll" with the proper type (4)] expected: FAIL - [XMLHttpRequest interface: new XMLHttpRequest() must inherit property "statusText" with the proper type (16)] + [FormData interface: new FormData(form) must inherit property "getAll" with the proper type (4)] expected: FAIL - [XMLHttpRequest interface: new XMLHttpRequest() must inherit property "overrideMimeType" with the proper type (19)] + [XMLHttpRequestUpload interface object length] expected: FAIL - [XMLHttpRequest interface: calling overrideMimeType(DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError] + [XMLHttpRequest interface object length] expected: FAIL - [FormData interface: existence and properties of interface object] + [XMLHttpRequest interface: operation open(ByteString,USVString)] expected: FAIL - [FormData interface object length] + [XMLHttpRequest interface: operation open(ByteString,USVString,boolean,USVString,USVString)] expected: FAIL - [FormData interface: operation append(DOMString,Blob,DOMString)] + [XMLHttpRequest interface: operation send([object Object\],[object Object\])] expected: FAIL - [FormData interface: operation append(DOMString,DOMString)] + [XMLHttpRequest interface: calling open(ByteString,USVString,boolean,USVString,USVString) on new XMLHttpRequest() with too few arguments must throw TypeError] expected: FAIL - [FormData interface: operation getAll(DOMString)] + [XMLHttpRequest interface: new XMLHttpRequest() must inherit property "overrideMimeType" with the proper type (20)] expected: FAIL - [FormData interface: operation set(DOMString,Blob,DOMString)] + [FormData interface: operation append(USVString,Blob,USVString)] expected: FAIL - [FormData interface: operation set(DOMString,DOMString)] + [FormData interface: operation append(USVString,USVString)] expected: FAIL - [FormData interface: new FormData() must inherit property "getAll" with the proper type (4)] + [FormData interface: operation getAll(USVString)] expected: FAIL - [FormData interface: calling getAll(DOMString) on new FormData() with too few arguments must throw TypeError] + [FormData interface: operation set(USVString,Blob,USVString)] expected: FAIL - [FormData interface: new FormData(form) must inherit property "getAll" with the proper type (4)] + [FormData interface: operation set(USVString,USVString)] expected: FAIL - [FormData interface: calling getAll(DOMString) on new FormData(form) with too few arguments must throw TypeError] + [FormData interface: calling getAll(USVString) on new FormData() with too few arguments must throw TypeError] expected: FAIL - [XMLHttpRequestUpload interface object length] + [FormData interface: calling getAll(USVString) on new FormData(form) with too few arguments must throw TypeError] expected: FAIL - [XMLHttpRequest interface object length] + [ProgressEvent interface object length] expected: FAIL diff --git a/tests/wpt/metadata/XMLHttpRequest/open-url-worker-origin.htm.ini b/tests/wpt/metadata/XMLHttpRequest/open-url-worker-origin.htm.ini index cab7b4b46fa..b5d8b674616 100644 --- a/tests/wpt/metadata/XMLHttpRequest/open-url-worker-origin.htm.ini +++ b/tests/wpt/metadata/XMLHttpRequest/open-url-worker-origin.htm.ini @@ -1,6 +1,3 @@ [open-url-worker-origin.htm] type: testharness expected: TIMEOUT - [XMLHttpRequest: worker scripts, origin and referrer] - expected: NOTRUN - diff --git a/tests/wpt/metadata/XMLHttpRequest/send-no-response-event-order.htm.ini b/tests/wpt/metadata/XMLHttpRequest/send-no-response-event-order.htm.ini new file mode 100644 index 00000000000..2e33c63d94f --- /dev/null +++ b/tests/wpt/metadata/XMLHttpRequest/send-no-response-event-order.htm.ini @@ -0,0 +1,5 @@ +[send-no-response-event-order.htm] + type: testharness + [XMLHttpRequest: The send() method: event order when there is no response entity body] + expected: FAIL + diff --git a/tests/wpt/metadata/XMLHttpRequest/status-async.htm.ini b/tests/wpt/metadata/XMLHttpRequest/status-async.htm.ini index 9113fc4c36d..bddbe9383ae 100644 --- a/tests/wpt/metadata/XMLHttpRequest/status-async.htm.ini +++ b/tests/wpt/metadata/XMLHttpRequest/status-async.htm.ini @@ -1,4 +1,3 @@ [status-async.htm] type: testharness disabled: issue 3596 - diff --git a/tests/wpt/metadata/XMLHttpRequest/status-error.htm.ini b/tests/wpt/metadata/XMLHttpRequest/status-error.htm.ini index 039a9e8c2df..96004f25642 100644 --- a/tests/wpt/metadata/XMLHttpRequest/status-error.htm.ini +++ b/tests/wpt/metadata/XMLHttpRequest/status-error.htm.ini @@ -1,4 +1,3 @@ [status-error.htm] type: testharness disabled: issue 3596 - diff --git a/tests/wpt/metadata/XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html.ini b/tests/wpt/metadata/XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html.ini index b721412c9f2..4f2849cb9fb 100644 --- a/tests/wpt/metadata/XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html.ini +++ b/tests/wpt/metadata/XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html.ini @@ -2,3 +2,4 @@ type: testharness [Timeout test: timeout enabled after initially disabled, original timeout at 0, reset at 400 to 1000] disabled: flaky - https://github.com/w3c/web-platform-tests/issues/1362 + diff --git a/tests/wpt/metadata/XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html.ini b/tests/wpt/metadata/XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html.ini index 1cd76cbc907..0ebda00c863 100644 --- a/tests/wpt/metadata/XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html.ini +++ b/tests/wpt/metadata/XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html.ini @@ -2,3 +2,4 @@ type: testharness [Timeout test: timeout set to expired value before load fires, original timeout at 1000, reset at 400 to 300] disabled: racy test + diff --git a/tests/wpt/metadata/XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html.ini b/tests/wpt/metadata/XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html.ini index 04f5eb3823d..97344145a03 100644 --- a/tests/wpt/metadata/XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html.ini +++ b/tests/wpt/metadata/XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html.ini @@ -2,3 +2,4 @@ type: testharness [Timeout test: load fires normally with same timeout set twice, original timeout at 1000, reset at 400 to 1000] disabled: flaky + diff --git a/tests/wpt/metadata/dom/nodes/Node-compareDocumentPosition.html.ini b/tests/wpt/metadata/dom/nodes/Node-compareDocumentPosition.html.ini deleted file mode 100644 index 4ac55146b46..00000000000 --- a/tests/wpt/metadata/dom/nodes/Node-compareDocumentPosition.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[Node-compareDocumentPosition.html] - type: testharness - expected: ERROR diff --git a/tests/wpt/metadata/dom/nodes/Node-contains.html.ini b/tests/wpt/metadata/dom/nodes/Node-contains.html.ini deleted file mode 100644 index dad38c8164d..00000000000 --- a/tests/wpt/metadata/dom/nodes/Node-contains.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[Node-contains.html] - type: testharness - expected: ERROR diff --git a/tests/wpt/metadata/dom/nodes/Node-properties.html.ini b/tests/wpt/metadata/dom/nodes/Node-properties.html.ini index f85f1dfd763..9ed603101f1 100644 --- a/tests/wpt/metadata/dom/nodes/Node-properties.html.ini +++ b/tests/wpt/metadata/dom/nodes/Node-properties.html.ini @@ -1,3 +1,221 @@ [Node-properties.html] type: testharness - expected: ERROR + [testDiv.previousElementSibling] + expected: FAIL + + [testDiv.childElementCount] + expected: FAIL + + [testDiv.firstElementChild] + expected: FAIL + + [testDiv.lastElementChild] + expected: FAIL + + [detachedDiv.previousElementSibling] + expected: FAIL + + [detachedDiv.nextElementSibling] + expected: FAIL + + [detachedDiv.childElementCount] + expected: FAIL + + [detachedDiv.firstElementChild] + expected: FAIL + + [detachedDiv.lastElementChild] + expected: FAIL + + [detachedPara1.previousElementSibling] + expected: FAIL + + [detachedPara1.nextElementSibling] + expected: FAIL + + [detachedPara1.childElementCount] + expected: FAIL + + [detachedPara1.lastElementChild] + expected: FAIL + + [detachedPara1.firstElementChild] + expected: FAIL + + [detachedPara2.previousElementSibling] + expected: FAIL + + [detachedPara2.nextElementSibling] + expected: FAIL + + [detachedPara2.childElementCount] + expected: FAIL + + [detachedPara2.lastElementChild] + expected: FAIL + + [detachedPara2.firstElementChild] + expected: FAIL + + [document.URL] + expected: FAIL + + [document.documentURI] + expected: FAIL + + [foreignPara1.previousElementSibling] + expected: FAIL + + [foreignPara1.nextElementSibling] + expected: FAIL + + [foreignPara1.childElementCount] + expected: FAIL + + [foreignPara1.lastElementChild] + expected: FAIL + + [foreignPara1.firstElementChild] + expected: FAIL + + [foreignPara2.previousElementSibling] + expected: FAIL + + [foreignPara2.nextElementSibling] + expected: FAIL + + [foreignPara2.childElementCount] + expected: FAIL + + [foreignPara2.lastElementChild] + expected: FAIL + + [foreignPara2.firstElementChild] + expected: FAIL + + [xmlElement.previousElementSibling] + expected: FAIL + + [xmlElement.nextElementSibling] + expected: FAIL + + [xmlElement.childElementCount] + expected: FAIL + + [xmlElement.lastElementChild] + expected: FAIL + + [xmlElement.firstElementChild] + expected: FAIL + + [detachedXmlElement.previousElementSibling] + expected: FAIL + + [detachedXmlElement.nextElementSibling] + expected: FAIL + + [detachedXmlElement.childElementCount] + expected: FAIL + + [detachedXmlElement.lastElementChild] + expected: FAIL + + [detachedXmlElement.firstElementChild] + expected: FAIL + + [detachedTextNode.wholeText] + expected: FAIL + + [foreignTextNode.wholeText] + expected: FAIL + + [detachedForeignTextNode.wholeText] + expected: FAIL + + [xmlTextNode.wholeText] + expected: FAIL + + [detachedXmlTextNode.wholeText] + expected: FAIL + + [detachedForeignComment.length] + expected: FAIL + + [detachedXmlComment.length] + expected: FAIL + + [paras[0\].previousElementSibling] + expected: FAIL + + [paras[0\].nextElementSibling] + expected: FAIL + + [paras[0\].childElementCount] + expected: FAIL + + [paras[0\].lastElementChild] + expected: FAIL + + [paras[0\].firstElementChild] + expected: FAIL + + [paras[1\].previousElementSibling] + expected: FAIL + + [paras[1\].nextElementSibling] + expected: FAIL + + [paras[1\].childElementCount] + expected: FAIL + + [paras[1\].lastElementChild] + expected: FAIL + + [paras[1\].firstElementChild] + expected: FAIL + + [paras[2\].previousElementSibling] + expected: FAIL + + [paras[2\].nextElementSibling] + expected: FAIL + + [paras[2\].childElementCount] + expected: FAIL + + [paras[2\].lastElementChild] + expected: FAIL + + [paras[2\].firstElementChild] + expected: FAIL + + [paras[3\].previousElementSibling] + expected: FAIL + + [paras[3\].nextElementSibling] + expected: FAIL + + [paras[3\].childElementCount] + expected: FAIL + + [paras[3\].lastElementChild] + expected: FAIL + + [paras[3\].firstElementChild] + expected: FAIL + + [paras[4\].previousElementSibling] + expected: FAIL + + [paras[4\].nextElementSibling] + expected: FAIL + + [paras[4\].childElementCount] + expected: FAIL + + [paras[4\].lastElementChild] + expected: FAIL + + [paras[4\].firstElementChild] + expected: FAIL + diff --git a/tests/wpt/metadata/dom/nodes/attributes.html.ini b/tests/wpt/metadata/dom/nodes/attributes.html.ini index 69dbd55909a..f3e1c5bcdf8 100644 --- a/tests/wpt/metadata/dom/nodes/attributes.html.ini +++ b/tests/wpt/metadata/dom/nodes/attributes.html.ini @@ -1,9 +1,5 @@ [attributes.html] type: testharness - - [AttrExodus] - expected: FAIL - [setAttribute should set the attribute with the given qualified name] expected: FAIL diff --git a/tests/wpt/metadata/dom/traversal/NodeIterator-removal.html.ini b/tests/wpt/metadata/dom/traversal/NodeIterator-removal.html.ini index 3164b32f77b..342f27a8019 100644 --- a/tests/wpt/metadata/dom/traversal/NodeIterator-removal.html.ini +++ b/tests/wpt/metadata/dom/traversal/NodeIterator-removal.html.ini @@ -1,3 +1,68 @@ [NodeIterator-removal.html] type: testharness - expected: ERROR + [Test removing node paras[0\]] + expected: FAIL + + [Test removing node paras[0\].firstChild] + expected: FAIL + + [Test removing node paras[1\].firstChild] + expected: FAIL + + [Test removing node foreignPara1] + expected: FAIL + + [Test removing node foreignPara1.firstChild] + expected: FAIL + + [Test removing node detachedPara1] + expected: FAIL + + [Test removing node detachedPara1.firstChild] + expected: FAIL + + [Test removing node foreignPara2] + expected: FAIL + + [Test removing node xmlElement] + expected: FAIL + + [Test removing node foreignTextNode] + expected: FAIL + + [Test removing node processingInstruction] + expected: FAIL + + [Test removing node comment] + expected: FAIL + + [Test removing node doctype] + expected: FAIL + + [Test removing node foreignDoctype] + expected: FAIL + + [Test removing node paras[1\]] + expected: FAIL + + [Test removing node detachedPara2] + expected: FAIL + + [Test removing node detachedPara2.firstChild] + expected: FAIL + + [Test removing node testDiv] + expected: FAIL + + [Test removing node xmlTextNode] + expected: FAIL + + [Test removing node xmlComment] + expected: FAIL + + [Test removing node foreignComment] + expected: FAIL + + [Test removing node xmlDoctype] + expected: FAIL + diff --git a/tests/wpt/metadata/dom/traversal/NodeIterator.html.ini b/tests/wpt/metadata/dom/traversal/NodeIterator.html.ini index 8fa21d5a0be..d10e0b120de 100644 --- a/tests/wpt/metadata/dom/traversal/NodeIterator.html.ini +++ b/tests/wpt/metadata/dom/traversal/NodeIterator.html.ini @@ -1,6 +1,5 @@ [NodeIterator.html] type: testharness - expected: ERROR [detach() should be a no-op] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/forms/the-datalist-element/datalistoptions.html.ini b/tests/wpt/metadata/html/semantics/forms/the-datalist-element/datalistoptions.html.ini index 47ebd87c928..e4ec456fa95 100644 --- a/tests/wpt/metadata/html/semantics/forms/the-datalist-element/datalistoptions.html.ini +++ b/tests/wpt/metadata/html/semantics/forms/the-datalist-element/datalistoptions.html.ini @@ -1,6 +1,5 @@ [datalistoptions.html] type: testharness - [If an element has a datalist element ancestor, it is barred from constraint validation] expected: FAIL diff --git a/tests/wpt/metadata/workers/Worker_dispatchEvent_ErrorEvent.htm.ini b/tests/wpt/metadata/workers/Worker_dispatchEvent_ErrorEvent.htm.ini index 260066bc062..c3986c7bcc2 100644 --- a/tests/wpt/metadata/workers/Worker_dispatchEvent_ErrorEvent.htm.ini +++ b/tests/wpt/metadata/workers/Worker_dispatchEvent_ErrorEvent.htm.ini @@ -1,6 +1,8 @@ [Worker_dispatchEvent_ErrorEvent.htm] type: testharness - expected: TIMEOUT - [Test Description: ErrorEvent.initErrorEvent() and Worker.dispatchEvent()] - expected: NOTRUN + [Test Description: ErrorEvent and Worker.dispatchEvent()] + expected: FAIL + + [initErrorEvent] + expected: FAIL diff --git a/tests/wpt/metadata/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-null.html.ini b/tests/wpt/metadata/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-null.html.ini new file mode 100644 index 00000000000..60637c48080 --- /dev/null +++ b/tests/wpt/metadata/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-null.html.ini @@ -0,0 +1,5 @@ +[second-argument-null.html] + type: testharness + [Using null in postMessage\'s second argument] + expected: FAIL + diff --git a/tests/wpt/run.sh b/tests/wpt/run.sh index 12bddae9eda..ed06092c5c0 100755 --- a/tests/wpt/run.sh +++ b/tests/wpt/run.sh @@ -16,7 +16,7 @@ source _virtualenv/bin/activate if [[ $* == *--update-manifest* ]]; then (python -c "import html5lib" &>/dev/null) || pip install html5lib fi -(python -c "import wptrunner" &>/dev/null) || pip install 'wptrunner==1.5' +(python -c "import wptrunner" &>/dev/null) || pip install 'wptrunner==1.7' python $servo_root/tests/wpt/run.py \ --config $servo_root/tests/wpt/config.ini \ diff --git a/tests/wpt/web-platform-tests b/tests/wpt/web-platform-tests -Subproject af1614eee3afcbd5ada2ba2da20535f72de2207 +Subproject f1d7cb0983f5ca81ba7bd49b587156b949a6b36 |