Throw error when deleteCookie doesn't find cookie

RESOLVED WONTFIX

Status

defect
P3
normal
RESOLVED WONTFIX
5 years ago
3 years ago

People

(Reporter: ato, Unassigned)

Tracking

(Blocks 1 bug, {pi-marionette-server})

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Updated

5 years ago
Whiteboard: [marionette=1.0]
Reporter

Updated

5 years ago
Blocks: webdriver
This appears to do the exact same thing as WebDriver OSS[1]

[1] https://code.google.com/p/selenium/source/browse/javascript/firefox-driver/js/firefoxDriver.js#790

What error do you propose we throw?
Priority: -- → P3
Whiteboard: [marionette=1.0]
Reporter

Comment 2

4 years ago
(In reply to David Burns :automatedtester from comment #1)
> This appears to do the exact same thing as WebDriver OSS[1]
> 
> [1]
> https://code.google.com/p/selenium/source/browse/javascript/firefox-driver/
> js/firefoxDriver.js#790
> 
> What error do you propose we throw?

I don't think any of the existing error codes in Selenium are useful, and it isn't described in spec yet.  We should probably introduce a new status "cookie not found" or similar.
Reporter

Comment 3

3 years ago
I’ve submitted https://github.com/w3c/webdriver/pull/303 to the specification.
Reporter

Comment 4

3 years ago
I have a feeling that the count of deleted cookies is not something we can reliably track.  Implementations may also not even follow the exact steps in this context. (Marionette for example uses the Gecko cookie service in chrome space.)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.