Wait for load event in BookmarkAppNavigationBrowserTest
We are currently waiting for navigation commit, which is too early to immediately access document.body. We should instead wait for load event. This happens to work today because the first data chunk we process when committing navigation is big enough to construct document.body in these tests. This may not always be the case though. Bug: none Change-Id: I0025f9419e700b9eb6f472f051dc92888b4be19e Reviewed-on: https://chromium-review.googlesource.com/c/1483362Reviewed-by:calamity <calamity@chromium.org> Commit-Queue: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#635107}
Showing
Please register or sign in to comment