I'm trying to create a webview inside my current WebviewWindow using javascript.
It fails with the following error:
Failed to load resource: the server responded with a status of 400 (Bad Request)
Reproduction
pnpm create tauri-app --rc
Update permissions:
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": [
"shell:allow-open",
"core:webview:allow-create-webview-window",
"core:webview:allow-create-webview",
"core:webview:allow-reparent",
"core:webview:default",
"core:webview:allow-set-webview-position",
"core:webview:allow-set-webview-size",
"core:window:allow-create",
"core:window:default",
"core:app:default"
]
}
Describe the bug
I'm trying to create a webview inside my current WebviewWindow using javascript. It fails with the following error:
Failed to load resource: the server responded with a status of 400 (Bad Request)
Reproduction
pnpm create tauri-app --rc
Update permissions:
Run the following javascript:
Expected behavior
I would expect a new Webview to be embedded in my window
Full
tauri info
outputStack trace
No response
Additional context
No response