Skip to content

Commit ff105d9

Browse files
committed
fix bikeshed errors from #282
1 parent 6ef8bde commit ff105d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,13 @@ The <dfn>SFrame transform algorithm</dfn>, given |this| and |frame|, runs these
318318
1. If |data| is undefined, abort these steps.
319319
1. Let |buffer| be the result of running the SFrame algorithm with |data|, |this|.`[[cipherSuite]]`, and |role| as parameters. This algorithm is defined by [[RFC9605]] and returns an {{ArrayBuffer}}.
320320
1. If the SFrame algorithm exits abruptly with an error, [=queue a task=] to run the following sub steps:
321-
1. If the processing fails on decryption side due to |data| not following the SFrame format, [=fire an event=] named {{SFrameTransform/onerror|error}} at |this|,
321+
1. If the processing fails on decryption side due to |data| not following the SFrame format, [=fire an event=] named {{SFrameKeyManagement/onerror|error}} at |this|,
322322
using the {{SFrameTransformErrorEvent}} interface with its {{SFrameTransformErrorEvent/errorType}} attribute set to {{SFrameTransformErrorEventType/syntax}}
323323
and its {{SFrameTransformErrorEvent/frame}} attribute set to |frame|.
324-
1. If the processing fails on decryption side due to the key identifier parsed in |data| being unknown, [=fire an event=] named {{SFrameTransform/onerror|error}} at |this|,
324+
1. If the processing fails on decryption side due to the key identifier parsed in |data| being unknown, [=fire an event=] named {{SFrameKeyManagement/onerror|error}} at |this|,
325325
using the {{SFrameTransformErrorEvent}} interface with its {{SFrameTransformErrorEvent/errorType}} attribute set to {{SFrameTransformErrorEventType/keyID}},
326326
its {{SFrameTransformErrorEvent/frame}} attribute set to |frame| and its {{SFrameTransformErrorEvent/keyID}} attribute set to the keyID value parsed in the SFrame header.
327-
1. If the processing fails on decryption side due to validation of the authentication tag, [=fire an event=] named {{SFrameTransform/onerror|error}} at |this|,
327+
1. If the processing fails on decryption side due to validation of the authentication tag, [=fire an event=] named {{SFrameKeyManagement/onerror|error}} at |this|,
328328
using the {{SFrameTransformErrorEvent}} interface with its {{SFrameTransformErrorEvent/errorType}} attribute set to {{SFrameTransformErrorEventType/authentication}}
329329
and its {{SFrameTransformErrorEvent/frame}} attribute set to |frame|.
330330
1. Abort these steps.

0 commit comments

Comments
 (0)