Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOM Exception: no permission instead of asking for permission #12

Open
vishaldialpad opened this issue Jul 2, 2024 · 3 comments
Open

Comments

@vishaldialpad
Copy link

await captureController.sendWheel({});

gives Dom exception: no permission instead of asking for permission.

Screen.Recording.2024-07-02.at.12.45.21.PM.mov
@eladalon1983
Copy link
Member

eladalon1983 commented Jul 12, 2024

Thanks for the interest in this API!

image

In the video, I see that you opened the permissions menu (PageInfo). It is evident in the video that the permission is in the "revoked" (or "disallowed") state. So the behavior I see in the video is WAI, and what you want to do next is to either toggle the permission to "enabled" or to reset it.

I am assuming you arrived at this state by clicking "block" when the permission was initially requested.

@rallu
Copy link

rallu commented Aug 23, 2024

Noticed the same bug. It happens only if I enable the feature in chrome://flags/
When feature is disabled in flags and using it through original trials header the permissions request works perfectly.

@eladalon1983
Copy link
Member

@vishaldialpad, has my earlier comment helped you solve your issue?

@rallu, could you please provide a recording? I could not reproduce this issue locally; things worked equally well from chrome://flags as well as using an origin trial token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants