[w3c/permissions] Turn PermissionSetParameters.descriptor into an object (Issue #443)

The Set Permission step 3 does: https://w3c.github.io/permissions/#webdriver-command-set-permission

>3. Let rootDesc be parameters.[descriptor](https://w3c.github.io/permissions/#dom-permissionsetparameters-descriptor).

But `parameters` is a JS object here, so it can't just access the IDL property but should do some JS `Get()`, as Streams doe in https://streams.spec.whatwg.org/#abstract-opdef-setupcrossrealmtransformreadable.

But an even better way to fix it is just to turn `decriptor` as an object, which would allow `Let rootDesc be parametersDict.descriptor`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/443
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/permissions/issues/443@github.com>

Received on Tuesday, 13 February 2024 10:07:12 UTC