Bug 93622 - Content Security Policy directives that begin with an invalid character should log a console warning.
Summary: Content Security Policy directives that begin with an invalid character shoul...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mike West
URL:
Keywords: WebExposed
Depends on:
Blocks: 93197
  Show dependency treegraph
 
Reported: 2012-08-09 09:44 PDT by Mike West
Modified: 2012-08-09 13:08 PDT (History)
2 users (show)

See Also:


Attachments
Patch (5.22 KB, patch)
2012-08-09 09:54 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 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]
Patch
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]
Patch

Here too, if you don't mind. :)
Comment 4 WebKit Review Bot 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>
Comment 5 WebKit Review Bot 2012-08-09 13:08:42 PDT
All reviewed patches have been landed.  Closing bug.