Bug 112568

Summary: CSP 1.1: Add 'effective-directive' to violation reports.
Product: WebKit Reporter: Mike West <mkwst>
Component: WebCore Misc.Assignee: Mike West <mkwst>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, mkwst+watchlist, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 85558    
Attachments:
Description Flags
Patch none

Description Mike West 2013-03-18 07:10:50 PDT
https://dvcs.w3.org/hg/content-security-policy/rev/bc2bb0e5072a introduced an 'effective-directive' field on violation reports, which allows developers to distinguish between resource types when 'default-src' is the violated directive.

The name might change; we should be sure to implement this behind the CSP_NEXT flag.
Comment 1 Mike West 2013-03-18 07:36:11 PDT
Created attachment 193560 [details]
Patch
Comment 2 Mike West 2013-03-18 13:25:18 PDT
Bots are happy. Mind taking a look, Adam?
Comment 3 Mike West 2013-03-18 15:21:34 PDT
Comment on attachment 193560 [details]
Patch

Thanks!
Comment 4 WebKit Review Bot 2013-03-18 15:49:22 PDT
Comment on attachment 193560 [details]
Patch

Clearing flags on attachment: 193560

Committed r146137: <http://trac.webkit.org/changeset/146137>
Comment 5 WebKit Review Bot 2013-03-18 15:49:25 PDT
All reviewed patches have been landed.  Closing bug.