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