mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
script: initial CookieStore implementation (#37968)
This is a first draft at implementing the required infrastructure for CookieStore, which requires setting up IPC between script and the resource thread to allow for async/"in parallel" handling of cookie changes that have a promise API. Cookie Store also will need to receive change events when cookies for a url are changed so the architecture needs to support that. Expect this PR to be reworked once the architecture becomes more settled, cookie change events will be implemented in follow up PRs Testing: WPT tests exist for this API Part of #37674 --------- Signed-off-by: Sebastian C <sebsebmc@gmail.com>
This commit is contained in:
parent
a75f3fd09b
commit
b869b7eb96
35 changed files with 917 additions and 305 deletions
|
@ -5,48 +5,6 @@
|
|||
[idl_test setup]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: existence and properties of interface prototype object's @@unscopables property]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: operation get(USVString)]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: operation get(optional CookieStoreGetOptions)]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: operation getAll(USVString)]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: operation getAll(optional CookieStoreGetOptions)]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: operation set(USVString, USVString)]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: operation set(CookieInit)]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: operation delete(USVString)]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: operation delete(CookieStoreDeleteOptions)]
|
||||
expected: FAIL
|
||||
|
||||
[CookieStore interface: attribute onchange]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -104,9 +62,6 @@
|
|||
[ServiceWorkerRegistration interface: attribute cookies]
|
||||
expected: FAIL
|
||||
|
||||
[Window interface: attribute cookieStore]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[idlharness.https.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue