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
@@ -227,11 +233,12 @@ The SFrame transform algorithm, given |sframe| as a SFrameTransform object and |
227
233
## Methods
228
234
The <dfn method for="SFrameTransform">setEncryptionKey(|key|, |keyID|)</dfn> method steps are:
229
235
1. Let |promise| be [=a new promise=].
230
-
2. [=In parallel=], run the following steps:
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.
237
+
3. Otherwise, [=in parallel=], run the following steps:
231
238
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>.
232
-
2. If setting the key material fails, [=Reject=] |promise| with an {{InvalidModificationError}}error and abort these steps.
239
+
2. If setting the key material fails, [=reject=] |promise| with an {{InvalidModificationError}}exception and abort these steps.
0 commit comments