From 49e204cc8123f62367f0964a745583bda2c5d28a Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Mon, 8 Nov 2021 00:09:30 +0100 Subject: [PATCH] chore: update wpt This commit updates WPT to 3904336d37ed6f480fc8879ea8bd5683a39ede3d. --- test_util/wpt | 2 +- tools/wpt/expectation.json | 215 ++++++++----------------------------- 2 files changed, 48 insertions(+), 169 deletions(-) diff --git a/test_util/wpt b/test_util/wpt index 68c75f6da95e3d..3904336d37ed6f 160000 --- a/test_util/wpt +++ b/test_util/wpt @@ -1 +1 @@ -Subproject commit 68c75f6da95e3da84c83eb4930ba5a5c2341637a +Subproject commit 3904336d37ed6f480fc8879ea8bd5683a39ede3d diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index e9718b500262e1..8e3e61b51cf9df 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -5501,90 +5501,8 @@ "importVectorKeys step: ECDSA P-521 with SHA-384 verifying with wrong algorithm name", "importVectorKeys step: ECDSA P-521 with SHA-512 verifying with wrong algorithm name" ], - "hmac.https.any.html": [ - "generate wrong key step: HMAC with SHA-1 signing with wrong algorithm name", - "generate wrong key step: HMAC with SHA-256 signing with wrong algorithm name", - "generate wrong key step: HMAC with SHA-384 signing with wrong algorithm name", - "generate wrong key step: HMAC with SHA-512 signing with wrong algorithm name", - "generate wrong key step: HMAC with SHA-1 verifying with wrong algorithm name", - "generate wrong key step: HMAC with SHA-256 verifying with wrong algorithm name", - "generate wrong key step: HMAC with SHA-384 verifying with wrong algorithm name", - "generate wrong key step: HMAC with SHA-512 verifying with wrong algorithm name", - "importVectorKeys step: HMAC with SHA-1 verification", - "importVectorKeys step: HMAC with SHA-256 verification", - "importVectorKeys step: HMAC with SHA-384 verification", - "importVectorKeys step: HMAC with SHA-512 verification", - "importVectorKeys step: HMAC with SHA-1 verification with altered signature after call", - "importVectorKeys step: HMAC with SHA-256 verification with altered signature after call", - "importVectorKeys step: HMAC with SHA-384 verification with altered signature after call", - "importVectorKeys step: HMAC with SHA-512 verification with altered signature after call", - "importVectorKeys step: HMAC with SHA-1 with altered plaintext", - "importVectorKeys step: HMAC with SHA-256 with altered plaintext", - "importVectorKeys step: HMAC with SHA-384 with altered plaintext", - "importVectorKeys step: HMAC with SHA-512 with altered plaintext", - "importVectorKeys step: HMAC with SHA-1 no verify usage", - "importVectorKeys step: HMAC with SHA-256 no verify usage", - "importVectorKeys step: HMAC with SHA-384 no verify usage", - "importVectorKeys step: HMAC with SHA-512 no verify usage", - "importVectorKeys step: HMAC with SHA-1 round trip", - "importVectorKeys step: HMAC with SHA-256 round trip", - "importVectorKeys step: HMAC with SHA-384 round trip", - "importVectorKeys step: HMAC with SHA-512 round trip", - "importVectorKeys step: HMAC with SHA-1 verification failure due to wrong plaintext", - "importVectorKeys step: HMAC with SHA-256 verification failure due to wrong plaintext", - "importVectorKeys step: HMAC with SHA-384 verification failure due to wrong plaintext", - "importVectorKeys step: HMAC with SHA-512 verification failure due to wrong plaintext", - "importVectorKeys step: HMAC with SHA-1 verification failure due to wrong signature", - "importVectorKeys step: HMAC with SHA-256 verification failure due to wrong signature", - "importVectorKeys step: HMAC with SHA-384 verification failure due to wrong signature", - "importVectorKeys step: HMAC with SHA-512 verification failure due to wrong signature", - "importVectorKeys step: HMAC with SHA-1 verification failure due to short signature", - "importVectorKeys step: HMAC with SHA-256 verification failure due to short signature", - "importVectorKeys step: HMAC with SHA-384 verification failure due to short signature", - "importVectorKeys step: HMAC with SHA-512 verification failure due to short signature" - ], - "hmac.https.any.worker.html": [ - "generate wrong key step: HMAC with SHA-1 signing with wrong algorithm name", - "generate wrong key step: HMAC with SHA-256 signing with wrong algorithm name", - "generate wrong key step: HMAC with SHA-384 signing with wrong algorithm name", - "generate wrong key step: HMAC with SHA-512 signing with wrong algorithm name", - "generate wrong key step: HMAC with SHA-1 verifying with wrong algorithm name", - "generate wrong key step: HMAC with SHA-256 verifying with wrong algorithm name", - "generate wrong key step: HMAC with SHA-384 verifying with wrong algorithm name", - "generate wrong key step: HMAC with SHA-512 verifying with wrong algorithm name", - "importVectorKeys step: HMAC with SHA-1 verification", - "importVectorKeys step: HMAC with SHA-256 verification", - "importVectorKeys step: HMAC with SHA-384 verification", - "importVectorKeys step: HMAC with SHA-512 verification", - "importVectorKeys step: HMAC with SHA-1 verification with altered signature after call", - "importVectorKeys step: HMAC with SHA-256 verification with altered signature after call", - "importVectorKeys step: HMAC with SHA-384 verification with altered signature after call", - "importVectorKeys step: HMAC with SHA-512 verification with altered signature after call", - "importVectorKeys step: HMAC with SHA-1 with altered plaintext", - "importVectorKeys step: HMAC with SHA-256 with altered plaintext", - "importVectorKeys step: HMAC with SHA-384 with altered plaintext", - "importVectorKeys step: HMAC with SHA-512 with altered plaintext", - "importVectorKeys step: HMAC with SHA-1 no verify usage", - "importVectorKeys step: HMAC with SHA-256 no verify usage", - "importVectorKeys step: HMAC with SHA-384 no verify usage", - "importVectorKeys step: HMAC with SHA-512 no verify usage", - "importVectorKeys step: HMAC with SHA-1 round trip", - "importVectorKeys step: HMAC with SHA-256 round trip", - "importVectorKeys step: HMAC with SHA-384 round trip", - "importVectorKeys step: HMAC with SHA-512 round trip", - "importVectorKeys step: HMAC with SHA-1 verification failure due to wrong plaintext", - "importVectorKeys step: HMAC with SHA-256 verification failure due to wrong plaintext", - "importVectorKeys step: HMAC with SHA-384 verification failure due to wrong plaintext", - "importVectorKeys step: HMAC with SHA-512 verification failure due to wrong plaintext", - "importVectorKeys step: HMAC with SHA-1 verification failure due to wrong signature", - "importVectorKeys step: HMAC with SHA-256 verification failure due to wrong signature", - "importVectorKeys step: HMAC with SHA-384 verification failure due to wrong signature", - "importVectorKeys step: HMAC with SHA-512 verification failure due to wrong signature", - "importVectorKeys step: HMAC with SHA-1 verification failure due to short signature", - "importVectorKeys step: HMAC with SHA-256 verification failure due to short signature", - "importVectorKeys step: HMAC with SHA-384 verification failure due to short signature", - "importVectorKeys step: HMAC with SHA-512 verification failure due to short signature" - ], + "hmac.https.any.html": true, + "hmac.https.any.worker.html": true, "rsa_pkcs.https.any.html": [ "importVectorKeys step: RSASSA-PKCS1-v1_5 with SHA-1 verification", "importVectorKeys step: RSASSA-PKCS1-v1_5 with SHA-256 verification", @@ -5891,16 +5809,12 @@ ], "AddEventListenerOptions-passive.any.html": [ "Supports passive option on addEventListener only", - "preventDefault should be ignored if-and-only-if the passive option is true", "returnValue should be ignored if-and-only-if the passive option is true", - "passive behavior of one listener should be unaffected by the presence of other listeners", "Equivalence of option values" ], "AddEventListenerOptions-passive.any.worker.html": [ "Supports passive option on addEventListener only", - "preventDefault should be ignored if-and-only-if the passive option is true", "returnValue should be ignored if-and-only-if the passive option is true", - "passive behavior of one listener should be unaffected by the presence of other listeners", "Equivalence of option values" ], "AddEventListenerOptions-signal.any.html": true, @@ -5911,12 +5825,8 @@ "EventTarget-add-remove-listener.any.worker.html": true, "EventTarget-addEventListener.any.html": true, "EventTarget-addEventListener.any.worker.html": true, - "EventTarget-removeEventListener.any.html": [ - "removing a null event listener should succeed" - ], - "EventTarget-removeEventListener.any.worker.html": [ - "removing a null event listener should succeed" - ], + "EventTarget-removeEventListener.any.html": true, + "EventTarget-removeEventListener.any.worker.html": true, "EventTarget-constructible.any.html": true, "EventTarget-constructible.any.worker.html": true, "Event-constructors.any.html": [ @@ -6192,16 +6102,20 @@ "construct-byob-request.any.html": true, "construct-byob-request.any.worker.html": true, "general.any.html": [ - "ReadableStream with byte source: Respond to multiple pull() by separate enqueue()" + "ReadableStream with byte source: Respond to multiple pull() by separate enqueue()", + "ReadableStream with byte source: enqueue() discards auto-allocated BYOB request" ], "general.any.worker.html": [ - "ReadableStream with byte source: Respond to multiple pull() by separate enqueue()" + "ReadableStream with byte source: Respond to multiple pull() by separate enqueue()", + "ReadableStream with byte source: enqueue() discards auto-allocated BYOB request" ], "non-transferable-buffers.any.html": false, "non-transferable-buffers.any.worker.html": false, "enqueue-with-detached-buffer.window.html": false, "tee.any.html": true, - "tee.any.worker.html": true + "tee.any.worker.html": true, + "respond-after-enqueue.any.html": true, + "respond-after-enqueue.any.worker.html": true }, "readable-streams": { "async-iterator.any.html": false, @@ -6482,32 +6396,8 @@ "function": { "call.tentative.any.html": false, "call.tentative.any.worker.html": false, - "constructor.tentative.any.html": [ - "name", - "length", - "Too few arguments", - "Calling", - "construct with JS function", - "fail with missing results", - "fail with missing parameters", - "fail with non-string parameters & results", - "fail with non-existent parameter and result type", - "fail with non-function object", - "fail to construct with non-callable object" - ], - "constructor.tentative.any.worker.html": [ - "name", - "length", - "Too few arguments", - "Calling", - "construct with JS function", - "fail with missing results", - "fail with missing parameters", - "fail with non-string parameters & results", - "fail with non-existent parameter and result type", - "fail with non-function object", - "fail to construct with non-callable object" - ], + "constructor.tentative.any.html": false, + "constructor.tentative.any.worker.html": false, "table.tentative.any.html": false, "table.tentative.any.worker.html": false, "type.tentative.any.html": false, @@ -6580,10 +6470,7 @@ "class-string-interface.any.worker.html": true, "class-string-iterator-prototype-object.any.html": true, "class-string-iterator-prototype-object.any.worker.html": true, - "class-string-named-properties-object.window.html": [ - "@@toStringTag exists with the appropriate descriptor", - "Object.prototype.toString" - ], + "class-string-named-properties-object.window.html": false, "global-immutable-prototype.any.html": [ "Setting to a different prototype" ], @@ -7221,7 +7108,9 @@ "Check integrity attribute", "Check isReloadNavigation attribute", "Check isHistoryNavigation attribute" - ] + ], + "forbidden-method.any.html": true, + "forbidden-method.any.worker.html": true }, "headers": { "header-values-normalize.any.html": [ @@ -7926,7 +7815,7 @@ }, "file": { "File-constructor.any.html": true, - "File-constructor.any.worker.html": false, + "File-constructor.any.worker.html": true, "send-file-formdata-controls.any.html": true, "send-file-formdata-controls.any.worker.html": true, "send-file-formdata-punctuation.any.html": true, @@ -8151,13 +8040,23 @@ "Blob paired surrogates (invalid utf-8)", "Blob empty", "Blob NUL", + "Array Blob object, Blob basic", + "Array Blob object, Blob unpaired high surrogate (invalid utf-8)", + "Array Blob object, Blob unpaired low surrogate (invalid utf-8)", + "Array Blob object, Blob paired surrogates (invalid utf-8)", + "Array Blob object, Blob empty", + "Array Blob object, Blob NUL", + "Array Blob object, two Blobs", + "Object Blob object, Blob basic", + "Object Blob object, Blob unpaired high surrogate (invalid utf-8)", + "Object Blob object, Blob unpaired low surrogate (invalid utf-8)", + "Object Blob object, Blob paired surrogates (invalid utf-8)", + "Object Blob object, Blob empty", + "Object Blob object, Blob NUL", "File basic", "Serializing a non-serializable platform object fails", "An object whose interface is deleted from the global must still deserialize", "A subclass instance will deserialize as its closest serializable superclass", - "A detached ArrayBuffer cannot be transferred", - "A detached platform object cannot be transferred", - "Transferring a non-transferable platform object fails", "A subclass instance will be received as its closest transferable superclass" ], "structured-clone.any.worker.html": [ @@ -8167,13 +8066,23 @@ "Blob paired surrogates (invalid utf-8)", "Blob empty", "Blob NUL", + "Array Blob object, Blob basic", + "Array Blob object, Blob unpaired high surrogate (invalid utf-8)", + "Array Blob object, Blob unpaired low surrogate (invalid utf-8)", + "Array Blob object, Blob paired surrogates (invalid utf-8)", + "Array Blob object, Blob empty", + "Array Blob object, Blob NUL", + "Array Blob object, two Blobs", + "Object Blob object, Blob basic", + "Object Blob object, Blob unpaired high surrogate (invalid utf-8)", + "Object Blob object, Blob unpaired low surrogate (invalid utf-8)", + "Object Blob object, Blob paired surrogates (invalid utf-8)", + "Object Blob object, Blob empty", + "Object Blob object, Blob NUL", "File basic", "Serializing a non-serializable platform object fails", "An object whose interface is deleted from the global must still deserialize", "A subclass instance will deserialize as its closest serializable superclass", - "A detached ArrayBuffer cannot be transferred", - "A detached platform object cannot be transferred", - "Transferring a non-transferable platform object fails", "A subclass instance will be received as its closest transferable superclass" ] } @@ -8787,39 +8696,9 @@ "dedicated-worker-import-data-url.any.worker.html": true, "dedicated-worker-import.any.html": true, "dedicated-worker-import.any.worker.html": true, - "shared-worker-import-blob-url.window.html": [ - "Static import.", - "Static import (cross-origin).", - "Static import (redirect).", - "Nested static import.", - "Static import and then dynamic import.", - "Dynamic import.", - "Nested dynamic import.", - "Dynamic import and then static import.", - "eval(import())." - ], - "shared-worker-import-data-url.window.html": [ - "Static import.", - "Static import (cross-origin).", - "Static import (redirect).", - "Nested static import.", - "Static import and then dynamic import.", - "Dynamic import.", - "Nested dynamic import.", - "Dynamic import and then static import.", - "eval(import())." - ], - "shared-worker-import.window.html": [ - "Static import.", - "Static import (cross-origin).", - "Static import (redirect).", - "Nested static import.", - "Static import and then dynamic import.", - "Dynamic import.", - "Nested dynamic import.", - "Dynamic import and then static import.", - "eval(import())." - ] + "shared-worker-import-blob-url.window.html": false, + "shared-worker-import-data-url.window.html": false, + "shared-worker-import.window.html": false }, "nested_worker.worker.html": true, "nested_worker_close_self.worker.html": true,