commit | 302263bedf6549ed0225fa3f8e32895faf815a81 | [log] [tgz] |
---|---|---|
author | sigbjornf <sigbjornf@opera.com> | Mon Jan 09 12:14:37 2017 |
committer | Commit bot <commit-bot@chromium.org> | Mon Jan 09 12:14:37 2017 |
tree | 23821aca04e2456e2c3afacad7545cc78731984d | |
parent | f5f1407adee2b18b59b33fb8d74739dcc27d8c0b [diff] |
CrossOriginAccessControl: separate access checks and error message generation The checking and construction of legible error messages can with benefit be separated, having the security access checks return an error status which then can be used to generate a suitable error message. Along with separating the two, switch to using StringBuilders. R= BUG= Review-Url: https://codereview.chromium.org/2616323002 Cr-Commit-Position: refs/heads/master@{#442236}