Closed
Bug 1223907
Opened 9 years ago
Closed 9 years ago
Add Cookie body not encapsulated in cookie field
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(firefox45 fixed)
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: titus.fortner, Assigned: ato)
References
(Blocks 1 open bug)
Details
(Keywords: pi-marionette-server)
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2561.0 Safari/537.36 Steps to reproduce: This works: >>> http://localhost:4446/session/0c18d086-e1a8-c34f-bcf6-637c769f8003/cookie | {"name":"foo","value":"bar","path":"/","secure":false} but is not correct according to the spec: http://www.w3.org/TR/webdriver/#get-cookie This is correct and does not work: >>> http://localhost:4446/session/62e70c59-6d97-004f-863c-29c258611d77/cookie | {"cookie":{"name":"foo","value":"bar","path":"/","secure":false}} Actual results: {"error":"invalid argument","message":"Missing 'name' parameter"} Expected results: success response and gets added
Assignee | ||
Updated•9 years ago
|
Blocks: webdriver
Component: General → Marionette
Keywords: ateam-marionette-server
Summary: Incorrect implementation of adding cookie → Add Cookie body not encapsulated in cookie field
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → ato
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee | ||
Comment 1•9 years ago
|
||
According to the specification, the body sent to Add Cookie should be encapsulated in a "cookie" field: https://w3c.github.io/webdriver/webdriver-spec.html#add-cookie The expected input is: {"cookie": <cookie>}
Assignee | ||
Comment 2•9 years ago
|
||
Bug 1223907: Refactor cookies in Marionette Moves most of the cookie implementation to a new file, testing/marionette/cookies.js. The new Cookies class encapsulates all APIs for manipulating and querying cookies from content space. It communicates with chrome space, where the cookie manager lives, through a new SyncContentSender provided by testing/marionette/proxy.js. This new interface provides synchronous and transparent communication from content to chrome, not dissimilar from how the original listener proxy works. r=dburns
Assignee | ||
Updated•9 years ago
|
Attachment #8687168 -
Flags: review?(dburns)
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8687168 [details] MozReview Request: Bug 1223907: Refactor cookies in Marionette Review request updated; see interdiff: https://reviewboard.mozilla.org/r/25125/diff/1-2/
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8687168 [details] MozReview Request: Bug 1223907: Refactor cookies in Marionette Review request updated; see interdiff: https://reviewboard.mozilla.org/r/25125/diff/1-2/
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8687168 [details] MozReview Request: Bug 1223907: Refactor cookies in Marionette Review request updated; see interdiff: https://reviewboard.mozilla.org/r/25125/diff/2-3/
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8687168 [details] MozReview Request: Bug 1223907: Refactor cookies in Marionette Review request updated; see interdiff: https://reviewboard.mozilla.org/r/25125/diff/3-4/
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8687168 [details] MozReview Request: Bug 1223907: Refactor cookies in Marionette Review request updated; see interdiff: https://reviewboard.mozilla.org/r/25125/diff/4-5/
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8687168 [details] MozReview Request: Bug 1223907: Refactor cookies in Marionette Review request updated; see interdiff: https://reviewboard.mozilla.org/r/25125/diff/5-6/
Comment 9•9 years ago
|
||
Comment on attachment 8687168 [details] MozReview Request: Bug 1223907: Refactor cookies in Marionette https://reviewboard.mozilla.org/r/25125/#review22649
Attachment #8687168 -
Flags: review?(dburns) → review+
Comment 11•9 years ago
|
||
Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/3d4832835b25
Assignee | ||
Comment 12•9 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=4fbb4c6cf33e&group_state=expanded
Assignee | ||
Comment 13•9 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=da1105afc754
Assignee | ||
Comment 14•9 years ago
|
||
Comment on attachment 8687168 [details] MozReview Request: Bug 1223907: Refactor cookies in Marionette Review request updated; see interdiff: https://reviewboard.mozilla.org/r/25125/diff/6-7/
Assignee | ||
Comment 15•9 years ago
|
||
Comment on attachment 8687168 [details] MozReview Request: Bug 1223907: Refactor cookies in Marionette Review request updated; see interdiff: https://reviewboard.mozilla.org/r/25125/diff/7-8/
Assignee | ||
Comment 16•9 years ago
|
||
Comment on attachment 8687168 [details] MozReview Request: Bug 1223907: Refactor cookies in Marionette Review request updated; see interdiff: https://reviewboard.mozilla.org/r/25125/diff/8-9/
Assignee | ||
Comment 17•9 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=df993f1f5926&group_state=expanded
Assignee | ||
Comment 18•9 years ago
|
||
Comment on attachment 8687168 [details] MozReview Request: Bug 1223907: Refactor cookies in Marionette Review request updated; see interdiff: https://reviewboard.mozilla.org/r/25125/diff/9-10/
Assignee | ||
Comment 19•9 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=14070cb1b989&group_state=expanded
Comment 21•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ca54275a013d
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•