Fix logic defect of while-loop in find_in_page.js
This CL fixes a logic defect of a while-loop in the "isElementVisible_" function of find_in_page.js. This defect may cause a Js exception of trying to get "ownerDocument" property on "null". Bug: 912717 Change-Id: I32b39315983004b28fd6a2000b9ff7317225f8bf Reviewed-on: https://chromium-review.googlesource.com/c/1370173Reviewed-by:Stepan Khapugin <stkhapugin@chromium.org> Commit-Queue: Yi Su <mrsuyi@chromium.org> Cr-Commit-Position: refs/heads/master@{#615477}
Showing
Please register or sign in to comment