You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typedef [EnforceRange] unsigned long long SmallCryptoKeyID;
198
-
typedef (SmallCryptoKeyID or BigInt) CryptoKeyID;
195
+
typedef (SmallCryptoKeyID or bigint) CryptoKeyID;
199
196
200
197
[Exposed=(Window,DedicatedWorker)]
201
198
interface SFrameTransform {
@@ -233,7 +230,7 @@ The SFrame transform algorithm, given |sframe| as a SFrameTransform object and |
233
230
## Methods
234
231
The <dfn method for="SFrameTransform">setEncryptionKey(|key|, |keyID|)</dfn> method steps are:
235
232
1. Let |promise| be [=a new promise=].
236
-
2. If |keyID| is a {{BigInt}} which cannot be represented as a integer between 0 and 2<sup>64</sup>-1 inclusive, [=reject=] |promise| with a {{RangeError}} exception.
233
+
2. If |keyID| is a {{bigint}} which cannot be represented as a integer between 0 and 2<sup>64</sup>-1 inclusive, [=reject=] |promise| with a {{RangeError}} exception.
237
234
3. Otherwise, [=in parallel=], run the following steps:
238
235
1. Set |key| with its optional |keyID| as key material to use for the SFrame transform algorithm, as defined by the <a href="https://datatracker.ietf.org/doc/draft-omara-sframe/">SFrame specification</a>.
239
236
2. If setting the key material fails, [=reject=] |promise| with an {{InvalidModificationError}} exception and abort these steps.
0 commit comments