Bug: silent success for non-existent browsers, pages, cookies #31

Closed
opened 2026-06-08 14:23:03 +00:00 by fatmaebrahim · 1 comment
Member

Description:

Three operations silently return success even when nothing happens

  • browser_destroy reports "Destroyed" for non-existent browser IDs
  • cookies_delete reports "Deleted" for cookies that don't exist
  • page_close reports "Closed" for non-existent page IDs
### Description: Three operations silently return success even when nothing happens - browser_destroy reports "Destroyed" for non-existent browser IDs - cookies_delete reports "Deleted" for cookies that don't exist - page_close reports "Closed" for non-existent page IDs
Author
Member

Issue Update:

Ok(()) on success (including if the browser didn't exist).
Ok(()) on success (including if the page didn't exist).
Found these comments, so this behavior is applied on purpose

### Issue Update: `Ok(())` on success (including if the browser didn't exist). `Ok(())` on success (including if the page didn't exist). Found these comments, so this behavior is applied on purpose
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_browser#31
No description provided.