playwright/packages/playwright-core/src/server
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
..
android devops: make Android driver compile (#31360) 2024-06-18 18:23:29 +02:00
chromium feat(ffmpeg): roll to r1010 (#31949) 2024-08-01 13:17:11 +02:00
dispatchers Revert "feat: introduce touchscreen.touch() for dispatching raw touch… (#31823) 2024-07-23 10:29:37 -07:00
electron fix(electron): flaky startup if stderr comes in too fast (#30855) 2024-05-21 12:15:05 -07:00
firefox Revert "feat: introduce touchscreen.touch() for dispatching raw touch… (#31823) 2024-07-23 10:29:37 -07:00
har feat(trace-viewer): display text attachments in ui mode (#31215) 2024-07-08 11:16:14 -07:00
injected test: unflake contextmenu recorder test (#31749) 2024-07-26 12:43:05 +02:00
isomorphic chore: make sure error stack includes message as before #31691 (#31934) 2024-07-31 10:58:37 -07:00
recorder fix(recorder): do not ignore signals except for navigation (#30994) 2024-05-23 17:40:39 -07:00
registry fix: add libicu74 dependency to webkit Ubuntu 24.04 (#31152) 2024-06-04 21:48:44 +02:00
trace fix(ui mode): allow --updateSnapshots (#31584) 2024-07-08 01:08:57 -07:00
webkit chore: update WebKit version to 18.0 (#31873) 2024-07-26 11:32:51 +02:00
accessibility.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
artifact.ts chore: split error to client and server sides (#27672) 2023-10-17 21:34:02 -07:00
browser.ts Revert "feat(trace): record trace upon browser closure (#31563)" (#31677) 2024-07-15 01:08:51 -07:00
browserContext.ts chore: client certificates api review (#31826) 2024-07-23 22:56:36 +02:00
browserType.ts feat: support client certificates (#31529) 2024-07-12 11:42:24 +02:00
clock.ts chore: introduce helpers for non-stalling eval on page/context (#31658) 2024-07-12 02:26:16 -07:00
console.ts feat(electron): expose ElectronApplication console events (#29322) 2024-02-05 21:30:54 +01:00
cookieStore.ts fix: override cookie even if new is expired (#17998) 2022-10-11 23:06:16 -07:00
debugController.ts chore: remove deprecated debug controller events (#29203) 2024-01-29 14:58:29 -08:00
debugger.ts fix(pause): ignore page.pause on the server (#23417) 2023-06-02 08:32:30 -07:00
DEPS.list fix(ui-mode/tv): do not open new tab on macOS (#26877) 2023-09-06 22:57:29 +02:00
deviceDescriptors.ts chore: make NodeSnapshot type recursive and more (#30619) 2024-05-08 11:08:40 -07:00
deviceDescriptorsSource.json feat(chromium): roll to r1129 (#31955) 2024-08-01 14:32:44 +02:00
dialog.ts feat: browserContext.on('dialog'/'console') (#22805) 2023-05-04 15:11:46 -07:00
dom.ts chore: deprecate/remove noWaitAfter from some actions (#31739) 2024-07-18 00:19:08 -07:00
download.ts fix: download of attachments in UI Mode (#26407) 2023-08-17 10:57:28 +02:00
errors.ts chore: split error to client and server sides (#27672) 2023-10-17 21:34:02 -07:00
fetch.ts fix(client-certificates): don't use proxy when using BrowserContext.request (#31898) 2024-07-29 16:44:53 +02:00
fileChooser.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
fileUploadUtils.ts feat: allow folder uploads (#31165) 2024-06-12 22:20:18 +02:00
formData.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
frames.ts chore: deprecate/remove noWaitAfter from some actions (#31739) 2024-07-18 00:19:08 -07:00
frameSelectors.ts chore: unify target closed errors (#27540) 2023-10-12 11:05:34 -07:00
helper.ts fix(connect): include websocket close reason in the error message (#30203) 2024-04-01 21:05:33 -07:00
index.ts chore: prepare to reuse test server from ui mode (#29965) 2024-03-18 09:50:11 -07:00
input.ts Revert "feat: introduce touchscreen.touch() for dispatching raw touch… (#31823) 2024-07-23 10:29:37 -07:00
instrumentation.ts chore: remove unused kTestSdkObjects (#31665) 2024-07-12 11:56:16 -07:00
javascript.ts chore: introduce clock test mode (#31110) 2024-05-31 14:44:26 -07:00
launchApp.ts fix(ui): only populate settings once (#31958) 2024-08-01 17:28:48 +02:00
macEditingCommands.ts feat(keyboard): support simple cut-pasting using meta+x/v (#18756) 2022-11-29 12:58:14 -08:00
network.ts fix: fulfill with unassigned status codes (#30856) 2024-05-17 09:32:40 -07:00
page.ts chore: introduce helpers for non-stalling eval on page/context (#31658) 2024-07-12 02:26:16 -07:00
pipeTransport.ts fix(connect): include websocket close reason in the error message (#30203) 2024-04-01 21:05:33 -07:00
playwright.ts chore: extract ws server util (#29247) 2024-01-30 14:36:51 -08:00
progress.ts chore: extract ws server util (#29247) 2024-01-30 14:36:51 -08:00
protocolError.ts chore: push protocol error conversion to dispatcher (#27608) 2023-10-16 13:13:00 -07:00
recorder.ts fix: match client step and server action by explicit stepId (#30641) 2024-05-14 12:10:46 -07:00
screenshotter.ts chore: introduce helpers for non-stalling eval on page/context (#31658) 2024-07-12 02:26:16 -07:00
selectors.ts fix(locator): locator(locator) method uses internal:chain instead of >> (#24235) 2023-07-14 12:21:45 -07:00
socksClientCertificatesInterceptor.ts fix(client-certificates): use matching origin for connections on :443 (#31913) 2024-07-30 12:23:57 +02:00
socksInterceptor.ts chore: fix all Proxy() to account for symbol properties (#21272) 2023-02-28 12:45:14 -08:00
transport.ts fix(connect): include websocket close reason in the error message (#30203) 2024-04-01 21:05:33 -07:00
types.ts chore: deprecate/remove noWaitAfter from some actions (#31739) 2024-07-18 00:19:08 -07:00
usKeyboardLayout.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00