w3c/permissions

"permission query algorithm" run on string

annevk opened this issue · 3 comments

Run query's name's permission query algorithm, passing query and status.

This is similar to "permission state" except that unlike "permission state" this kind of invocation is not defined to be able to run on a string.

It was less important to make this one take flexible arguments because it's not meant to be called from other specs. (It's exported so other specs can implement it.)

I'm not sure we're on the same page. I'm saying that

Run "blah"'s permission query algorithm, ...

is UB.

And we'd need to write Run the permission query algorithm for the "blah" powerful feature instead? That seems fine, although the priority should reflect the chance that it will confuse implementers or lead to non-interoperable implementations.