Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Make JS injection validation code robust to unexpected types
The result object returned by |WKWebView evaluateJavaScript completionHandler:| may have an unexpected type. The check to determine if the windowID has been injected should not crash if the result object has an unexpected type. Fixed: 1050940 Change-Id: I326d474e461286ed02b90191ab2868d15afe957d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2073059 Commit-Queue: Mike Dougherty <michaeldo@chromium.org> Reviewed-by: Eugene But <eugenebut@chromium.org> Auto-Submit: Mike Dougherty <michaeldo@chromium.org> Cr-Commit-Position: refs/heads/master@{#744547}
- Loading branch information