- "html": "<p>If the user agent can’t create or prepare a <a data-link-type=\"dfn\" href=\"https://wicg.github.io/handwriting-recognition/#handwriting-recognizer\" id=\"ref-for-handwriting-recognizer⑤\">handwriting recognizer</a> to perform recognitions, <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#reject\" id=\"ref-for-reject\">reject</a> <var>p</var> with a new <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\" id=\"ref-for-idl-DOMException\">DOMException</a></code> according to the failure cause:</p>\n <ul>\n <li data-md=\"\">\n <p>If <var>constraint</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://wicg.github.io/handwriting-recognition/#dom-handwritingmodelconstraint-languages\" id=\"ref-for-dom-handwritingmodelconstraint-languages③\">languages</a></code> is an empty <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#list\" id=\"ref-for-list①\">list</a>, <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#notsupportederror\" id=\"ref-for-notsupportederror\">\"NotSupportedError\"</a></code>.</p>\n </li><li data-md=\"\">\n <p>If the user agent can’t find a platform-dependent <a data-link-type=\"dfn\" href=\"https://wicg.github.io/handwriting-recognition/#handwriting-recognizer\" id=\"ref-for-handwriting-recognizer⑥\">handwriting recognizer</a> that satisfies the converted <var>constraint</var>, <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#notsupportederror\" id=\"ref-for-notsupportederror①\">\"NotSupportedError\"</a></code>.</p>\n </li><li data-md=\"\">\n <p>If creating a <a data-link-type=\"dfn\" href=\"https://wicg.github.io/handwriting-recognition/#handwriting-recognizer\" id=\"ref-for-handwriting-recognizer⑦\">handwriting recognizer</a> would cause the user agent to exceed its limit for total number of active recognizer, <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#quotaexceedederror\" id=\"ref-for-quotaexceedederror\">\"QuotaExceededError\"</a></code>.</p>\n </li><li data-md=\"\">\n <p>If the web application can retry calling this method, <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#operationerror\" id=\"ref-for-operationerror\">OperationError</a></code>.</p>\n </li><li data-md=\"\">\n <p>For all other failure causes, <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#unknownerror\" id=\"ref-for-unknownerror\">\"UnknownError\"</a></code></p>\n </li></ul>"
0 commit comments