Update web-platform-tests.

This commit is contained in:
Ms2ger 2014-11-13 20:15:42 +01:00
parent 443b1b98e1
commit bd400b0665
21 changed files with 348 additions and 67 deletions

View file

@ -7,5 +7,9 @@ branch = master
sync_path = web-platform-tests
[paths]
run-info = .
[manifest:upstream]
tests = web-platform-tests
metadata = metadata
url-base = /

View file

@ -1,4 +1,3 @@
[event-timeout.htm]
type: testharness
disabled: issue 3396

View file

@ -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)]
expected: FAIL
[XMLHttpRequest interface: operation send([object Object\],[object Object\],[object Object\],[object Object\],[object Object\],[object Object\])]
expected: FAIL
[XMLHttpRequest interface: operation overrideMimeType(DOMString)]
expected: FAIL
[XMLHttpRequest interface: calling open(ByteString,DOMString,boolean,DOMString,DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError]
expected: FAIL
[XMLHttpRequest interface: new XMLHttpRequest() must inherit property "statusText" with the proper type (16)]
expected: FAIL
[XMLHttpRequest interface: new XMLHttpRequest() must inherit property "overrideMimeType" with the proper type (19)]
expected: FAIL
[XMLHttpRequest interface: calling overrideMimeType(DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError]
expected: FAIL
[FormData interface: existence and properties of interface object]
expected: FAIL
[FormData interface object length]
expected: FAIL
[FormData interface: operation append(DOMString,Blob,DOMString)]
expected: FAIL
[FormData interface: operation append(DOMString,DOMString)]
expected: FAIL
[FormData interface: operation getAll(DOMString)]
expected: FAIL
[FormData interface: operation set(DOMString,Blob,DOMString)]
expected: FAIL
[FormData interface: operation set(DOMString,DOMString)]
expected: FAIL
[FormData interface: new FormData() must inherit property "getAll" with the proper type (4)]
expected: FAIL
[FormData interface: calling getAll(DOMString) on new FormData() with too few arguments must throw TypeError]
expected: FAIL
[FormData interface: new FormData(form) must inherit property "getAll" with the proper type (4)]
expected: FAIL
[FormData interface: calling getAll(DOMString) on new FormData(form) with too few arguments must throw TypeError]
expected: FAIL
[XMLHttpRequestUpload interface object length]
expected: FAIL
[XMLHttpRequest interface object length]
expected: FAIL
[XMLHttpRequest interface: operation open(ByteString,USVString)]
expected: FAIL
[XMLHttpRequest interface: operation open(ByteString,USVString,boolean,USVString,USVString)]
expected: FAIL
[XMLHttpRequest interface: operation send([object Object\],[object Object\])]
expected: FAIL
[XMLHttpRequest interface: calling open(ByteString,USVString,boolean,USVString,USVString) on new XMLHttpRequest() with too few arguments must throw TypeError]
expected: FAIL
[XMLHttpRequest interface: new XMLHttpRequest() must inherit property "overrideMimeType" with the proper type (20)]
expected: FAIL
[FormData interface: operation append(USVString,Blob,USVString)]
expected: FAIL
[FormData interface: operation append(USVString,USVString)]
expected: FAIL
[FormData interface: operation getAll(USVString)]
expected: FAIL
[FormData interface: operation set(USVString,Blob,USVString)]
expected: FAIL
[FormData interface: operation set(USVString,USVString)]
expected: FAIL
[FormData interface: calling getAll(USVString) on new FormData() with too few arguments must throw TypeError]
expected: FAIL
[FormData interface: calling getAll(USVString) on new FormData(form) with too few arguments must throw TypeError]
expected: FAIL
[ProgressEvent interface object length]
expected: FAIL

View file

@ -1,6 +1,3 @@
[open-url-worker-origin.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: worker scripts, origin and referrer]
expected: NOTRUN

View file

@ -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

View file

@ -1,4 +1,3 @@
[status-async.htm]
type: testharness
disabled: issue 3596

View file

@ -1,4 +1,3 @@
[status-error.htm]
type: testharness
disabled: issue 3596

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,3 +0,0 @@
[Node-compareDocumentPosition.html]
type: testharness
expected: ERROR

View file

@ -1,3 +0,0 @@
[Node-contains.html]
type: testharness
expected: ERROR

View file

@ -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

View file

@ -1,9 +1,5 @@
[attributes.html]
type: testharness
[AttrExodus]
expected: FAIL
[setAttribute should set the attribute with the given qualified name]
expected: FAIL

View file

@ -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

View file

@ -1,6 +1,5 @@
[NodeIterator.html]
type: testharness
expected: ERROR
[detach() should be a no-op]
expected: FAIL

View file

@ -1,6 +1,5 @@
[datalistoptions.html]
type: testharness
[If an element has a datalist element ancestor, it is barred from constraint validation]
expected: FAIL

View file

@ -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

View file

@ -0,0 +1,5 @@
[second-argument-null.html]
type: testharness
[Using null in postMessage\'s second argument]
expected: FAIL

View file

@ -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 \

@ -1 +1 @@
Subproject commit af1614eee3afcbd5ada2ba2da20535f72de22074
Subproject commit f1d7cb0983f5ca81ba7bd49b587156b949a6b367