Bug 156092

Summary: CSP: child-src violations reported as frame-src violation
Product: WebKit Reporter: Daniel Bates <dbates>
Component: WebCore Misc.Assignee: Daniel Bates <dbates>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, bfulgham, commit-queue, mkwst, ryanhaddad, webkit-bug-importer
Priority: P2 Keywords: InRadar, WebExposed
Version: WebKit Local Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test case
none
Patch and Layout Tests aestes: review+

Daniel Bates
Reported 2016-03-31 16:44:48 PDT
Frame loads blocked by directive child-src are reported as being blocked by directive frame-src in both the console message and dispatched SecurityPolicyViolation event. You can see observe these issue by opening the attached test, test.html, and looking at the test output and the console message emitted in the Web Inspector.
Attachments
Test case (1.18 KB, text/html)
2016-03-31 16:47 PDT, Daniel Bates
no flags
Patch and Layout Tests (19.16 KB, patch)
2016-03-31 18:29 PDT, Daniel Bates
aestes: review+
Daniel Bates
Comment 1 2016-03-31 16:47:40 PDT
Created attachment 275356 [details] Test case
Radar WebKit Bug Importer
Comment 2 2016-03-31 17:04:05 PDT
Daniel Bates
Comment 3 2016-03-31 18:29:56 PDT
Created attachment 275364 [details] Patch and Layout Tests
Daniel Bates
Comment 4 2016-04-01 11:40:26 PDT
Ryan Haddad
Comment 5 2016-04-01 14:01:28 PDT
The tests added with this change were rebaselined in <http://trac.webkit.org/changeset/198954>
Note You need to log in before you can comment on or make changes to this bug.