mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure
This commit is contained in:
5
spec/fixtures/api/cookie-app/main.js
vendored
5
spec/fixtures/api/cookie-app/main.js
vendored
@@ -10,7 +10,8 @@ app.whenReady().then(async function () {
|
||||
url,
|
||||
name,
|
||||
value,
|
||||
expirationDate: Date.now() + 60000
|
||||
expirationDate: Date.now() + 60000,
|
||||
sameSite: 'strict'
|
||||
});
|
||||
|
||||
const get = () => persistentSession.cookies.get({
|
||||
@@ -33,7 +34,7 @@ app.whenReady().then(async function () {
|
||||
|
||||
process.stdout.write(`${one.length}${two.length}${three.length}`);
|
||||
} catch (e) {
|
||||
process.stdout.write('ERROR');
|
||||
process.stdout.write(`ERROR : ${e.message}`);
|
||||
} finally {
|
||||
process.stdout.end();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user