playwright/packages/playwright-core/src
Simon Knott 76cca7fc2c
fix(ui): only populate settings once (#31958)
We populate `localStorage` using an init script. Currently, this script
isn't just run for the UI though, but also for all iframes. So we're
resetting `localStorage` every time the UI loads an iframe.

This hasn't been a problem in the past, because the only consumer of
`localStorage`, `Settings`, only read from `localStorage` once and kept
most state in `useState` afterwards. With
https://github.com/microsoft/playwright/pull/31911, this is no longer
true, so the bug starts biting us!

The fix is to ensure the init script isn't run on iframes.
2024-08-01 17:28:48 +02:00
..
cli chore: bump TypeScript to v5.5 (#31532) 2024-07-05 16:31:08 +02:00
client chore: use soft event emitter (#31868) 2024-07-29 17:11:31 -07:00
common chore: use own socks5 server for tests (#31639) 2024-07-11 14:12:48 +02:00
image_tools Fix various typos (Fixes #27396) (#27391) 2023-10-04 19:56:42 -07:00
protocol chore: client certificates api review (#31826) 2024-07-23 22:56:36 +02:00
remote chore: extract ws server util (#29247) 2024-01-30 14:36:51 -08:00
server fix(ui): only populate settings once (#31958) 2024-08-01 17:28:48 +02:00
third_party chore: organize fake timers (#31156) 2024-06-05 09:25:12 -07:00
utils chore: use happy eyeballs for client-certificates (#31859) 2024-07-25 18:55:47 +02: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: mark outofprocess connection not as remote (#28156) 2023-12-06 17:58:19 -08:00
outofprocess.ts chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
utilsBundle.ts chore: get rid of rimraf package (#27790) 2023-10-26 19:41:00 +02:00
zipBundle.ts chore(har): allow replaying from zip har (#14962) 2022-06-17 16:11:22 -07:00