mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: disable SameSite-by-default changes
https://chromium-review.googlesource.com/c/chromium/src/+/2231445
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "content/public/common/content_features.h"
|
||||
#include "electron/buildflags/buildflags.h"
|
||||
#include "media/base/media_switches.h"
|
||||
#include "net/base/features.h"
|
||||
|
||||
namespace electron {
|
||||
|
||||
@@ -26,7 +27,14 @@ void InitializeFeatureList() {
|
||||
// Can be reenabled when our site instance policy is aligned with chromium
|
||||
// when node integration is enabled.
|
||||
disable_features +=
|
||||
std::string(",") + features::kSpareRendererForSitePerProcess.name;
|
||||
std::string(",") + features::kSpareRendererForSitePerProcess.name +
|
||||
// Disable SameSite-by-default, this will be a breaking change for many
|
||||
// apps which cannot land in master until 11-x-y is branched out. For more
|
||||
// info
|
||||
// https://groups.google.com/a/chromium.org/g/embedder-dev/c/4yJi4Twj2NM/m/9bhpWureCAAJ
|
||||
std::string(",") + net::features::kSameSiteByDefaultCookies.name +
|
||||
std::string(",") +
|
||||
net::features::kCookiesWithoutSameSiteMustBeSecure.name;
|
||||
|
||||
// https://www.polymer-project.org/blog/2018-10-02-webcomponents-v0-deprecations
|
||||
// https://chromium-review.googlesource.com/c/chromium/src/+/1869562
|
||||
|
||||
Reference in New Issue
Block a user