RESOLVED FIXED 155133
CSP: Remove hardcoded directive names from ContentSecurityPolicySourceList::isProtocolAllowedByStar()
https://bugs.webkit.org/show_bug.cgi?id=155133
Summary CSP: Remove hardcoded directive names from ContentSecurityPolicySourceList::i...
Daniel Bates
Reported 2016-03-07 14:12:32 PST
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
Daniel Bates
Comment 1 2016-03-24 11:06:43 PDT
I will fix this bug as part of the refactoring in the patch for bug #155842.
Daniel Bates
Comment 2 2016-03-24 19:15:02 PDT
Note You need to log in before you can comment on or make changes to this bug.