- 
Yi Su authoredCurrent implementation of search_engine.js finds Open Search <link> when the Js file is injected without a check on page's loading status. This CL adds a check for document.readyState, so that the finding process will only be executed when the page is fully loaded. Bug: 433824 Change-Id: I3384081dd3079f15dba6a727cf1373edc4b593ba Reviewed-on: https://chromium-review.googlesource.com/c/1323716 Commit-Queue: Yi Su <mrsuyi@chromium.org> Reviewed-by: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#606406} d0ec7fd4