Commit Graph

277 Commits

Author SHA1 Message Date
Max Schmitt
fc3fa85914
feat(firefox-beta): roll to 1267 (#7420) 2021-07-01 18:51:49 +02:00
Yury Semikhatsky
79b2e5ddeb
feat(webkit): bump to 1500 (#7224) 2021-06-18 10:20:09 -07:00
Andrey Lushnikov
0cfea9a623
feat(chromium): roll to r891964 (#7185) 2021-06-16 16:00:54 -07:00
Andrey Lushnikov
6b74072ea4
feat(firefox): roll Firefox to r1264 - v90.0b8 (#7179) 2021-06-16 13:07:20 -07:00
Andrey Lushnikov
a3e4185b2f
chore: nuke 'webkit-technology-preview' experiment (#7164)
It proved to be unmaintainable due to the following reasons:
- determining upstream branch for the technology preview was a manual
and tedious process
- once determined, actual Safari Technology Preview occasionally
diverted from the branch
2021-06-15 23:58:30 -07:00
Andrey Lushnikov
ec68b31dc4
feat: support chromium-with-symbols channel (#7135)
References #7130
2021-06-15 17:57:31 -07:00
Andrey Lushnikov
d6831df26f
feat: roll Firefox to r1271 (#7067)
References #7015
2021-06-11 10:50:02 -07:00
Yury Semikhatsky
c903b04c7a
feat(webkit): bump to 1499 (#7001) 2021-06-11 09:35:48 -07:00
Andrey Lushnikov
ed011beff4
feat(firefox-beta): roll Firefox-Beta to 90.0b5 (#6969) 2021-06-08 14:21:56 -07:00
Andrey Lushnikov
53d68bdb38
feat: firefox is stable by default (#6953)
This patch:
- rolls Firefox to v1269 which is now a firefox-stable build.
- introduces a new channel, `firefox-beta`, for our internal needs.

Fixes #6817
2021-06-08 09:34:17 -07:00
Andrey Lushnikov
bd193ca6f2
feat: nicer stub for WebKit on MacOS 10.14 (#6948) 2021-06-07 16:29:37 -07:00
Andrey Lushnikov
55da16d8cd
Revert "feat: switch to the Firefox Stable equivalent by default (#6926)" (#6947)
This reverts commit a25b11659be8887b700311180fcd3653aa9e472b.

In a discussion with Dmitry Gozman we decided to revert this and instead
proceed with the following approach:
- rename `//browser_patches/firefox` to `//browser_patches/firefox-beta`
- rename `//browser_patches/firefox-stable` folder to
  `//browser_patches/firefox`

In all of the folders, we will keep the `BUILD_NUMBER` original so that
it doesn't clash on the CDN.
2021-06-07 15:55:01 -07:00
Andrey Lushnikov
a1e8d2d531
feat: switch to the Firefox Stable equivalent by default (#6926)
This patch:
- starts downloading Firefox Stable equivalent by default
- starts running Firefox-Stable on our smoke tests (tests-1)
- starts running Firefox-Beta on our CQ1 tests (tests-2)

Note: there's a little confusion right now with browser names:
- `firefox-stable` - firefox-stable equivalent
- `firefox`- firefox-beta equivalent

I'll rename `firefox` to `firefox-beta` in a follow-up.

Fixes #6817
2021-06-07 15:00:23 -07:00
Andrey Lushnikov
cfcf6a8899
feat: use WebKit stub on MacOS 10.14 (#6892)
This will yield the following error when installing new playwright
and launching WebbKit on MacOS 10.14

```
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

browserType.launch: Protocol error (Playwright.enable): Browser closed.
==================== Browser output: ====================
<launching> /Users/aslushnikov/prog/playwright/browser_patches/deprecated-webkit-mac-10.14/pw_run.sh --inspector-pipe --headless --no-startup-window
<launched> pid=57578
[pid=57578][out] ERROR: this version of Playwright does not support running WebKit on MacOS 10.14. Please either update MacOS to 10.15+ or use Playwright@v1.11
[pid=57578] <process did exit: exitCode=1, signal=null>
[pid=57578] starting temporary directories cleanup
=========================== logs ===========================
<launching> /Users/aslushnikov/prog/playwright/browser_patches/deprecated-webkit-mac-10.14/pw_run.sh --inspector-pipe --headless --no-startup-window
<launched> pid=57578
[pid=57578][out] ERROR: this version of Playwright does not support running WebKit on MacOS 10.14. Please either update MacOS to 10.15+ or use Playwright@v1.11
[pid=57578] <process did exit: exitCode=1, signal=null>
[pid=57578] starting temporary directories cleanup
============================================================
```

References #6879
2021-06-03 19:45:17 -07:00
Yury Semikhatsky
fb0004c22c
feat(webkit): bump to 1492 (#6887) 2021-06-03 16:21:23 -07:00
Yury Semikhatsky
f9c8b78c07
feat(webkit): bump to 1490 (#6842) 2021-06-02 09:08:55 -07:00
Andrey Lushnikov
831a1c846f
feat(firefox-stable): roll Firefox-Stable to Firefox v89 (#6833)
References #6817
2021-06-02 08:34:03 -07:00
Yury Semikhatsky
1020d3d329
feat(webkit): bump to 1488 (#6826) 2021-06-01 23:09:58 -07:00
Andrey Lushnikov
3c3a7f9293
feat(chromium): roll Chromium to r888113 (#6832)
References #6818, references #6390
2021-06-01 18:06:44 -07:00
Yury Semikhatsky
9a160c9fa5
feat(webkit): bump to 1486 (#6741) 2021-05-28 11:38:10 -07:00
Yury Semikhatsky
d2ab1951fd
feat(firefox): bump to 1268 (#6779) 2021-05-28 09:16:42 -07:00
Max Schmitt
ba29e99ace
feat: added reduced motion media query emulation (#6646) 2021-05-22 01:56:09 +02:00
Andrey Lushnikov
d1d49b3412
feat(chromium): roll Chromium to r884693 (#6686) 2021-05-21 11:05:44 -07:00
Andrey Lushnikov
485638e422
feat(webkit): roll Deprecated WebKit to 1444 (#6696)
Otherwise webkit on 10.14 fails all CLI tests and renders flakiness
dashboard unpleasant.
2021-05-21 11:04:14 -07:00
Max Schmitt
88591d49eb
feat(firefox): roll to 1265 (#6678) 2021-05-20 08:06:05 -07:00
Max Schmitt
bae579440c
feat(webkit): roll to 1482 (#6676) 2021-05-20 09:27:31 +02:00
Yury Semikhatsky
0bf4c4077f
feat(webkit): bump to 1481 (#6652) 2021-05-19 12:00:31 -07:00
Andrey Lushnikov
dc4f37c923
feat(chromium): roll Chromium to r879910 (#6635) 2021-05-18 17:36:50 -07:00
Yury Semikhatsky
be8d836443
feat(webkit): bump to 1480 (#6605) 2021-05-17 09:38:04 -07:00
Andrey Lushnikov
92fa7ddead
feat(firefox): roll to latest Firefoxes (#6561)
Fixes #4704
2021-05-13 13:42:25 -07:00
Yury Semikhatsky
d27ce8a816
feat(webkit): bump to 1478 (#6550) 2021-05-13 09:30:48 -07:00
Yury Semikhatsky
ab55918979
feat(firefox): bump to 1259 (#6510) 2021-05-12 09:03:15 -07:00
Pavel Feldman
d08c50d277
feat(screencast): scale fixes (#6475) 2021-05-11 13:21:01 -07:00
Dmitry Gozman
845054d28b
feat(firefox): bump to 1257 and 1247 (stable) (#6476)
This fixes addBinding on pages with CSP.
2021-05-10 08:41:18 -07:00
Pavel Feldman
a9523d9d8f
feat(ff): roll to 1256/1246 (#6466) 2021-05-08 11:35:36 -07:00
Andrey Lushnikov
5e4badd654
feat(firefox-beta): roll Firefox to 1254 - v89.0b9 (#6454) 2021-05-07 00:49:43 -07:00
Pavel Feldman
791443d71f
feat(webkit): roll to r1472 (#6425) 2021-05-05 15:35:10 -07:00
Dmitry Gozman
477b93b1fe
feat(firefox-stable): bump to 1245 (#6424) 2021-05-05 15:11:32 -07:00
Yury Semikhatsky
47cf9c3e8f
feat(chromium): bump to r878941 (#6216)
This roll was blocked by a few upstream bugs that were crashing Chromium on Windows.
- https://bugs.chromium.org/p/chromium/issues/detail?id=1198567#c33
- https://bugs.chromium.org/p/chromium/issues/detail?id=1200964
2021-05-05 09:47:34 -07:00
Andrey Lushnikov
b8eb2b8914
feat(firefox-beta): roll Firefox to beta 89.0b6 (1250) (#6393) 2021-05-04 00:46:56 -07:00
Andrey Lushnikov
5e8d9d20b5
feat(firefox): roll Firefox to r1248 @ v89.0b2 (#6281) 2021-04-30 09:36:54 -07:00
Yury Semikhatsky
369bd55e78
feat(webkit): bump to 1468 (#6345) 2021-04-28 09:14:56 -07:00
Yury Semikhatsky
341357461a
feat(webkit): bump to 1467 (#6295) 2021-04-27 11:45:08 -07:00
Andrey Lushnikov
7a3f8ef7b3
feat(firefox-stable): roll to r1244 @ v88.0 (#6280) 2021-04-22 20:24:41 -07:00
Andrey Lushnikov
23dfaf9e9b
feat: start downloading firefox-stable channel (#6177)
This patch adds support for downloading and running Playwright with
firefox-stable channel.

References #5993
2021-04-19 21:26:33 -07:00
Yury Semikhatsky
8c1b994f58
feat(webkit): bump to 1463 (#6210) 2021-04-16 11:56:03 -07:00
Ross Wollman
bba7ca34c8
feat(chromium): roll to r869727 (#6170)
Fixes #5952
Fixes #6016
2021-04-09 20:57:41 -07:00
Yury Semikhatsky
994939f86d
feat(webkit): bump to 1462 (#6169) 2021-04-09 14:52:17 -07:00
Yury Semikhatsky
476ff21724
feat(webkit): bump to 1461 (#6143) 2021-04-08 10:31:36 -07:00
Yury Semikhatsky
09c175914e
feat(webkit): bump to 1460 (#6124) 2021-04-07 08:55:16 -07:00
Andrey Lushnikov
6ff209cdb3
fea(firefox): roll Firefox to r1245 (#6114)
Just a healthy roll.
2021-04-07 08:04:52 -07:00
Andrey Lushnikov
112ac2f98c
feat(chromium): roll Chromium to r867878 (#6065)
This roll required us pass a new flag - `--allow-pre-commit-input`. Otherwise, keyboard tests won't pass.

Co-authored-by: Joel Einbinder <joel.einbinder@gmail.com>
2021-04-06 15:56:41 -07:00
Andrey Lushnikov
4da2d6e104
feat(firefox): roll Firefox to r1244 (#6052)
Fixes #5929
Fixes #6001
2021-04-02 15:41:54 -07:00
Andrey Lushnikov
f472c96129
feat: support webkit technology preview (#5885)
This patch adds support for `technology preview` webkit channel, which
we will keep close to the actual Safari Technology Preview releases.

This channel does not install by default. It is supposed to be installed
with the following CLI command:

```sh
$ npx playwright install webkit-technology-preview
```

Once the channel is installed, it can be used the following way:

```js
const browser = await playwright.webkit.launch({
  channel: 'technology-preview',
});
```

**NOTE:** if clients attempt using the channel without installing it,
it'll throw an error with a copyable instructions to install via CLI.

References #5884
2021-03-31 11:32:10 -07:00
Yury Semikhatsky
9532d0bde0
feat(webkit): bump to 1457 (#6021) 2021-03-31 10:29:43 -07:00
Yury Semikhatsky
587682e024
feat(chromium): bump to r865012 (#5963)
References #5858

Co-authored-by: Andrey Lushnikov <lushnikov@chromium.org>
2021-03-31 09:51:18 -07:00
Ross Wollman
36d2d93e1a
fix(firefox): roll Firefox to 1239 (#6007)
Re-enable now passing SVG Favicon prefes-color-scheme
test.

Fixes #5977
2021-03-30 17:27:47 -07:00
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