From 108c26d785555d227fd93da7128dd1e21f420ff1 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Sun, 28 Feb 2021 20:10:13 -0500 Subject: [PATCH] Automatically omit all testdriver tests --- test/web-platform-tests/to-run.yaml | 23 ------------------- test/web-platform-tests/wpt-manifest-utils.js | 5 ++++ 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/test/web-platform-tests/to-run.yaml b/test/web-platform-tests/to-run.yaml index bb399aa585..dba6786fcf 100644 --- a/test/web-platform-tests/to-run.yaml +++ b/test/web-platform-tests/to-run.yaml @@ -152,19 +152,15 @@ DIR: dom/events Event-dispatch-detached-input-and-change.html: [fail, Need implement connected and use it in https://github.com/jsdom/jsdom/blob/master/lib/jsdom/living/nodes/HTMLInputElement-impl.js#L199 See https://html.spec.whatwg.org/multipage/input.html#checkbox-state-(type=checkbox)] -Event-dispatch-on-disabled-elements.html: [timeout, Uses testdriver.js] -Event-dispatch-redispatch.html: [fail, Unknown] Event-isTrusted.any.html: [fail, Unknown] Event-timestamp-high-resolution.html: [fail, Not implemented] EventListener-incumbent-global-1.sub.html: [timeout, Multi-globals] EventListener-incumbent-global-2.sub.html: [timeout, Multi-globals] EventListener-invoke-legacy.html: [timeout, Animation stuff not implemented] EventTarget-dispatchEvent.html: [fail, We don't support every event interface yet] -document-level-touchmove-event-listener-passive-by-default.html: [timeout, Uses testdriver.js] event-global-extra.window.html: [timeout, Not implemented] event-global.html: [fail, Not implemented] relatedTarget.window.html: [fail, Unknown] -scrolling/**: [fail, Scroll methods not implemented] webkit-animation-end-event.html: [fail, WebKit-prefixed events not implemented] webkit-animation-iteration-event.html: [fail, WebKit-prefixed events not implemented] webkit-animation-start-event.html: [fail, WebKit-prefixed events not implemented] @@ -494,15 +490,8 @@ document-base-url.html: [fail, We don't support srcdoc correctly] DIR: html/interaction/focus -focus-01.html: [timeout, scrollIntoView() not implemented] -focus-02.html: [timeout, scrollIntoView() not implemented] -focus-input-type-switch.html: [fail, Uses testdriver.js] processing-model/focus-fixup-rule-one-no-dialogs.html: [fail, Unknown] processing-model/preventScroll.html: [fail, Not implemented] -sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-negative.html: [fail, scrollIntoView() not implemented] -sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-order.html: [fail, scrollIntoView() not implemented] -sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-positive.html: [fail, scrollIntoView() not implemented] -sequential-focus-navigation-and-the-tabindex-attribute/focus-tabindex-zero.html: [fail, scrollIntoView() not implemented] the-autofocus-attribute/autofocus-on-stable-document.html: [fail, Not implemented] the-autofocus-attribute/first-reconnected.html: [fail, Not implemented] the-autofocus-attribute/first-when-later-but-before.html: [fail, Not implemented] @@ -511,7 +500,6 @@ the-autofocus-attribute/first.html: [fail, Not implemented] the-autofocus-attribute/focusable-area-in-top-document.html: [fail, Not implemented] the-autofocus-attribute/no-autofocus-on-changing-input-type.html: [fail, Not implemented] the-autofocus-attribute/queue-non-focusable.html: [fail, Not implemented] -the-autofocus-attribute/same-origin-autofocus.html: [fail, Not implemented] the-autofocus-attribute/skip-another-top-level-browsing-context.html: [fail, Not implemented] the-autofocus-attribute/skip-document-with-fragment.html: [fail, Not implemented] the-autofocus-attribute/skip-non-focusable.html: [fail, Not implemented] @@ -719,7 +707,6 @@ hidden-charset-case-sensitive.html: [timeout, Unknown] image-click-form-data.html: [timeout, Unknown] input-seconds-leading-zeroes.html: [fail, Unknown] input-type-button.html: [fail, Depends on offsetWidth] -maxlength-number.html: [fail, element.scrollIntoView is not a function] maxlength.html: [fail, Reflection not implemented correctly] minlength.html: [fail, Reflection not implemented correctly] range-2.html: [fail, step attribute not yet implemented] @@ -787,7 +774,6 @@ toggleEvent.html: [fail, The ninth test requires a streaming HTML parser to pass DIR: html/semantics/interactive-elements/the-summary-element anchor-with-inline-element.html: [timeout, Unknown] -click-behavior-optional.tentative.html: [fail, element.scrollIntoView is not implemented] --- @@ -1046,11 +1032,6 @@ DocumentOrShadowRoot-prototype-elementFromPoint.html: [fail, offsetTop not imple MouseEvent-prototype-offsetX-offsetY.html: [fail, offsetTop not implemented] ShadowRoot-interface.html: [fail, shadowRoot.styleSheet is not yet implemented] declarative/**: [fail, Not implemented] -focus/click-focus-delegatesFocus-tabindex-varies.html: [fail, element.scrollIntoView is not implemented] -focus/click-focus-delegatesFocus-tabindex-zero.html: [fail, element.scrollIntoView is not implemented] -focus/focus-method-delegatesFocus.html: [fail, delegatesFocus is not implemented] -focus/focus-selector-delegatesFocus.html: [fail, 'https://github.com/dperini/nwsapi/issues/31'] -focus/focus-tabindex-order-*: [fail, Uses testdriver.js] form-control-form-attribute.html: [fail, Form association doesn't respect the spec] leaktests/html-collection.html: [fail, Document.all is not implemented] leaktests/window-frames.html: [fail, Window.name is not implemeneted] @@ -1077,13 +1058,9 @@ untriaged/user-interaction/ranges-and-selections/test-002.html: [fail, https://g DIR: uievents -click/**: [timeout, Uses testdriver.js] idlharness.window.html: [fail, Depends on fetch] legacy-domevents-tests/approved/ProcessingInstruction.DOMCharacterDataModified.html: [timeout, Mutation Events not implemented] legacy-domevents-tests/approved/domnodeinserted.html: [timeout, Mutation Events not implemented] -mouse/**: [timeout, Uses testdriver.js] -order-of-events/focus-events/focus-management-expectations.html: [timeout, Uses testdriver.js] -order-of-events/mouse-events/*: [timeout, Unknown] --- diff --git a/test/web-platform-tests/wpt-manifest-utils.js b/test/web-platform-tests/wpt-manifest-utils.js index cc7f2fb4da..f265ec40dc 100644 --- a/test/web-platform-tests/wpt-manifest-utils.js +++ b/test/web-platform-tests/wpt-manifest-utils.js @@ -22,6 +22,11 @@ exports.getPossibleTestFilePaths = manifest => { testPath.endsWith(".sharedworker.html")) { continue; } + // Globally disable testdriver tests + if (test[key][1][1].testdriver) { + continue; + } + allPaths.push(testPath); } } else {