{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webdriver/issues/303","repository_url":"https://api.github.com/repos/w3c/webdriver","labels_url":"https://api.github.com/repos/w3c/webdriver/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webdriver/issues/303/comments","events_url":"https://api.github.com/repos/w3c/webdriver/issues/303/events","html_url":"https://github.com/w3c/webdriver/pull/303","id":154012127,"number":303,"title":"cookies: error on attempting to delete non-existing cookie","user":{"login":"andreastt","id":399120,"avatar_url":"https://avatars.githubusercontent.com/u/399120?v=3","gravatar_id":"","url":"https://api.github.com/users/andreastt","html_url":"https://github.com/andreastt","followers_url":"https://api.github.com/users/andreastt/followers","following_url":"https://api.github.com/users/andreastt/following{/other_user}","gists_url":"https://api.github.com/users/andreastt/gists{/gist_id}","starred_url":"https://api.github.com/users/andreastt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreastt/subscriptions","organizations_url":"https://api.github.com/users/andreastt/orgs","repos_url":"https://api.github.com/users/andreastt/repos","events_url":"https://api.github.com/users/andreastt/events{/privacy}","received_events_url":"https://api.github.com/users/andreastt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-10T13:54:03Z","updated_at":"2016-05-11T11:31:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/w3c/webdriver/pulls/303","html_url":"https://github.com/w3c/webdriver/pull/303","diff_url":"https://github.com/w3c/webdriver/pull/303.diff","patch_url":"https://github.com/w3c/webdriver/pull/303.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/w3c/webdriver/issues/comments/218433250","html_url":"https://github.com/w3c/webdriver/pull/303#issuecomment-218433250","issue_url":"https://api.github.com/repos/w3c/webdriver/issues/303","id":218433250,"user":{"login":"AutomatedTester","id":128518,"avatar_url":"https://avatars.githubusercontent.com/u/128518?v=3","gravatar_id":"","url":"https://api.github.com/users/AutomatedTester","html_url":"https://github.com/AutomatedTester","followers_url":"https://api.github.com/users/AutomatedTester/followers","following_url":"https://api.github.com/users/AutomatedTester/following{/other_user}","gists_url":"https://api.github.com/users/AutomatedTester/gists{/gist_id}","starred_url":"https://api.github.com/users/AutomatedTester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AutomatedTester/subscriptions","organizations_url":"https://api.github.com/users/AutomatedTester/orgs","repos_url":"https://api.github.com/users/AutomatedTester/repos","events_url":"https://api.github.com/users/AutomatedTester/events{/privacy}","received_events_url":"https://api.github.com/users/AutomatedTester/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T11:31:24Z","updated_at":"2016-05-11T11:31:24Z","body":"Could you expand on the reasoning for this? This has webdriver acting very differently from the web platform.\r\n\r\nIf I do \r\n```js\r\ndocument.cookie = \"foo=bar; expires=Thu, 01 Jan 1970 00:00:00 GMT\";\r\n```\r\n\r\nI would not get an error as we just hand off to the cookie jar which just sees this as something that it shouldnt care about. In [delete cookies](http://w3c.github.io/webdriver/webdriver-spec.html#dfn-delete-cookies) the UA *could* short cut the process and just do something similar without needing to get all the cookies associated with the active document."}}