chore: bump chromium to 0f4170320ff37e971064916aed1dc (master) (#23285)
* chore: bump chromium in DEPS to 53836640273c3d45b05ad74bdff7323ef0ffc610 * chore: bump chromium in DEPS to 17da1064b910f4170320ff37e971064916aed1dc * Rename attach_same_site_cookies param to force_ignore_site_for_cookies2162209
* chore: update patch indices * Remove single argument HttpResponseHeaders::AddHeader() method2155353
* Rename attach_same_site_cookies param to force_ignore_site_for_cookies2162209
* fixup! Remove single argument HttpResponseHeaders::AddHeader() method * Exchange SandboxType::kInvalid for a CHECK.2167995
* chore: fix string type on windows Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
parent
096c799e24
commit
8edc7a1fb1
40 changed files with 143 additions and 141 deletions
|
@ -9,8 +9,6 @@ namespace electron {
|
|||
const char kBrowserForward[] = "browser-forward";
|
||||
const char kBrowserBackward[] = "browser-backward";
|
||||
|
||||
const char kCORSHeader[] = "Access-Control-Allow-Origin: *";
|
||||
|
||||
const char kSHA1Certificate[] = "SHA-1 Certificate";
|
||||
const char kSHA1MajorDescription[] =
|
||||
"The certificate for this site expires in 2017 or later, "
|
||||
|
|
|
@ -15,9 +15,6 @@ namespace electron {
|
|||
extern const char kBrowserForward[];
|
||||
extern const char kBrowserBackward[];
|
||||
|
||||
// Header to ignore CORS.
|
||||
extern const char kCORSHeader[];
|
||||
|
||||
// Strings describing Chrome security policy for DevTools security panel.
|
||||
extern const char kSHA1Certificate[];
|
||||
extern const char kSHA1MajorDescription[];
|
||||
|
|
|
@ -186,7 +186,7 @@ bool Converter<net::HttpResponseHeaders*>::FromV8(
|
|||
}
|
||||
std::string value;
|
||||
gin::ConvertFromV8(isolate, localStrVal, &value);
|
||||
out->AddHeader(key + ": " + value);
|
||||
out->AddHeader(key, value);
|
||||
return true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue