WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
246616
Sandbox not working in CSP
https://bugs.webkit.org/show_bug.cgi?id=246616
Summary
Sandbox not working in CSP
Carlos J.
Reported
2022-10-17 04:48:57 PDT
When the sandbox directive is included in the content_security_policy, even when it includes allow-scripts, it breaks all functionality from the extensions. It seems allow-scripts is simply ignored. A test/demo version can be found here:
https://github.com/carlosjeurissen/webext-tech-demo-extensions/tree/main/issues/safari-9612454-sandbox-in-csp
In normal browsers, "loading..." should change to "loaded". Not in safari due to this issue. Previously reported as:
https://feedbackassistant.apple.com/feedback/9612454
https://developer.apple.com/forums/thread/669989
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2022-10-17 10:34:26 PDT
This was fixed in iOS 15.4 outside WebKit. Please reopen if this still reproduces for you.
Carlos J.
Comment 2
2022-10-18 06:29:18 PDT
Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug