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

fix: correct invoke command for toggling devtools by hotkey, closes #8771 #8793

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

pewsheen
Copy link
Contributor

@pewsheen pewsheen commented Feb 6, 2024

Issue: tauri#8771

The scope used by webview toggle_devtools script was set to window, it should be webview now.

@pewsheen pewsheen requested a review from a team as a code owner February 6, 2024 08:14
@lucasfernog lucasfernog linked an issue Feb 6, 2024 that may be closed by this pull request
@lucasfernog lucasfernog merged commit 8751c32 into tauri-apps:dev Feb 6, 2024
@pewsheen pewsheen deleted the fix/devtools-hotkey-acl branch February 6, 2024 11:01
@fu050409
Copy link
Contributor

fu050409 commented Apr 4, 2024

I'm still experiencing this issue in tauri v2.0.0-beta.14, I don't know what's going on here. :)

Failed to load resource: the server responded with a status of 400 (Bad Request)
VM12:263  Uncaught (in promise) webview.internal_toggle_devtools not allowed. Permissions associated with this command: webview:allow-internal-toggle-devtools, webview:default

@pewsheen
Copy link
Contributor Author

pewsheen commented Apr 5, 2024

I'm still experiencing this issue in tauri v2.0.0-beta.14, I don't know what's going on here. :)

Failed to load resource: the server responded with a status of 400 (Bad Request)
VM12:263  Uncaught (in promise) webview.internal_toggle_devtools not allowed. Permissions associated with this command: webview:allow-internal-toggle-devtools, webview:default

Did you add webview:allow-internal-toggle-devtools to your capabilities file?
https://beta.tauri.app/references/v2/acl/

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

Successfully merging this pull request may close these issues.

[bug][2.0.0-beta] DevTools cannot be toggled by keyboard shortcut
3 participants