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>
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    
Description Flags
Patch none

Description Mike West 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.
Comment 1 Mike West 2012-08-09 09:54:46 PDT
Created attachment 157472 [details]
Comment 2 Mike West 2012-08-09 09:55:49 PDT
More moar logging. :)

WDYT, Adam?
Comment 3 Mike West 2012-08-09 11:31:41 PDT
Comment on attachment 157472 [details]

Here too, if you don't mind. :)
Comment 4 WebKit Review Bot 2012-08-09 13:08:39 PDT
Comment on attachment 157472 [details]

Clearing flags on attachment: 157472

Committed r125195: <http://trac.webkit.org/changeset/125195>
Comment 5 WebKit Review Bot 2012-08-09 13:08:42 PDT
All reviewed patches have been landed.  Closing bug.