Skip to content

Conversation

@aslushnikov
Copy link
Contributor

@aslushnikov aslushnikov commented Apr 10, 2018

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

These never-loading frames include:

  • frames which main resource loading was aborted due to mixed-content
    error
  • frames that called window.stop() to interrupt their loading

Fixes #1936.

@aslushnikov aslushnikov force-pushed the fix-loading-mixed-content branch from ef3c7c2 to 0a6866d Compare April 10, 2018 22:31
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 puppeteer#1936.
@aslushnikov aslushnikov force-pushed the fix-loading-mixed-content branch from 0a6866d to 6c497ef Compare April 10, 2018 22:34
@aslushnikov aslushnikov merged commit a7d59b5 into puppeteer:master Apr 10, 2018
@aslushnikov aslushnikov deleted the fix-loading-mixed-content branch May 9, 2018 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants