Adding a document URL check to match the one in the browser
This adds a document URL HTTP/HTTPS check in the renderer (anchor_element_metrics) for OnClick. This check already happens in OnLoad and on the browser side, and due to the browser side check being a fast fail, this causes a crash if the user is on a data:// page with an https:// anchor element. Bug: 879999 Change-Id: Iec3de21649d8f4f2d81a4c9c9e23cfe02fbbc9d7 Reviewed-on: https://chromium-review.googlesource.com/1204830Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Tarun Bansal <tbansal@chromium.org> Commit-Queue: Ryan Sturm <ryansturm@chromium.org> Cr-Commit-Position: refs/heads/master@{#588956}
Showing
Please register or sign in to comment