"html": "<p>The result of the request is \"<a data-link-type=\"enum-value\" href=\"https://www.w3.org/TR/permissions/#dom-permissionstate-granted\"><code>granted</code></a>\".\n If a hardware error such as an OS/program/webpage lock prevents access,\n remove the corresponding candidate from <var>finalSet</var>.\n If <var>finalSet</var> has no candidates of type <var>kind</var>,\n <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#reject\">reject</a> <var>p</var> with a new\n <a data-link-type=\"interface\" data-lt=\"DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a> object whose\n <a data-link-type=\"attribute\" href=\"https://webidl.spec.whatwg.org/#dom-domexception-name\"><code>name</code></a> attribute has the value\n \"<a data-link-type=\"exception\" href=\"https://webidl.spec.whatwg.org/#notreadableerror\"><code>NotReadableError</code></a>\" and abort these steps.\n Otherwise, restart these sub steps with the updated <var>finalSet</var>.</p>\n <p>If device access fails for any reason other than those listed above,\n remove the corresponding candidate from <var>finalSet</var>.\n If <var>finalSet</var> has no candidates of type <var>kind</var>,\n <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#reject\">reject</a> <var>p</var> with a new <a data-link-type=\"interface\" data-lt=\"DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a>\n object whose <a data-link-type=\"attribute\" href=\"https://webidl.spec.whatwg.org/#dom-domexception-name\"><code>name</code></a> attribute has the\n value \"<a data-link-type=\"exception\" href=\"https://webidl.spec.whatwg.org/#aborterror\"><code>AbortError</code></a>\" and abort these steps.\n Otherwise, restart these sub steps with the updated <var>finalSet</var>.</p>"
0 commit comments