playwright/packages/playwright-core
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
..
bin chore: relax checks when installing channels on unsupported platforms (#33436) 2024-11-04 16:53:13 -08:00
bundles chore: use diff instead of diffmatchpatch (#33550) 2024-11-12 14:46:29 -08:00
src fix(chromium): race between oopif attach and context clear 2024-11-22 16:30:33 +00:00
types fix: isEditable/toBeEditable throw for elements that cannot be editable/readonly (#33713) 2024-11-22 03:40:43 -08:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
.npmignore fix(client-certificates): include socks-certs in npm package (#31872) 2024-07-26 11:04:38 +02:00
browsers.json feat(chromium): roll to r1150 (#33718) 2024-11-22 12:05:16 +01:00
cli.js chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
index.d.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.js chore: refactored minimum Node Major version to variable (#24188) 2023-07-18 19:57:48 +02:00
index.mjs fix: export request from index.jsm (#13158) 2022-03-30 09:35:47 -07:00
package.json chore: mark v1.50.0-next (#33572) 2024-11-13 12:51:54 +01:00
README.md chore: drop dependency on playwright-core in all our packages (#2318) 2020-05-21 13:18:15 -07:00
ThirdPartyNotices.txt chore: use diff instead of diffmatchpatch (#33550) 2024-11-12 14:46:29 -08:00

playwright-core

This package contains the no-browser flavor of Playwright.