Skip to content

Commit

Permalink
chore: remove same site hack for libsoup on the client (#31192)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s authored Jun 6, 2024
1 parent c8b7cda commit fc6fcc2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/playwright-core/src/server/webkit/wkBrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,6 @@ export class WKBrowserContext extends BrowserContext {
...c,
session: c.expires === -1 || c.expires === undefined,
expires: c.expires && c.expires !== -1 ? c.expires * 1000 : c.expires,
// TODO: make WebKit on linux work without eplicit sameSite.
sameSite: c.sameSite ?? (process.platform === 'linux' ? 'Lax' : undefined)
})) as Protocol.Playwright.SetCookieParam[];
await this._browser._browserSession.send('Playwright.setCookies', { cookies: cc, browserContextId: this._browserContextId });
}
Expand Down

0 comments on commit fc6fcc2

Please sign in to comment.