Bug 112568 - CSP 1.1: Add 'effective-directive' to violation reports.
Summary: CSP 1.1: Add 'effective-directive' to violation reports.
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mike West
Depends on:
Blocks: 85558
  Show dependency treegraph
Reported: 2013-03-18 07:10 PDT by Mike West
Modified: 2013-03-18 15:49 PDT (History)
3 users (show)

See Also:

Patch (47.64 KB, patch)
2013-03-18 07:36 PDT, Mike West
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
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]

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

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.