playwright/packages/playwright-core/src
Dmitry Gozman fbf2cf536a fix(chromium): race between oopif attach and context clear
There is a race between:
- `Runtime.executionContextsCleared` coming in the OOPIF.
- `Page.frameNavigated`/`Target.attachedToTarget` when frame goes local->remote.

As a result, we can have stale execution contexts from the previous non-OOPIF
frame that does not exist anymore, instead of new contexts in the OOPIF.

This causes things like recorder trying to initialize in the wrong context and fail.

Now that we clear contexts upon local->remote switch, recorder waits for
the new context to be created an successfully initializes.
2024-11-22 16:30:33 +00:00
..
cli chore: update headless shell treatment (#33603) 2024-11-14 04:20:44 -08:00
client fix(test): hide response.* calls from reports (#33620) 2024-11-18 13:59:40 +01:00
common chore: move urlMatch to isomorphic (#32142) 2024-08-13 12:47:02 -07:00
image_tools Fix various typos (Fixes #27396) (#27391) 2023-10-04 19:56:42 -07:00
protocol chore: allow highlighting aria template from extension (#33594) 2024-11-13 21:33:38 -08:00
remote chore: extract ws server util (#29247) 2024-01-30 14:36:51 -08:00
server fix(chromium): race between oopif attach and context clear 2024-11-22 16:30:33 +00:00
third_party chore: use diff_match_patch with types (#33254) 2024-10-23 16:04:37 -07:00
utils chore: remove dead code in urlMatches (#33714) 2024-11-21 15:53:28 +01:00
androidServerImpl.ts feat(api): add host option in launchServer options (#30999) 2024-05-27 11:24:23 +02:00
browserServerImpl.ts feat(api): add host option in launchServer options (#30999) 2024-05-27 11:24:23 +02:00
DEPS.list feat(android): add Android.{launchServer,connect} (#18263) 2022-10-24 17:23:11 -07:00
inprocess.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
inProcessFactory.ts chore: move urlMatch to isomorphic (#32142) 2024-08-13 12:47:02 -07:00
outofprocess.ts chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
utilsBundle.ts chore: use diff instead of diffmatchpatch (#33550) 2024-11-12 14:46:29 -08:00
zipBundle.ts chore(har): allow replaying from zip har (#14962) 2022-06-17 16:11:22 -07:00