Skip to content

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

Merged
lucasfernog merged 1 commit into
tauri-apps:devfrom
pewsheen:fix/devtools-hotkey-acl
Feb 6, 2024
Merged

fix: correct invoke command for toggling devtools by hotkey, closes #8771#8793
lucasfernog merged 1 commit into
tauri-apps:devfrom
pewsheen:fix/devtools-hotkey-acl

Conversation

@pewsheen
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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