mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Auto merge of #26005 - jdm:hubs-csp, r=nox
Update content-security-policy. This allows hubs.mozilla.org to load instead of panicking due to unimplemented CSP features. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24702 - [x] These changes do not require tests because we never enabled the CSP testsuite
This commit is contained in:
commit
a9965db69f
7 changed files with 16 additions and 6 deletions
|
@ -458,6 +458,7 @@ impl HTMLScriptElement {
|
|||
&text,
|
||||
) == csp::CheckResult::Blocked
|
||||
{
|
||||
warn!("Blocking inline script due to CSP");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue