From 32c905c22873adb3485f11745a74558830b90eb1 Mon Sep 17 00:00:00 2001
From: Kagami Sascha Rosylight
Date: Fri, 8 Mar 2024 02:14:57 +0100
Subject: [PATCH] Use `object` for PermissionSetParameters.descriptor (#444)
---
index.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/index.html b/index.html
index 97a6837..0317ed5 100644
--- a/index.html
+++ b/index.html
@@ -1225,7 +1225,7 @@
dictionary PermissionSetParameters {
- required PermissionDescriptor descriptor;
+ required object descriptor;
required PermissionState state;
};
@@ -1317,12 +1317,12 @@
{{PermissionState/"denied"}} at this step.
-
Let |rootDesc| be |parameters|.{{PermissionSetParameters/descriptor}}.
+ Let |rootDesc| be |parametersDict|.{{PermissionSetParameters/descriptor}}.
- Let |typedDescriptor| be the object |rootDesc| refers to, converted to an IDL
- value of |rootDesc|.{{PermissionDescriptor/name}}'s [=powerful feature/permission
- descriptor type=]. If this throws an exception, return a [=invalid argument=]
- [=error=].
+ Let |typedDescriptor| be the object |rootDesc| refers to,
+ [=converted to an IDL value=] of [=powerful feature/permission descriptor type=]
+ matching the result of Get(|rootDesc|,
+ "`name`"). If this throws an exception, return a [=invalid argument=] [=error=].
[=Set a permission=] with |typedDescriptor| and
|parametersDict|.{{PermissionSetParameters/state}}.