Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(perm interface): Fix return value handling #143

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -580,14 +580,14 @@ spec: webidl
<ol>
<li>Let |rootDesc| be the object |permissionDesc| refers to, <a>converted to
an IDL value</a> of type {{PermissionDescriptor}}. If this throws an
exception, return <a>a promise rejected with</a> that exception and abort
these steps.
exception, <a>reject</a> |promise| with that exception and abort these
steps.
</li>
<li>Let |typedDescriptor| be the object |permissionDesc| refers to,
<a>converted to an IDL value</a> of
<code>|rootDesc|.{{PermissionDescriptor/name}}</code>'s <a>permission
descriptor type</a>. If this throws an exception, return <a>a promise
rejected with</a> that exception and abort these steps.
descriptor type</a>. If this throws an exception, <a>reject</a> |promise|
with that exception and abort these steps.
</li>
<li>The UA now has <a lt="new information about the user's intent">new
information that the user intends</a> to revoke permission to use the
Expand Down