Skip to content

Commit

Permalink
Filter out .serviceworker/.sharedworker tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zirro authored and domenic committed Aug 19, 2018
1 parent b0d40f7 commit f3a8d0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 0 additions & 7 deletions test/web-platform-tests/to-run.yaml
Expand Up @@ -194,8 +194,6 @@ xmldomparser.html: [fail, The status returned is "loading", instead of "complete
DIR: hr-time

idlharness.any.html: [fail, Depends on fetch]
idlharness.any.serviceworker.html: [timeout, Needs Service Worker implementation]
idlharness.any.sharedworker.html: [fail, Needs Shared Worker implementation]
performance-tojson.html: [fail, PerformanceTiming and PerformanceNavigation are not implemented]
test_cross_frame_start.html: [fail, Not implemented]
timeOrigin.html: [fail, Needs Worker implementation]
Expand Down Expand Up @@ -829,9 +827,6 @@ DIR: websockets

Create-Secure-extensions-empty.any.html: [timeout, Buggy test as the test does not take into account the mandatory permessage-deflate extension]
Create-on-worker-shutdown.any.html: [fail, Needs Worker implementation]
basic-auth.any.serviceworker.html: [timeout, Needs Service Worker implementation]
basic-auth.any.sharedworker.html: [fail, Needs Shared Worker implementation]
bufferedAmount-unchanged-by-sync-xhr.any.sharedworker.html: [fail, Needs Shared Worker implementation]
interfaces/WebSocket/close/close-basic.html*: [mutates-globals]
interfaces/WebSocket/close/close-connecting.html*: [fail, Potentially buggy test as Chrome fails it too]
unload-a-document/*: [timeout, Requires window.open]
Expand Down Expand Up @@ -875,7 +870,6 @@ event-timeout-order.htm: [fail, Unknown]
getallresponseheaders.htm: [fail, Unknown]
headers-normalize-response.htm: [fail, Unknown]
idlharness.any.html: [fail, Depends on fetch]
idlharness.any.sharedworker.html: [fail, Needs Shared Worker implementation]
loadstart-and-state.html: [fail, Unknown]
open-during-abort-processing.htm: [fail, Unknown]
open-method-case-sensitive.htm: [fail, request module forces upper case]
Expand Down Expand Up @@ -920,7 +914,6 @@ setrequestheader-allow-whitespace-in-value.htm: [fail, something goes wrong with
setrequestheader-content-type.htm: [fail, we don't implement ReadableStream; also unsure we can get request() to send no content-type for ArrayBuffer]
status-basic.htm: [timeout, https://github.com/tmpvar/jsdom/issues/1833]
sync-no-progress.any.html: [fail, Unknown]
sync-no-timeout.any.sharedworker.html: [timeout, Needs Shared Worker implementation]
xmlhttprequest-sync-default-feature-policy.sub.html: [fail, we don't support Feature Policy]
xmlhttprequest-timeout-aborted.html: [fail, self instanceof Window fails]
xmlhttprequest-timeout-abortedonmain.html: [fail, self instanceof Window fails]
Expand Down
4 changes: 3 additions & 1 deletion test/web-platform-tests/wpt-manifest-utils.js
Expand Up @@ -11,7 +11,9 @@ exports.getPossibleTestFilePaths = manifest => {
const testFilePaths = testharnessTests[containerPath].map(value => value[[0]]);
for (const testFilePath of testFilePaths) {
// Globally disable worker tests
if (testFilePath.endsWith(".worker.html")) {
if (testFilePath.endsWith(".worker.html") ||
testFilePath.endsWith(".serviceworker.html") ||
testFilePath.endsWith(".sharedworker.html")) {
continue;
}

Expand Down

0 comments on commit f3a8d0e

Please sign in to comment.