Bug 155133
Summary: | CSP: Remove hardcoded directive names from ContentSecurityPolicySourceList::isProtocolAllowedByStar() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Daniel Bates <dbates> |
Component: | WebCore Misc. | Assignee: | Daniel Bates <dbates> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bfulgham |
Priority: | P2 | ||
Version: | WebKit Local Build | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | 154122 | ||
Bug Blocks: |
Daniel Bates
The patch for bug #154122 hardcoded the directive names "img-src" and "media-src" in the implementation of ContentSecurityPolicySourceList::isProtocolAllowedByStar(). Instead we should make use of the constants in ContentSecurityPolicyDirectiveList.cpp.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Daniel Bates
I will fix this bug as part of the refactoring in the patch for bug #155842.
Daniel Bates
Fixed in <http://trac.webkit.org/changeset/198657>.