diff --git a/spec.bs b/spec.bs index bf70b89..9bd317f 100644 --- a/spec.bs +++ b/spec.bs @@ -328,12 +328,12 @@ This method creates a {{HandwritingRecognizer}} object that satisfies the provid 1. Run the following steps [=in parallel=]: 1. Convert |constraint| into a suitable form for creating a platform-dependent [=handwriting recognizer=]. 1. [=Queue a Handwriting Recognition API task=] to: - 1. If the user agent can't create or prepare a [=handwriting recognizer=] to perform recognitions, [=/reject=] |p| with a new {{DOMException}} according to the failure cause: - * If |constraint|'s {{HandwritingModelConstraint/languages}} is an empty [=list=], {{"NotSupportedError"}}. - * If the user agent can't find a platform-dependent [=handwriting recognizer=] that satisfies the converted |constraint|, {{"NotSupportedError"}}. - * If creating a [=handwriting recognizer=] would cause the user agent to exceed its limit for total number of active recognizer, {{"QuotaExceededError"}}. - * If the web application can retry calling this method, {{OperationError}}. - * For all other failure causes, {{"UnknownError"}} + 1. If the user agent can't create or prepare a [=handwriting recognizer=] to perform recognitions, [=/reject=] |p| with a new exception according to the failure cause: + * If |constraint|'s {{HandwritingModelConstraint/languages}} is an empty [=list=], {{"NotSupportedError"}} {{DOMException}}. + * If the user agent can't find a platform-dependent [=handwriting recognizer=] that satisfies the converted |constraint|, {{"NotSupportedError"}} {{DOMException}}. + * If creating a [=handwriting recognizer=] would cause the user agent to exceed its limit for total number of active recognizer, {{QuotaExceededError}}. + * If the web application can retry calling this method, {{"OperationError"}} {{DOMException}}. + * For all other failure causes, {{"UnknownError"}} {{DOMException}}. 1. Otherwise: 1. Let |result| be a new {{HandwritingRecognizer}} object. 1. Associate |result| with the platform-dependent [=handwriting recognizer=] created in the previous step. @@ -658,7 +658,7 @@ If the handwriting recognizer wasn't able to recognize anything, {{HandwritingDr