Detect CSP errors from translate.js and pass it back to native code.
Currently all CSP errors are reported wrongly as INITIALIZATION_ERROR, this change will report it as BAD_ORIGIN. Change-Id: I2cc09d9dcd722ab0657605e540acac69e142eb6c Bug: 686364 Reviewed-on: https://chromium-review.googlesource.com/1141047 Commit-Queue: John Wu <jzw@chromium.org> Reviewed-by:David Roger <droger@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#585580}
Showing
Please register or sign in to comment