Bug 202004 - http/tests/security/contentSecurityPolicy/user-style-sheet-font-crasher.php emits CSP blocked message multiple times
Summary: http/tests/security/contentSecurityPolicy/user-style-sheet-font-crasher.php e...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Local Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-09-19 13:57 PDT by Daniel Bates
Modified: 2019-09-19 13:57 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bates 2019-09-19 13:57:21 PDT
While working on another bug I noticed that the test http/tests/security/contentSecurityPolicy/user-style-sheet-font-crasher.php emits the console message "Refused to load http://127.0.0.1:8000/security/contentSecurityPolicy/example_font.woff because it does not appear in the font-src directive of the Content Security Policy." multiple times. I would have expected the message to be emitted exactly once. Emitting the message multiple times likely has implications with respect to CSP reporting: multiple reports may be sent.
Comment 1 Radar WebKit Bug Importer 2019-09-19 13:57:38 PDT
<rdar://problem/55533002>