Fix potentially flaky inspector-protocol tests.

Update the blink layout test:
http/tests/inspector-protocol/frameScheduledNavigation.js

This CL is similar to:
 * https://chromium-review.googlesource.com/c/chromium/src/+/1071630
 * https://chromium-review.googlesource.com/c/chromium/src/+/1071791

Depending on timing and the size of the main resource, new navigations
initiated in <script> may starts before the document is fully loaded.
In this case, frameStartedLoading is not fired because the load didn't
stop in between.

Bug: 831155
Change-Id: I872b7ff9b332893c0b57f921f992e348276e9d42
Reviewed-on: https://chromium-review.googlesource.com/1102681
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568376}
2 files changed