Conversation
Closed
nondebug
reviewed
Nov 17, 2021
Contributor
Author
Contributor
Author
|
FYI I've started a Chromium CL at https://chromium-review.googlesource.com/c/chromium/src/+/3297868. |
reillyeon
reviewed
Dec 13, 2021
| </li> | ||
| <li>Set |device|.{{HIDDevice/[[state]]}} to `"forgetting"`. | ||
| </li> | ||
| <li>Invoke the user agent to revoke access to all the [=HID interfaces=] |
Contributor
There was a problem hiding this comment.
This should reject all pending promises the way that close() does.
Contributor
Author
There was a problem hiding this comment.
Done. Thanks!
nondebug
approved these changes
Dec 14, 2021
Contributor
Author
|
@nondebug Shall we merge this PR? |
1 task
Contributor
Author
|
@nondebug I'm about to commit https://chromium-review.googlesource.com/c/chromium/src/+/3297868. Can you merge this spec PR? |
aarongable
pushed a commit
to chromium/chromium
that referenced
this pull request
Jan 7, 2022
This CL adds a way for web developers to revoke permission access to a paired HIDDevice. The experimental forget() method is behind a blink runtime feature flag. Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/c2vCYr-0dqk Spec: WICG/webhid#84 Bug: 1279822 Change-Id: I29bed5830abddad62e08828827eb68aec8406047 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3297868 Reviewed-by: Matt Reynolds <mattreynolds@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Fr <beaufort.francois@gmail.com> Cr-Commit-Position: refs/heads/main@{#956442}
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is an attempt to add a way for web developers to revoke permission access to a paired HIDDevice. See #39
@nondebug Please have a look