From ff105d9632396630314ab1aeffe724d898d9e25e Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Thu, 16 Oct 2025 10:00:48 -0400 Subject: [PATCH] fix bikeshed errors from #282 --- index.bs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.bs b/index.bs index c174689..5262c59 100644 --- a/index.bs +++ b/index.bs @@ -318,13 +318,13 @@ The SFrame transform algorithm, given |this| and |frame|, runs these 1. If |data| is undefined, abort these steps. 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}}. 1. If the SFrame algorithm exits abruptly with an error, [=queue a task=] to run the following sub steps: - 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|, + 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|, using the {{SFrameTransformErrorEvent}} interface with its {{SFrameTransformErrorEvent/errorType}} attribute set to {{SFrameTransformErrorEventType/syntax}} and its {{SFrameTransformErrorEvent/frame}} attribute set to |frame|. - 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|, + 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|, using the {{SFrameTransformErrorEvent}} interface with its {{SFrameTransformErrorEvent/errorType}} attribute set to {{SFrameTransformErrorEventType/keyID}}, its {{SFrameTransformErrorEvent/frame}} attribute set to |frame| and its {{SFrameTransformErrorEvent/keyID}} attribute set to the keyID value parsed in the SFrame header. - 1. If the processing fails on decryption side due to validation of the authentication tag, [=fire an event=] named {{SFrameTransform/onerror|error}} at |this|, + 1. If the processing fails on decryption side due to validation of the authentication tag, [=fire an event=] named {{SFrameKeyManagement/onerror|error}} at |this|, using the {{SFrameTransformErrorEvent}} interface with its {{SFrameTransformErrorEvent/errorType}} attribute set to {{SFrameTransformErrorEventType/authentication}} and its {{SFrameTransformErrorEvent/frame}} attribute set to |frame|. 1. Abort these steps.