Commit Graph

1734 Commits

Author SHA1 Message Date
Yury Semikhatsky
154694b2a5
chore: update playwright-browsers to Mar 19 (#30599)
Upstream commit 5a76c58a3d8e61d581e593882532346961863354
2024-04-29 17:03:40 -07:00
Dmitry Gozman
53755968fb
chore: update browser patches to 475e15 (#30134) 2024-03-26 15:01:07 -07:00
Yury Semikhatsky
92b1b16041
chore: update browser patches to Jan 9 2024 (#29623)
Commit 337e0dbf2cb068a5a519b09fee1155509fb2dc1f
2024-02-22 13:17:33 -08:00
Max Schmitt
cd922d137c
chore: update browser patches to 03ca0a7 (#28974) 2024-01-13 00:19:49 +01:00
Dmitry Gozman
03031a6d2c
chore: update browser patches to d8f2e2984 (#28139) 2023-11-14 10:18:18 -08:00
Dmitry Gozman
ebd0ff9422
chore: update browser patches to 7f74cfc1d (#27539) 2023-10-10 16:10:40 -07:00
Anthony Vanelverdinghe
5295d468ad
Prevent Firefox from creating shortcuts (#27412)
Fixes #27359
2023-10-03 15:57:33 -07:00
Andrey Lushnikov
aa1862cd2b
chore: update browser patches as of Aug, 1 2023 (#27005)
Internal commit reference:

2fa26b1d22
2023-09-11 18:16:33 -07:00
Andrey Lushnikov
67962c58b4
chore: update browser patches as of July, 1 2023 (#26409)
Internal commit reference:
158dd8ada7
2023-08-10 14:41:33 -07:00
Andrey Lushnikov
3536e81d77
chore: update browser patches as of May 26, 2023 (#23556) (#24079)
Internal commit reference:

2e6d52519c
2023-07-06 12:22:45 -07:00
Patrick Shaw
6e78dcb7dc
fix: Allow portable bash paths for systems including NixOS (#23889)
Although very common, bash is not guaranteed to be located at
`/bin/bash`. NixOS is an example of this.

More commonly, `/bin/bash` can be quite out of date. An example of this
is MacOS's version of `bash`. This realistically won't affect Playwright
but it's worth noting. You can technically update MacOS's system version
of bash but you need elevated permissions to do so.

By using `/usr/bin/env bash` instead of `/bin/bash` we can execute
Playwright's bash scripts in like NixOS and generally improve the
selection behaviour for bash in other systems too.

Some discussion of why it's worth favouring `/usr/bin/env bash` over
`/bin/bash`:
- Discusses `/bin/bash` missing in NixOS:
https://discourse.nixos.org/t/add-bin-bash-to-avoid-unnecessary-pain/5673
- Some general commentary on why `/usr/bin/env bash` is favoured:
https://askubuntu.com/a/1402721
- Points out how old bash is in MacOS:
https://itnext.io/upgrading-bash-on-macos-7138bd1066ba

Improves situation at #5501
2023-07-03 06:27:06 -07:00
Andrey Lushnikov
f9c3e1915b
chore: update browser patches as of Apr 26, 2023 (#23556)
Internal commit reference:

b71297a4b9
2023-06-06 15:08:23 -07:00
Andrey Lushnikov
f3a1058b38
chore: update browser patches as of Apr 5, 2023 (#23112)
Internal commit reference:
f7e6794188
2023-05-17 17:50:43 -07:00
Andrey Lushnikov
0c4bed191f
chore: update browser patches as of Mar 14, 2023 (#22603)
Internal commit reference:
e994525a6d
2023-04-24 14:28:08 -07:00
Andrey Lushnikov
e6dfaa312e
chore: roll browser patches from upstream repository (#22608) 2023-04-24 14:26:36 -07:00
Andrey Lushnikov
a6468b73b2
chore: update browser patches as of Feb 7, 2023 (#21824)
Internal SHA: 50b497cbfbdb567ecfaeb80f30942689b08db7c4
2023-03-20 18:23:12 -07:00
Andrey Lushnikov
1cf1f53076
chore: update browser patches as of Jan 11, 2023 (#21068) 2023-02-21 11:46:10 -08:00
chimurai
f72d400952
chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
Andrey Lushnikov
6c5317bd31
chore: update browser patches as of Dec 13, 2022 (#20297) 2023-01-23 11:29:48 -08:00
Andrey Lushnikov
4f6a94b563
devops: move to a new infra (#16845) 2022-08-25 12:29:15 -07:00
Andrey Lushnikov
de2eb304d0
browser(firefox-beta): roll Firefox to 105.0b2 (#16836) 2022-08-25 18:12:21 +02:00
Diego Pino
fb88b32926
browser(webkit): rebase to 08/25/22 (253769@main) (#16835) 2022-08-25 08:27:04 -07:00
github-actions[bot]
6087c9abfd
browser(chromium-tip-of-tree): roll to 2022-Aug-25 (#16825)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-25 12:15:20 +02:00
github-actions[bot]
47b68552e5
browser(chromium): roll to 2022-Aug-25 (#16826)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-25 12:15:06 +02:00
Andrey Lushnikov
e4be1266a9
browser(firefox-stable): roll Firefox to 104.0 (#16784)
References #16780
2022-08-23 15:13:06 -07:00
Andrey Lushnikov
66b2641312
devops: fix WebKit Ubuntu 18.04 build (#16770) 2022-08-23 12:04:03 -07:00
Diego Pino
d99b93c38a
browser(webkit): rebase to 08/23/22 (253672@main) (#16753) 2022-08-23 09:17:31 -07:00
Andrey Lushnikov
980f5ec12f
chore: use Rust 1.61 for firefox build as well (#16764) 2022-08-23 09:14:34 -07:00
Andrey Lushnikov
cc29dbd7ed
devops: fix firefox-beta build (#16763)
The build now requires Rust 1.61.
2022-08-23 09:11:12 -07:00
Yury Semikhatsky
a8249163d3
browser(firefox): preserve content-type from original request if it i… (#16739) 2022-08-23 08:51:09 -07:00
github-actions[bot]
eb0f8fa15d
browser(chromium-tip-of-tree): roll to 2022-Aug-23 (#16747)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-23 12:29:51 +02:00
Yury Semikhatsky
e6b6be8fde
browser(webkit): instrument policy check during redirected reload (#16656)
It may happen that reload leads to a cross-origin redirect. This PR adds instrumentation to the policy check that triggers new web process creation and allows the client side properly track the navigation progress after reload.

Pretty-diff: 753967002c
References: #16147
2022-08-18 18:44:31 -07:00
Max Schmitt
39ef87e48b
browser(webkit): add forcedColors media query override (#16653) 2022-08-19 01:05:48 +02:00
Andrey Lushnikov
d2a950c8d6
devops: bundle libstdc++ from gcc-9 for Ubuntu 18.04 webkit builds (#16643)
References #16633
2022-08-18 10:48:49 -07:00
github-actions[bot]
9f64044d9b
browser(chromium): roll to 2022-Aug-18 (#16635)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-18 13:14:27 +02:00
github-actions[bot]
5ac4d87126
browser(chromium-tip-of-tree): roll to 2022-Aug-18 (#16634)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-18 13:14:17 +02:00
Yury Semikhatsky
3ce51e6f98
browser(webkit): fix crash in mouse drag on mac (#16624) 2022-08-17 15:16:31 -07:00
Diego Pino
6dd74265ac
browser(webkit): rebase to 08/16/2022 (253462@main) (#16575)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-08-17 00:23:00 +02:00
Yury Semikhatsky
5dca7491a9
browser(webkit): always fire frameAttached before domcontentloaded (#16591) 2022-08-16 12:01:36 -07:00
github-actions[bot]
51b41f6ce5
browser(chromium-tip-of-tree): roll to 2022-Aug-16 (#16569)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-16 12:18:20 +02:00
Andrey Lushnikov
d4c64a7425
browser(ff-beta): restore rolled back display:contents (#16507)
This restores this patch: https://github.com/microsoft/playwright/pull/16111

Pretty diff: 4333d6c312
2022-08-15 01:47:57 -07:00
Andrey Lushnikov
7614564ca5
chore: replace docker/cli.sh stop with docker/cli.sh cleanup (#16537)
We have to cleanup images to free space occupied by docker.
2022-08-15 01:21:06 -07:00
Andrey Lushnikov
a9643352f1
devops: follow-up to WebKit compilation fix on Ubuntu 18.04 (#16532) 2022-08-14 23:33:11 -07:00
Andrey Lushnikov
4e55013952
devops(webkit): default to GCC-9 on Ubuntu 18.04 (#16531) 2022-08-14 23:25:26 -07:00
Andrey Lushnikov
45e581bcbc
devops: fix firefox builds (#16530)
Turns out Firefox mach does not respect `DEBIAN_FRONTEND=noninteractive`
command and insists on interactive input for the mozbuild folder
creation.

Pre-creation of the folder avoid this codepath.
2022-08-14 23:02:30 -07:00
Andrey Lushnikov
81ed8fc523
devops: gracefully handle stopping already-stopped container (#16528) 2022-08-14 14:17:28 -07:00
Andrey Lushnikov
7942d296f1
devops: fix webkit debian-11 docker env (#16527) 2022-08-14 13:41:33 -07:00
Andrey Lushnikov
b6f044d42b
devops: fix docker script to work on GHA (#16522)
GHA doesn't have interactive terminal to attach.
2022-08-13 05:23:03 -07:00
Andrey Lushnikov
1bc6669467
chore: kick off new browser builds to test docker env (#16521) 2022-08-13 04:48:53 -07:00
Andrey Lushnikov
3486f1089f
devops: introduce independent linux build environments (#16470)
This patch introduces independent docker-based build environments for WebKit and Firefox
browsers.

To launch an interactive session inside the environment:

```sh
./browser_patches/docker/cli.sh webkit-debian-11 build # builds image
./browser_patches/docker/cli.sh webkit-debian-11 enter # launches interactive container
```
2022-08-13 04:40:45 -07:00