fix(Page): Page.waitForNavigation should correctly handle mixed content (#2339)

This patch teaches Page.waitForNavigation to correctly handle navigation
to pages that have frames that might never load.

These frames include:
- frames which main resource loading was aborted due to mixed-content
  error
- frames that artificially called `window.stop()` to interrupt loading
  themselves

Fixes #1936.
This commit is contained in:
Andrey Lushnikov
2018-04-10 15:59:41 -07:00
committed by GitHub
parent 5089d2ec2e
commit a7d59b587e
4 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
<iframe src='./frame.html'></iframe>