1744 Commits

Author SHA1 Message Date
Andrey Lushnikov
d4c64a7425
browser(ff-beta): restore rolled back display:contents (#16507)
This restores this patch: https://github.com/microsoft/playwright/pull/16111

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

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

To launch an interactive session inside the environment:

```sh
./browser_patches/docker/cli.sh webkit-debian-11 build # builds image
./browser_patches/docker/cli.sh webkit-debian-11 enter # launches interactive container
```
2022-08-13 04:40:45 -07:00
Yury Semikhatsky
d9e8e1e92d
chore: use existing is_linux function (#16509) 2022-08-12 12:38:19 -07:00
Diego Pino
dc07a60f14
browser(webkit): rebase to 08/11/22 (253363@main) (#16490) 2022-08-12 09:38:22 -07:00
Andrey Lushnikov
acc9b528ea
devops: remove universal WebKit build (#16468)
We experimented with it and are not ready to commit.
2022-08-11 10:12:45 -07:00
Andrey Lushnikov
4e2ef0c865
browser(ff-beta): fix packaging manifest (#16451)
Pretty diff: 4e6c70ac0d
2022-08-11 05:13:27 -07:00
github-actions[bot]
24c9c6b596
browser(chromium-tip-of-tree): roll to 2022-Aug-11 (#16443)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-11 12:06:39 +02:00
github-actions[bot]
543e2b3387
browser(chromium): roll to 2022-Aug-11 (#16444)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-11 12:06:29 +02:00
Andrey Lushnikov
dd4f5ceaff
browser(ff-beta): roll Firefox Beta to 104.0b5 (#16170)
This roll moves Juggler component registration to a new system that
is used in XPCOM: this is what both RemoteAgent and Marionette use.

Drive-by: we now have to explicitly pass default values to dispatched
mouse events to avoid a `MOZ_ASSERT` trigger inside a drag service
native code.

Manual conflict resolutions: ab3ed0cb2c
2022-08-10 15:34:01 -07:00
github-actions[bot]
b7e26270dd
browser(chromium-tip-of-tree): roll to 2022-Aug-09 (#16372)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-09 12:30:04 +02:00
Yury Semikhatsky
7f9937bd67
browser(webkit): fix libpas and bmalloc link errors (#16361)
Patch by @dpino 
Fixes the following error on Ubuntu 18:
```
[716/8153] Linking CXX shared library lib/libmbmalloc.so
FAILED: lib/libmbmalloc.so 
: && <CXX> -fPIC -fdiagnostics-color=always -Wextra -Wall -pipe -Wno-odr -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-ari>
/usr/bin/ld: Source/bmalloc/CMakeFiles/bmalloc.dir/libpas/src/libpas/pas_deallocate.c.o: relocation R_X86_64_PC32 against symbol `pas_segregated_page_deallocation_did_fail' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
```

Pretty-diff: a479046919
2022-08-08 12:32:19 -07:00
github-actions[bot]
52f9e64e72
browser(chromium): roll to 2022-Aug-06 (#16330)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-06 22:20:10 +02:00
Yury Semikhatsky
02aa31048c
browser(firefox): cross thread sync in screencast (#16320)
* nsIScreencastServiceClient is not thread safe refcounted so we make nsScreencastService::Session a thread safe refcounted object and keep it alive while there are inflight frames. Once such frames get handled on the main thread we check if the session has been stopped.
* Removed mCaptureCallbackCs in favor of atomic counter (mClient is not accessed only on the main thread).
* HeadlessWindowCapturer now holds RefPtr to the headless window object to avoid use after free when clearing it as a listener on the widget.
* ScreencastEncoder is not ref counted anymore.

Pretty-diff: 5f5042ff1e
2022-08-05 15:25:26 -07:00
Diego Pino
cd1413ecab
browser(webkit): Revert downstream change introduced in last roll (#16287)
browser(webkit): Revert downstream change introduced in #1697
2022-08-05 06:26:16 +02:00
Yury Semikhatsky
4fc05e8374
browser(firefox): run callbacks inside critical section (#16282)
Pretty-diff: yury-s/gecko-dev@688b4a7
2022-08-04 18:52:30 -07:00
Diego Pino
250d5f8b9a
browser(webkit): rebase to 08/03/22 (253090@main) (#16249) 2022-08-04 11:23:45 -07:00
github-actions[bot]
9cc735bf19
browser(chromium-tip-of-tree): roll to 2022-Aug-04 (#16244)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-04 12:04:49 +02:00
Andrey Lushnikov
4a5be4934f
devops: fix Firefox beta on Ubuntu 22.04 arm64 compilation (#16220) 2022-08-03 11:56:48 -07:00
Andrey Lushnikov
8aa31bcf4b
devops: fix Firefox build on Ubuntu 22.04 arm64 (#16212)
Turns out the weird compilation error is fixed if we use Clang 14
to compile.

This is the same clang that would've been shipped in mozilla build
toolchain.
2022-08-03 09:52:54 -07:00
Yury Semikhatsky
135971c406
browser(firefox): recompute content-length if body is overridden (#16173) 2022-08-02 13:51:05 -07:00
Diego Pino
d4c63b21e7
browser(webkit): restore default a11y settings (#15844) 2022-08-02 10:31:38 -07:00
Andrey Lushnikov
1ef1e1f5bd
devops: fix firefox arm64 builds (#16157)
Turns out the `/etc/environment` is not read for non-login shells,
so we have to source rust & cargo installation explicitly.
2022-08-02 10:19:55 -07:00
Andrey Lushnikov
649c070b48
devops: fix Python installation for Firefox Beta build on Ubuntu 18.04 (#16152) 2022-08-02 07:42:49 -07:00
Andrey Lushnikov
af33d713ad
devops: fix Firefox-Beta build the same way we fix FF Stable (#16146)
Drive-by: add missing `ff-beta-ubuntu-20.04-arm64` build
2022-08-02 07:27:51 -07:00
Andrey Lushnikov
5e16df5057
devops: fix pip3 for webkit ubuntu18.04 build (#16142)
The canonical script to install pip3 doesn't work with Python3.6
that is used to compile WebKit on Ubuntu 18.04, so we fallback
to installing pip3 from apt.
2022-08-02 05:24:09 -07:00
github-actions[bot]
cadb3566c3
browser(chromium): roll to 2022-Aug-02 (#16138)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-02 12:14:11 +02:00
github-actions[bot]
9c61368d06
browser(chromium-tip-of-tree): roll to 2022-Aug-02 (#16137)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-02 12:14:01 +02:00
Andrey Lushnikov
38726fe319
chore: fix WebKit ubuntu 18.04 build (#16133)
Install Python 3.8 on Ubuntu 18.04 for Firefox only.
2022-08-02 01:23:07 -07:00
Andrey Lushnikov
a22446658c
devops: fix azure cli installation on ubuntu arm (#16131)
Turns out inistalling Azure CLI with `pip3` requires `gcc` installed.
2022-08-02 01:01:40 -07:00
Dmitry Gozman
94efeed192
browser(firefox): make scrollIntoViewIfNeeded and getContentQuads work with display:contents (#16111) 2022-08-01 14:40:23 -07:00
Max Schmitt
99cc3869d2
devops: be compatible with multiple MSVS installations (#16121) 2022-08-01 23:37:07 +02:00
Max Schmitt
7a18def019
devops: install python*-dev during build (#16118)
`python3-dev` is required to install pip via `curl` command.
2022-08-01 13:59:21 -07:00
Max Schmitt
97bb0f3d46
devops: install PIP via pypa.io (#16116)
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2022-08-01 22:44:00 +02:00
Andrey Lushnikov
b7b572c27c
devops: fix arm64 webkit and firefox builds (#16115) 2022-08-01 13:30:49 -07:00
Yury Semikhatsky
76dc5d8a0f
browser(webkit): disable iframe loading=lazy (#16106)
It was recently enabled by default upstream 461deb6c6d
We have this feature disabled in Chromium as we want the iframes to be eagerly loaded to avoid clients' confusion. This PR disables it back in WebKit too.

Pretty-diff: 7aad962e5d
2022-08-01 11:29:28 -07:00
Andrey Lushnikov
52c5578b2d
devops: fix firefox expected platform for native arm64 linux build (#16105) 2022-08-01 11:05:53 -07:00
Andrey Lushnikov
ecf55b01c6
devops: do not bundle libstdc++ with Firefox builds (#16103)
Turns out we were bundling x86_64 `libstdc++` with aarch64
builds on Ubuntu, which was useless and implies that this
library might not be needed at all.
2022-08-01 09:28:19 -07:00
Andrey Lushnikov
505197bfac
devops: install Python 3.8 on Ubuntu 18.04 (#16101)
Ubuntu 18.04 ships Python 3.6 by default on Ubuntu18.04; this python,
however, fails to run Firefox build system, so we have to install
Python 3.8 and default it to `python3`.
2022-08-01 09:14:16 -07:00
Andrey Lushnikov
887176ccd5
devops: compile Firefox natively on Ubuntu aarch64 (#16098)
We used to cross-compile Firefox for aarch64, but this no longer
works.

This patch switches to native build inside Ubuntu aarch.
2022-08-01 07:57:45 -07:00
Andrey Lushnikov
a8799c5e19
devops: drastically speedup full firefox build on CI (#16096)
Do not checkout full history of a master branch to
bootstrap dependencies.
2022-08-01 07:16:22 -07:00
Diego Pino
4112eb815e
browser(webkit): rebase to 29/07/22 (252944@main) (#16053)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-08-01 11:48:23 +02:00
Max Schmitt
e85228fe91
devops: use pip3 to install azure-cli instead of pip (#16085) 2022-08-01 11:44:35 +02:00