Closed Bug 1471396 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 11676 - Async Cookies: The API is only available on secure origins.

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox63 fixed)

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11676 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/11676
Details from upstream follow.

Victor Costan <pwnall@chromium.org> wrote:
>  Async Cookies: The API is only available on secure origins.
>  
>  Bug: 856362
>  Change-Id: Icaddfb82b2c41924cca7f058dea2e8da03183ae9
>  Reviewed-on: https://chromium-review.googlesource.com/1114379
>  WPT-Export-Revision: efcb4601526f29ff51b13978e67bc6e6fdd71713
PR 11676 applied with additional changes from upstream: 9392f67e3db464b3f5de73b900e125306a758221, 72048cdc2d47d5d1d0a9a2fd97485c87fc89c1b2
Ran 20 tests and 211 subtests
OK     : 20
PASS   : 21
FAIL   : 190

New tests that have failures or other problems:
/cookie-store/cookieListItem_attributes.tentative.https.window.html
    CookieListItem - cookieStore.set defaults with name and value in options: FAIL
    CookieListItem - cookieStore.set defaults with positional name and value: FAIL
    CookieListItem - cookieStore.set with domain set to the current hostname: FAIL
    CookieListItem - cookieStore.set with expires set to a Date 10 years in the future: FAIL
    CookieListItem - cookieStore.set with expires set to a timestamp 10 years in the future: FAIL
    CookieListItem - cookieStore.set with name and value in options and expires set to a future Date: FAIL
    CookieListItem - cookieStore.set with name and value in options and expires set to a future timestamp: FAIL
    CookieListItem - cookieStore.set with path set to the current directory: FAIL
    CookieListItem - cookieStore.set with secure set to false: FAIL
/cookie-store/cookieStore_delete_arguments.tentative.https.window.html
    cookieStore.delete with domain set to a non-domain-matching suffix of the current hostname: FAIL
    cookieStore.delete with domain set to a subdomain of the current hostname: FAIL
    cookieStore.delete with domain set to the current hostname: FAIL
    cookieStore.delete with expires in options: FAIL
    cookieStore.delete with name in both positional arguments and options: FAIL
    cookieStore.delete with name in options: FAIL
    cookieStore.delete with name in options and domain set to a non-domain-matching suffix of the current hostname: FAIL
    cookieStore.delete with name in options and domain set to a subdomain of the current hostname: FAIL
    cookieStore.delete with name in options and domain set to the current hostname: FAIL
    cookieStore.delete with path set to subdirectory of the current directory: FAIL
    cookieStore.delete with path set to the current directory: FAIL
    cookieStore.delete with positional name: FAIL
    cookieStore.delete with value in options: FAIL
/cookie-store/cookieStore_delete_basic.tentative.https.window.html
    cookieStore.delete return type is Promise<void>: FAIL
/cookie-store/cookieStore_event_arguments.tenative.https.window.html
    CookieChangeEvent construction with changed and deleted cookie lists: FAIL
    CookieChangeEvent construction with changed cookie list: FAIL
    CookieChangeEvent construction with default arguments: FAIL
    CookieChangeEvent construction with deleted cookie list: FAIL
/cookie-store/cookieStore_event_basic.tentative.https.window.html
    cookieStore fires change event for cookie set by cookieStore.set(): FAIL
/cookie-store/cookieStore_event_delete.tenative.https.window.html
    cookieStore fires change event for cookie deleted by cookieStore.delete(): FAIL
/cookie-store/cookieStore_event_overwrite.tentative.https.window.html
    cookieStore fires change event for cookie overwritten by cookieStore.set(): FAIL
/cookie-store/cookieStore_getAll_arguments.tentative.https.window.html
    cookieStore.getAll with invalid matchType: FAIL
    cookieStore.getAll with matchType explicitly set to equals: FAIL
    cookieStore.getAll with matchType set to starts-with: FAIL
    cookieStore.getAll with matchType set to starts-with and name in options: FAIL
    cookieStore.getAll with name in both positional arguments and options: FAIL
    cookieStore.getAll with name in options: FAIL
    cookieStore.getAll with no arguments: FAIL
    cookieStore.getAll with positional name: FAIL
/cookie-store/cookieStore_getAll_multiple.tentative.https.window.html
    cookieStore.getAll returns multiple cookies written by cookieStore.set: FAIL
/cookie-store/cookieStore_getAll_set_basic.tentative.https.window.html
    cookieStore.getAll returns the cookie written by cookieStore.set: FAIL
/cookie-store/cookieStore_get_arguments.tentative.https.window.html
    cookieStore.get with invalid matchType: FAIL
    cookieStore.get with matchType explicitly set to equals: FAIL
    cookieStore.get with matchType set to starts-with: FAIL
    cookieStore.get with matchType set to starts-with and name in options: FAIL
    cookieStore.get with name in both positional arguments and options: FAIL
    cookieStore.get with name in options: FAIL
    cookieStore.get with positional name: FAIL
/cookie-store/cookieStore_get_delete_basic.tentative.https.window.html
    cookieStore.get returns null for a cookie deleted by cookieStore.delete: FAIL
/cookie-store/cookieStore_get_set_basic.tentative.https.window.html
    cookieStore.get returns the cookie written by cookieStore.set: FAIL
/cookie-store/cookieStore_in_detached_frame.tentative.https.html
    cookieStore on DOMWindow of detached iframe (crbug.com/774626): FAIL
/cookie-store/cookieStore_set_arguments.tentative.https.window.html
    cookieStore.set default domain is null and differs from current hostname: FAIL
    cookieStore.set default path is /: FAIL
    cookieStore.set with domain set to a non-domain-matching suffix of the current hostname: FAIL
    cookieStore.set with domain set to a subdomain of the current hostname: FAIL
    cookieStore.set with domain set to the current hostname: FAIL
    cookieStore.set with expires set to a future Date: FAIL
    cookieStore.set with expires set to a future timestamp: FAIL
    cookieStore.set with expires set to a past Date: FAIL
    cookieStore.set with expires set to a past timestamp: FAIL
    cookieStore.set with name and value in options: FAIL
    cookieStore.set with name and value in options and expires in the future: FAIL
    cookieStore.set with name and value in options and expires in the past: FAIL
    cookieStore.set with name in both positional arguments and options: FAIL
    cookieStore.set with path set to a subdirectory of the current directory: FAIL
    cookieStore.set with path set to the current directory: FAIL
    cookieStore.set with positional name and value: FAIL
    cookieStore.set with value in both positional arguments and options: FAIL
/cookie-store/cookieStore_special_names.tentative.https.window.html
    cookieStore.delete with __Host- name on secure origin: FAIL
    cookieStore.delete with __Secure- name on secure origin: FAIL
    cookieStore.set of expired __Host- cookie name on secure origin: FAIL
    cookieStore.set of expired __Secure- cookie name on secure origin: FAIL
    cookieStore.set with __Host- name on secure origin: FAIL
    cookieStore.set with __Secure- name on secure origin: FAIL
/cookie-store/httponly_cookies.https.window.html
    HttpOnly cookies are not observed: FAIL
/cookie-store/idlharness.tentative.https.html
    CookieChangeEvent interface object length: FAIL
    CookieChangeEvent interface object name: FAIL
    CookieChangeEvent interface: attribute changed: FAIL
    CookieChangeEvent interface: attribute deleted: FAIL
    CookieChangeEvent interface: existence and properties of interface object: FAIL
    CookieChangeEvent interface: existence and properties of interface prototype object: FAIL
    CookieChangeEvent interface: existence and properties of interface prototype object's "constructor" property: FAIL
    CookieChangeEvent interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    CookieChangeEvent interface: new CookieChangeEvent('change') must inherit property "changed" with the proper type: FAIL
    CookieChangeEvent interface: new CookieChangeEvent('change') must inherit property "deleted" with the proper type: FAIL
    CookieChangeEvent must be primary interface of new CookieChangeEvent('change'): FAIL
    CookieStore interface object length: FAIL
    CookieStore interface object name: FAIL
    CookieStore interface: attribute onchange: FAIL
    CookieStore interface: calling delete(CookieStoreSetOptions) on self.cookieStore with too few arguments must throw TypeError: FAIL
    CookieStore interface: calling delete(USVString, CookieStoreSetOptions) on self.cookieStore with too few arguments must throw TypeError: FAIL
    CookieStore interface: calling get(CookieStoreGetOptions) on self.cookieStore with too few arguments must throw TypeError: FAIL
    CookieStore interface: calling get(USVString, CookieStoreGetOptions) on self.cookieStore with too few arguments must throw TypeError: FAIL
    CookieStore interface: calling getAll(CookieStoreGetOptions) on self.cookieStore with too few arguments must throw TypeError: FAIL
    CookieStore interface: calling getAll(USVString, CookieStoreGetOptions) on self.cookieStore with too few arguments must throw TypeError: FAIL
    CookieStore interface: calling set(CookieStoreSetOptions) on self.cookieStore with too few arguments must throw TypeError: FAIL
    CookieStore interface: calling set(USVString, USVString, CookieStoreSetOptions) on self.cookieStore with too few arguments must throw TypeError: FAIL
    CookieStore interface: existence and properties of interface object: FAIL
    CookieStore interface: existence and properties of interface prototype object: FAIL
    CookieStore interface: existence and properties of interface prototype object's "constructor" property: FAIL
    CookieStore interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    CookieStore interface: member getChangeSubscriptions: FAIL
    CookieStore interface: member subscribeToChanges: FAIL
    CookieStore interface: operation delete(CookieStoreSetOptions): FAIL
    CookieStore interface: operation delete(USVString, CookieStoreSetOptions): FAIL
    CookieStore interface: operation get(CookieStoreGetOptions): FAIL
    CookieStore interface: operation get(USVString, CookieStoreGetOptions): FAIL
    CookieStore interface: operation getAll(CookieStoreGetOptions): FAIL
    CookieStore interface: operation getAll(USVString, CookieStoreGetOptions): FAIL
    CookieStore interface: operation set(CookieStoreSetOptions): FAIL
    CookieStore interface: operation set(USVString, USVString, CookieStoreSetOptions): FAIL
    CookieStore interface: self.cookieStore must inherit property "delete(CookieStoreSetOptions)" with the proper type: FAIL
    CookieStore interface: self.cookieStore must inherit property "delete(USVString, CookieStoreSetOptions)" with the proper type: FAIL
    CookieStore interface: self.cookieStore must inherit property "get(CookieStoreGetOptions)" with the proper type: FAIL
    CookieStore interface: self.cookieStore must inherit property "get(USVString, CookieStoreGetOptions)" with the proper type: FAIL
    CookieStore interface: self.cookieStore must inherit property "getAll(CookieStoreGetOptions)" with the proper type: FAIL
    CookieStore interface: self.cookieStore must inherit property "getAll(USVString, CookieStoreGetOptions)" with the proper type: FAIL
    CookieStore interface: self.cookieStore must inherit property "onchange" with the proper type: FAIL
    CookieStore interface: self.cookieStore must inherit property "set(CookieStoreSetOptions)" with the proper type: FAIL
    CookieStore interface: self.cookieStore must inherit property "set(USVString, USVString, CookieStoreSetOptions)" with the proper type: FAIL
    CookieStore interface: self.cookieStore must not have property "getChangeSubscriptions": FAIL
    CookieStore interface: self.cookieStore must not have property "subscribeToChanges": FAIL
    CookieStore must be primary interface of self.cookieStore: FAIL
    Stringification of new CookieChangeEvent('change'): FAIL
    Stringification of self.cookieStore: FAIL
    Window interface: attribute cookieStore: FAIL
/cookie-store/serviceworker_cookieStore_arguments.tentative.https.html
    CookieListItem - cookieStore.set defaults with name and value in options: FAIL
    CookieListItem - cookieStore.set defaults with positional name and value: FAIL
    CookieListItem - cookieStore.set with domain set to the current hostname: FAIL
    CookieListItem - cookieStore.set with expires set to a Date 10 years in the future: FAIL
    CookieListItem - cookieStore.set with expires set to a timestamp 10 years in the future: FAIL
    CookieListItem - cookieStore.set with name and value in options and expires set to a future Date: FAIL
    CookieListItem - cookieStore.set with name and value in options and expires set to a future timestamp: FAIL
    CookieListItem - cookieStore.set with path set to the current directory: FAIL
    CookieListItem - cookieStore.set with secure set to false: FAIL
    cookieStore.delete with __Host- name on secure origin: FAIL
    cookieStore.delete with __Secure- name on secure origin: FAIL
    cookieStore.delete with domain set to a non-domain-matching suffix of the current hostname: FAIL
    cookieStore.delete with name in options and domain set to a non-domain-matching suffix of the current hostname: FAIL
    cookieStore.get with matchType set to starts-with: FAIL
    cookieStore.get with matchType set to starts-with and name in options: FAIL
    cookieStore.getAll returns multiple cookies written by cookieStore.set: FAIL
    cookieStore.getAll with matchType set to starts-with: FAIL
    cookieStore.getAll with matchType set to starts-with and name in options: FAIL
    cookieStore.set default domain is null and differs from current hostname: FAIL
    cookieStore.set of expired __Host- cookie name on secure origin: FAIL
    cookieStore.set of expired __Secure- cookie name on secure origin: FAIL
    cookieStore.set with __Host- name on secure origin: FAIL
    cookieStore.set with __Secure- name on secure origin: FAIL
    cookieStore.set with domain set to a non-domain-matching suffix of the current hostname: FAIL
    cookieStore.set with expires set to a future Date: FAIL
    cookieStore.set with expires set to a future timestamp: FAIL
    cookieStore.set with expires set to a past Date: FAIL
    cookieStore.set with expires set to a past timestamp: FAIL
/cookie-store/serviceworker_cookieStore_basic.tentative.https.html
    cookieStore.delete return type is Promise<void>: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ecd85bee9e5e
[wpt PR 11676] - Async Cookies: The API is only available on secure origins., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/238bbd38f87f
[wpt PR 11676] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/ecd85bee9e5e
https://hg.mozilla.org/mozilla-central/rev/238bbd38f87f
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.