mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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:
1
test/assets/frames/one-frame.html
Normal file
1
test/assets/frames/one-frame.html
Normal file
@@ -0,0 +1 @@
|
||||
<iframe src='./frame.html'></iframe>
|
||||
Reference in New Issue
Block a user