diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-01-13 15:06:51 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-01-14 15:20:41 +0100 |
commit | 29e250d4aca4359efcd6b67e2a94286e758ec038 (patch) | |
tree | 0d88f7f4d228a5a2dc0c77dd9fd059d768730196 | |
parent | 6b8600560167a56afba1afdf85b35d10588c8496 (diff) | |
download | servo-29e250d4aca4359efcd6b67e2a94286e758ec038.tar.gz servo-29e250d4aca4359efcd6b67e2a94286e758ec038.zip |
Update web-platform-tests and wptrunner.
24 files changed, 405 insertions, 108 deletions
diff --git a/tests/wpt/metadata/FileAPI/Blob-constructor.html.ini b/tests/wpt/metadata/FileAPI/Blob-constructor.html.ini index 606df7ef708..e5cda64d3f1 100644 --- a/tests/wpt/metadata/FileAPI/Blob-constructor.html.ini +++ b/tests/wpt/metadata/FileAPI/Blob-constructor.html.ini @@ -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 + diff --git a/tests/wpt/metadata/FileAPI/FileReaderSync.worker.ini b/tests/wpt/metadata/FileAPI/FileReaderSync.worker.ini new file mode 100644 index 00000000000..3e0c3c418dc --- /dev/null +++ b/tests/wpt/metadata/FileAPI/FileReaderSync.worker.ini @@ -0,0 +1,15 @@ +[FileReaderSync.worker] + type: testharness + expected: ERROR + [Interface] + expected: FAIL + + [readAsText] + expected: FAIL + + [readAsDataURL] + expected: FAIL + + [readAsArrayBuffer] + expected: FAIL + diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index e6458731561..0b336c020d7 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -1004,18 +1004,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" }, { @@ -1976,6 +1964,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" }, { @@ -2015,6 +2006,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" }, { @@ -2774,24 +2768,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" @@ -3008,10 +2984,13 @@ "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" @@ -4235,6 +4214,9 @@ "url": "/workers/constructors/Worker/undefined" }, { + "url": "/workers/interfaces.idl" + }, + { "url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/message-event.js" }, { @@ -5499,6 +5481,11 @@ }, { "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", "url": "/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img_border_percent.xhtml" }, @@ -5519,6 +5506,11 @@ }, { "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", "url": "/html/semantics/embedded-content/the-audio-element/audio_001.htm" }, @@ -9301,9 +9293,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" }, { @@ -9346,9 +9335,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" }, { @@ -9439,6 +9425,9 @@ "url": "/FileAPI/FileReader/Determining-Encoding.html" }, { + "url": "/FileAPI/FileReaderSync.worker" + }, + { "url": "/FileAPI/filelist-section/filelist.html" }, { @@ -10030,6 +10019,12 @@ "url": "/IndexedDB/idbobjectstore_get5.htm" }, { + "url": "/IndexedDB/idbobjectstore_get6.htm" + }, + { + "url": "/IndexedDB/idbobjectstore_get7.htm" + }, + { "url": "/IndexedDB/idbobjectstore_index.htm" }, { @@ -10165,6 +10160,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" }, { @@ -10705,6 +10712,9 @@ "url": "/battery-status/battery-interface.html" }, { + "url": "/battery-status/battery-promise.html" + }, + { "url": "/content-security-policy/generic/generic-0_10.html" }, { @@ -11011,12 +11021,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" }, { @@ -11026,6 +11030,9 @@ "url": "/dom/events/Event-defaultPrevented.html" }, { + "url": "/dom/events/Event-dispatch-bubbles-false.html" + }, + { "url": "/dom/events/Event-dispatch-omitted-capture.html" }, { @@ -11137,9 +11144,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" }, { @@ -13564,6 +13568,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" }, { @@ -14395,6 +14402,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" }, { @@ -17068,6 +17078,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": "/" }
\ No newline at end of file diff --git a/tests/wpt/metadata/dom/errors/exceptions.html.ini b/tests/wpt/metadata/dom/errors/exceptions.html.ini deleted file mode 100644 index cba79be74fd..00000000000 --- a/tests/wpt/metadata/dom/errors/exceptions.html.ini +++ /dev/null @@ -1,9 +0,0 @@ -[exceptions.html] - type: testharness - expected: TIMEOUT - [exception.hasOwnProperty("message")] - expected: FAIL - - [Object.getOwnPropertyDescriptor(exception, "message")] - expected: FAIL - diff --git a/tests/wpt/metadata/dom/events/Event-dispatch-bubbles-false.html.ini b/tests/wpt/metadata/dom/events/Event-dispatch-bubbles-false.html.ini new file mode 100644 index 00000000000..ee6a91dd03f --- /dev/null +++ b/tests/wpt/metadata/dom/events/Event-dispatch-bubbles-false.html.ini @@ -0,0 +1,5 @@ +[Event-dispatch-bubbles-false.html] + type: testharness + [Event.dispatchEvent with Event.bubbles set to false.] + expected: FAIL + diff --git a/tests/wpt/metadata/dom/interfaces.html.ini b/tests/wpt/metadata/dom/interfaces.html.ini index 5afa60b8f3e..fbd2b3f48c6 100644 --- a/tests/wpt/metadata/dom/interfaces.html.ini +++ b/tests/wpt/metadata/dom/interfaces.html.ini @@ -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 diff --git a/tests/wpt/metadata/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_03.html.ini b/tests/wpt/metadata/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_03.html.ini deleted file mode 100644 index 948a8e50288..00000000000 --- a/tests/wpt/metadata/dom/nodes/Document-contentType/contentType/contenttype_mimeheader_03.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[contenttype_mimeheader_03.html] - type: testharness - disabled: iframe load event diff --git a/tests/wpt/metadata/dom/nodes/Node-removeChild.html.ini b/tests/wpt/metadata/dom/nodes/Node-removeChild.html.ini index 5117786af07..dd30deca55e 100644 --- a/tests/wpt/metadata/dom/nodes/Node-removeChild.html.ini +++ b/tests/wpt/metadata/dom/nodes/Node-removeChild.html.ini @@ -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 + diff --git a/tests/wpt/metadata/html/browsers/the-window-object/window-indexed-properties.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/window-indexed-properties.html.ini index 498ea7d0b6f..3d24389f80e 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/window-indexed-properties.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/window-indexed-properties.html.ini @@ -2,3 +2,4 @@ type: testharness [Indexed properties of the window object (non-strict mode) 1] expected: FAIL + diff --git a/tests/wpt/metadata/html/dom/documents/resource-metadata-management/document-lastModified-01.html.ini b/tests/wpt/metadata/html/dom/documents/resource-metadata-management/document-lastModified-01.html.ini deleted file mode 100644 index 842686b0906..00000000000 --- a/tests/wpt/metadata/html/dom/documents/resource-metadata-management/document-lastModified-01.html.ini +++ /dev/null @@ -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 - diff --git a/tests/wpt/metadata/html/rendering/non-replaced-elements/the-page/body_text_00ffff.xhtml.ini b/tests/wpt/metadata/html/rendering/non-replaced-elements/the-page/body_text_00ffff.xhtml.ini new file mode 100644 index 00000000000..0b78fe3508a --- /dev/null +++ b/tests/wpt/metadata/html/rendering/non-replaced-elements/the-page/body_text_00ffff.xhtml.ini @@ -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 diff --git a/tests/wpt/metadata/html/semantics/document-metadata/the-style-element/html_style_in_comment.xhtml.ini b/tests/wpt/metadata/html/semantics/document-metadata/the-style-element/html_style_in_comment.xhtml.ini new file mode 100644 index 00000000000..b6945e839da --- /dev/null +++ b/tests/wpt/metadata/html/semantics/document-metadata/the-style-element/html_style_in_comment.xhtml.ini @@ -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 diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html.ini new file mode 100644 index 00000000000..68761d22dc7 --- /dev/null +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html.ini @@ -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 + diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/compile-error-in-setInterval.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/compile-error-in-setInterval.html.ini index 4f5b4308ac9..0e052aa4acf 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/compile-error-in-setInterval.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/compile-error-in-setInterval.html.ini @@ -1,6 +1,5 @@ [compile-error-in-setInterval.html] type: testharness - expected: OK [window.onerror - compile error in setInterval] expected: FAIL diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/compile-error-in-setTimeout.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/compile-error-in-setTimeout.html.ini index b0234f8ad19..0b28074c4e3 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/compile-error-in-setTimeout.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/compile-error-in-setTimeout.html.ini @@ -1,6 +1,5 @@ [compile-error-in-setTimeout.html] type: testharness - expected: OK [window.onerror - compile error in setTimeout] expected: FAIL diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/runtime-error-in-setInterval.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/runtime-error-in-setInterval.html.ini index 9d7f032a2c4..9f4aef723f1 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/runtime-error-in-setInterval.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/runtime-error-in-setInterval.html.ini @@ -1,6 +1,5 @@ [runtime-error-in-setInterval.html] type: testharness - expected: OK [window.onerror - runtime error in setInterval] expected: FAIL diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/runtime-error-in-setTimeout.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/runtime-error-in-setTimeout.html.ini index 2a2bf9c53d8..4ca3ceff69d 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/runtime-error-in-setTimeout.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/runtime-error-in-setTimeout.html.ini @@ -1,6 +1,5 @@ [runtime-error-in-setTimeout.html] type: testharness - expected: OK [window.onerror - runtime error in setTimeout] expected: FAIL diff --git a/tests/wpt/metadata/workers/interfaces.worker.ini b/tests/wpt/metadata/workers/interfaces.worker.ini new file mode 100644 index 00000000000..0d32eeb0aee --- /dev/null +++ b/tests/wpt/metadata/workers/interfaces.worker.ini @@ -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 + diff --git a/tests/wpt/metadata/workers/semantics/interface-objects/001.html.ini b/tests/wpt/metadata/workers/semantics/interface-objects/001.html.ini deleted file mode 100644 index 00628dd5c39..00000000000 --- a/tests/wpt/metadata/workers/semantics/interface-objects/001.html.ini +++ /dev/null @@ -1,5 +0,0 @@ -[001.html] - type: testharness - [available interface objects in dedicated worker] - expected: FAIL - diff --git a/tests/wpt/metadata/workers/semantics/interface-objects/001.worker.ini b/tests/wpt/metadata/workers/semantics/interface-objects/001.worker.ini new file mode 100644 index 00000000000..1aecda72c8f --- /dev/null +++ b/tests/wpt/metadata/workers/semantics/interface-objects/001.worker.ini @@ -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 + diff --git a/tests/wpt/metadata/workers/semantics/interface-objects/002.html.ini b/tests/wpt/metadata/workers/semantics/interface-objects/002.html.ini deleted file mode 100644 index 7690c5f53e7..00000000000 --- a/tests/wpt/metadata/workers/semantics/interface-objects/002.html.ini +++ /dev/null @@ -1,5 +0,0 @@ -[002.html] - type: testharness - [unavailable interface objects in dedicated worker] - expected: FAIL - diff --git a/tests/wpt/metadata/workers/semantics/interface-objects/002.worker.ini b/tests/wpt/metadata/workers/semantics/interface-objects/002.worker.ini new file mode 100644 index 00000000000..ffc4b68215c --- /dev/null +++ b/tests/wpt/metadata/workers/semantics/interface-objects/002.worker.ini @@ -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 + diff --git a/tests/wpt/run.sh b/tests/wpt/run.sh index 277056c958b..395cbfcb17a 100755 --- a/tests/wpt/run.sh +++ b/tests/wpt/run.sh @@ -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 \ diff --git a/tests/wpt/web-platform-tests b/tests/wpt/web-platform-tests -Subproject b646eda81238531b7f664cb6479131f9835425c +Subproject 34eea70476fb2a9e5f5b3cfc6e3dbad44179005 |