You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug 1935434 Implement forgiving parsing for trusted-types CSP directive. r=smaug
Currently, we just discard the whole directive if an invalid token is
found. With this patch, we instead ignore such a token. Also improves
tests in should-trusted-type-policy-creation-be-blocked-by-csp-002.html
so that we really check that the original trusted-types directive is
preserved after serialization.
See w3c/webappsec-csp#363 (comment)
Differential Revision: https://phabricator.services.mozilla.com/D243358
Copy file name to clipboardExpand all lines: testing/web-platform/meta/trusted-types/should-trusted-type-policy-creation-be-blocked-by-csp-002.html.ini
0 commit comments