mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-11 20:37:54 +03:00
chore: remove same site hack for libsoup on the client (#31192)
This commit is contained in:
parent
c8b7cda514
commit
fc6fcc2118
@ -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 });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user