Skip to content

Commit

Permalink
Add support for handling cookies (#501)
Browse files Browse the repository at this point in the history
* add cookie events, command & result references

* add command & result definitions -wip

* rm ref to events

* Reorganize into a new module named "Storage"

* Add storage partition keys to capabilities

* Support cookies with multiple partition keys

* Remove modifications to capabilities processing

* Relocate type definitions

* Implement commands

* Reformat according to document convention

* Rename key in PartitionKey type

* Duplicate field definitions

* Add reminder to editors

* Define type for sameSite value

* Include partition key in response to GetCookies

* Tolerate additional fields

* Include partition key in response to DeleteCookies

* Reference recently-aligned WebDriver concepts

* Require specification of source origin

* Normalize algorithm return type

* Support specification of store w/browsing context

* Correct CDDL errors

* Rename command parameters

* Make "filter" argument optional

* Clarify "get the cookie store" algorithm

* Define a named type for each kind of partition key

* Update index.bs

Co-authored-by: Maksim Sadym <[email protected]>

* Update index.bs

Co-authored-by: Maksim Sadym <[email protected]>

* Update index.bs

Co-authored-by: Maksim Sadym <[email protected]>

* Update index.bs

Co-authored-by: Maksim Sadym <[email protected]>

* Update index.bs

Co-authored-by: Maksim Sadym <[email protected]>

* Do not infer sourceOrigin; allow UAs to require it

* Correct algorithm names

* Add explanations for userContext and sourceOrigin

* Use a string type

* Incorporate feedback on partition definitions

* Build a new map when expanding partition specifier

* Correct algorithm invocation

* Add guidance on the contents of data structures

* Update index.bs

Co-authored-by: jgraham <[email protected]>

* Update index.bs

Co-authored-by: jgraham <[email protected]>

* Update index.bs

Co-authored-by: jgraham <[email protected]>

* Correct formatting issues

* Correct formatting issue

* Update index.bs

Co-authored-by: Henrik Skupin <[email protected]>

* Update index.bs

Co-authored-by: Henrik Skupin <[email protected]>

* Update index.bs

Co-authored-by: Henrik Skupin <[email protected]>

* Relocate issue reference

* Modify visual presentation of table

* Reference algorithm by its full name

---------

Co-authored-by: Mike Pennisi <[email protected]>
Co-authored-by: Maksim Sadym <[email protected]>
Co-authored-by: jgraham <[email protected]>
Co-authored-by: Henrik Skupin <[email protected]>
  • Loading branch information
5 people authored Jan 10, 2024
1 parent 25084b6 commit 6ebacb6
Showing 1 changed file with 494 additions and 5 deletions.
Loading

0 comments on commit 6ebacb6

Please sign in to comment.