Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/wpt/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ wpt_test(
# .json files, which cannot be bound as JSON modules
"orb",
],
include_tentative = True,
start_server = True,
target_compatible_with = select({
# TODO(later): Provide a Windows version of the sidecar script we wrote to invoke wptserve.
Expand Down
43 changes: 43 additions & 0 deletions src/wpt/fetch/misc-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ import { type TestRunnerConfig } from 'harness/harness';
export default {
'compression-dictionary/resources/static/dictionary-hashes.js': {},
'compression-dictionary/resources/static/script-001.js': {},
'content-disposition/multiple-content-disposition.tentative.any.js': {},
'content-disposition/multiple-content-disposition.tentative.h2.window.js': {
comment:
'Needs a window, and HTTP/2, which the wptserve sidecar runs without (--no-h2)',
omittedTests: true,
},
'content-encoding/br/bad-br-body.https.any.js': {},
'content-encoding/br/big-br-body.https.any.js': {},
'content-encoding/br/br-body.https.any.js': {},
Expand All @@ -32,6 +38,13 @@ export default {
'Consuming the body of a resource with bad zstd content with text() should reject',
],
},
'content-encoding/zstd/big-window-zstd-body.tentative.https.any.js': {
comment:
'fetch() does not decode zstd Content-Encoding (system-streams.c++ handles gzip and br only)',
expectedFailures: [
'Consuming the body of a resource with too large of a zstd window size should reject',
],
},
'content-encoding/zstd/big-zstd-body.https.any.js': {
comment:
'fetch() does not decode zstd Content-Encoding (system-streams.c++ handles gzip and br only)',
Expand Down Expand Up @@ -326,6 +339,13 @@ export default {
'HTTP cache generates 504 status code when nothing is in cache and request contains Cache-Control: only-if-cached',
],
},
'http-cache/credentials.tentative.any.js': {
comment: 'fetch() has no HTTP cache',
expectedFailures: [
'same-origin: 2xAnonymous, 2xCredentialled, 1xAnonymous',
'same-origin: 2xCredentialled, 2xAnonymous, 1xCredentialled',
],
},
'http-cache/freshness.any.js': {
comment: 'fetch() has no HTTP cache',
expectedFailures: [
Expand Down Expand Up @@ -364,6 +384,17 @@ export default {
'HTTP cache invalidates Content-Location URL after a successful response from an unknown method',
],
},
'http-cache/no-vary-search.tentative.any.js': {
comment: 'fetch() has no HTTP cache',
expectedFailures: [
'When params is set to true, URL differs only by their parameters (other than `dispatch` and `uuid`) should not be cached as different entries.',
'When key-order is set , URLs should be compared in an order-insensitive way. Matched cases:',
'When params names a specific parameter, URLs differing only in that parameter should be cached as the same entry.',
'When params names multiple parameters, URLs differing only in those parameters should be cached as the same entry.',
'When params=?1 is set explicitly (equivalent to bare params), URLs differing only in their parameters (other than `dispatch` and `uuid`) should be cached as the same entry.',
'When params names a parameter and key-order is set, URLs differing only in that parameter and parameter order should be cached as the same entry.',
],
},
'http-cache/partial.any.js': {
comment: 'fetch() has no HTTP cache',
expectedFailures: [
Expand Down Expand Up @@ -414,6 +445,18 @@ export default {
'HTTP cache uses three-way Vary response when both request and the original request omited a variant header',
],
},
'local-network-access/iframe.tentative.https.window.js': {
comment: 'Needs a window or worker global',
omittedTests: true,
},
'local-network-access/navigate.tentative.https.window.js': {
comment: 'Needs a window or worker global',
omittedTests: true,
},
'local-network-access/navigate.tentative.window.js': {
comment: 'Needs a window or worker global',
omittedTests: true,
},
'metadata/fetch-preflight.https.sub.any.js': {
comment:
'Sec-Fetch-* headers are browser-only, and /fetch/metadata/resources/helper.js is not bound',
Expand Down
Loading