-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: emit
browsingContext.contextDestroyed
once (#2563)
Rely on the new CDP event `Page.frameSubtreeWillBeDetached`, do not emit extra `browsingContext.contextDestroyed`, only for the top-level frame to be destroyed. Emit the event for nested iframes on document change. --------- Co-authored-by: browser-automation-bot <133232582+browser-automation-bot@users.noreply.github.com>
- Loading branch information
1 parent
e8827d5
commit 930d401
Showing
8 changed files
with
43 additions
and
38 deletions.
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
6 changes: 0 additions & 6 deletions
6
.../headful/webdriver/tests/bidi/browsing_context/context_destroyed/context_destroyed.py.ini
This file was deleted.
Oops, something went wrong.
5 changes: 4 additions & 1 deletion
5
...metadata/chromedriver/headful/webdriver/tests/bidi/browsing_context/navigate/error.py.ini
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[error.py] | ||
[test_with_new_navigation_inside_page] | ||
expected: FAIL | ||
expected: [FAIL, PASS] | ||
|
||
[test_with_new_navigation] | ||
expected: [FAIL, PASS] |
6 changes: 0 additions & 6 deletions
6
...headless/webdriver/tests/bidi/browsing_context/context_destroyed/context_destroyed.py.ini
This file was deleted.
Oops, something went wrong.
5 changes: 4 additions & 1 deletion
5
...etadata/chromedriver/headless/webdriver/tests/bidi/browsing_context/navigate/error.py.ini
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[error.py] | ||
[test_with_new_navigation_inside_page] | ||
expected: FAIL | ||
expected: [FAIL, PASS] | ||
|
||
[test_with_new_navigation] | ||
expected: [FAIL, PASS] |
6 changes: 0 additions & 6 deletions
6
...headless/webdriver/tests/bidi/browsing_context/context_destroyed/context_destroyed.py.ini
This file was deleted.
Oops, something went wrong.
5 changes: 4 additions & 1 deletion
5
wpt-metadata/mapper/headless/webdriver/tests/bidi/browsing_context/navigate/error.py.ini
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[error.py] | ||
[test_with_new_navigation_inside_page] | ||
expected: FAIL | ||
expected: [FAIL, PASS] | ||
|
||
[test_with_new_navigation] | ||
expected: [FAIL, PASS] |