Bug 93622

Summary: Content Security Policy directives that begin with an invalid character should log a console warning.
Product: WebKit Reporter: Mike West <mkwst>
Component: WebCore Misc.Assignee: Mike West <mkwst>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, webkit.review.bot
Priority: P2 Keywords: WebExposed
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 93197    
Attachments:
Description Flags
Patch none

Mike West
Reported 2012-08-09 09:44:34 PDT
Directives that begin with invalid characters are silently ignored; we should log something to the console to set developers' expectations correctly.
Attachments
Patch (5.22 KB, patch)
2012-08-09 09:54 PDT, Mike West
no flags
Mike West
Comment 1 2012-08-09 09:54:46 PDT
Mike West
Comment 2 2012-08-09 09:55:49 PDT
More moar logging. :) WDYT, Adam?
Mike West
Comment 3 2012-08-09 11:31:41 PDT
Comment on attachment 157472 [details] Patch Here too, if you don't mind. :)
WebKit Review Bot
Comment 4 2012-08-09 13:08:39 PDT
Comment on attachment 157472 [details] Patch Clearing flags on attachment: 157472 Committed r125195: <http://trac.webkit.org/changeset/125195>
WebKit Review Bot
Comment 5 2012-08-09 13:08:42 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.