playwright/packages/playwright-core/src
Andrey Lushnikov 9c6a1a6ff0
fix: make sure screenshots work when main page context is tampered (#20615)
This patch has 2 fixes:
- screenshot code was accidentally using main page context to fetch
  page layout metrics instead of a utility context
- Avoid usage of `self.eval` inside utility context since it escapes
Firefox sandbox. This turns out to be an upstream bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1814898

Fixes #20434
2023-02-03 10:01:23 -08:00
..
cli feat(trace-viewer): allow host and port to be specified (#20258) 2023-01-27 14:20:25 -08:00
client feat(route): add maxRedirects option to Route.fetch (#20567) 2023-02-01 14:43:21 -08:00
common chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
containers chore: remove separate network tethering client connection (#20267) 2023-01-21 18:18:22 -08:00
grid chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
image_tools test: enable ssim-cie94 image comparison algorithm for our tests (#19313) 2022-12-29 23:48:28 -08:00
protocol feat(route): match pattern on the server side (#20410) 2023-01-27 10:43:19 -08:00
remote Revert "chore: respect headless option when reusing browser (#19980)" (#20336) 2023-01-24 11:07:53 -08:00
server fix: make sure screenshots work when main page context is tampered (#20615) 2023-02-03 10:01:23 -08:00
third_party feat(containers): implement reverse proxy for novnc and server (#18569) 2022-12-08 17:17:18 -08:00
utils fix(locators): properly escape slash inside attributes (#20510) 2023-01-30 13:27:41 -08:00
androidServerImpl.ts chore: remove separate network tethering client connection (#20267) 2023-01-21 18:18:22 -08:00
browserServerImpl.ts chore: remove separate network tethering client connection (#20267) 2023-01-21 18:18:22 -08: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: fix language binding based install message (#18480) 2022-11-01 13:46:17 -07:00
outofprocess.ts test: mark driver mode as remote (#15402) 2022-07-06 09:20:07 -07:00
utilsBundle.ts fix(html): test and fix reporter timing display (#19670) 2022-12-22 15:57:55 -08:00
zipBundle.ts chore(har): allow replaying from zip har (#14962) 2022-06-17 16:11:22 -07:00