Commit graph

1207 commits

Author SHA1 Message Date
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