Catch EvalError thrown by element.js in translate.
CSP can prevent eval and will cause this error: "refused to evaluate a string as javascript because 'unsafe-eval'" This fails silently on iOS so we need to catch it. Bug: 686364 Change-Id: I5de275576670846dffc29f9f2c3916259196e70f Reviewed-on: https://chromium-review.googlesource.com/1183944Reviewed-by:David Roger <droger@chromium.org> Commit-Queue: John Wu <jzw@chromium.org> Cr-Commit-Position: refs/heads/master@{#586055}
Showing
Please register or sign in to comment