Skip to content

Passing in URL to getAll when called from Service Worker #247

@RupinMittal

Description

@RupinMittal

The spec (https://wicg.github.io/cookie-store/#CookieStore-getAll) has a step for getAll() that says if a URL is passed in,

"If this's relevant global object is a Window object and parsed does not equal url, then return a promise rejected with a TypeError."

It appears that Chrome does this check for Service worker contexts as well. Which is the right behavior to follow?

CC @annevk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions