Commit Graph

170 Commits

Author SHA1 Message Date
Andrey Lushnikov
2064d27dc6
fix(installer): retain browsers installed via Playwrigth CLI (#5904)
Browser registry is responsible for 3 things:
1. Remove downloaded browsers if there are no packages that refer to them
2. Install default browsers needed for the current package
3. Install browsers on-demand when used through Playwright CLI

Currently, registry relies on a single "download" field in `browsers.json`
to carry both (1) and (2). However, browsers in (3) are marked as
`download: false` so that they aren't installed automatically in (2), so
auto-remove procedure in (1) removes them on subsequent installation.

One possible approach to fix this would be modifying package's `browsers.json` to
change `download: false` to `true` when browsers are installed with
Playwright CLI. This approach was explored here:
bc04a51800

We decided against this since we have a history of issues related to
package modifications after NPM installation. This breaks all
sorts of yarn/npm caching mechanisms.

Instead, this patch is a two-step refactor:
- remove the "download" field in `browsers.json`. Now, all registries
(including old ones from previously-released versions) will retain any
browsers that are mentioned in the `browsers.json`.
- add a new flag "installByDefault", that is **only used** for default
installation.

With this change, the registry tasks are done like this:
- (1) auto-removal: if browser has a back reference, it is retained,
otherwise it is removed from registry
- (2) default installation: use only `installByDefault` to carry default installations
- (3) CLI installation: simply installs browsers. Since we retain
everythings that's referenced in (1), browsers aren't removed.

Fixes #5902
2021-03-22 11:43:29 -07:00
Andrey Lushnikov
c435ff3515
feat(firefox): roll Firefox to r1238 (#5873) 2021-03-18 12:16:13 -07:00
Andrey Lushnikov
ae460f01fc
devops: start downloading webkit fork on Mac 10.14 (#5837)
References #5833
2021-03-17 09:34:09 -07:00
Andrey Lushnikov
e8a33c4039
feat(firefox): roll Firefox to r1237 (#5849)
This patch rolls Firefox to r1237. Upstream firefox still struggles
with crashes with certain videos: https://bugzilla.mozilla.org/show_bug.cgi?id=1697004

This PR also workarounds this crash by disabling webrender.

References #5721
2021-03-16 23:27:39 -07:00
Yury Semikhatsky
8df4dcb0de
feat(webkit): bump to 1446 (#5844) 2021-03-16 17:23:42 -07:00
Dmitry Gozman
b3561e6c41
feat(chromium): bump to 857950 (#5742) 2021-03-05 18:09:38 -08:00
Yury Semikhatsky
1a0ccc1383
feat(webkit): bump to 1443 (#5665) 2021-03-02 09:15:07 -08:00
Yury Semikhatsky
4b541749ac
feat(webkit): bump to 1442 (#5622) 2021-02-25 23:39:48 -08:00
Andrey Lushnikov
eb9c8ce20c
feat(chromium): roll Chromium to Dev @ Feb 19, 2021 (#5536) 2021-02-22 11:17:55 -08:00
Andrey Lushnikov
b41a0c2f40
feat(webkit): roll WebKit to r1438 (#5540)
Fixes #5472
2021-02-22 09:04:04 -08:00
Andrey Lushnikov
791c8dabe1
feat: roll firefox to r1234 (#5539)
This roll includes:
- fix for Windows start
- crashpad disabling
- refreshed Firefox Beta @ Feb 19, 2021

Fixes #4660, fixes #4780
2021-02-20 17:30:31 -08:00
Yury Semikhatsky
5f9acfaccb
feat(webkit): bump to 1436 (#5513) 2021-02-19 13:47:47 -08:00
Andrey Lushnikov
b6bd7c0d6a
feat(chromium): roll Chromium to r851527 (#5434)
Fixes #5197
2021-02-16 14:21:47 -08:00
Andrey Lushnikov
d0352cfb71
feat(firefox): roll Firefox to r1230 (#5473)
References #4987
2021-02-16 09:23:02 -08:00
Andrey Lushnikov
b5d3080e34
feat(firefox): roll Firefox to r1229 (#5428) 2021-02-12 00:10:27 -08:00
Andrey Lushnikov
6113d4d50d
feat(chromium): roll Chromium to r846621 (#5413) 2021-02-11 07:43:43 -08:00
Yury Semikhatsky
997bd0827c
feat(webkit): bump to 1432 (#5300) 2021-02-04 08:53:00 -08:00
Andrey Lushnikov
3c36322c72
feat(ffmpeg): roll FFMPEG to r1005 (#5303)
Drive-By: update `//utils/roll_browser.js` script to support FFMPEG

References #5278
2021-02-03 21:15:09 -08:00
Andrey Lushnikov
039e7af05f
feat(firefox): roll Firefox to r1228 (#5302) 2021-02-03 20:59:47 -08:00
Andrey Lushnikov
cb1b64289c
devops: downloading ffmpeg during install step (#5249)
This patch starts downloading FFMPEG like we download our browsers
instead of bundling it in the NPM package.

With this patch, NPM size is reduced from 8.8MB to 1.7MB.

Consequences:
- `npx playwright` is drastically faster now
- playwright driver for language bindings is way smaller
- projects that bundle Playwright can pass Apple Notorization

Fixes #5193
2021-02-03 09:19:11 -08:00
Yury Semikhatsky
f3cc4dfe6d
feat(webkit): bump to 1428 (#5140) 2021-01-26 09:42:06 -08:00
Dmitry Gozman
beed9a79a3
feat(chromium): bump to 845618 (#5138) 2021-01-25 07:45:21 -08:00
Andrey Lushnikov
4fbc3c8d24
feat(firefox): roll to r1226 (#5109) 2021-01-22 22:09:20 +03:00
Yury Semikhatsky
d00c5cfd64
feat(webkit): bump to 1423 (#5057) 2021-01-19 14:02:41 -08:00
Dmitry Gozman
0a7b917ee3
feat(chromium): bump to 844399 (#5044) 2021-01-17 17:28:06 -08:00
Yury Semikhatsky
3d258631b1
feat(webkit): bump to 1420 (#4980) 2021-01-12 11:37:17 -08:00
Andrey Lushnikov
068ad0f082
feat(firefox): roll Firefox to r1225 (#4908) 2021-01-12 02:50:21 +03:00
Yury Semikhatsky
8fd34c6beb
feat(webkit): bump to 1415 (#4914) 2021-01-06 13:44:14 -08:00
Yury Semikhatsky
d8187bb5af
feat(webkit): bump to 1412 (#4886) 2021-01-05 10:52:50 -08:00
Yury Semikhatsky
eb50baff2b
browser(firefox): bump to 1224 (#4809) 2020-12-22 17:53:19 -08:00
Yury Semikhatsky
3219057ab0
fix(webkit): support utf-8 characters in postData, bump to 1407 (#4744) 2020-12-17 18:09:06 -08:00
Dmitry Gozman
f939fdc1a1
feat(firefox): bump to 1221 (#4656) 2020-12-09 16:07:26 -08:00
Yury Semikhatsky
e0a02c3f43
feat(webkit): bump to 1402 (#4651) 2020-12-09 09:49:29 -08:00
Dmitry Gozman
c36f5fa33a
feat(chromium): roll to 833159 (#4626) 2020-12-07 15:55:22 -08:00
Andrey Lushnikov
20201310cb
feat(firefox): roll Firefox to r1218 (#4620)
Fixes #4297
2020-12-07 11:42:21 -08:00
Dmitry Gozman
3846d05f02
feat(firefox): bump to 1217 (#4560)
Also add a test for multiple dialogs of the same type.
2020-12-01 14:40:03 -08:00
Joel Einbinder
9c677f64e0
feat(webkit): roll webkit to r1395 (#4550) 2020-12-01 05:26:53 -08:00
Andrey Lushnikov
7d90f5ef25
feat(firefox): roll Firefox to r1215 (#4526) 2020-11-25 14:54:40 -08:00
Andrey Lushnikov
5976e5dc16
feat(firefox): roll Firefox to r1213 (#4514) 2020-11-24 09:52:37 -08:00
Pavel Feldman
a0587949a5
feat(chromium): roll to r828656 (#4503) 2020-11-20 08:10:27 -08:00
Dmitry Gozman
1278c25442
feat(webkit): roll to 1391 (#4494) 2020-11-19 11:57:20 -08:00
Yury Semikhatsky
b064f9306e
feat(webkit): bump to 1390 (#4483) 2020-11-18 19:09:41 -08:00
Dmitry Gozman
cb21d5dc54
feat(chromium): roll to 827767 (#4471) 2020-11-17 16:09:51 -08:00
Pavel Feldman
ab4a627988
feat(webkit): roll to r1388 (#4464) 2020-11-17 08:09:26 -08:00
Pavel Feldman
1f5b75273d
feat(chromium): roll to r827102 (#4462) 2020-11-16 18:56:06 -08:00
Yury Semikhatsky
bbe755c7c4
feat(firefox): bump to 1210 (#4459) 2020-11-16 18:03:55 -08:00
Yury Semikhatsky
dfe3552b59
feat(route): support URL overrides in continue (#4438) 2020-11-16 09:59:00 -08:00
Yury Semikhatsky
732e83f48d
feat(webkit): bump to 1385 (#4430) 2020-11-13 16:29:20 -08:00
Yury Semikhatsky
914c6eec23
feat(firefox): bump to 1206 (#4425) 2020-11-13 15:21:16 -08:00
Yury Semikhatsky
58b5872ecb
feat(webkit): bump to 1383 (#4394) 2020-11-10 09:31:20 -08:00