Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Commit

Permalink
fix(cookies): fix cookies for default context
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Aug 15, 2019
1 parent 7e0e22a commit 3d50f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/juggler/BrowserContextManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class BrowserContextManager {
}

getCookies(browserContextId, urls) {
const userContextId = browserContextId ? this._browserContextIdToUserContextId.get(browserContextId) : undefined;
const userContextId = browserContextId ? this._browserContextIdToUserContextId.get(browserContextId) : 0;
const result = [];
const sameSiteToProtocol = {
[Ci.nsICookie.SAMESITE_NONE]: undefined,
Expand Down

0 comments on commit 3d50f67

Please sign in to comment.