Граф коммитов

1723 Коммитов

Автор SHA1 Сообщение Дата
Yury Semikhatsky 6723eabbc3
browser(webkit): cleanup after the latest roll (#9853) 2021-10-28 08:46:05 -07:00
Diego Pino 43af0f02dd
browser(webkit): roll to 10/28/21 (#9839) 2021-10-28 16:41:34 +02:00
Yury Semikhatsky 7560f40c77
browser(firefox): set opener for popup opened from iframe (#9837) 2021-10-28 02:16:37 -07:00
Andrey Lushnikov 47d9b23949
devops: drop infra for building 32-bit windows browsers (#9834) 2021-10-27 17:20:23 -07:00
Max Schmitt d1cbe0b830
devops: fix bumping chromium-with-symbols on bot (#9816)
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2021-10-27 23:47:55 +02:00
Andrey Lushnikov 56b0823269
browser(ff-beta): fix timezone emulation on Win (#9812) 2021-10-27 09:34:16 -07:00
Yury Semikhatsky d7610ebab2
browser(webkit): disable COOP again (#9822) 2021-10-27 09:06:21 -07:00
github-actions[bot] 06135eabe3
browser(chromium): roll to r934379 (#9751)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-10-26 14:18:08 +02:00
github-actions[bot] f9f3eaaf4a
browser(chromium): roll to r934099 (#9708)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-26 12:25:36 +02:00
Diego Pino 8d05cdacbc
browser(webkit): roll to 21/10/21 (#9678) 2021-10-22 09:38:26 -07:00
Max Schmitt 05c60e6d9e
Revert adding depot_tools (#9645) 2021-10-20 11:00:26 +02:00
Max Schmitt c60dcea3e5 chore: fix roll_browsers.js 2021-10-20 10:24:16 +02:00
Andrey Lushnikov 9578cda79a
browser(ff-beta): roll Firefox Beta to 94.0b9 (#9631)
The previous roll didn't package well on windows machines.
2021-10-19 17:39:09 -07:00
Andrey Lushnikov 434910d8b5
docs: bring browser_patches readme up-to-date 2021-10-18 12:21:02 -07:00
github-actions[bot] d2a0763958
browser(chromium): roll to r932383 (#9581)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-18 12:21:33 +02:00
Andrey Lushnikov 18e690e234
browser(firefox): fix firefox crashes (#9563)
Fixes #9418
2021-10-15 19:37:00 -07:00
Andrey Lushnikov e47cc5186b
devops: fix juggler repacking (#9556)
The archive names have changed on CDN.
2021-10-15 16:06:52 -07:00
Max Schmitt cd7dfc8448
devops: add FF debug build instructions (#9534) 2021-10-15 23:48:50 +02:00
Daniel Kolesa b391d525a9
browser(webkit): fix build on ubuntu 18.04 and mac (#9540) 2021-10-15 08:40:16 -07:00
github-actions[bot] 8c581bc9b5
browser(chromium): roll to r931772 (#9532)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-15 12:24:51 +02:00
Andrey Lushnikov 6ec4f3e398
browser(firefox-beta): fix compilation on win32 (#9517)
I accidentally moved the API declaration under ifdef; reverting the
move.

Pretty diff:
7c7430b53f
2021-10-14 12:08:38 -07:00
Andrey Lushnikov f43ece0a99
devops: fix `//browser_patches/{build.sh,clean.sh}` scripts (#9515)
They were not proxying arguments properly.
2021-10-14 11:48:01 -07:00
Daniel Kolesa a4d1412463
browser(webkit): roll to 10/14/21 (#9510) 2021-10-14 10:29:38 -07:00
Andrey Lushnikov a80fa08698
devops: move Firefox and WebKit checkouts to $HOME (#9485)
This moves default Firefox and WebKit checkouts to $HOME folder,
unless browser specific env variables are specified.

In other words:
- Firefox checkouts goes to `$HOME/firefox` unless there's a
  `$FF_CHECKOUT_PATH` that specifies a custom location.
- WebKit checkout goes to `$HOME/webkit` unless there's a
  `$WK_CHECKOUT_PATH` that specifies a custom location.

With this change, all build bots will now re-use checkouts
between builds, which should speed up compilation.
2021-10-14 10:20:06 -07:00
Andrey Lushnikov 115b37e989
browser(firefox-beta): fix Firefox Beta compilation (#9497) 2021-10-14 01:41:03 -07:00
Andrey Lushnikov c7bbd449c7
browser(firefox-beta): roll Firefox Beta to 94.0b6 (#9493)
Conflict resolution: f6c2c60748
2021-10-14 10:20:52 +02:00
Andrey Lushnikov 283bdb8916
browser(firefox): roll Firefox to M93 (#9487) 2021-10-13 15:49:41 -07:00
Daniel Kolesa 437caa35ad
browser(webkit): fix build on ubuntu 18.04 and macos (#9464)
Pulls in 70be9d3a5f.

Also adds a build fix for Mac which is presumably related to
unified builds. This will be investigated upstream. This is the
APIWebAuthenticationAssertionResponse.cpp change and breakage was
introduced by:

d0ccf6383b
2021-10-13 15:21:04 +02:00
Andrey Lushnikov e68129e610
devops: build firefox-beta with new bots (#9453) 2021-10-12 13:41:32 -07:00
Andrey Lushnikov 87f120fa35
devops: stop using MacOS 10.12 SDK when building Firefox (#9452)
An investigation has shown, that:
- Official Firefox builds actually cross-compile from Linux to MacOS,
  and for this reason use the old MacOS 10.12 SDK.
- We should be able to build with 11+ SDK just fine; read [primer on
  MacOS SDKs] for details.
- A random `symbol '___darwin_check_fd_set_overflow' not supported`
  error seems to be an [apple bug]. We can fix it using
  `LDFLAGS="-Wl,-U,___darwin_check_fd_set_overflow"`
  flag, similarly to [haskell compiler fix].

[primer on MacOS SDKs]: https://firefox-source-docs.mozilla.org/widget/cocoa/sdks.html
[apple bug]: https://openradar.appspot.com/FB7647406
[haskell compiler fix]: 7745638702
2021-10-12 13:23:43 -07:00
github-actions[bot] 8d1537c5aa
browser(chromium): roll to r930007 (#9425)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-11 12:10:50 +02:00
Andrey Lushnikov c7b045a037 devops: fix expected ffmpeg os host 2021-10-08 14:11:49 -07:00
Andrey Lushnikov a3fb39e7c5
devops: build FFMPEG using MacOS 11 (#9402) 2021-10-08 13:52:02 -07:00
Andrey Lushnikov d278675a62
devops: start using Xcode 13 to compile Firefox (#9401)
It didn't compile withh Xcode 12.2, but does compile with Xcode 13
locally for me.

Moving on to Xcode 13 then.
2021-10-08 13:05:32 -07:00
Daniel Kolesa ab4f99d443
browser(webkit): roll to 10/07/21 (#9365) 2021-10-08 12:23:35 -07:00
github-actions[bot] e87af8117f
browser(chromium): roll to r929512 (#9390)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-08 12:08:44 +02:00
Pavel Feldman 7e4ef2e202
browser(webkit): dedupe screencast frames (mac) (#9387) 2021-10-07 21:51:32 -07:00
Pavel Feldman 349f3444e6
browser(webkit): dedupe screencast frames (#9386) 2021-10-07 19:25:02 -07:00
Andrey Lushnikov 120e919b8e
devops: move building Firefox for Mac Intel to MacOS 11 (#9383) 2021-10-07 16:23:00 -07:00
Andrey Lushnikov 3781faeaaa
chore: fix builds on Apple M1 (#9375)
Apple M1 builders are now updated to the BigSur 11.6.

This patch:
- changes build assertions to validate 11.6 operating system
- changes build archive name to have major version only
- updates `//src/utils/registry.ts` to a new archive name for M1

This affects only M1 builds for Firefox, Firefox-Beta & WebKit.
We should roll these browsers at least once before 1.16 release.
2021-10-07 13:56:08 -07:00
Yury Semikhatsky cd235a187e
browser(webkit): fix curl compilation after recent changes (#9327) 2021-10-05 15:17:19 -07:00
Yury Semikhatsky 431aa5c9b3
browser(webkit): align set-cookie handling on mac with other platforms (#9321) 2021-10-05 12:51:08 -07:00
Yury Semikhatsky ec7ae4e96b
browser(webkit): respect first party url in intercepted set-cookie (soup) (#9320) 2021-10-05 12:25:48 -07:00
Yury Semikhatsky 61480e6f1d
browser(webkit): handle set-cookie from intercepted request (Cocoa) (#9304) 2021-10-04 22:18:30 -07:00
Yury Semikhatsky 0c34ec6e9f
browser(webkit): set-cookie from intercepted response(CURL) (#9303) 2021-10-04 18:04:50 -07:00
Yury Semikhatsky 59532d05ea
browser(webkit): support set-cookie in intercepted response(SOUP) (#9273) 2021-10-04 13:41:33 -07:00
Diego Pino ff02184acf
browser(webkit): roll to 2021/09/30 (#9288) 2021-10-04 13:49:34 +02:00
github-actions[bot] 6918c25b30
browser(chromium): roll to r927453 (#9285)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-04 12:07:40 +02:00
Diego Pino 46b5c81f82
browser(webkit): roll to 23/09/21 (#9107) 2021-10-01 16:03:13 +02:00
github-actions[bot] 94a9691122
browser(chromium): roll to r926934 (#9255)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-01 12:07:11 +02:00
Yury Semikhatsky 563652cc1d
browser(webkit): disable COOP support (#9185) 2021-09-27 16:40:46 -07:00
github-actions[bot] 83910a9469
browser(chromium): roll to r925110 (#9171)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-27 12:06:06 +02:00
github-actions[bot] 231bf36029
browser(chromium): roll to r924544 (#9124)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-24 12:10:52 +02:00
Max Schmitt d0a4480cf7
browser(webkit): fix text padding (#9114) 2021-09-23 12:08:07 -07:00
github-actions[bot] ac56958afe
browser(chromium): roll to r922811 (#9020)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-20 12:06:00 +02:00
Diego Pino 2408a5dfb9
browser(webkit): Follow-up #8980 (#8993)
Bring back snippet of code that was removed in #8802
2021-09-17 20:10:14 +02:00
Joel Einbinder cd88119313
browser(webkit): Page.overridePlatform (#8443)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-09-17 13:52:22 +02:00
github-actions[bot] d13b7703a7
browser(chromium): roll to r922354 (#8985)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-17 12:07:01 +02:00
Diego Pino 44b4c2f792
browser(webkit): Reenable OS_DARK_MODE_SUPPORT (#8980) 2021-09-17 10:15:14 +02:00
Pavel Feldman bca283837c
browser(webkit): compute raw header size in soup (#8977) 2021-09-16 14:17:50 -07:00
Diego Pino a2ede38551
browser(webkit): roll to 15/09/21 (#8935) 2021-09-15 08:34:00 -07:00
Max Schmitt 5953472899
devops: fix --full command in FF which installs deps (#8878)
Broken since https://github.com/microsoft/playwright/pull/8049

Previously when doing `build.sh --full` it was installing deps + building. Currently when passing `--full` it does not install the deps before, since it tries to compile before.
2021-09-13 08:01:35 -07:00
github-actions[bot] ef0be3648f
browser(chromium): roll to r920619 (#8876)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-13 12:07:13 +02:00
Max Schmitt 4e95448887
browser(firefox): expose encodedBodySize in requestFinished (#8835) 2021-09-10 08:41:34 -07:00
github-actions[bot] 4e9729a6e9
browser(chromium): roll to r920003 (#8832)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-10 12:12:41 +02:00
Diego Pino 653e25fc01
build(webkit): disable OS_DARK_MODE_SUPPORT (#8802) 2021-09-09 13:01:33 -07:00
Andrey Lushnikov 4e8d26c622
browser(ff-beta): roll ff-beta to 93.0b3 (#8779) 2021-09-08 07:54:44 -07:00
github-actions[bot] 9cd5c61716
browser(chromium): roll to r918973 (#8776)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-08 15:51:50 +02:00
Diego Pino 7debcf48ff
browser(webkit): roll to 08/09/21 (#8769) 2021-09-08 06:50:10 -07:00
Andrey Lushnikov 2a07b353dc
browser(firefox): roll Firefox to Firefox Stable 92.0 (#8774) 2021-09-08 06:47:26 -07:00
Andrey Lushnikov 06b69f6a97
browser(firefox): disable background tasks and updater for firefox (#8773)
References #8536
2021-09-08 06:15:22 -07:00
Pavel Feldman e36f6da030
browser(webkit): dsf-scale wpe videos (#8763) 2021-09-07 18:08:46 -07:00
Max Schmitt d9eb37b0b9
browser(firefox): resolve socks DNS on server side (#8723) 2021-09-06 16:34:28 +02:00
Max Schmitt 1762f4c547
browser(firefox): expose protocolVersion in ResponseFinished (#8687) 2021-09-03 11:39:38 -07:00
github-actions[bot] cf8e3b087f
browser(chromium): roll to r917400 (#8681)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-03 12:18:28 +02:00
Diego Pino c6cfa6f69d
browser(webkit): fix compilation in Ubuntu 18.04 (#8672) 2021-09-02 20:51:53 -07:00
Andrey Lushnikov 30b6614e5a
browser(firefox): enable SharedArrayBuffer in Firefox builds (#8610) 2021-09-01 12:27:37 +02:00
Diego Pino d8cc457fd9
browser(webkit): roll to 01/09/21 (#8606) 2021-09-01 10:47:58 +02:00
Andrey Lushnikov 16b0a96e78
chore: enhance repack-juggler (#8586)
Instead of building firefox using `//browser_patches/buid.sh ff-beta`,
one can use `//browser_patches/repack-juggler.mjs ff-beta`.

The script will download the last Playwright build, and repack
Juggler and preferences there.
2021-08-31 04:04:30 -07:00
Andrey Lushnikov 9da26f9534
devops: add `//browser_patches/{build.sh,clean.sh}` (#8582)
These are just proxy scripts to the browsers, so you can do:

```sh
$ ./browser_patches/prepare_checkout.sh ff-beta
$ ./browser_patches/clean.sh ff-beta
$ ./browser_patches/build.sh ff-beta
$ ./browser_patches/export.sh ff-beta
```
2021-08-31 03:22:58 -07:00
Andrey Lushnikov dce21f1cc5
chore: re-arrange firefox preferences (#8581)
There's a set of preferenes that's absolutely critical for juggler
to work. Keep these on top and mark them as critical.
2021-08-31 02:15:46 -07:00
Diego Pino bcabf89ed3
browser(webkit): fix compilation in Ubuntu 18.04 (#8544) 2021-08-30 18:24:41 -07:00
Andrey Lushnikov 5eebf64dad
browser(firefox-beta): roll Firefox Beta to v92.0b10 (#8548) 2021-08-30 09:12:49 -07:00
Andrey Lushnikov 610067f61c
devops: fix chromium build with symbols (#8550) 2021-08-30 07:48:40 -07:00
github-actions[bot] 933f3f5f77
browser(chromium): roll to r916288 (#8547)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-30 04:49:39 -07:00
Joel Einbinder 621af2c737
browser(webkit): fix Input.dispatchWheelEvent (#8507) 2021-08-27 13:40:37 -04:00
Andrey Lushnikov 5901cb321d
browser(firefox): fix file chooser in iframes #8510 (#8510)
References #8016
2021-08-27 09:28:24 -07:00
Max Schmitt 84dbe7c2f7 devops: improve TG message formatting on failed build 2021-08-26 12:49:13 +02:00
Diego Pino baf6d5445b
browser(webkit): roll to 26/08/21 (#8461) 2021-08-26 11:46:15 +02:00
Andrey Lushnikov 2453ca0d49
browser(firefox-beta): roll to 92.0b9 (#8442) 2021-08-25 08:55:46 -07:00
Joel Einbinder e04ff81921
browser(firefox): Browser.setPlatformOverride (#8440) 2021-08-25 11:45:45 -04:00
Joel Einbinder f7950352b9
browser(firefox): Page.dispatchWheelEvent (#8439) 2021-08-25 11:27:12 -04:00
Andrey Lushnikov 831cff1a82
devops: drop build infrastructure for WebKit @ MacOS 10.14 (#8438)
We did not support it for a while now and had 0 complaints.
2021-08-25 07:44:28 -07:00
Joel Einbinder 744a2751de
browser(firefox): disable enterprise policies (#8388) 2021-08-25 10:26:20 -04:00
Joel Einbinder 527cdfb55b
browser(webkit): scrolling (#8421) 2021-08-25 09:36:51 -04:00
github-actions[bot] 1155ecf29a
browser(chromium): roll to r914909 (#8435)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-25 14:50:26 +02:00
github-actions[bot] 5814a4aab8
browser(chromium): roll to r914153 (#8363)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-24 12:46:54 +02:00
github-actions[bot] 1d48313e43
browser(chromium): roll to r912804 (#8341)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-20 12:46:26 +02:00
Daniel Kolesa d5b058f496
browser(webkit): fix build with gcc8 (#8300)
Reference: https://bugs.webkit.org/show_bug.cgi?id=229233

This should fix a failure on ubuntu 18.04 CI.
2021-08-19 08:41:20 +02:00
Daniel Kolesa 72a0943031
browser(webkit): fix build with shallow checkouts (#8292) 2021-08-18 15:13:27 -07:00
Dmitry Gozman 4344b3810a
browser(firefox): fix a race between Browser.close and closing context (#8294) 2021-08-18 14:47:21 -07:00
Max Schmitt 1426f66ccd devops: #8253 follow-up fixes 2021-08-18 19:22:30 +02:00
Diego Pino 498bac8253
browser(webkit): roll to 18/08/21 (#8285) 2021-08-18 09:11:30 -07:00
Max Schmitt 93c0da6c07 devops: #8253 follow-up fixes 2021-08-18 10:15:36 +02:00
github-actions[bot] b89c7a0e09
browser(chromium): roll to r912034 (#8217)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-18 08:26:13 +02:00
Max Schmitt e72e49ecc4 devops: #8253 follow-up fixes 2021-08-17 14:32:53 +02:00
Max Schmitt e92924221a
devops: add workflow to roll new browser into PW (#8253) 2021-08-17 14:23:40 +02:00
Max Schmitt e3060080cc
devops: include GH Action run URL in TG msg when browser build is failing (#8219) 2021-08-16 20:19:10 +02:00
Yury Semikhatsky 90385a7941
browser(firefox): failure response interception (#8194) 2021-08-16 09:36:28 -07:00
Andrey Lushnikov 79f2f608a5
browser(ff-beta): roll Firefox Beta to 92.0b4 (#8186) 2021-08-13 09:01:09 -07:00
github-actions[bot] ec418e1706
browser(chromium): roll to r911515 (#8180)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-08-13 08:28:45 -07:00
Dmitry Gozman dba3c5055f
browser(firefox): support start/stop videos for context (#8173) 2021-08-12 17:17:54 -07:00
Yury Semikhatsky f434c41523
browser(firefox): fulfill intercepted response with empty body (#8152) 2021-08-11 14:39:49 -07:00
Diego Pino a65e3c1064
browser(webkit): roll to 11/08/21 (#8135) 2021-08-11 09:04:37 -07:00
Andrey Lushnikov 75d77a82cc devops: fix rust firefox version 2021-08-11 16:01:52 +03:00
Andrey Lushnikov 75dfc15e62
browser(firefox): roll to new Firefox Stable M91 (#8130) 2021-08-10 17:37:57 -07:00
Daniel Kolesa 362aed4cce
browser(webkit): include GPU process in mac archive (#8127) 2021-08-10 16:47:02 -07:00
Yury Semikhatsky eb7004781f
chore(firefox-beta): backport #8107 to ff beta (#8124) 2021-08-10 15:23:54 -07:00
Yury Semikhatsky 128bf7b4d0
chore: update ff version after last commit (#8123) 2021-08-10 15:08:49 -07:00
Yury Semikhatsky f9efc7f8a4
browser(firefox): response interception after redirects (#8107) 2021-08-10 14:43:21 -07:00
Andrey Lushnikov eda2ee5c2a
devops: disable dchecks when building chromium (#8067)
As of https://chromium-review.googlesource.com/c/chromium/src/+/3053740,
Chromium defaults to building with dchecks always on.

We don't want dchecks enabled in our builds so we must disable them
explicitly.

References #8052
2021-08-07 05:41:13 -07:00
Andrey Lushnikov b1b4d7b819
chore: quote all bash variables when used (#8066)
This way bash won't expand and post-process variable values in any way.
The changes are driven with
[`shellcheck`](https://github.com/koalaman/shellcheck)
2021-08-07 05:32:18 -07:00
Yury Semikhatsky 80cccfd837
browser(webkit): roll to 08/06/21 (#8056) 2021-08-06 12:35:10 -07:00
Andrey Lushnikov c8b54a5b05
devops: fix prepare_checkout.sh script (#8055)
Fixes #8044
2021-08-06 12:01:41 -07:00
Andrey Lushnikov 477ef552fb
devops(ff-beta): fix rust installation while building firefox (#8049) 2021-08-06 10:16:14 -07:00
Andrey Lushnikov a515a2538e
browser(ff-beta): fix screencast (#8033)
Both `libyuv::I420Copy` and `libyuv::I420Scale` support image cropping
by offsetting coordinates inside planes, but offsets must be even
numbers.

References #7998
2021-08-06 08:01:43 -07:00
Andrey Lushnikov 7caef6f09f
browser(chromium): attempt to do another build of Chromium (#8035)
Previous build of chromium was crashing in 10% of tests. We might've
picked up a bad revision to build, so trying to build a newer one.
2021-08-06 04:56:29 -07:00
Daniel Kolesa 5ace65121e
browser(webkit): fix outstanding linux headful regressions (#8026) 2021-08-05 19:53:55 -07:00
Yury Semikhatsky 798d5420aa
browser(webkit): include ResourceError.h to fix win build (#8023) 2021-08-05 16:53:38 -07:00
Yury Semikhatsky 4015fb2af6
browser(webkit): support abort for intercepted responses (#8015) 2021-08-05 12:51:19 -07:00
Daniel Kolesa 3b0856da18
browser(webkit): roll to 04/08/21 (#7984) 2021-08-04 11:08:42 -07:00
Andrey Lushnikov 08a447e90f
browser(firefox-beta): roll ff-beta to v91.0.b10 (#7968)
Notable changes:
- javaScriptEnabled moved to the browser side.
- enabling new UI since it no longer helps to fix screencast

Review branch: https://github.com/aslushnikov/juggler/tree/roll-to-91-0-b10

Note: this will have 2 screencast tests failing. Investigation is in a follow-up.
2021-08-03 09:15:52 -07:00
Andrey Lushnikov 7c3a037b86
browser(ff-beta): backport response interception patches (#7965) 2021-08-03 06:11:12 -07:00
Andrey Lushnikov 3757b59aa4
browser(chromium): build Chromium r906442 (#7962) 2021-08-03 03:28:38 -07:00
Yury Semikhatsky 961724d704
browser(webkit): give access to intercepted response body (#7954) 2021-08-02 16:07:44 -07:00
Max Schmitt a050c00b6c
Revert "browser(winldd): attempt to fix dependency loading on windows (#7790)" (#7948)
This reverts commit c1d6c4b25e.
2021-08-02 16:28:16 +02:00
Max Schmitt 5cf1a3e4ef
chore(webkit): use GitHub as a remote origin (#7476) 2021-07-30 10:50:09 +02:00
Diego Pino d02573e7c6
browser(webkit): roll to 07/28/21 (#7886) 2021-07-28 23:11:22 -07:00
Pavel Feldman e9d2ef0ebd
browser(webkit): speculative win fix for new settings (#7794) 2021-07-22 07:38:26 -07:00
Andrey Lushnikov c1d6c4b25e
browser(winldd): attempt to fix dependency loading on windows (#7790)
References #7560
2021-07-22 06:39:14 -07:00
Pavel Feldman c0f3b19f60
browser(webkit): fix compilation (#7782) 2021-07-21 21:30:03 -07:00
Pavel Feldman 3786cf8746
browser(webkit): implement more modernizr features (#7780) 2021-07-21 18:04:18 -07:00
Joel Einbinder de5df934d4
browser(webkit): undo ios changes to frame.mm (#7774) 2021-07-21 19:47:31 -05:00
Daniel Kolesa 99363ae28e
browser(webkit): roll to 07/21/21 (#7772)
3-way diff: b8114e12a0

test suites were ran and come out the same as pre-rebase
2021-07-21 09:35:50 -07:00
Max Schmitt d03a54da64
browser(firefox): revert devtools flag CLI command (#7717)
revert 786f6c4d31
2021-07-19 17:01:06 +02:00
Andrey Lushnikov 64ef88999e
devops: fix chromium build script (#7669) 2021-07-16 02:36:49 -07:00
Joel Einbinder 91fa838969
browser(webkit): support event.buttons for MacOS (#7599) 2021-07-15 12:28:57 -05:00
Pavel Feldman f8bc2cf41e
browser(webkit): roll to ToT 7/14/2021 (#7617) 2021-07-14 13:39:13 -07:00
Andrey Lushnikov fc083dfc2e
browser(chromium): build Chromium r901522 (#7615) 2021-07-14 10:17:58 -07:00
Andrey Lushnikov e801442f1e
browser(firefox): roll to match Firefox 90 release (#7605)
References #7583
2021-07-14 09:26:43 -07:00
Pavel Feldman 6e5a03059f
browser(webkit): speculative win fix (#7613) 2021-07-14 09:15:05 -07:00
Pavel Feldman 43ecb8aa94
browser(webkit): compile device orientation on mac (#7595) 2021-07-13 21:13:17 -07:00
Andrey Lushnikov 34777853f7
devops: enforce hard xcode version match for browser builds (#7591)
Browsers require particular xcode versions to be installed on the host
machine to produce successful build.

This patch starts using explicit xcode versions for all mac browser
builds.
2021-07-13 18:12:53 -07:00
Pavel Feldman 77afd6bdad
browser(webkit): pass some of the modernizr checks (#7593) 2021-07-13 17:45:00 -07:00
Andrey Lushnikov c602a50b4c
Revert "browser(webkit): pass some of the modernizr checks (#7589)" (#7592)
This reverts commit 12be38204c.

Reason: build fails.
2021-07-13 17:29:30 -07:00
Pavel Feldman 12be38204c
browser(webkit): pass some of the modernizr checks (#7589)
0bf40de916
2021-07-13 17:03:39 -07:00
Max Schmitt 786f6c4d31
browser(firefox): introduce auto-open-devtools-for-tabs CLI flag (#7580) 2021-07-13 18:29:35 +02:00
Yury Semikhatsky efb21b9e9f
browser(firefox): support response interception (#7509) 2021-07-09 05:41:53 -07:00
Daniel Kolesa 2bdd823a52
browser(webkit): roll to 07/08/21 (#7516) 2021-07-08 23:40:34 -07:00
Max Schmitt 4c219add0c
browser(webkit): add support to cancel a download (#7432) 2021-07-05 09:02:40 +02:00
Andrey Lushnikov c9e9100ff0
browser(firefox-beta): roll Firefox-beta to 90.0b13 (#7423) 2021-07-01 16:43:28 -07:00
Daniel Kolesa 1771caee8b
browser(webkit): roll to 07/01/21 (#7426) 2021-07-01 13:43:56 -07:00
Dmitry Gozman fca965cb98
browser(firefox): properly handle HSTS redirects (#7391)
When Firefox decides to perform an http->https redirect based on HSTS
information, it issues an "internal" redirect and cancels the http request.

Since there is no response for the http request, we forge 307 redirect
in this case, following Chromium lead.

The relevant code is in nsHttpChannel::StartRedirectChannelToHttps.
2021-06-30 12:59:27 -07:00
Max Schmitt 18266722a1
browser(firefox): add Download.cancel (#7390) 2021-06-30 01:29:58 +02:00
Max Schmitt a270fc5206
browser(firefox-beta): add transferSize to Network.requestFinished (#7369) 2021-06-29 09:46:42 +02:00
Max Schmitt 8fa93ae6be
browser(firefox): add transferSize to Network.requestFinished (#7355) 2021-06-28 21:22:55 +02:00
Pavel Feldman b963dbbe3c
browser(webkit): add app icon on Mac (#7315) 2021-06-24 23:26:48 -07:00
Pavel Feldman a0946afb6b
browser(webkit): add app icon on Linux (#7313) 2021-06-24 22:20:58 -07:00
Daniel Kolesa 80eb64594b
browser(webkit): roll to 06/23/21 (#7278) 2021-06-24 13:41:22 -07:00
Andrey Lushnikov 0d9cfd76c3
browser(chromium): roll Chromium to r895386 (#7287) 2021-06-23 18:55:29 -07:00
Andrey Lushnikov f342d8b0b1
devops: fix prepare checkout script on pristine machine (#7270)
Fixes #7269
2021-06-23 03:31:51 -07:00
Yury Semikhatsky b9c619206f
browser(webkit): fix mac compilation (#7253) 2021-06-21 11:20:19 -07:00
Yury Semikhatsky 47341dc1a9
feat(webkit): intercepted response body (#7228) 2021-06-21 10:53:29 -07:00
Diego Pino 1a9a5d8e9a
browser(webkit): roll to 06/17/21 (#7202)
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2021-06-17 12:05:05 -07:00
Andrey Lushnikov 5002420a6f
chore: further enhanced repack-juggler script (#7188)
With this change, the script is now 2-stage:
- first, prepare browser build with `repack-juggler.js --prepare`
- afterwards, run the script to repack tot juggler version with the
  bubild
2021-06-16 17:32:37 -07:00
Andrey Lushnikov bc850b9ef9
feat: enhance repack-juggler.js to autodetect current platform (#7183)
This steals some parts of `//src/util/registry.ts`.
2021-06-16 15:13:51 -07:00
Andrey Lushnikov 04de4ad93e
devops: cleanup browser build configs (#7180)
- certain builds weren't listed in EXPECTED_BUILDS
- wekbit had one unused build configuration
2021-06-16 12:22:33 -07:00
Andrey Lushnikov 53ac9066da
devops: fix missing host in build scripts (#7178) 2021-06-16 10:38:00 -07:00
Andrey Lushnikov 331c431f5f
browser(chromium): roll Chromium to r891964 (#7162) 2021-06-15 18:19:35 -07:00
Andrey Lushnikov 65777aebf6
browser(firefox-beta): roll Firefox-Beta to 90.08b - June 15, 2021 (#7160) 2021-06-15 16:24:03 -07:00
Andrey Lushnikov 312fd3ed4e
devops: fix reporting for chromium-with-symbols (#7159)
Chromium-with-symbols is the first time we produce a second set of
builds for the same browser.

This patch adds support for this usecase to report build progress
appropriately.
2021-06-15 16:01:11 -07:00
Andrey Lushnikov bb5da5061c
devops: support building chromium with symbols (#7131)
References #7130
2021-06-15 01:18:00 -07:00
Andrey Lushnikov 58878b584a
devops: introduce `repack-juggler` script (#7092)
This patch adds a new script -
`//browser_patches/firefox/repack-juggler.mjs`

This script lets you test Firefox changes if they are Juggler-specific
without firefox checkout / compilation.

The `repack-juggler.mjs` script does the following:
- downloads the latest build of Firefox-with-juggler
- finds an `omni.ja` file with Juggler files inside
- replaces juggler in omni.ja with the current juggler files in the index
2021-06-15 01:08:13 -07:00
Andrey Lushnikov eda097f5e5
devops: fix Firefox build on Apple Silicon (#7068) 2021-06-11 02:04:08 -07:00
Max Schmitt 9b9091b3fe
browser(firefox): fixed Array.prototype.toJSON workaround (#7018)
References #7015
2021-06-10 17:21:20 -07:00
Yury Semikhatsky ab4398e60a
browser(webkit): initialize fetchStart in Curl to fix network metrics (#7052) 2021-06-10 16:06:30 -07:00
Max Schmitt 226159defc
browser(firefox): forced-colors media query emulation (#6902) 2021-06-09 01:00:15 +02:00
Yury Semikhatsky 316f17f2f0
browser(webkit): fix win linkage of libyuv (#6970) 2021-06-08 14:21:40 -07:00
Yury Semikhatsky 4c70856252
browser(webkit): roll to 06/08/21 (#6958) 2021-06-08 11:48:38 -07:00
Yury Semikhatsky 2b474e57f9
browser(webkit): add Playwright.setLocalStorageData command (#6949) 2021-06-08 00:03:50 -07:00
Andrey Lushnikov 838576b8bf
browser(firefox-beta): roll to Firefox to 90.0b5 - Jun 7, 2021 (#6954) 2021-06-08 00:03:16 -07:00
Andrey Lushnikov 12d8c54e99
chore: swap firefox-stable and firefox (#6950)
With this patch:
- `//browser_patches/firefox` becomes firefox-stable
- `//browser_patches/firefox-stable` becomes firefox-beta

References #6817
2021-06-07 17:05:51 -07:00
Andrey Lushnikov 15668f04a8
chore: make WebKit @ MacOS 10.14 error more prominent (#6943)
The new message is much more prominent in the logs:

```
aslushnikov:~/prog/playwright(make-deprecation-error-more-prominent)$ node a.js
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=5120
[pid=5120][out] ****************************************************************
[pid=5120][out] ****************************************************************
[pid=5120][out]
[pid=5120][out] ERROR: MacOS version is too old!
[pid=5120][out]
[pid=5120][out] This version of Playwright does not support running
[pid=5120][out] WebKit on MacOS 10.14. Please either:
[pid=5120][out] - update your operating system to version 10.15 or higher
[pid=5120][out] - use Playwright v1.11 or older
[pid=5120][out]
[pid=5120][out] ****************************************************************
[pid=5120][out] ****************************************************************
[pid=5120] <process did exit: exitCode=1, signal=null>
[pid=5120] starting temporary directories cleanup
```
2021-06-07 14:23:06 -07:00
Yury Semikhatsky 657aa04bf2
browser(webkit): import <optional> to fix win compilation (#6895) 2021-06-03 17:35:24 -07:00
Yury Semikhatsky 2663c0bfd4
browser(webkit): import <optional> to fix mac compilation (#6894) 2021-06-03 17:17:09 -07:00
Yury Semikhatsky cce62da3b2
browser(webkit): roll to 06/03 (#6889) 2021-06-03 16:21:39 -07:00
Andrey Lushnikov 8a81b11d33
devops: replace WebKit for MacOS 10.14 build with a stub (#6886)
This patch will produce a stub build of WebKit for MacOS 10.14 with a
stub that errors out with a descriptive error.

References #6879
2021-06-03 15:36:31 -07:00
Yury Semikhatsky d7c202ca3c
browser(webkit): fix time formatting and mac compilation (#6875) 2021-06-03 12:03:32 -07:00
Yury Semikhatsky 4fa792ee89
browser(webkit): getLocalStorageData command (#6858) 2021-06-02 16:30:00 -07:00
Max Schmitt 79b244a2f4
chore: use bash instead of sh in code blocks (#6847) 2021-06-02 18:23:06 +02:00
Andrey Lushnikov d767fc2f91
browser(firefox-stable): disable proton UI in firefox stable (#6838)
See f4b8c3a848 for details.
2021-06-01 19:08:03 -07:00
Yury Semikhatsky b4ffe86fd1
browser(webkit): add missing override annotations (#6829) 2021-06-01 15:23:08 -07:00
Yury Semikhatsky 9b81dccc39
browser(webkit): add awaitPromise parameter to Runtime.callFunctionOn (#6828) 2021-06-01 14:56:46 -07:00
Andrey Lushnikov 531d35f945
browser(chromium): revert swiftshader fixes (#6824)
References #6818, references #6390
2021-06-01 13:55:58 -07:00
Andrey Lushnikov 0f7a7604bc
browser(firefox): roll Firefox-stable to 89 (#6823) 2021-06-01 13:16:45 -07:00
Yury Semikhatsky 58e74b477a
browser(webkit): fix compilation on Ubuntu 18 (#6794) 2021-05-28 18:20:24 -07:00
Yury Semikhatsky 040e9013a6
browser(webkit): roll to 05/27/21 (#6787) 2021-05-28 11:52:56 -07:00
Max Schmitt c54c487166
docs(build): add more logging hints to the cheatsheet (#6785) 2021-05-28 09:23:52 -07:00
Yury Semikhatsky 2f36feefc8
browser(firefox-stable): merge do not use Array.prototype.toJSON for serialization (#6783) 2021-05-27 16:37:13 -07:00
Yury Semikhatsky c8ee008aa1
browser(webkit): fix headless popup window crash (#6782) 2021-05-27 16:31:00 -07:00
Yury Semikhatsky f60b79a311
browser(firefox): do not use Array.prototype.toJSON for serialization (#6767) 2021-05-26 15:38:53 -07:00
Andrey Lushnikov 9b5bcba1d7
devops: fix goma to use new authentication (#6747) 2021-05-25 15:16:23 -07:00
Yury Semikhatsky 4076110e4f
browser(webkit): fix jpeg encoding on mac after last roll (#6732) 2021-05-24 18:42:18 -07:00
Yury Semikhatsky 8770c64601
browser(webkit): fix mac compilation after latest roll (#6727) 2021-05-24 14:56:10 -07:00
Yury Semikhatsky adf87fe9c6
browser(webkit): roll to 05/24/21 (#6722) 2021-05-24 12:50:33 -07:00
Andrey Lushnikov 08773e836b
browser(firefox-beta): roll Firefox to 89.0b15 (#6689) 2021-05-20 15:29:00 -07:00
Andrey Lushnikov f8981962bd
browser(chromium): build Chromium r885250 (#6687) 2021-05-20 15:20:42 -07:00
Max Schmitt b2b45afc22
browser(firefox): override reduced motion no-preference (#6683) 2021-05-20 21:07:39 +02:00
Joel Einbinder 2f9b057525
browser(firefox): partially revert scrollbars patch (#6670) 2021-05-19 18:59:57 -07:00
Max Schmitt 277eca1b98
devops: install all FF system dependencies with --full on build (#6657)
Before that it actually didn't install all needed dependencies and failed after that when starting the compiler suite. WebKit also installs dependencies with apt, so it should be fine to install them on OS level.
2021-05-19 15:16:33 -07:00
Andrey Lushnikov 4e979fd95e
browser(chromium): roll to latests Chromium (#6661) 2021-05-19 14:43:42 -07:00
Max Schmitt 8d4e6168aa
browser(webkit): added reduced motion emulation (#6645) 2021-05-19 22:42:54 +02:00
Yury Semikhatsky 5076cb3241
browsr(webkit): cherry-pick(mac-14): bootstrap script in utility world (#6591) (#6655) 2021-05-19 11:11:09 -07:00
Yury Semikhatsky c2de35e016
browser(webkit): roll to 05-18-21 (#6643) 2021-05-18 14:30:35 -07:00
Max Schmitt c4a6c2bcab
browser(firefox): added reduced motion emulation (#6618) 2021-05-18 21:23:12 +02:00
Andrey Lushnikov debffa7476
browser(firefox): make Juggler types compliant with protocol viewer (#6626)
Protocol viewer can't handle anonymous objects since it's not clear how
to refer to them.
2021-05-17 21:40:29 -07:00
Yury Semikhatsky ffa83f1f17
browser(webkit): bootstrap script in utility world (#6591) 2021-05-15 09:51:38 -07:00
Yury Semikhatsky 37d03e8b7b
browser(webkit): roll to safari-612.1.15-branch (#6587) 2021-05-14 13:06:55 -07:00
Joel Einbinder 5b223f92c8
browser(firefox): Browser.setScrollbarsHidden (#6457) 2021-05-14 08:06:34 -07:00
Andrey Lushnikov 654446a757
devops: fix Chromium windows archiving logic (#6568)
Turns out MINGW environment doesn't support Python-for-Windows
through shebang. Call python explicitly.
2021-05-13 15:10:08 -07:00
Andrey Lushnikov d02472a9e0
browser(firefox): fix uploads of large files in Firefox (#6547)
- to read post data of requests, we have to read stream
- to restore the stream later on, we have to rewind it back
- however, if the stream is large enough, it cannot be rewound back

This patch starts cloning post data streams if possible to avoid
back-rewinding them later on.

References #4704
2021-05-12 16:27:53 -07:00
Dmitry Gozman d627376147
browser(webkit): use correct request when navigation turns into download (#6516)
Currently, WebPageProxy uses `m_decidePolicyForResponseRequest` to create
the DownloadProxy form the navigation. However, this field is not properly
set for the following callstack:

```log
1 WebKit::WebProcessPool::createDownloadProxy(WebKit::WebsiteDataStore&, WebCore::ResourceRequest const&, WebKit::WebPageProxy*, WebKit::FrameInfoData const&)
2 WebKit::WebPageProxy::receivedPolicyDecision(WebCore::PolicyAction, API::Navigation*, WTF::RefPtr<API::WebsitePolicies, WTF::RawPtrTraits<API::WebsitePolicies>, WTF::DefaultRefDerefTraits<API::WebsitePolicies> >&&, WTF::Variant<WTF::Ref<API::NavigationResponse, WTF::RawPtrTraits<API::NavigationResponse> >, WTF::Ref<API::NavigationAction, WTF::RawPtrTraits<API::NavigationAction> > >&&, WTF::Ref<WebKit::WebPageProxy::PolicyDecisionSender, WTF::RawPtrTraits<WebKit::WebPageProxy::PolicyDecisionSender> >&&, WTF::Optional<WebKit::SandboxExtension::Handle>, WebKit::WebPageProxy::WillContinueLoadInNewProcess) +1ms
3 WebKit::WebPageProxy::receivedNavigationPolicyDecision(WebCore::PolicyAction, API::Navigation*, WTF::Ref<API::NavigationAction, WTF::RawPtrTraits<API::NavigationAction> >&&, WebKit::ProcessSwapRequestedByClient, WebKit::WebFrameProxy&, WTF::RefPtr<API::WebsitePolicies, WTF::RawPtrTraits<API::WebsitePolicies>, WTF::DefaultRefDerefTraits<API::WebsitePolicies> >&&, WTF::Ref<WebKit::WebPageProxy::PolicyDecisionSender, WTF::RawPtrTraits<WebKit::WebPageProxy::PolicyDecisionSender> >&&) +1ms
4 WebKit::WebPageProxy::decidePolicyForNavigationAction(WTF::Ref<WebKit::WebProcessProxy, WTF::RawPtrTraits<WebKit::WebProcessProxy> >&&, WebKit::WebFrameProxy&, WebKit::FrameInfoData&&, unsigned long long, WebKit::NavigationActionData&&, WebKit::FrameInfoData&&, WTF::Optional<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> >, WebCore::ResourceRequest const&, WebCore::ResourceRequest&&, IPC::FormDataReference&&, WebCore::ResourceResponse&&, WebKit::UserData const&, WTF::Ref<WebKit::WebPageProxy::PolicyDecisionSender, WTF::RawPtrTraits<WebKit::WebPageProxy::PolicyDecisionSender> >&&)::$_6::operator()(WebCore::PolicyAction, API::WebsitePolicies*, WebKit::ProcessSwapRequestedByClient, WTF::RefPtr<WebKit::SafeBrowsingWarning, WTF::RawPtrTraits<WebKit::SafeBrowsingWarning>, WTF::DefaultRefDerefTraits<WebKit::SafeBrowsingWarning> >&&, WTF::Optional<WebKit::NavigatingToAppBoundDomain>)::'lambda'(WebCore::PolicyAction)::operator()(WebCore::PolicyAction) +0ms
```

This patch updates `m_decidePolicyForResponseRequest` on the above codepath,
and it is reset immediately in `WebPageProxy::receivedPolicyDecision`.
2021-05-12 12:38:59 -07:00
Yury Semikhatsky d540b4478b
browser(firefox-stable): simplify isolated world structures (#6542) 2021-05-12 10:46:19 -07:00
Yury Semikhatsky 84031d4a07
browser(firefox): simplify isolated world structures (#6521) 2021-05-12 08:52:08 -07:00
Yury Semikhatsky 958629fae7
browser(webkit): roll to safari-612.1.14-branch (#6517) 2021-05-11 15:34:28 -07:00
Yury Semikhatsky 269a1b6407
browser(firefox-stable): bindings in isolated worlds (#6504) 2021-05-11 09:34:10 -07:00
Yury Semikhatsky f8039bed10
browser(firefox): bindings in isolated worlds (#6493) 2021-05-11 09:27:39 -07:00
Pavel Feldman 8d21b12454
browser(firefox): fit screencast images into given frame (#6495) 2021-05-10 22:01:41 -07:00
Pavel Feldman a5143ebaa9
browser(webkit): fix the screencast scale and toolbar offset on Mac (#6474) 2021-05-09 14:47:33 -07:00
Dmitry Gozman f1a65820f4
browser(firefox): fix addBinding on pages with CSP (#6470) 2021-05-08 18:06:56 -07:00
Pavel Feldman b4261ec074
browser(ff-stable): pick up screencast changes (#6464) 2021-05-07 21:47:40 -07:00
Pavel Feldman edd2cc807c browser(ff): migrate screencast to client interfaces 2021-05-07 21:01:01 -07:00
Pavel Feldman 78ec057117
browser(firefox): implement screencast (#6452) 2021-05-06 19:11:42 -07:00
Andrey Lushnikov 262824deb7
devops: fix chromium archiving with FILES.cfg (#6450)
- unset `IFS` variable so that it doesn't affect future script execution
- use `\n\r` separator on windows
- fix script to be Python2/Python3 compliant
2021-05-06 13:55:55 -07:00
Pavel Feldman 45d92890af
fix(webkit): quick fix for screencast (#6448) 2021-05-06 13:10:17 -07:00
Andrey Lushnikov 1101268697
devops: fix `//browser_patches/export.sh` for deprecated-webkit (#6446) 2021-05-06 11:41:07 -07:00
Andrey Lushnikov b1f80bad39
browser(firefox-beta): roll Firefox to v89.0b9 (May 6, 2021) (#6443) 2021-05-06 11:03:58 -07:00
Andrey Lushnikov fa7b5f3cd0
browser(chromium): roll Chromium to 879910 (#6441) 2021-05-06 10:53:20 -07:00
Andrey Lushnikov c7751b9fc3
devops: use chromium's FILES.cfg to compute archive files (#6438)
Since the include list of files to pack with Chromium changes
eventually, we should use their list instead of hardcoded one
on our side.
2021-05-06 10:36:33 -07:00
Yury Semikhatsky e4272fab08
browser(webkit): add stdc++fs lib to wtf to fix Ubuntu 18.04 (#6437) 2021-05-06 10:09:28 -07:00
Pavel Feldman 765d74987f
chore(ff): remove some dead code (#6423) 2021-05-05 13:27:51 -07:00
Yury Semikhatsky 8d66edf6b3
browser(webkit): roll to safari-612.1.13-branch (#6422) 2021-05-05 12:03:40 -07:00
Pavel Feldman 9b8dc4ae00
browser(webkit): fix Ubuntu18, make vp9 build hermetic (#6421) 2021-05-05 11:33:04 -07:00
Andrey Lushnikov 5509527917
devops: do a full browser checkout by default on Dev machines (#6411)
The `git fetch --unshallow` is a non-trivial command to run, so we
should default to a full checkout unless we're on CI.
2021-05-05 01:12:03 -07:00
Pavel Feldman ee835fba6c
fix(webkit): fix screencast compilation on win (#6412) 2021-05-04 18:19:17 -07:00
Andrey Lushnikov 77c1020193
devops: re-use firefox checkout for firefox-stable (#6410)
Every patch to Firefox should also go to firefox-stable. This patch
starts re-using Firefox-beta checkout for firefox-stable, making
possible to easily rebaseline work atop of firefox-stable.

With this patch, working on a patch in Firefox is a 2-step
process:
1. work on a patch against Firefox-Beta
2. rebaseline your work atop of Firefox-Stable

Working on Firefox-Beta is as usual:
- setup an up-to-date firefox checkout:
  ```sh
  $ ./browser_patches/prepare_checkout.sh firefox
  ```
- create a new branch for your firefox work off `playwright-build`:
  ```sh
  $ cd ./browser_patches/firefox/checkout
  $ git checkout -b my-feature
  ```
- once work is done, export your branch:
  ```sh
  $ ./browser_patches/export.sh firefox
  ```

Rebaselining your work for Firefox-Stable takes advantage of a single
checkout:
- prepare a firefox-stable checkout:
  ```sh
  $ ./browser_patches/prepare_checkout.sh ff-stable
  ```
- rebaseline your feature branch atop of stable:
  ```sh
  $ cd ./browser_patches/firefox/checkout
  $ git checkout my-feature
  $ git rebase -i playwright-build
  ```
- make sure firefox-stable compiles:
  ```sh
  $ ./browser_patches/firefox-stable/build.sh
  ```
- export firefox-stable:
  ```sh
  $ ./browser_patches/export.sh ff-stable
  ```
2021-05-04 17:46:24 -07:00
Dmitry Gozman 5c5196104e
browser(firefox-stable): cherry pick recent changes from browser_patches/firefox (#6409) 2021-05-04 17:01:48 -07:00
Pavel Feldman fc9454eb76
browser(webkit): implement screencast (#6404) 2021-05-04 12:57:03 -07:00
Andrey Lushnikov 5326f39021
browser(chromium): build 878941 that reverts shader changes (#6407) 2021-05-04 11:51:45 -07:00
Joel Einbinder 1a58281394
browser(firefox): don't record video outside the viewport (#6361) 2021-05-04 05:33:32 -07:00
Andrey Lushnikov 4e0e13cf05
browser(firefox-beta): roll Firefox to beta 89.0b8 - May 2, 2021 (#6397) 2021-05-04 00:45:07 -07:00
Andrey Lushnikov fd4253991f
devops: fix swiftshader on Chromium Windows (#6391)
References #6390
2021-05-03 11:25:01 -07:00
Andrey Lushnikov 6c04b82256
browser(firefox-beta): roll @ beta Apr 29, 2021 - v89.0b6 (#6368) 2021-04-29 16:37:45 -07:00
Yury Semikhatsky 0abcaf02c8
browser(webkit): roll to safari-612.1.12-branch (#6367) 2021-04-29 15:46:22 -07:00
Yury Semikhatsky b0fae0f831
browser(firefox): merge FrameData into Frame (#6365) 2021-04-29 15:09:10 -07:00
Yury Semikhatsky 3b1bfdff48
devops(chromium): build a new Chromium 876873 (#6349) 2021-04-28 10:19:07 -07:00
Yury Semikhatsky 0039b313b8
browser(webkit): support downloads larger than 16Kb on Windows (#6343) 2021-04-27 16:21:23 -07:00
Yury Semikhatsky 83480850d3
browser(webkit): preserve color scheme override after navigation (#6333) 2021-04-26 16:23:07 -07:00
Andrey Lushnikov f4b8c3a848
browser(firefox): disable proton UI for now (#6327)
The new Proton UI breaks certain screencast tests. Disable
this for now.
2021-04-26 10:59:12 -07:00
Dmitry Gozman 10c76ff56f
browser(firefox): fix race between idleTasksFinishedPromise and window closure (#6308) 2021-04-23 16:05:37 -07:00
Andrey Lushnikov 83758fa48c
devops: add swiftshader DLL to chromium archive (#6305) 2021-04-23 14:36:45 -07:00
Andrey Lushnikov 531bf4dc19
browser(chromium): roll Chromium to new Dev (#6283) 2021-04-22 17:38:53 -07:00
Joel Einbinder f9478b124f
browser(webkit): fix compilation for drag drop and duplicated macro (#6278) 2021-04-22 17:05:17 -07:00
Yury Semikhatsky 2755d5e37d
browser(webkit): fix timezone override on Windows (#6277) 2021-04-22 16:10:12 -07:00
Andrey Lushnikov 111e55992e
devops: roll Chromium to r871980 (#6275)
NOTE: this is a non-dev revision. We roll to it to make sure
that swiftshader issues are fixed now.

See https://crbug.com/1200964
2021-04-22 15:03:48 -07:00
Andrey Lushnikov 59d1d2df2f
devops: add swiftshader file to Chromium builds (#6274)
See https://chromium-review.googlesource.com/c/chromium/src/+/2845811
2021-04-22 14:55:53 -07:00
Yury Semikhatsky 34e03fc77d
browser(webkit): roll to 04-21 (#6257) 2021-04-21 13:00:36 -07:00
Andrey Lushnikov faf39a23ac
devops: fix firefox-stable roll build (#6255) 2021-04-20 16:55:35 -07:00
Andrey Lushnikov 4dd8a1c8f1
browser(firefox-stable): roll to Firefox 88.0 (#6249) 2021-04-20 13:46:46 -07:00
Andrey Lushnikov 09c35adbd5
browser(firefox): roll firefox-beta to Apr 20, 2021 - version 89.0b2 (#6247) 2021-04-20 13:27:57 -07:00
Joel Einbinder ce0098d9eb
devops(chromium): build a new Chromium Dev 870763 (#6203) 2021-04-15 11:58:09 -07:00
Yury Semikhatsky 96cee43861
browser(webkit): roll to safari-612.1.11-branch (#6185) 2021-04-12 12:38:11 -07:00
Andrey Lushnikov 82e8c7226d
devops: fix firefox-stable build script (#6175)
The old mach used `--no-interactive` flag at a different place.
2021-04-09 22:36:24 -07:00
Andrey Lushnikov 17c6406e6c
devops: add firefox-stable channel browser (#6173)
This adds a firefox-stable application to build on our bots.
This is basically a rebaselined version of 66541552d0

The firefox base revision is bb9bf7e886
Which is taken from `about://buildconfig` of a stable Firefox version
on Mac as of Apr 9, 2021.

References #5993
2021-04-09 22:13:19 -07:00
Ross Wollman 957abc49e9
devops(chromium): build a new Chromium Dev 869727 (#6149) 2021-04-09 11:54:14 -07:00
Yury Semikhatsky 5fe3ee13f0
browser(webkit): fix assertion unsafe to ref/deref from different threads (#6163) 2021-04-09 11:36:01 -07:00
Yury Semikhatsky bd0043b8cb
browser(webkit): keep browser process running when all windows closed (#6131) 2021-04-07 19:13:20 -07:00
Yury Semikhatsky d6c415749a
browser(webkit): fix curl compilation (#6115) 2021-04-06 22:24:14 -07:00
Andrey Lushnikov 4bec81b111
browser(firefox): roll Firefox to beta @ Apr 6, 2021 (#6111) 2021-04-06 17:25:18 -07:00
Yury Semikhatsky fb7c703157
browser(webkit): roll to 06-04-21 (#6106) 2021-04-06 14:56:03 -07:00
Andrey Lushnikov 2c6c816a41
devops: add firefox-ubuntu-20.04 as expected build (#6063) 2021-04-02 21:37:12 -07:00
Andrey Lushnikov 5a1974ccad
devops(chromium): build a new Chromium Dev 867878 (#6061) 2021-04-02 16:08:17 -07:00
Andrey Lushnikov 46949cd2df
devops: start doing separate builds for Firefox @ Ubuntu 20.04 (#6058)
This will fix webgl issues with headful firefox on Ubuntu 20.04

See
https://github.com/microsoft/playwright/pull/5951#issuecomment-8125735670
2021-04-02 14:16:25 -07:00
Joel Einbinder 2357f0b562
browser(firefox): fix bootstrap on bots with --no-interactive (#6047)
The command --no-interactive moved and broke our build. See https://bugzilla.mozilla.org/show_bug.cgi?id=1695272
2021-04-02 07:52:42 -07:00
Andrey Lushnikov d662eba86a
browser(firefox): roll Firefox to beta @ Apr 1, 2021 (#6041)
Merging conflicts:
038f367c30

After this roll, we no longer require our custom `onFrameLocationChanged` instrumentation
since gecko now fixed the `NOTIFY_LOCATION` behavior so that it works
for same-document navigations inside iframes.
2021-04-01 16:49:01 -07:00
Dmitry Gozman 66541552d0
browser(firefox): make dpr emulation optional, take screenshots at 1x (#5555)
- deviceScaleFactor is now optional, so we can use host machine's dpr.
- Screenshots are not scaled up by dpr.
- Removed unused methods.
2021-04-01 14:51:02 -07:00
Joel Einbinder d71c147af7
browser(firefox): fix some missing mac edit commands (#6034) 2021-04-01 11:27:44 -07:00
Andrey Lushnikov cb15603ccb
browser(firefox): do not report console messages twice. (#6031)
References #6001
2021-04-01 09:29:33 -07:00
Dmitry Gozman 9b2e4ebf73
browser(webkit): make dpr emulation optional, take screenshots at 1x (#5557)
- deviceScaleFactor is now optional, so we can use host machine's dpr.
- Screenshots are not scaled up by dpr.
2021-03-31 21:37:54 -07:00
Pavel Feldman 2f5bf04f51 browser(webkit): fix double deref 2021-03-31 00:12:11 -07:00
Pavel Feldman 3455c3265f browser(webkit): restore occlusion detection disabled 2021-03-30 23:52:11 -07:00
Yury Semikhatsky 93d532b5e1
browser(webkit): fix windows compilation (#6011) 2021-03-30 14:42:23 -07:00
Yury Semikhatsky 97955247a2
browser(webkit): roll to safari-612.1.9-branch (#6002) 2021-03-30 11:29:37 -07:00
Yury Semikhatsky 94252231f0
fix(devops): include libANGLE-shared.dylib into mac archive (#6004) 2021-03-30 11:29:03 -07:00
Yury Semikhatsky 0d3d27d3ee
browser(webkit): trigger new build after updating cleanup script (#5997) 2021-03-29 23:55:07 -07:00
Yury Semikhatsky 9473f39b0b
fix(devops): cleanup now removes entire webkit build dir on mac (#5996) 2021-03-29 23:48:34 -07:00
Ross Wollman 6d6f802e5a
fix: favicon with color pref crashes firefox (#5977) (#5979) 2021-03-29 14:53:18 -07:00
Pavel Feldman 4cf0568ad7
browser(webkit): support safe area insets (#5987) 2021-03-29 11:38:26 -07:00
Yury Semikhatsky 2cce8850b7
browser(webkit): roll to safari-612.1.8-branch (#5965) 2021-03-26 11:54:55 -07:00
Pavel Feldman 6c1d3f65b5
browser(webkit): refresh embedder UI on macOS (#5957) 2021-03-26 09:44:31 -07:00
Yury Semikhatsky 5872d0407a
browser(chromium): build current dev chromium (865012) (#5950) 2021-03-25 09:31:41 -07:00
Yury Semikhatsky 7d7e5ede84
browser(webkit): roll back to safari-612.1.7-branch first commit (#5920) 2021-03-23 13:45:42 -07:00
Andrey Lushnikov 172de4082a
browser(chromium): build current dev chromium (#5911) 2021-03-22 17:38:28 -07:00
Yury Semikhatsky b74af2269f
browser(webkit): fix mac compilation after latest roll (#5909) 2021-03-22 14:34:58 -07:00
Yury Semikhatsky 6dd4d756dc
browser(webkit): roll to 03-22-21 (#5903) 2021-03-22 11:22:56 -07:00
Andrey Lushnikov 1fab84577a
browser(firefox): roll Firefox to beta @ Mar 16, 2021 (#5852) 2021-03-17 00:46:02 -07:00
Andrey Lushnikov 8dc740570a
devops: refactor check_cdn.sh script (#5835)
Introduce `EXPECTED_BUILDS` list in each application folder and use
these lists when determining if all builds are ready.
2021-03-16 01:14:45 -07:00
Andrey Lushnikov e64f66685a
devops: fork webkit into a separate browser (#5834)
Official WebKit no longer supports Mac 10.14. However, since
this system is still very much in use, we want to be able to
keep it running for a while.

This patch adds a new browser that we would compile and maintain
specifically for Mac 10.14: `deprecated-webkit-mac-10.14`. This
browser is a clone of Webkit r1443 that is the last known revision
to compile on Mac 10.14.

As we move on, we're free to modify this browser however we want,
backporting important patches.

References #5833
2021-03-16 01:08:21 -07:00
Andrey Lushnikov 8565e72e63
chore: consolidate browser cheatsheets (#5832) 2021-03-15 17:54:25 -07:00
Yury Semikhatsky 5835c7e537
browser(webkit): fix linux builds, install liblcms2-dev (#5831) 2021-03-15 17:01:51 -07:00
Yury Semikhatsky 226bee01f0
browser(webkit): roll to 03-15-21 (#5828) 2021-03-15 15:33:24 -07:00
Yury Semikhatsky bc3a0fb9bd
browser(webkit): roll to 03-08-21 (#5754) 2021-03-08 11:04:18 -08:00
Joel Einbinder e56f56c11e
browser(firefox): pass null for the data transfer (#5723) 2021-03-04 17:20:45 -08:00
Dmitry Gozman 5903e771da
browser(chromium): roll to 857950 (#5709) 2021-03-03 13:19:57 -08:00
Andrey Lushnikov 28d9f244df
browser(firefox): roll Firefox to Beta @ Feb 28, 2021 (#5659)
Diff merges:
498eaa7a87

Additional changes:
8404fbe1ad
2021-03-02 18:52:19 -08:00
Dmitry Gozman f2a3d21a75
browser(chromium): roll to 858453 (#5670) 2021-03-01 16:33:19 -08:00
Yury Semikhatsky 01abeac43e
browser(webkit): roll to 03/2 (#5656) 2021-03-01 09:59:55 -08:00
Pavel Feldman 8906ba332c
chore: spell overridden (#5605) 2021-02-24 15:11:34 -08:00
Yury Semikhatsky 11d3eb6bfe
browser(webkit): fix mac compilation take 2 (#5567) 2021-02-23 16:03:33 -08:00
Joel Einbinder e677e7ba4e
browser(firefox): pass drag action test (#5560) 2021-02-23 15:21:29 -08:00
Yury Semikhatsky df4b98464f
browser(webkit): fix mac compilation (#5564) 2021-02-23 14:49:28 -08:00
Yury Semikhatsky 4ae4c3cb01
browser(webkit): fix response.requestHeaders instrumentation in libsoup after latest roll (#5549) 2021-02-22 14:26:08 -08:00
Yury Semikhatsky 8316f41030
browser(webkit): roll to 02-22 (#5547) 2021-02-22 12:47:55 -08:00
Andrey Lushnikov a891becfba
chore: remove //browser_patches/buildbots folder (#5535)
Since we migrated all our builders/testers to the GitHub self-hosted
runners, we no longer need scripts to operate our own bots.
2021-02-22 09:09:19 -08:00
Andrey Lushnikov eb3efb3089
fix: do not ship broken symlinks in webkit for mac (#5512)
Since we don't ship things like WebKitPluginAgent, we can
safely remove all the symlinks that point to the missing targets.

Fixes #5472
2021-02-19 21:31:33 -08:00
Andrey Lushnikov 496aeeba79
browser(firefox): follow-up with crash reporter disabling (#5534)
Since we now disable crash reporter compilation and don't ship it
with Firefox anymore, we should not attempt to disable it
with preferences.
2021-02-19 21:30:50 -08:00
Andrey Lushnikov f10d0a8a58
devops: do not create non-removable folders on windows (#5533)
This fixes a bug where the script was creating a folder with a new line
symbol in its name. As a result, Windows was failing to remove  this
folder, and Chromium Windows BuildBot was failing to even initialize
checkout.
2021-02-19 20:18:23 -08:00
Dmitry Gozman d6ac3e6883
browser(webkit): honor Set-Cookie header from intercepted requests (mac) (#5529) 2021-02-19 16:28:54 -08:00
Andrey Lushnikov e2a935b3d6
devops: fix nits in browser compilation infrastructure (#5526)
This patch:
- makes sure that failed runs actually show as failed in GHA
- attempts to use MINGW's `du` and `awk` to get upload size
2021-02-19 14:43:27 -08:00
Andrey Lushnikov c57f1fc390
devops(chromium): missing depot tools in prepare_checkout.sh script (#5525)
Make sure `prepare_checkout.sh` has depot_tools in its PATH.

Drive-by: enable goma compiler proxy auto-restart.
2021-02-19 14:23:09 -08:00
Andrey Lushnikov bba9fabfe3
browser(firefox): roll Firefox to beta @ Feb 19, 2021 (#5521) 2021-02-19 13:11:05 -08:00
Andrey Lushnikov 7ed1d88567
browser(chromium): build Chromium Dev revision (#5522) 2021-02-19 13:10:50 -08:00
Andrey Lushnikov 18ce95632f
devops: fix firefox build (#5516) 2021-02-19 10:52:12 -08:00
Andrey Lushnikov b2d9af5e15
browser(firefox): properly initialize debugging pipe on windows (#5514)
browser(firefox): properly initialize debugging pipe on windows

Firefox on Windows has 2 launch modes:
- default: a special "launcher process" is used to start browser as a
  sub-process
- non-default: browser process starts right away

Firefox has a logic to detect how successful was the use of the
launcher process to do self-recovery when things go wrong. Namely:
- when attempting to use launcher process, firefox records a timestamp
  of the attempt beginning
- once the launcher process successfully launches browser sub-process,
  firefox records another timestamp of the completion

On a new launch, firefox checks what timestamps are present. If there's
a timestamp that signifies start of launcher process, but no successful
timestamp, it decides that last "launcher process" use was not
successful and falls back to launching browser right away.

When launching 2 firefox processes right away, the first process
uses attempts to use launcher process and records the first timestamp.

At the same time, the second instance sees the first timestamp and
doesn't see the second timestamp, and falls back to launching browser
right away. Our debugging pipe code, however, does not support
non-launcher-process code path.

This patch adds support for remote debugging pipe in case of
non-launcher-process startup.

Drive-by:
- disable crashreporter altogether
- remove stray dcheck that breaks firefox debug compilation
- disable compilation of firefox update agent
- do not use WIN32_DISTRIB flag unless doing full builds since
  it kills incremental compilation


References #4660
2021-02-19 10:32:47 -08:00
Joel Einbinder 846fd71121
browser(webkit): fix scrolling in mobile viewports (#5497) 2021-02-18 13:29:17 -08:00
Andrey Lushnikov 8c18b90038
devops: refactor chromium automation scripts (#5486)
Split preparing checkout, archiving and compiling into separate
scripts similarly how we do it with other browsers.
2021-02-17 14:43:19 -08:00
Andrey Lushnikov 4f1d84d6b9
browser(webkit): respect download attribute (#5474)
References #5396
2021-02-16 10:22:19 -08:00
Andrey Lushnikov 027f2ba9e1 devops: enable goma.sh debugging info 2021-02-16 09:34:26 -07:00
Dmitry Gozman 822f7cb1eb
browser(firefox): respect Set-Cookie header from fulfilled request (#5456) 2021-02-15 22:49:57 -08:00
Andrey Lushnikov 2a40d8ec8e
devops: fix goma startup and shutdown (#5447)
Turns out goma scripts have to be called from goma directory.
2021-02-12 11:01:49 -08:00
Andrey Lushnikov 8500592326
devops: fix post-checkout cleanup on windows (#5438)
Turns out empty trailing space in array in bash results in a file
in windows that it fails to remove while during cleanup.
2021-02-12 01:48:11 -08:00
Andrey Lushnikov 539942c803 devops: empty commit to test internal tests 2021-02-12 02:21:39 -07:00
Andrey Lushnikov 2ac93f0a8b devops: another attempt to trigger internal tests (empty commit) 2021-02-12 02:07:22 -07:00
Andrey Lushnikov 17b792bcf5 devops: attempt to trigger internal tests (empty commit) 2021-02-12 02:05:45 -07:00
Andrey Lushnikov f2a31ad8c5
browser(chromium): build Chromium Dev revision as of Feb 12 (#5435) 2021-02-12 00:32:57 -08:00
Andrey Lushnikov a42c46b986
browser(firefox): roll Firefox to beta @ Feb 11, 2021 (#5421) 2021-02-11 14:15:26 -08:00
Andrey Lushnikov 44ff8b518b
devops: fix win archiving logic (#5420)
One can't use "for-of" iteration over bash arrays if values
contain strings :(
2021-02-11 08:18:05 -08:00
Andrey Lushnikov 206432cefd devops: fix goma startup on windows 2021-02-09 11:00:53 -07:00
Andrey Lushnikov db633c4491 devops: fix args.gn syntax with goma 2021-02-09 10:11:03 -07:00
Andrey Lushnikov 32d62a5c2d
devops: fix goma path on windows (#5381)
Convert unix path to win path when running GOMA on windows.
2021-02-09 09:06:50 -08:00
Andrey Lushnikov 909544907c
devops: rename env variable (#5379)
goma searches for all `GOMA_*` env variables and fails if it doesn't
understand any.

To avoid this, rename our `GOMA_LOGIN_COOKIE` env variable into a
`PLAYWRIGHT_GOMA_LOGIN_COOKIE`.
2021-02-09 08:56:29 -08:00
Andrey Lushnikov d5a51a25b0
devops: fix chromium-win build (#5378)
- add missing build targets
- do not copy *.pdb files in folders
2021-02-09 08:49:59 -08:00
Andrey Lushnikov ad557dc6da
devops: introduce goma infrastructure for Chromium builds (#5377)
This patch adds `//browser_patches/chromium/goma.sh` script that
manages goma to build chromium.
2021-02-09 08:33:39 -08:00
Andrey Lushnikov 21c24c2357
devops: do not check for logs existance when building browsers (#5367)
In our *old world*, browser buildbots were polling repo and were
trying to rebuild browsers every 5 minutes. They relied on the presence
of either build or build log on the CDN to avoid continiously
re-building.

In the new world, we trigger builds only when we change the
`BUILD_NUMBER` files, so there's no polling any more.

This patch removes the check for log presence so that those builds that
were failing due to misconfiguration (e.g. Visual Studio license
required updated) could be restarted just from the GitHub UI.
2021-02-08 16:19:37 -08:00
Yury Semikhatsky 551338e953
browser(webkit): roll to 02-08 (#5356) 2021-02-08 11:00:05 -08:00
Andrey Lushnikov 3c657cbae6
browser(chromium): roll to r851527 (#5348) 2021-02-08 01:03:30 -08:00
Andrey Lushnikov f3a5bba2c4
devops: infra to automate chromium builds (#5347) 2021-02-07 23:54:10 -08:00
Joel Einbinder d1aad632ee
browser(webkit): fix scrolling a second time on linux (#5173) 2021-02-04 12:12:04 -08:00
Andrey Lushnikov d851bcead7
devops: bundle ffmpeg license file with our archives (#5301)
References #5278
2021-02-03 19:36:10 -08:00
Yury Semikhatsky 509c3e91b4
browser(webkit): fix ubuntu 18 compilation (#5294) 2021-02-03 15:54:54 -08:00
Andrey Lushnikov bbfbb1b2f7
browser(firefox): fix build on Windows (#5275) 2021-02-03 09:50:35 -08:00
Yury Semikhatsky 9d72d6b625
browser(webkit): roll to 02-03-21 (#5277) 2021-02-03 09:17:21 -08:00
Andrey Lushnikov 985dd5666f devops(chromium): fix chromium linux build 2021-02-03 07:35:29 -07:00
Andrey Lushnikov 8d4dc600f8 devops(firefox): properly cleanup old node.js artifact 2021-02-02 23:59:33 -07:00
Andrey Lushnikov 986bddaecc devops(firefox): fix arm build dependency management 2021-02-02 23:03:54 -07:00
Andrey Lushnikov 11f570be61
devops(firefox): fix Firefox on Apple Silicon (#5272)
As per guide at https://docs.google.com/document/d/1N5yfEVEISofMmjAxfj3xXONGwyQYBSilsfXqux_M6TM/edit
2021-02-02 21:53:23 -08:00
Andrey Lushnikov b392c57a53
devops: attempt to install Firefox build deps on buildbots (#5271) 2021-02-02 21:35:12 -08:00
Yury Semikhatsky 1ffd654d63
browser(webkit): roll to 02-02-21 (#5263) 2021-02-02 15:20:35 -08:00
Andrey Lushnikov e53c9c35db
browser(firefox): roll Firefox to beta @ Feb, 1 2021 (#5248) 2021-02-01 15:50:11 -08:00
Andrey Lushnikov 7b5363198b
devops: fix chromium build on Intel MacBook (#5242) 2021-02-01 09:30:04 -08:00
Joel Einbinder fc405ee8b2
browser(webkit): mac drag and drop (#4994) 2021-02-01 03:30:31 -08:00
Andrey Lushnikov 01bddcd171 devops(chromium): account for terminated / interrupted jobs 2021-01-28 13:15:23 +03:00
Andrey Lushnikov c9fae65400 devops: fix chromium checkout 2021-01-28 12:56:45 +03:00
Andrey Lushnikov 75a0d7a76b
devops(chromium): install depot_tools if missing (#5204) 2021-01-28 01:43:54 -08:00
Andrey Lushnikov a7eea9ffdc
browser(chromium): roll Chromium to r846621 (#5203)
This roll should test Chromium compilation for Mac x86_64 and Linux.
2021-01-28 01:19:00 -08:00
Andrey Lushnikov 51d90c593b
devops: support Chromium mac compilation (#5202) 2021-01-28 01:14:44 -08:00
Andrey Lushnikov b323018881
devops: fetch chromium checkout if it has not been before (#5169)
Checkouts should reside outside of gihtub action working directory
so will be reused between builds.
2021-01-28 00:20:19 -08:00
Andrey Lushnikov 90bc837e55
devops: start compiling Chromium on Linux (#5166) 2021-01-27 08:42:35 -08:00
Dmitry Gozman 77b5f05ef7
browser(webkit): fix scrollIntoViewIfNeeded (#5146)
Last change mistakenly used alignCenterIfNotVisible,
while we should use alignCenterIfNeeded to ensure scrolling
into view when partially visible.
2021-01-25 14:02:16 -08:00
Yury Semikhatsky 7d2293c6ed
browser(webkit): roll to 01-25 (#5141) 2021-01-25 11:27:08 -08:00
Yury Semikhatsky 680689d075
browser(webkit): try to fix Ubuntu 18 build (#5119) 2021-01-22 16:10:01 -08:00
Andrey Lushnikov b88afe5877
devops: fix chromium for arm build (#5117) 2021-01-23 02:23:59 +03:00
Andrey Lushnikov 546454095e
devops: attempt to fix chromium-mac-arm64 build (#5107)
It looks like gn generation should use correct xcode version as well.
2021-01-22 15:47:24 +03:00
Andrey Lushnikov 2f29c6b066
browser(firefox): roll Firefox to beta Jan, 18 2021 (#5106) 2021-01-22 12:41:12 +03:00
Andrey Lushnikov 2096f4248a
devops: fix chromium compilation step (#5102) 2021-01-22 11:31:26 +03:00
Andrey Lushnikov ff75073cc8
devops: automation to compile chromium for mac arm64 (#5101)
References #5067
2021-01-22 11:27:40 +03:00
Dmitry Gozman a7d33b2fec
browser(chromium): roll to 845618 (#5094) 2021-01-21 17:23:19 -08:00
Dmitry Gozman 05568f7420
browser(webkit): change scrollIntoView to only scroll if needed (#5079) 2021-01-20 21:06:29 -08:00
Yury Semikhatsky 449bcdcbf9
browser(webkit): roll to 01-19 (#5064) 2021-01-19 23:18:05 -08:00
Dmitry Gozman d05c091768
chore: roll chromium to 844399 (#5043) 2021-01-17 12:25:39 -08:00
Yury Semikhatsky fdfea2b765
browser(webkit): add another missing include to fix mac after roll to 01-15 (#5037) 2021-01-15 18:56:24 -08:00
Yury Semikhatsky 940cf35d84
browser(webkit): add missing include on mac after roll to 01-15 (#5033) 2021-01-15 14:43:48 -08:00
Yury Semikhatsky 0ab6a53212
browser(webkit): roll to 01-15 (#5032) 2021-01-15 12:53:05 -08:00
Pavel Feldman 19b58d47b1
chore: bump chromium to r843427 (#5022) 2021-01-14 15:37:09 -08:00
Andrey Lushnikov 7665a6ec7f
devops: support apple silicon builds of Firefox (#4979) 2021-01-12 03:57:59 +03:00
Joel Einbinder 36650b1e19
browser(webkit): fix compile on mac (#4977) 2021-01-11 14:30:06 -08:00
Yury Semikhatsky 56f012043b
browser(webkit): fix mac compilation after roll to 01-11 (#4972) 2021-01-11 11:30:54 -08:00
Yury Semikhatsky 62c52e8628
browser(webkit): roll to 01-11 (#4971) 2021-01-11 11:00:07 -08:00
Yury Semikhatsky 5854cadd0b
browser(webkit): fix typo in macro name (#4970) 2021-01-11 10:03:45 -08:00
Joel Einbinder cc1a79eceb
browser(webkit): drag and drop on windows (#4889) 2021-01-06 09:46:35 -08:00
Yury Semikhatsky 2908568f9a
browser(webkit): install new dependency required for openxr on linux (#4906) 2021-01-05 16:05:21 -08:00
Andrey Lushnikov 6b94f5f1b9
browser(firefox): roll Firefox to beta @ Jan 5, 2021 (#4904) 2021-01-06 02:49:28 +03:00
Yury Semikhatsky 5df1c6e560
browser(webkit): roll to 01-05 to pick up upstream Win fix (#4894) 2021-01-05 13:08:52 -08:00
Yury Semikhatsky 849a5b3795
browser(webkit): roll to 01-04 (#4882) 2021-01-05 09:13:13 -08:00
Yury Semikhatsky 3ff81fe172
browser(webkit): do run win build again if first attempt failed (#4881) 2021-01-04 13:40:56 -08:00
Yury Semikhatsky b0b1561c92
browser(webkit): kick off next build (#4878) 2021-01-04 11:01:43 -08:00
Yury Semikhatsky 736ef4e879
browser(webkit): call build.sh twice on Windows (#4875) 2021-01-04 10:49:46 -08:00
Joel Einbinder 75198f044d
browser(chromium): bump to r839741 (#4857)
References #4851
2020-12-30 09:36:14 -08:00
Dmitry Gozman ded2bc2396
browser(webkit): postpone creation of the first page (#4769)
When we create the first page in the default context in headless mode on mac,
it gets NSWindow that is "not visible". Although we call [window setIsVisible:YES],
later on window.isVisible still returns NO.

We create our offscreen "headless" NSWindow directly from applicationDidFinishLaunching:.
Experiments show that delaying this by 100ms makes everything work. As a symptom,
we get applicationDidUnhide: notification that does not happen when we create the window
immediately.

Perhaps, we create the window too early, and there is some essential initialization
that happens after applicationDidFinishLaunching:. However, if we call
[NSApp activateIgnoringOtherApps:YES] like we do in headful mode, everything works.

The only solution that worked so far is creating the first page after a timeout.
2020-12-29 13:49:39 -08:00
Joel Einbinder e7ee426202
yury comments (#4639) 2020-12-23 08:04:59 -08:00
Yury Semikhatsky 73edf13ad6
browser(webkit): roll to 12-21 (#4794) 2020-12-21 16:07:45 -08:00
Yury Semikhatsky b3e7838582
browser(firefox): clear AuthCache when setting context proxy (#4793) 2020-12-21 15:54:15 -08:00
Andrey Lushnikov 761bd78879
browser(firefox): fix build on MacOS (#4758) 2020-12-17 21:02:01 -08:00
Andrey Lushnikov b56dd7deb1
devops: kick ffmpeg build (#4757)
Try building ffmpeg on github self-hosted runner
2020-12-17 18:30:04 -08:00
Yury Semikhatsky e4658ea9c0
browser(webkit): base64 encode request.postData (#4743) 2020-12-16 14:35:05 -08:00
Yury Semikhatsky 94f5002ae4
browser(webkit): install patchelf (required by generate-bundle) (#4741) 2020-12-16 12:53:28 -08:00
Yury Semikhatsky b014fa1855
browser(webkit): roll to 12-16 (#4739) 2020-12-16 09:19:27 -08:00
Yury Semikhatsky 50b0b47993
browser(webkit): mac build fix after roll to 12-15 (#4733) 2020-12-15 23:07:34 -08:00
Andrey Lushnikov 0af34a4f0b
devops: firefox build now requires newer MacOS SDK to build against (#4732) 2020-12-15 16:27:34 -08:00
Yury Semikhatsky eecb798356
browser(webkit): roll to 12-15 (#4727) 2020-12-15 13:00:49 -08:00
Andrey Lushnikov 5f6ccee742
browser(firefox): roll Firefox to beta Dec 14, 2020 (#4716)
Merge conflicts: 57ba98733f
2020-12-14 15:28:48 -08:00
Andrey Lushnikov b486e840ad
devops: revert ability to skip architecture enforcement (#4667) 2020-12-10 08:43:42 -08:00
Andrey Lushnikov add7ce7ffc devops: fix buildbot mac m1 name 2020-12-08 23:51:22 -06:00
Andrey Lushnikov c36af734f5
devops: add old-fashioned scripts to run Mac M1 buildbot (#4649)
Even though we're undergoing migration to GitHub self-hosted runners,
they don't currently support running natively under Arm. The resulting build ends up to be
x86_64.

See https://github.com/actions/runner/issues/805
2020-12-08 20:15:37 -08:00
Andrey Lushnikov 93c362de1b
devops: fix architecture enforcement (#4645) 2020-12-08 18:45:45 -08:00
Andrey Lushnikov 6d3278f1eb
devops: add ability to skip architecture enforcement (#4644)
Github self-hosted runners currently run under rosetta:
https://github.com/actions/runner/issues/805

This patch is an attempt to build arm webkit from-inside rosetta
shell on arm hardware.
2020-12-08 18:31:58 -08:00
Andrey Lushnikov dd9c312b77
devops: start producing WebKit builds for Apple Silicon (#4643)
\m/
2020-12-08 17:15:44 -08:00
Andrey Lushnikov 64a2940a0d
devops: fix webkit archiving (#4642)
Protocol concatenation script did not account for `WK_CHECKOUT_PATH`.
2020-12-08 16:32:45 -08:00
Andrey Lushnikov 17f1b20f39
devops: trigger all builds with new windows buildbot (#4638) 2020-12-08 11:03:11 -08:00
Andrey Lushnikov c1dcef39a3
devops(windows): fix vswhere location (#4636)
%PROGRAMFILES% locations depends on shell bitness; we're migrating from
mingw32 to mingw64.
2020-12-08 10:27:05 -08:00
Dmitry Gozman 99b98d62a6
browser(webkit): do not spam stderr with screencast debug logs (#4635) 2020-12-08 09:59:57 -08:00
Dmitry Gozman e1e000d264
browser(firefox): do not spam stderr with screencast logs (#4630) 2020-12-08 09:30:34 -08:00
Andrey Lushnikov 73982834e7
devops: absolute paths for webkit libraries and output directory (#4627) 2020-12-07 14:30:06 -08:00
Dmitry Gozman e8dcd8767f
browser(chromium): build 833159 (#4623) 2020-12-07 10:58:07 -08:00
Andrey Lushnikov e75ebc1752
browser(firefox): roll Firefox to Dec, 7 2020 (#4622) 2020-12-07 10:27:50 -08:00
Yury Semikhatsky 4be41f2571
browser(webkit): build fix, switch to the new download API (#4621) 2020-12-07 10:10:32 -08:00
Andrey Lushnikov d8520f0695
devops: fix webkit building on windows (#4618) 2020-12-07 09:21:36 -08:00
Andrey Lushnikov 13e2ef1d10
devops: suppport WK_CHECKOUT_PATH variable (#4617)
`WK_CHECKOUT_PATH` defines location of webkit checkout on the
file system. All browser-related scripts, like `prepare_checkout.sh` and
`export.sh` respect this environment variable on all platforms.
2020-12-07 08:42:20 -08:00
Andrey Lushnikov 6fe7d9c19f
devops: support FF_CHECKOUT_PATH to customize browser checkout (#4607)
**Preamble**

1. We're trying to setup a windows-based github self-hosted runner in the
  playwright-internal repo.
1. Commands on Windows are mandated to have total arguments length
  less then 32767 characters.
1. On windows, github self-hosted runner framework puts repository
checkout at `c:\w\playwright-internal\playwright-internal`
1. Our scripts create a checkout at
`c:\w\playwright-internal\playwright-internal\browser_patches\firefox\checkout`
1. One of the scripts in Firefox buildsystem tries to execute a command,
passing lots of absolute paths to various webidl's
1. The command fails due to restriction in (2)

**Problem**

Firefox build fails since checkout is deeply nested and hits max arg
size on windows.

**Solution**

This patch introduces a new variable `FF_CHECKOUT_PATH` that is
respected by all browser-related scripts. This way we'll be able
to checkout firefox to `c:\firefox` and avoid hitting long arguments
limit.
2020-12-04 18:46:20 -08:00
Yury Semikhatsky b6eb8e0a90
browser(webkit): fix mac build (#4605) 2020-12-04 17:45:18 -08:00
Yury Semikhatsky cdbc96ac3a
browser(webkit): roll to 12-04 (#4601) 2020-12-04 16:11:08 -08:00
Andrey Lushnikov 7dc386fa1a
browser(webkit): produce xcode 12.2 build on Mac 10.15 (#4599) 2020-12-04 11:49:07 -08:00
Andrey Lushnikov 8551fff43b
browser(firefox): disable cross-process navigation (#4594)
This disable cross-process navigation until we properly support it.

References #4297
2020-12-04 10:13:50 -08:00
Andrey Lushnikov 31e22dee50
devops(win): fix paths to vswhere.exe in 64-bit shells (#4577)
The `$PROGRAMFILES` variable is defined per the bitness of the
application: 32-bit shells get `C:\Program Files (x86)`, whereas
64-bit shells get `C:\Program Files`.

Visual Studio, however, has only 32-bit build and is always located in
the `C:\Program Files (x86)` folder.

This patch fixes `//browser_patches/firefox/build.sh` on 64-bit windows
shell.
2020-12-03 08:09:05 -08:00
Dmitry Gozman e8419f85b6
browser(firefox): support alertCheck and confirmCheck dialogs (#4553)
These are shown with "prevent this page from showing more dialogs" checkbox.
2020-11-30 20:05:15 -08:00
Yury Semikhatsky 512516c956
browser(webkit): retore changes from #4539 (#4544) 2020-11-30 10:49:27 -08:00
Yury Semikhatsky 8f70c95d6c
browser(webkit): roll to 11-30 (#4541) 2020-11-30 10:17:36 -08:00
Andrey Lushnikov 730f6f87a2
browser(firefox): roll Firefox to beta Nov 30, 2020 (#4542) 2020-11-30 10:17:03 -08:00
Joel Einbinder d96330bbec
browser(webkit): override availWidth with screen width (#4539) 2020-11-30 10:04:28 -08:00
Andrey Lushnikov 51865fe584
chore: bump WebKit build number to test self-hosted runners (#4525) 2020-11-25 08:38:23 -08:00
Joel Einbinder d06afadb8b
browser(firefox): send dragend after drop and survive navigations (#4506) 2020-11-25 03:47:34 -08:00
Andrey Lushnikov 17bec4f6f8
browser(firefox): rebaseline atop of Nov, 23 2020 (#4516) 2020-11-23 16:21:07 -08:00
Dmitry Gozman 14a96ca21f
browser(firefox): ensure detachedFromTarget is always sent (#4505)
browser(firefox): ensure detachedFromTarget is always sent

LinkedBrowser can throw when removing listeners in PageTarget.dispose,
and that prevents BrowserHandler from sending Browser.detachedFromTarget.

Using a try-catch seems good enough.
2020-11-20 10:48:06 -08:00
Pavel Feldman 95aab3b29d
browser(chromium): prepare r828656 (#4499) 2020-11-19 12:44:05 -08:00
Andrey Lushnikov 6bc45d9247
browser(firefox): browser.version() to return full version (#4491)
Currently, browser.version() returns `83.0`, whereas launching firefox
with `--version` flag returns `83.0b3`. This patch alings protocol's
`Browser.version()` with flag output.
2020-11-19 08:24:17 -08:00
Dmitry Gozman 1169c5ab50
browser(webkit): close on pipe disconnect (#4484) 2020-11-18 19:34:33 -08:00
Yury Semikhatsky a11be3e9ef
browser(webkit): roll to 11-18 (#4481) 2020-11-18 13:03:42 -08:00
Andrey Lushnikov cb1f2a38f3
browser(firefox): roll Firefox to Nov 17,2020 (#4477)
Changes accomodate touchEventsOverride that has moved to the
browser side.
2020-11-18 08:19:09 -08:00
Andrey Lushnikov 8860d6d11d
chore: try building webkit on github selfhosted runner (#4476) 2020-11-17 21:03:51 -08:00
Pavel Feldman fc0388813e
browser(chromium): pick 827102 for roll (#4460) 2020-11-16 16:43:37 -08:00
Pavel Feldman 79c592ed7d
browser(webkit): do not create unique page groups for pages (#4456) 2020-11-16 14:31:50 -08:00
Yury Semikhatsky 5509e98ba5
browser(webkit): fix mac build after latest roll (#4455) 2020-11-16 14:25:58 -08:00
Yury Semikhatsky 39fcf1bc54
browser(firefox): do not leak reponses (#4453) 2020-11-16 13:16:20 -08:00
Yury Semikhatsky bd76e9ddbf
browser(webkit): roll to 11-16 (#4451) 2020-11-16 13:02:55 -08:00
Dmitry Gozman 2f73a45e63
browser(chromium): roll to 827767 (#4452) 2020-11-16 12:43:56 -08:00
Joel Einbinder e91140e88c
browser(firefox): force a layout before dispatching a tap (#4428) 2020-11-16 11:07:06 -08:00
Yury Semikhatsky 0167f8c182
browser(firefox): allow to override request url (#4436) 2020-11-13 14:56:27 -08:00
Dmitry Gozman 2e65f78874
browser(firefox): close browser when pipe disconnects (#4437) 2020-11-13 14:51:40 -08:00
Dmitry Gozman 9e1b26f9f9
browser(webkit): close on pipe disconnect (#4421) 2020-11-13 10:02:37 -08:00
Yury Semikhatsky 8f7286175e
browser(webkit): roll to 11-12 (#4417) 2020-11-12 11:10:42 -08:00
Yury Semikhatsky 8488c296f9
browser(firefox): allow to override content-type along with post data (#4416) 2020-11-12 10:41:49 -08:00
Pavel Feldman d3135871e5
browser(chromium): fetch r825625 (#4406) 2020-11-11 12:45:01 -08:00
Yury Semikhatsky 508be0d78f
browser(webkit): fix big sur crashes after latest roll (#4391) 2020-11-09 22:29:52 -08:00
Yury Semikhatsky bd75fb1c55
browser(webkit): roll to 11-09 (#4384) 2020-11-09 11:30:12 -08:00
Dmitry Gozman ae738c1fac
browser(firefox): ignore WebProgress events coming from workers (#4380)
Somehow, we get WebProgress state changes when worker is loaded
with a blob url. This messes up frame navigation detection.

Luckily, it's easy to filter out non-document state changes.
2020-11-09 09:29:34 -08:00
Dmitry Gozman 06c8881dad
browser(firefox): fix videoSessionId (#4374)
PRIx8 produced "%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx",
so video session ids were clashing between pages, and popup videos
did not work.
2020-11-06 15:08:03 -08:00
Joel Einbinder d4fb159154
browser(webkit): fix webcontent startup crash on macos 11 (#4370)
reverts #4357 and provides the real fix. Apple accidentally landed some code that will crash the web process if it is not signed by them. I'm sure they will figure it out once they get test bots for macos 11. But until then, we can just revert.

https://bugs.webkit.org/show_bug.cgi?id=218342
2020-11-06 11:11:19 -08:00
Andrey Lushnikov c522a0dfba
browser(firefox): force always active docshell (#4363)
This forces active docshell for all content processes.

References #4208
2020-11-05 17:53:22 -08:00
Yury Semikhatsky 49e4d9a347
browser(webkit): force rebuild with new redistributable dlls (#4364) 2020-11-05 17:51:28 -08:00
Yury Semikhatsky 040f9b04ca
browser(webkit): copy MS VC++ redistributable libs from VS installation (#4360) 2020-11-05 16:51:42 -08:00
Yury Semikhatsky aafcf932bc
browser(firefox): bundle VS C++ redistributable dlls (#4359) 2020-11-05 13:56:15 -08:00
Andrey Lushnikov bc20bfd4cc
browser(webkit): disable cache compiled sandbox (#4357)
This seems to be broken on BigSur.
2020-11-05 09:25:36 -08:00
Andrey Lushnikov b94a7c0e60
devops: speedup initial browser checkout (#4352)
Instead of checking out the whole repository, we now do a shallow
clone.

We then gradually "unshallow" the clone, looking for the `BASE_REVISION`.

This should fix experimental mac-11 builder.
2020-11-05 02:04:06 -08:00
Andrey Lushnikov 4d8ef423ba
devops: add instructions to build mac on BigSur (#4350) 2020-11-05 00:49:05 -08:00
Yury Semikhatsky 283bc2c7d0
devops: ensure that embedder directory does not exist (#4340)
Otherwise `cp -r from to` will copy content of `from` to a subdirectory in `to`
2020-11-04 11:20:47 -08:00
Andrey Lushnikov 5dc632b82e
chore: mirror Chromium 823944 to our cdn (#4339)
References #4021
2020-11-04 09:44:30 -08:00
Yury Semikhatsky 890add98fe
browser(webkit): do not hang on close when there is a dialog (#4332) 2020-11-03 18:58:57 -08:00
Yury Semikhatsky 031f0bf539
browser(webkit): fix mac build failure caused by touch events (#4330) 2020-11-03 16:21:42 -08:00
Yury Semikhatsky c6b4263e54
browser(webkit): fix timezone overrides after last roll (#4329) 2020-11-03 14:54:28 -08:00
Andrey Lushnikov 799604c085
browser(firefox): roll Firefox to beta @ Nov, 3 (#4327) 2020-11-03 14:51:37 -08:00