Closed foolip closed 1 year ago
Is there anything preventing this from being merged? I recall some long discussions about permissions in #57 and #68. WebKit does not define PermissionState
in other IDLs, but I guess they can just continue shipping their enum in DeviceOrientationOrMotionPermissionState.idl
.
@reillyeon your check mark is green, so I guess you have the power to merge?
Is there something that prevents from merging this?
Is there something that prevents from merging this?
There's an unresolved comment regarding some additional specification text that should be updated to keep things consistent.
@reillyeon following https://www.w3.org/2022/09/15-dap-minutes.html I wonder if this can be merged as-is?
This would allow us to get rid of the duplicate PermissionState enum (WebKit even has a PermissionState.idl now), which is the biggest issue.
We can replace "default" with "prompt" in another PR (the term is not exposed to script anyway), and file an issue to discuss further integration with the Permissions spec, as I imagine that will be a lot more work from a spec perspective.
@rakuco I took another careful look at this and I think that even though the "default"
value isn't in the PermissionState
enum from the Permissions API the way that it is used in this spec doesn't technically expose that to script and so it's fine to land this change as is. We can fix it up in a follow-up which adds proper Permissions API integration and so removes all the existing spec text that uses the "default"
value.
Thanks for reviewing it again! Can either you or @anssiko merge the PR? I don't have commit rights to this repository.
Fixes https://github.com/w3c/deviceorientation/issues/82.
Preview | Diff