summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/crypto/00_crypto.js4
-rw-r--r--tools/wpt/expectation.json1
2 files changed, 4 insertions, 1 deletions
diff --git a/extensions/crypto/00_crypto.js b/extensions/crypto/00_crypto.js
index 5310f254d..936bf7cff 100644
--- a/extensions/crypto/00_crypto.js
+++ b/extensions/crypto/00_crypto.js
@@ -464,6 +464,10 @@
return result;
}
+
+ get [SymbolToStringTag]() {
+ return "SubtleCrypto";
+ }
}
async function generateKey(normalizedAlgorithm, extractable, usages) {
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index 979d02d63..f183bb866 100644
--- a/tools/wpt/expectation.json
+++ b/tools/wpt/expectation.json
@@ -1928,7 +1928,6 @@
"SubtleCrypto interface: operation exportKey(KeyFormat, CryptoKey)",
"SubtleCrypto interface: operation wrapKey(KeyFormat, CryptoKey, CryptoKey, AlgorithmIdentifier)",
"SubtleCrypto interface: operation unwrapKey(KeyFormat, BufferSource, CryptoKey, AlgorithmIdentifier, AlgorithmIdentifier, boolean, sequence<KeyUsage>)",
- "Stringification of crypto.subtle",
"SubtleCrypto interface: crypto.subtle must inherit property \"encrypt(AlgorithmIdentifier, CryptoKey, BufferSource)\" with the proper type",
"SubtleCrypto interface: calling encrypt(AlgorithmIdentifier, CryptoKey, BufferSource) on crypto.subtle with too few arguments must throw TypeError",
"SubtleCrypto interface: crypto.subtle must inherit property \"decrypt(AlgorithmIdentifier, CryptoKey, BufferSource)\" with the proper type",