[webkit-reviews] review granted: [Bug 94432] 'plugin-types' CSP warning should include details about explicit type declaration when relevant. : [Attachment 159302] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 19 13:53:53 PDT 2012


Adam Barth <abarth at webkit.org> has granted Mike West <mkwst at chromium.org>'s
request for review:
Bug 94432: 'plugin-types' CSP warning should include details about explicit
type declaration when relevant.
https://bugs.webkit.org/show_bug.cgi?id=94432

Attachment 159302: Patch
https://bugs.webkit.org/attachment.cgi?id=159302&action=review

------- Additional Comments from Adam Barth <abarth at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=159302&action=review


> Source/WebCore/page/ContentSecurityPolicy.cpp:866
> +	   message = message + "\nWhen enforcing media type restrictions via
CSP, the plugin's media type must be explicitly declared with a 'type'
attribute on the containing element (e.g. '<object type=\"[TYPE GOES HERE]\"
...>').\n";

CSP -> Content-Security-Policy


More information about the webkit-reviews mailing list