summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------test_util/wpt0
-rw-r--r--tools/wpt/expectation.json88
2 files changed, 76 insertions, 12 deletions
diff --git a/test_util/wpt b/test_util/wpt
-Subproject 8bea866f1513d48e84d6982a25c1c353d4a5633
+Subproject 075719cfcefe5a6f3b5c0f1447373e5cad5445d
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index 36dd68307..11760c77d 100644
--- a/tools/wpt/expectation.json
+++ b/tools/wpt/expectation.json
@@ -1430,12 +1430,42 @@
"construct-byob-request.any.html": true,
"construct-byob-request.any.worker.html": true,
"general.any.html": [
+ "ReadableStream with byte source: releaseLock() on ReadableStreamDefaultReader must reject pending read()",
+ "ReadableStream with byte source: releaseLock() on ReadableStreamBYOBReader must reject pending read()",
"ReadableStream with byte source: Respond to multiple pull() by separate enqueue()",
- "ReadableStream with byte source: enqueue() discards auto-allocated BYOB request"
+ "pull() resolving should not resolve read()",
+ "ReadableStream with byte source: enqueue() discards auto-allocated BYOB request",
+ "ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader, respond()",
+ "ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader with 1 element Uint16Array, respond(1)",
+ "ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader with 2 element Uint8Array, respond(3)",
+ "ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader, respondWithNewView()",
+ "ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader, enqueue()",
+ "ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader, close(), respond(0)",
+ "ReadableStream with byte source: autoAllocateChunkSize, releaseLock() with pending read(), read() on second reader, respond()",
+ "ReadableStream with byte source: autoAllocateChunkSize, releaseLock() with pending read(), read() on second reader, enqueue()",
+ "ReadableStream with byte source: autoAllocateChunkSize, releaseLock() with pending read(), read(view) on second reader, respond()",
+ "ReadableStream with byte source: autoAllocateChunkSize, releaseLock() with pending read(), read(view) on second reader, enqueue()",
+ "ReadableStream with byte source: read(view) with 1 element Uint16Array, respond(1), releaseLock(), read(view) on second reader with 1 element Uint16Array, respond(1)",
+ "ReadableStream with byte source: read(view) with 1 element Uint16Array, respond(1), releaseLock(), read() on second reader, enqueue()"
],
"general.any.worker.html": [
+ "ReadableStream with byte source: releaseLock() on ReadableStreamDefaultReader must reject pending read()",
+ "ReadableStream with byte source: releaseLock() on ReadableStreamBYOBReader must reject pending read()",
"ReadableStream with byte source: Respond to multiple pull() by separate enqueue()",
- "ReadableStream with byte source: enqueue() discards auto-allocated BYOB request"
+ "pull() resolving should not resolve read()",
+ "ReadableStream with byte source: enqueue() discards auto-allocated BYOB request",
+ "ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader, respond()",
+ "ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader with 1 element Uint16Array, respond(1)",
+ "ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader with 2 element Uint8Array, respond(3)",
+ "ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader, respondWithNewView()",
+ "ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader, enqueue()",
+ "ReadableStream with byte source: releaseLock() with pending read(view), read(view) on second reader, close(), respond(0)",
+ "ReadableStream with byte source: autoAllocateChunkSize, releaseLock() with pending read(), read() on second reader, respond()",
+ "ReadableStream with byte source: autoAllocateChunkSize, releaseLock() with pending read(), read() on second reader, enqueue()",
+ "ReadableStream with byte source: autoAllocateChunkSize, releaseLock() with pending read(), read(view) on second reader, respond()",
+ "ReadableStream with byte source: autoAllocateChunkSize, releaseLock() with pending read(), read(view) on second reader, enqueue()",
+ "ReadableStream with byte source: read(view) with 1 element Uint16Array, respond(1), releaseLock(), read(view) on second reader with 1 element Uint16Array, respond(1)",
+ "ReadableStream with byte source: read(view) with 1 element Uint16Array, respond(1), releaseLock(), read() on second reader, enqueue()"
],
"non-transferable-buffers.any.html": false,
"non-transferable-buffers.any.worker.html": false,
@@ -1457,8 +1487,12 @@
"constructor.any.worker.html": true,
"count-queuing-strategy-integration.any.html": true,
"count-queuing-strategy-integration.any.worker.html": true,
- "default-reader.any.html": true,
- "default-reader.any.worker.html": true,
+ "default-reader.any.html": [
+ "Second reader can read chunks after first reader was released with pending read requests"
+ ],
+ "default-reader.any.worker.html": [
+ "Second reader can read chunks after first reader was released with pending read requests"
+ ],
"floating-point-total-queue-size.any.html": true,
"floating-point-total-queue-size.any.worker.html": true,
"garbage-collection.any.html": true,
@@ -1471,8 +1505,12 @@
"reentrant-strategies.any.worker.html": true,
"tee.any.html": false,
"tee.any.worker.html": false,
- "templated.any.html": true,
- "templated.any.worker.html": true
+ "templated.any.html": [
+ "ReadableStream (empty) reader: releasing the lock should reject all pending read requests"
+ ],
+ "templated.any.worker.html": [
+ "ReadableStream (empty) reader: releasing the lock should reject all pending read requests"
+ ]
},
"transform-streams": {
"backpressure.any.html": true,
@@ -3245,12 +3283,14 @@
"reporterror.any.html": [
"self.reportError(1)",
"self.reportError(TypeError)",
- "self.reportError(undefined)"
+ "self.reportError(undefined)",
+ "self.reportError() doesn't invoke getters"
],
"reporterror.any.worker.html": [
"self.reportError(1)",
"self.reportError(TypeError)",
- "self.reportError(undefined)"
+ "self.reportError(undefined)",
+ "self.reportError() doesn't invoke getters"
]
},
"structured-clone": {
@@ -4098,7 +4138,13 @@
"Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined",
"Pattern: [] Inputs: [\"https://example.com/\"]",
"Pattern: [] Inputs: [{}]",
- "Pattern: [] Inputs: []"
+ "Pattern: [] Inputs: []",
+ "Pattern: [{\"pathname\":\"{:foo}{(.*)bar}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]",
+ "Pattern: [{\"pathname\":\"{:foo}{bar(.*)}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]",
+ "Pattern: [{\"pathname\":\"*/*\"}] Inputs: [{\"pathname\":\"foo/bar\"}]",
+ "Pattern: [{\"pathname\":\"*\\\\/*\"}] Inputs: [{\"pathname\":\"foo/bar\"}]",
+ "Pattern: [{\"pathname\":\"*/{*}\"}] Inputs: [{\"pathname\":\"foo/bar\"}]",
+ "Pattern: [{\"pathname\":\"*//*\"}] Inputs: [{\"pathname\":\"foo/bar\"}]"
],
"urlpattern.any.worker.html": [
"Pattern: [{\"pathname\":\"/foo/bar\"}] Inputs: [\"./foo/bar\",\"https://example.com\"]",
@@ -4106,7 +4152,13 @@
"Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined",
"Pattern: [] Inputs: [\"https://example.com/\"]",
"Pattern: [] Inputs: [{}]",
- "Pattern: [] Inputs: []"
+ "Pattern: [] Inputs: []",
+ "Pattern: [{\"pathname\":\"{:foo}{(.*)bar}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]",
+ "Pattern: [{\"pathname\":\"{:foo}{bar(.*)}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]",
+ "Pattern: [{\"pathname\":\"*/*\"}] Inputs: [{\"pathname\":\"foo/bar\"}]",
+ "Pattern: [{\"pathname\":\"*\\\\/*\"}] Inputs: [{\"pathname\":\"foo/bar\"}]",
+ "Pattern: [{\"pathname\":\"*/{*}\"}] Inputs: [{\"pathname\":\"foo/bar\"}]",
+ "Pattern: [{\"pathname\":\"*//*\"}] Inputs: [{\"pathname\":\"foo/bar\"}]"
],
"urlpattern.https.any.html": [
"Pattern: [{\"pathname\":\"/foo/bar\"}] Inputs: [\"./foo/bar\",\"https://example.com\"]",
@@ -4114,7 +4166,13 @@
"Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined",
"Pattern: [] Inputs: [\"https://example.com/\"]",
"Pattern: [] Inputs: [{}]",
- "Pattern: [] Inputs: []"
+ "Pattern: [] Inputs: []",
+ "Pattern: [{\"pathname\":\"{:foo}{(.*)bar}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]",
+ "Pattern: [{\"pathname\":\"{:foo}{bar(.*)}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]",
+ "Pattern: [{\"pathname\":\"*/*\"}] Inputs: [{\"pathname\":\"foo/bar\"}]",
+ "Pattern: [{\"pathname\":\"*\\\\/*\"}] Inputs: [{\"pathname\":\"foo/bar\"}]",
+ "Pattern: [{\"pathname\":\"*/{*}\"}] Inputs: [{\"pathname\":\"foo/bar\"}]",
+ "Pattern: [{\"pathname\":\"*//*\"}] Inputs: [{\"pathname\":\"foo/bar\"}]"
],
"urlpattern.https.any.worker.html": [
"Pattern: [{\"pathname\":\"/foo/bar\"}] Inputs: [\"./foo/bar\",\"https://example.com\"]",
@@ -4122,7 +4180,13 @@
"Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined",
"Pattern: [] Inputs: [\"https://example.com/\"]",
"Pattern: [] Inputs: [{}]",
- "Pattern: [] Inputs: []"
+ "Pattern: [] Inputs: []",
+ "Pattern: [{\"pathname\":\"{:foo}{(.*)bar}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]",
+ "Pattern: [{\"pathname\":\"{:foo}{bar(.*)}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]",
+ "Pattern: [{\"pathname\":\"*/*\"}] Inputs: [{\"pathname\":\"foo/bar\"}]",
+ "Pattern: [{\"pathname\":\"*\\\\/*\"}] Inputs: [{\"pathname\":\"foo/bar\"}]",
+ "Pattern: [{\"pathname\":\"*/{*}\"}] Inputs: [{\"pathname\":\"foo/bar\"}]",
+ "Pattern: [{\"pathname\":\"*//*\"}] Inputs: [{\"pathname\":\"foo/bar\"}]"
]
}
} \ No newline at end of file