Files
tauri-plugins-workspace/examples/api/src-tauri/capabilities/http-e2e.json
T
Amr BashirandLucas Nogueira 068bc7cc8c fix(http): release response resources and preserve cancellation (#3786)
* fix(http): release canceled request resources before sending

* fix(http): safely cancel body reads and release response resources

* fix(http): preserve cancellation across the response handoff

* fix(http): release bodyless responses and reject unsupported statuses

* fix(http): cancel webview requests and responses on navigation

* fix(http): honor abort signals and clean up listeners

* fix(http): allow WebKit to collect HTTP responses

* fix(http): release abandoned response bodies

* chore(http): consolidate cleanup change files

* chore(http): note pending webview-close cleanup

* only close http resources in the cancel commands

* look up the page token without scanning the resource table

* add e2e tests for the cancel commands

* cancel requests when the webview's window is destroyed

* add e2e test for window close cleanup

* document why we use on_window_event

* clippy

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2026-11-18 12:22:31 -03:00

14 lines
519 B
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "http-e2e",
"description": "Lets the e2e suite's extra http windows reach the fixture server. Only http is granted, so the example's close confirmation (which needs the dialog plugin) is not registered and closing these windows is not prevented.",
"windows": ["http-e2e-*"],
"platforms": ["linux", "macOS", "windows"],
"permissions": [
{
"identifier": "http:default",
"allow": [{ "url": "http://127.0.0.1:3004" }]
}
]
}