commit | 0ae751b44bcaca01fc02dd861bb4d3fecdf56c01 | [log] [tgz] |
---|---|---|
author | Joel Hockey <joelhockey@chromium.org> | Thu Apr 28 01:20:25 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 28 01:20:25 2022 |
tree | c6702dc243e26647cd43013649e86c9c2a8912c5 | |
parent | 17d5672721cae779219ebcfd6b0ed8401f15f415 [diff] |
Allow chrome-untrusted://terminal to set 3p cookies Cookies are required for corp SSH relays and may also be used by other users of SSH relays. Bug: 1313810 Change-Id: Ib506a3b51b81b4746e044f8bb164f6872159f623 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3607606 Reviewed-by: Jiewei Qian <qjw@chromium.org> Commit-Queue: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/main@{#996980}
diff --git a/chrome/browser/ash/web_applications/terminal_source.cc b/chrome/browser/ash/web_applications/terminal_source.cc index 960ddff..8ac46c5 100644 --- a/chrome/browser/ash/web_applications/terminal_source.cc +++ b/chrome/browser/ash/web_applications/terminal_source.cc
@@ -130,6 +130,8 @@ ContentSettingsType::SOUND}) { webui_allowlist->RegisterAutoGrantedPermission(terminal_origin, permission); } + webui_allowlist->RegisterAutoGrantedThirdPartyCookies( + terminal_origin, {ContentSettingsPattern::Wildcard()}); } TerminalSource::~TerminalSource() = default;