Update web-platform-tests and wptrunner.

This commit is contained in:
Ms2ger 2015-01-13 15:06:51 +01:00
parent 6b86005601
commit 29e250d4ac
24 changed files with 406 additions and 109 deletions

View file

@ -1,6 +1,5 @@
[Blob-constructor.html]
type: testharness
[Passing non-objects, Dates and RegExps for blobParts should throw a TypeError.]
expected: FAIL
@ -117,3 +116,4 @@
[Newlines should not change when endings is \'native\'.]
expected: FAIL

View file

@ -0,0 +1,15 @@
[FileReaderSync.worker]
type: testharness
expected: ERROR
[Interface]
expected: FAIL
[readAsText]
expected: FAIL
[readAsDataURL]
expected: FAIL
[readAsArrayBuffer]
expected: FAIL

View file

@ -1003,18 +1003,6 @@
{
"url": "/app-uri/resources/icons/w3c-48.png"
},
{
"url": "/app-uri/resources/idlharness.js"
},
{
"url": "/app-uri/resources/testharness.css"
},
{
"url": "/app-uri/resources/testharness.js"
},
{
"url": "/app-uri/resources/testharnessreport.js"
},
{
"url": "/battery-status/battery-interface.js"
},
@ -1975,6 +1963,9 @@
{
"url": "/html/rendering/non-replaced-elements/tables/table-width-150percent-ref.html"
},
{
"url": "/html/rendering/non-replaced-elements/the-page/body_text_00ffff-ref.html"
},
{
"url": "/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img_border-ref.xhtml"
},
@ -2014,6 +2005,9 @@
{
"url": "/html/semantics/document-metadata/the-meta-element/contains.json"
},
{
"url": "/html/semantics/document-metadata/the-style-element/html_style_in_comment-ref.html"
},
{
"url": "/html/semantics/embedded-content/image-maps/contains.json"
},
@ -2773,24 +2767,6 @@
{
"url": "/old-tests/submission/Infraware/Session_History/contents/Session_History/css/result.css"
},
{
"url": "/old-tests/submission/Infraware/Session_History/resources/WebIDLParser.js"
},
{
"url": "/old-tests/submission/Infraware/Session_History/resources/idlharness.js"
},
{
"url": "/old-tests/submission/Infraware/Session_History/resources/readme.md"
},
{
"url": "/old-tests/submission/Infraware/Session_History/resources/testharness.css"
},
{
"url": "/old-tests/submission/Infraware/Session_History/resources/testharness.js"
},
{
"url": "/old-tests/submission/Infraware/Session_History/resources/testharnessreport.js"
},
{
"url": "/old-tests/submission/Microsoft/dragdrop/dragdrop_support.js"
},
@ -2990,7 +2966,7 @@
"url": "/shadow-dom/testcommon.js"
},
{
"url": "/subresource-integrity/loads-scripts-with-badly-encoded-digest.js"
"url": "/subresource-integrity/loads-scripts-with-base64-encoded-sha-digests.js"
},
{
"url": "/subresource-integrity/loads-scripts-with-correct-content-type.js"
@ -3007,11 +2983,14 @@
{
"url": "/subresource-integrity/loads-scripts-with-non-matching-digest.js"
},
{
"url": "/subresource-integrity/loads-scripts-with-unhyphenated-digest-name.js"
},
{
"url": "/subresource-integrity/loads-scripts-with-weak-digest-algorithms.js"
},
{
"url": "/subresource-integrity/support/generate_javascript.py"
"url": "/subresource-integrity/tools/generate_javascript.py"
},
{
"url": "/touch-events/multi-touch-interactions.js"
@ -4234,6 +4213,9 @@
{
"url": "/workers/constructors/Worker/undefined"
},
{
"url": "/workers/interfaces.idl"
},
{
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/message-event.js"
},
@ -5497,6 +5479,11 @@
"ref_url": "/html/rendering/non-replaced-elements/tables/table-width-150percent-ref.html",
"url": "/html/rendering/non-replaced-elements/tables/table-width-150percent.html"
},
{
"ref_type": "==",
"ref_url": "/html/rendering/non-replaced-elements/the-page/body_text_00ffff-ref.html",
"url": "/html/rendering/non-replaced-elements/the-page/body_text_00ffff.xhtml"
},
{
"ref_type": "==",
"ref_url": "/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img_border-ref.xhtml",
@ -5517,6 +5504,11 @@
"ref_url": "/html/rendering/replaced-elements/images/space-ref.html",
"url": "/html/rendering/replaced-elements/images/space.html"
},
{
"ref_type": "==",
"ref_url": "/html/semantics/document-metadata/the-style-element/html_style_in_comment-ref.html",
"url": "/html/semantics/document-metadata/the-style-element/html_style_in_comment.xhtml"
},
{
"ref_type": "==",
"ref_url": "/html/semantics/embedded-content/the-audio-element/audio_content-ref.htm",
@ -9300,9 +9292,6 @@
{
"url": "/DOMEvents/tests/approved/Determined.candidate.EventListeners.html"
},
{
"url": "/DOMEvents/tests/approved/Event.bubbles.false.html"
},
{
"url": "/DOMEvents/tests/approved/EventListener.dispatch.new.event.html"
},
@ -9345,9 +9334,6 @@
{
"url": "/DOMEvents/tests/submissions/Microsoft/converted/Determined.candidate.EventListeners.html"
},
{
"url": "/DOMEvents/tests/submissions/Microsoft/converted/Event.bubbles.false.html"
},
{
"url": "/DOMEvents/tests/submissions/Microsoft/converted/EventListener.dispatch.new.event.html"
},
@ -9438,6 +9424,9 @@
{
"url": "/FileAPI/FileReader/Determining-Encoding.html"
},
{
"url": "/FileAPI/FileReaderSync.worker"
},
{
"url": "/FileAPI/filelist-section/filelist.html"
},
@ -10029,6 +10018,12 @@
{
"url": "/IndexedDB/idbobjectstore_get5.htm"
},
{
"url": "/IndexedDB/idbobjectstore_get6.htm"
},
{
"url": "/IndexedDB/idbobjectstore_get7.htm"
},
{
"url": "/IndexedDB/idbobjectstore_index.htm"
},
@ -10164,6 +10159,18 @@
{
"url": "/IndexedDB/value_recursive.htm"
},
{
"url": "/WebCryptoAPI/test_getRandomValues.html"
},
{
"url": "/WebIDL/ecmascript-binding/es-exceptions/DOMException-constants.html"
},
{
"url": "/WebIDL/ecmascript-binding/es-exceptions/DOMException-constructor.html"
},
{
"url": "/WebIDL/ecmascript-binding/es-exceptions/exceptions.html"
},
{
"url": "/XMLHttpRequest/FormData-append.html"
},
@ -10704,6 +10711,9 @@
{
"url": "/battery-status/battery-interface.html"
},
{
"url": "/battery-status/battery-promise.html"
},
{
"url": "/content-security-policy/generic/generic-0_10.html"
},
@ -11010,12 +11020,6 @@
{
"url": "/dom/collections/HTMLCollection-empty-name.html"
},
{
"url": "/dom/errors/DOMException-constants.html"
},
{
"url": "/dom/errors/exceptions.html"
},
{
"url": "/dom/events/Event-constants.html"
},
@ -11025,6 +11029,9 @@
{
"url": "/dom/events/Event-defaultPrevented.html"
},
{
"url": "/dom/events/Event-dispatch-bubbles-false.html"
},
{
"url": "/dom/events/Event-dispatch-omitted-capture.html"
},
@ -11136,9 +11143,6 @@
{
"url": "/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_02.html"
},
{
"url": "/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_03.html"
},
{
"url": "/dom/nodes/Document-contentType/contentType/contenttype_png.html"
},
@ -13563,6 +13567,9 @@
{
"url": "/html/semantics/embedded-content/the-img-element/current-pixel-density/error.html"
},
{
"url": "/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html"
},
{
"url": "/html/semantics/embedded-content/the-img-element/img.complete.html"
},
@ -14394,6 +14401,9 @@
{
"url": "/js/builtins/Object.prototype.hasOwnProperty-order.html"
},
{
"url": "/js/builtins/Object.prototype.hasOwnProperty-prototype-chain.html"
},
{
"url": "/js/builtins/WeakMap.prototype-properties.html"
},
@ -17067,6 +17077,9 @@
{
"url": "/workers/constructors/Worker/unresolvable-url.html"
},
{
"url": "/workers/interfaces.worker"
},
{
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/onmessage.html"
},
@ -17254,10 +17267,10 @@
"url": "/workers/semantics/encodings/004.html"
},
{
"url": "/workers/semantics/interface-objects/001.html"
"url": "/workers/semantics/interface-objects/001.worker"
},
{
"url": "/workers/semantics/interface-objects/002.html"
"url": "/workers/semantics/interface-objects/002.worker"
},
{
"url": "/workers/semantics/interface-objects/003.html"
@ -17903,6 +17916,6 @@
"deleted": [],
"items": {}
},
"rev": "b646eda81238531b7f664cb6479131f9835425ca",
"rev": "34eea70476fb2a9e5f5b3cfc6e3dbad441790056",
"url_base": "/"
}

View file

@ -1,9 +0,0 @@
[exceptions.html]
type: testharness
expected: TIMEOUT
[exception.hasOwnProperty("message")]
expected: FAIL
[Object.getOwnPropertyDescriptor(exception, "message")]
expected: FAIL

View file

@ -0,0 +1,5 @@
[Event-dispatch-bubbles-false.html]
type: testharness
[Event.dispatchEvent with Event.bubbles set to false.]
expected: FAIL

View file

@ -6,24 +6,6 @@
[DOMException exception: existence and properties of exception interface prototype object\'s "name" property]
expected: FAIL
[DOMError interface: existence and properties of interface object]
expected: FAIL
[DOMError interface object length]
expected: FAIL
[DOMError interface: existence and properties of interface prototype object]
expected: FAIL
[DOMError interface: existence and properties of interface prototype object\'s "constructor" property]
expected: FAIL
[DOMError interface: attribute name]
expected: FAIL
[DOMError interface: attribute message]
expected: FAIL
[Event interface object length]
expected: FAIL

View file

@ -1,3 +0,0 @@
[contenttype_mimeheader_03.html]
type: testharness
disabled: iframe load event

View file

@ -1,3 +1,29 @@
[Node-removeChild.html]
type: testharness
expected: TIMEOUT
[Passing a detached element from a frame document to removeChild should not affect it.]
expected: FAIL
[Passing a non-detached element from a frame document to removeChild should not affect it.]
expected: FAIL
[Calling removeChild on a element from a frame document with no children should throw NOT_FOUND_ERR.]
expected: FAIL
[Passing a detached text from a frame document to removeChild should not affect it.]
expected: FAIL
[Passing a non-detached text from a frame document to removeChild should not affect it.]
expected: FAIL
[Calling removeChild on a text from a frame document with no children should throw NOT_FOUND_ERR.]
expected: FAIL
[Passing a detached comment from a frame document to removeChild should not affect it.]
expected: FAIL
[Passing a non-detached comment from a frame document to removeChild should not affect it.]
expected: FAIL
[Calling removeChild on a comment from a frame document with no children should throw NOT_FOUND_ERR.]
expected: FAIL

View file

@ -2,3 +2,4 @@
type: testharness
[Indexed properties of the window object (non-strict mode) 1]
expected: FAIL

View file

@ -1,5 +0,0 @@
[document-lastModified-01.html]
type: testharness
[Date returned by lastModified is in the form "MM/DD/YYYY hh:mm:ss".]
expected: FAIL

View file

@ -0,0 +1,5 @@
[body_text_00ffff.xhtml]
type: reftest
reftype: ==
refurl: /html/rendering/non-replaced-elements/the-page/body_text_00ffff-ref.html
expected: FAIL

View file

@ -0,0 +1,5 @@
[html_style_in_comment.xhtml]
type: reftest
reftype: ==
refurl: /html/semantics/document-metadata/the-style-element/html_style_in_comment-ref.html
expected: FAIL

View file

@ -0,0 +1,93 @@
[viewport-change.html]
type: testharness
expected: TIMEOUT
[img (no src), onload, narrow]
expected: FAIL
[img (empty src), onload, narrow]
expected: FAIL
[img (src only) broken image, onload, narrow]
expected: FAIL
[img (src only) valid image, onload, narrow]
expected: FAIL
[img (srcset 1 cand) broken image, onload, narrow]
expected: FAIL
[img (srcset 1 cand) valid image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) broken image, img broken image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) broken image, img broken image, resize to wide]
expected: TIMEOUT
[picture: source (max-width:500px) broken image, img valid image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) broken image, img valid image, resize to wide]
expected: TIMEOUT
[picture: source (max-width:500px) valid image, img broken image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) valid image, img broken image, resize to wide]
expected: TIMEOUT
[picture: source (max-width:500px) valid image, img valid image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) valid image, img valid image, resize to wide]
expected: TIMEOUT
[picture: same URL in source (max-width:500px) and img, onload, narrow]
expected: FAIL
[img (no src), onload, wide]
expected: FAIL
[img (empty src), onload, wide]
expected: FAIL
[img (src only) broken image, onload, wide]
expected: FAIL
[img (src only) valid image, onload, wide]
expected: FAIL
[img (srcset 1 cand) broken image, onload, wide]
expected: FAIL
[img (srcset 1 cand) valid image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) broken image, img broken image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) broken image, img broken image, resize to narrow]
expected: TIMEOUT
[picture: source (max-width:500px) broken image, img valid image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) broken image, img valid image, resize to narrow]
expected: TIMEOUT
[picture: source (max-width:500px) valid image, img broken image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) valid image, img broken image, resize to narrow]
expected: TIMEOUT
[picture: source (max-width:500px) valid image, img valid image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) valid image, img valid image, resize to narrow]
expected: TIMEOUT
[picture: same URL in source (max-width:500px) and img, onload, wide]
expected: FAIL

View file

@ -1,6 +1,5 @@
[compile-error-in-setInterval.html]
type: testharness
expected: OK
[window.onerror - compile error in setInterval]
expected: FAIL

View file

@ -1,6 +1,5 @@
[compile-error-in-setTimeout.html]
type: testharness
expected: OK
[window.onerror - compile error in setTimeout]
expected: FAIL

View file

@ -1,6 +1,5 @@
[runtime-error-in-setInterval.html]
type: testharness
expected: OK
[window.onerror - runtime error in setInterval]
expected: FAIL

View file

@ -1,6 +1,5 @@
[runtime-error-in-setTimeout.html]
type: testharness
expected: OK
[window.onerror - runtime error in setTimeout]
expected: FAIL

View file

@ -0,0 +1,134 @@
[interfaces.worker]
type: testharness
[EventTarget interface object length]
expected: FAIL
[EventTarget interface: operation addEventListener(DOMString,EventListener,boolean)]
expected: FAIL
[EventTarget interface: operation removeEventListener(DOMString,EventListener,boolean)]
expected: FAIL
[WorkerGlobalScope interface object length]
expected: FAIL
[WorkerGlobalScope interface: operation close()]
expected: FAIL
[WorkerGlobalScope interface: attribute onerror]
expected: FAIL
[WorkerGlobalScope interface: attribute onlanguagechange]
expected: FAIL
[WorkerGlobalScope interface: attribute onoffline]
expected: FAIL
[WorkerGlobalScope interface: attribute ononline]
expected: FAIL
[WorkerGlobalScope interface: operation setTimeout(Function,long,any)]
expected: FAIL
[WorkerGlobalScope interface: operation setTimeout(DOMString,long,any)]
expected: FAIL
[WorkerGlobalScope interface: operation clearTimeout(long)]
expected: FAIL
[WorkerGlobalScope interface: operation setInterval(Function,long,any)]
expected: FAIL
[WorkerGlobalScope interface: operation setInterval(DOMString,long,any)]
expected: FAIL
[WorkerGlobalScope interface: operation clearInterval(long)]
expected: FAIL
[DedicatedWorkerGlobalScope interface object length]
expected: FAIL
[WorkerGlobalScope interface: self must inherit property "close" with the proper type (2)]
expected: FAIL
[WorkerGlobalScope interface: self must inherit property "onerror" with the proper type (3)]
expected: FAIL
[WorkerGlobalScope interface: self must inherit property "onlanguagechange" with the proper type (4)]
expected: FAIL
[WorkerGlobalScope interface: self must inherit property "onoffline" with the proper type (5)]
expected: FAIL
[WorkerGlobalScope interface: self must inherit property "ononline" with the proper type (6)]
expected: FAIL
[WorkerGlobalScope interface: calling importScripts(DOMString) on self with too few arguments must throw TypeError]
expected: FAIL
[WorkerNavigator interface object length]
expected: FAIL
[WorkerNavigator interface: attribute appVersion]
expected: FAIL
[WorkerNavigator interface: attribute language]
expected: FAIL
[WorkerNavigator interface: attribute languages]
expected: FAIL
[WorkerNavigator interface: attribute onLine]
expected: FAIL
[WorkerNavigator interface: self.navigator must inherit property "appVersion" with the proper type (2)]
expected: FAIL
[WorkerNavigator interface: self.navigator must inherit property "language" with the proper type (7)]
expected: FAIL
[WorkerNavigator interface: self.navigator must inherit property "languages" with the proper type (8)]
expected: FAIL
[WorkerNavigator interface: self.navigator must inherit property "onLine" with the proper type (9)]
expected: FAIL
[WorkerLocation interface object length]
expected: FAIL
[WorkerLocation interface: attribute origin]
expected: FAIL
[WorkerLocation interface: attribute protocol]
expected: FAIL
[WorkerLocation interface: attribute host]
expected: FAIL
[WorkerLocation interface: attribute hostname]
expected: FAIL
[WorkerLocation interface: attribute port]
expected: FAIL
[WorkerLocation interface: attribute pathname]
expected: FAIL
[WorkerLocation interface: self.location must inherit property "origin" with the proper type (1)]
expected: FAIL
[WorkerLocation interface: self.location must inherit property "protocol" with the proper type (2)]
expected: FAIL
[WorkerLocation interface: self.location must inherit property "host" with the proper type (3)]
expected: FAIL
[WorkerLocation interface: self.location must inherit property "hostname" with the proper type (4)]
expected: FAIL
[WorkerLocation interface: self.location must inherit property "port" with the proper type (5)]
expected: FAIL
[WorkerLocation interface: self.location must inherit property "pathname" with the proper type (6)]
expected: FAIL

View file

@ -1,5 +0,0 @@
[001.html]
type: testharness
[available interface objects in dedicated worker]
expected: FAIL

View file

@ -0,0 +1,38 @@
[001.worker]
type: testharness
[The SharedWorker interface object should be exposed.]
expected: FAIL
[The MessagePort interface object should be exposed.]
expected: FAIL
[The MessageChannel interface object should be exposed.]
expected: FAIL
[The ImageData interface object should be exposed.]
expected: FAIL
[The FileList interface object should be exposed.]
expected: FAIL
[The CanvasProxy interface object should be exposed.]
expected: FAIL
[The ImageBitmap interface object should be exposed.]
expected: FAIL
[The DrawingStyle interface object should be exposed.]
expected: FAIL
[The CanvasGradient interface object should be exposed.]
expected: FAIL
[The CanvasPattern interface object should be exposed.]
expected: FAIL
[The Path interface object should be exposed.]
expected: FAIL
[The TextMetrics interface object should be exposed.]
expected: FAIL

View file

@ -1,5 +0,0 @@
[002.html]
type: testharness
[unavailable interface objects in dedicated worker]
expected: FAIL

View file

@ -0,0 +1,17 @@
[002.worker]
type: testharness
[The Location interface object should not be exposed.]
expected: FAIL
[The Navigator interface object should not be exposed.]
expected: FAIL
[The DOMImplementation interface object should not be exposed.]
expected: FAIL
[The HTMLCanvasElement interface object should not be exposed.]
expected: FAIL
[The MouseEvent interface object should not be exposed.]
expected: FAIL

View file

@ -16,13 +16,7 @@ source $wpt_root/_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.8'
sed 's$manager_group.unexpected_count() == 0$unexpected_total == 0$' \
$wpt_root/_virtualenv/lib/python2.7/site-packages/wptrunner/wptrunner.py \
> $wpt_root/_virtualenv/lib/python2.7/site-packages/wptrunner/wptrunner.py.new
mv $wpt_root/_virtualenv/lib/python2.7/site-packages/wptrunner/wptrunner.py.new \
$wpt_root/_virtualenv/lib/python2.7/site-packages/wptrunner/wptrunner.py
(python -c "import wptrunner" &>/dev/null) || pip install 'wptrunner==1.10'
python $wpt_root/run.py \
--config $wpt_root/config.ini \

@ -1 +1 @@
Subproject commit b646eda81238531b7f664cb6479131f9835425ca
Subproject commit 34eea70476fb2a9e5f5b3cfc6e3dbad441790056