DescriptionCrossOriginAccessControl: 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}
Committed: https://chromium.googlesource.com/chromium/src/+/302263bedf6549ed0225fa3f8e32895faf815a81
Patch Set 1 #Patch Set 2 : initialize allowRedirect correctly #
Total comments: 12
Patch Set 3 : refresh error messages #Patch Set 4 : sync expectation #
Messages
Total messages: 18 (13 generated)
|