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
192667
Implement duplicate attribute flag on script elements (needed for CSP)
https://bugs.webkit.org/show_bug.cgi?id=192667
Summary
Implement duplicate attribute flag on script elements (needed for CSP)
Andy Paicu
Reported
2018-12-13 09:02:58 PST
After this PR
https://github.com/whatwg/html/pull/4223
, the <script> element will need to record in a flag whether a duplicate attribute was found during parsing. This flag is then used in this CSP check:
https://w3c.github.io/webappsec-csp/#is-element-nonceable
(after this PR lands:
https://github.com/w3c/webappsec-csp/pull/377
) WPT test:
https://github.com/web-platform-tests/wpt/blob/master/content-security-policy/script-src/nonce-enforce-blocked.html
Attachments
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2022-07-01 16:12:40 PDT
We now correctly handle this test case.
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