playwright/packages/playwright-core
Dmitry Gozman 41907915c7
cherry-pick(#10481): fix(tracing): race in stopChunk (#10498)
Consider the following scenario:
- Tracing is started.
- API call is made (e.g. page.waitForResponse), almost finishes, and
  enters onAfterCall where it starts a snapshot.
- tracing.stopChunk is called, and waits for existing actions to finish.
  However, it does so by calling onAfterCall one more time.
- tracing.stopChunk removes instrumentation listener and returns
  to the client.
- Client starts zipping files.
- Original API call finishes the snapshot and saves it to the trace file.

This results in trace file being written to while the zip is still working.
2021-11-23 12:04:37 -08:00
..
bin chore: bail out stable installation when running on Linux Arm64 (#9991) 2021-11-02 16:01:30 -07:00
src cherry-pick(#10481): fix(tracing): race in stopChunk (#10498) 2021-11-23 12:04:37 -08:00
types cherry-pick(#10220): docs(element-handle): discourage the element handle use 2021-11-10 11:31:52 -08:00
.npmignore chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
browsers.json cherry-pick(#10323): feat(webkit): roll to r1578 2021-11-15 11:48:36 -08:00
cli.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.d.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.mjs chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
package.json chore: mark v1.17.0-rc1 (#10366) 2021-11-17 08:43:31 -08:00
README.md chore: drop dependency on playwright-core in all our packages (#2318) 2020-05-21 13:18:15 -07:00

playwright-core

This package contains the no-browser flavor of Playwright.