chore(bidi): fix fragment navigations#39263
Conversation
ddf4139 to
db13a1e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Test results for "tests 1"5 failed 3 flaky38536 passed, 843 skipped Merge workflow run. |
Test results for "MCP"1 failed 4804 passed, 135 skipped Merge workflow run. |
BidiPage.navigateFrame()shouldn't return anewDocumentIdfor fragment navigations. We detect them by storing the navigation IDs ofbrowsingContext.fragmentNavigatedevents, which are always sent before the result of thebrowsingContext.navigatecommand.Fixes the following tests:
page/frame-hierarchy.spec.tspage/page-goto.spec.ts