Files
brave-core/patches/content-browser-webui-web_ui_data_source_impl.cc.patch
Jay Harris 9c90556eab [Nala]: Update to Svelte5 version of Nala (#36524)
Changes https://github.com/brave/leo/compare/075a3f9ed76e03bdc3f63d7dc4a7269e6dbdec29...e4af287f27ef5bb412a57a057d0edbbc81326168
- **BREAKING** [Icons]: Update icons from Figma ([#1378](https://github.com/brave/leo/pull/1378))
- [svelte5]: Use unmount not destroy ([#1399](https://github.com/brave/leo/pull/1399))
- [Svelte]: Minor bump ([#1398](https://github.com/brave/leo/pull/1398))
- **BREAKING** [Svelte]: Upgrade to Svelte 5 ([#1078](https://github.com/brave/leo/pull/1078))
- chore(deps): updates deps and adds .npmrc with min-release-age ([#1391](https://github.com/brave/leo/pull/1391))
- [Toggle]: Remove :hover effect on mobile ([#1390](https://github.com/brave/leo/pull/1390))
- [Radio]: Remove :hover effect on mobile ([#1389](https://github.com/brave/leo/pull/1389))
- [Checkbox]: Disable `:hover` effect on mobile ([#1388](https://github.com/brave/leo/pull/1388))
- [Button]: Disable :hover state on mobile ([#1387](https://github.com/brave/leo/pull/1387))
- Add transform transition and press scale to button ([#1385](https://github.com/brave/leo/pull/1385))
- Navigation style updates ([#1386](https://github.com/brave/leo/pull/1386))
- Bump postcss from 8.5.6 to 8.5.14 in /examples/example-ui-react ([#1383](https://github.com/brave/leo/pull/1383))
- Bump postcss from 8.5.6 to 8.5.14 ([#1384](https://github.com/brave/leo/pull/1384))
2026-05-28 23:53:06 +01:00

14 lines
748 B
Diff

diff --git a/content/browser/webui/web_ui_data_source_impl.cc b/content/browser/webui/web_ui_data_source_impl.cc
index 42955f79fe8f60b4b7554167e85b1b369610cec7..fea89197c7f76657ecb0cec9bbc56a6c0cbda025 100644
--- a/content/browser/webui/web_ui_data_source_impl.cc
+++ b/content/browser/webui/web_ui_data_source_impl.cc
@@ -315,7 +315,7 @@ bool WebUIDataSourceImpl::IsWebUIDataSourceImpl() const {
void WebUIDataSourceImpl::OverrideContentSecurityPolicy(
network::mojom::CSPDirectiveName directive,
const std::string& value) {
- csp_overrides_.insert_or_assign(directive, value);
+ csp_overrides_.insert_or_assign(directive, GetBraveTrustedTypesValue(directive, value));
}
void WebUIDataSourceImpl::OverrideCrossOriginOpenerPolicy(