Skip to content

fix: a few regressions from previous PRs - #20

Open
tomerqodo wants to merge 5 commits into
cursor_combined_20260121_qodo_grep_cursor_copilot_1_base_fix_a_few_regressions_from_previous_prs_pr170from
cursor_combined_20260121_qodo_grep_cursor_copilot_1_head_fix_a_few_regressions_from_previous_prs_pr170
Open

tomerqodo wants to merge 5 commits into
cursor_combined_20260121_qodo_grep_cursor_copilot_1_base_fix_a_few_regressions_from_previous_prs_pr170from
cursor_combined_20260121_qodo_grep_cursor_copilot_1_head_fix_a_few_regressions_from_previous_prs_pr170

Conversation

@tomerqodo

@tomerqodo tomerqodo commented Jan 21, 2026 •

Copy link
Copy Markdown

Benchmark PR from qodo-benchmark#170


Note

  • Cookie changes: Re-exports Cookie from tauri_runtime in webview/mod.rs (removing direct cookie::Cookie import) and changes delete_cookie to dispatch WebviewMessage::SetCookie instead of DeleteCookie in tauri-runtime-wry.
  • Builder API rename: Renames WebviewWindowBuilder::with_window_features to window_features and updates docs and examples accordingly; also tweaks application order of features.size() and features.position().
  • Examples cleanup: Refactors example app window creation and on_new_window usage, updates window labels, and applies the new .window_features(features) chain.

Written by Cursor Bugbot for commit bb976cd. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

*self.window_id.lock().unwrap(),
self.webview_id,
WebviewMessage::DeleteCookie(cookie.clone().into_owned()),
WebviewMessage::SetCookie(cookie.into_owned()),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete_cookie now sets cookie instead of deleting

High Severity

The delete_cookie function sends WebviewMessage::SetCookie instead of WebviewMessage::DeleteCookie. This causes the function to set the cookie rather than delete it, completely inverting the intended behavior. The DeleteCookie message variant exists and correctly calls webview.delete_cookie() in the handler.

Fix in Cursor Fix in Web

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.

3 participants