playwright/packages
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
..
html-reporter chore(html): hmr report should survive reload (#33696) 2024-11-20 16:35:39 +01:00
playwright chore: climb file tree to git root for patches (#33722) 2024-11-21 17:32:07 -08:00
playwright-browser-chromium chore: update headless shell treatment (#33603) 2024-11-14 04:20:44 -08:00
playwright-browser-firefox chore: mark v1.50.0-next (#33572) 2024-11-13 12:51:54 +01:00
playwright-browser-webkit chore: mark v1.50.0-next (#33572) 2024-11-13 12:51:54 +01:00
playwright-chromium chore: update headless shell treatment (#33603) 2024-11-14 04:20:44 -08:00
playwright-core fix(chromium): race between oopif attach and context clear 2024-11-22 16:30:33 +00:00
playwright-ct-core chore: mark v1.50.0-next (#33572) 2024-11-13 12:51:54 +01:00
playwright-ct-react chore: mark v1.50.0-next (#33572) 2024-11-13 12:51:54 +01:00
playwright-ct-react17 chore: mark v1.50.0-next (#33572) 2024-11-13 12:51:54 +01:00
playwright-ct-svelte chore: mark v1.50.0-next (#33572) 2024-11-13 12:51:54 +01:00
playwright-ct-vue chore: mark v1.50.0-next (#33572) 2024-11-13 12:51:54 +01:00
playwright-firefox chore: mark v1.50.0-next (#33572) 2024-11-13 12:51:54 +01:00
playwright-test chore: mark v1.50.0-next (#33572) 2024-11-13 12:51:54 +01:00
playwright-webkit chore: mark v1.50.0-next (#33572) 2024-11-13 12:51:54 +01:00
protocol/src chore: allow highlighting aria template from extension (#33594) 2024-11-13 21:33:38 -08:00
recorder chore: add cm placeholder text (#33635) 2024-11-15 16:19:35 -08:00
trace/src fix(tracing): use page swap timestamp to find closest screenshot (#32512) 2024-09-10 14:32:33 +02:00
trace-viewer feat(trace viewer): add "Copy as Playwright Request" button (#33298) 2024-11-20 10:16:43 +01:00
web chore: add cm placeholder text (#33635) 2024-11-15 16:19:35 -08:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00