Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't break pages which load child frames quickly
If a page loads a child frame before the top frame has finished loading, we'd treat the child frame as the top-level frame, and the original frame would never get all of its nodes. This can be seen in the addition to TestLoadIframe; before the fix, that test would hang. The problem was that we treated all navigated frames as top-level frames, when that's not true. Only when a newly navigated frame has no parent frame should we treat it as our new top-level frame. Fixes #304.
- Loading branch information
Showing
3 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters