Commit Graph

1677 Commits

Author SHA1 Message Date
Andrey Lushnikov
0b72f7ec99
devops: another fix for Docker build script (#15966)
* git configuration should be system wide to propagate to all
  users
* rust should be installed under the `pwuser`
2022-07-26 10:49:43 -07:00
Andrey Lushnikov
b3b10674f4
devops: fix build-in-docker script (#15963) 2022-07-26 10:20:15 -07:00
Andrey Lushnikov
67cea1882c
chore: trigger new browser builds that use new infrastructure (#15955) 2022-07-26 07:44:31 -07:00
Andrey Lushnikov
f9b6ca2c5a
devops: add a universal script to build browsers inside docker (#15954)
This script takes care of all the dependencies necessary to compile
WebKit and Firefox inside supported Linux distributions.
2022-07-26 07:16:54 -07:00
github-actions[bot]
3e28acc4c2
browser(chromium-tip-of-tree): roll to 2022-Jul-26 (#15947)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-26 13:38:32 +02:00
Yury Semikhatsky
1528e56438
browser(webkit): skip gpu availability check on mac (#15938) 2022-07-25 17:58:24 -07:00
Dmitry Gozman
15ecc254cb
browser(webkit): make DOM.scrollIntoViewIfNeeded and DOM.getContentQuads work for display:contents (#15739) 2022-07-25 17:38:07 -07:00
Diego Pino
69bfa7d33f
browser(webkit): rebase to 07/25/22 (252781@main) (#15918) 2022-07-25 13:22:20 +02:00
Andrey Lushnikov
618941fc68
devops: make --debug as a CLI argument for FF build scripts (#15833) 2022-07-21 16:20:09 -07:00
Diego Pino
a0418b970e
browser(webkit): rebase to 07/20/22 (252681@main) (#15827) 2022-07-21 12:46:37 +02:00
github-actions[bot]
d126f4463c
browser(chromium): roll to 2022-Jul-21 (#15830)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-21 12:19:32 +02:00
github-actions[bot]
2d507403a1
browser(chromium-tip-of-tree): roll to 2022-Jul-21 (#15829)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-21 12:19:23 +02:00
Max Schmitt
9b3bd92071
devops: send Telegram messages via Node.js (#15804) 2022-07-20 15:45:26 -07:00
Diego Pino
35a7be24a3
browser(webkit): follow up #1684 (#15807) 2022-07-20 13:11:53 +02:00
github-actions[bot]
c619e1b2b9
browser(chromium-tip-of-tree): roll to 2022-Jul-19 (#15780)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-19 12:08:19 +02:00
q66
184b6baa7a
browser(webkit): rebase to 07/15/22 (#15714) 2022-07-19 08:16:15 +02:00
Andrey Lushnikov
1d415312fe
browser(webkit): fix JHBuild on Ubuntu 20.04 (#15683)
Turns out Ubuntu 20.04 has both `libenchant` and `libenchant-2`.
To keep compiling against `libenchant` everywhere it exists,
we change the `aptIfElse` helper method to pick one or another.
2022-07-14 16:43:36 -07:00
Andrey Lushnikov
80bcfe70ec
browser(webkit): fix JHBuild on Debian 11 (#15653)
This patch:
* fixes bash script bug: at least in bash 5, assignment to a **local**
  variable overwrites the `$?` code, so the following condition is never true.
* adds the `libenchant-2-dev` library

Pretty diff: ff6e976044
2022-07-14 06:04:03 -07:00
Andrey Lushnikov
c39df3695a
devops: add WebKit debian 11 build configuration (#15652) 2022-07-14 05:19:27 -07:00
github-actions[bot]
f87d2d7c5b
browser(chromium-tip-of-tree): roll to 2022-Jul-14 (#15645)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-14 12:05:10 +02:00
github-actions[bot]
da58281e16
browser(chromium): roll to 2022-Jul-14 (#15646)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-14 12:04:59 +02:00
Andrey Lushnikov
f76fb3e08a
devops: add firefox debian build (#15568) 2022-07-12 05:12:51 -07:00
Andrey Lushnikov
38f8c92a28
devops: do not dedupe webkit archives (#15565)
The 2e331715ff introduced
universal webkit build and tried re-using archive deduping technique
across all our regular JHBuild-based builds.

However, this turns out to be too aggressive and doesn't work. At least
on Ubuntu 18.04:
- `minibrowser-gtk/minibrowser` is identical to
  `minibrowser-wpe/minibrowser`
- WPE gets symlinked into GTK
- Thus we now always start headed
2022-07-12 04:15:27 -07:00
github-actions[bot]
01a5bfa45c
browser(chromium-tip-of-tree): roll to 2022-Jul-12 (#15561)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-12 12:07:01 +02:00
Andrey Lushnikov
d93abcbe42
devops: fix webkit builds (#15546)
This patch:
* removes "deterministic" argument from `rdfind` on Ubuntu 18.04.
  `rdfind` is a new addition, but it's nice to have since it saves 10%
  of the archive size.
* drops `stdc++fs` from dependencies. This doesn't seem to be necessary
  for JHBuild but breaks universal build.

Pretty diff: 256392e8c4
2022-07-11 14:40:23 -07:00
Andrey Lushnikov
67a2f948fd
chore: add missing webkit-mac-11 expected build (#15535) 2022-07-11 07:12:14 -07:00
Andrey Lushnikov
fd1fae97b1
browser(webkit): fix build on Ubuntu 18.04 (#15529)
Turns out default GnuTLS on Ubuntu 18.04 is 3.5.18, so we should
use OpenSSL.

The glib-networking backend selector condition is thus incorrectly
compares version triplets.
2022-07-11 06:01:34 -07:00
Andrey Lushnikov
2e331715ff
devops: support universal webkit builds (#15496) 2022-07-08 16:27:53 -07:00
Yury Semikhatsky
4b4f23fdb8
browser(webkit): replace wpe pasteboard with a hashmap (#15506) 2022-07-08 15:07:39 -07:00
github-actions[bot]
6d030e666e
browser(chromium): roll to 2022-Jul-08 (#15488)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-08 12:05:17 +02:00
Yury Semikhatsky
be4f27d685
browser(webkit): introduce Runtime.addBinding/bindingCalled (#15468)
References #14745
Pretty-diff: yury-s/WebKit@25c42a1
2022-07-07 12:58:22 -07:00
Max Schmitt
bc4463c472
browser(webkit): disable WebKit PDF viewer (#15462) 2022-07-07 20:13:48 +02:00
github-actions[bot]
592e22a1a4
browser(chromium-tip-of-tree): roll to 2022-Jul-07 (#15441)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-07 13:46:52 +02:00
Andrey Lushnikov
e9d66535ba
browser(firefox): move screenshots to browser-side (#15230)
* `clip` option is always passed from the client code
* with this change, we can no longer capture screenshot of a blinking
  caret; the browser-side API doesn't have this capability.
2022-07-06 15:02:48 -07:00
Andrey Lushnikov
3b269d0ed7
browser(ff-beta): roll Firefox-Beta to 103.0b5 (#15394) 2022-07-05 15:47:35 -07:00
Andrey Lushnikov
530867e8ab
browser(firefox): report unhandled rejections for Firefox (#15391)
References #14165
2022-07-05 15:46:28 -07:00
Yury Semikhatsky
cc45ac91f5
browser(webkit): grant pasteboard read access for input edit commands (#15390)
This is what WebPageProxy::executeEditCommand does via WebPageProxy::willPerformPasteCommand.

Refs: #8114, #12000
Pretty-diff: yury-s/WebKit@4213f02
2022-07-05 14:14:28 -07:00
Andrey Lushnikov
8a8bdec87d
browser(firefox): roll Firefox Stable to 102 (#15321)
This roll:
- NetworkObserver now uses the `remote's` ChannelEventSink layer to
  subscribe to redirects.
- Wheel events now must be dispatched from browser process.
- There's a new API for console messages
- The old methods to wait for search service and addon manager no longer
  work; speculatively remove them since neither `remote` nor
  `marionette` have anything like this.

Native manual merge: 9e6fcfd868
2022-07-05 08:20:01 -07:00
github-actions[bot]
f87fe1fbca
browser(chromium-tip-of-tree): roll to 2022-Jul-05 (#15372)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-05 12:14:41 +02:00
Diego Pino
16c9c8a06d
browser(webkit): rebase to 06/30/22 (252021@main) (#15297) 2022-07-01 13:32:42 -07:00
github-actions[bot]
abe5cd542c
browser(chromium-tip-of-tree): roll to 2022-Jul-01 (#15306)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-01 16:43:42 +02:00
github-actions[bot]
8da474a760
browser(chromium): roll to 2022-Jul-01 (#15296)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-07-01 12:13:17 +02:00
Dmitry Gozman
268bfec4b9
browser(firefox): disable cross-process navigations for about:blank (#15283) 2022-06-30 14:49:11 -07:00
Andrey Lushnikov
458c9b2207
browser(firefox): fix racy browser.newPage() method (#15251)
It looks like the tabopen callback is async, so we must
make sure it is called when opening new pages.
2022-06-30 11:07:38 -07:00
Andrey Lushnikov
35720e2fcd
devops: adapt repack-juggler script to work with win (#15254)
This patch:
- Uses some folder in `CWD` instead of `/tmp` on win32 to store
  builds
- Drops usage of `find`, `zip` and `unzip` posix tools. Instead, rely
  on `adm-zip` package.
2022-06-30 11:04:59 -07:00
github-actions[bot]
5062d69d83
browser(chromium-tip-of-tree): roll to 2022-Jun-30 (#15270)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-30 12:32:41 +02:00
Yury Semikhatsky
a5ddf560e9
browser(webkit): restore old process cache logic (#15249)
Revert https://github.com/microsoft/playwright/pull/15021. Apparently there is another leak of WPEWebProcess even with the upstream fix as [the tests failed ](https://github.com/microsoft/playwright/runs/7120162355?check_suite_focus=true)on the bots on attempt to roll to wk 1669.

Pretty-diff: 2b480bc4d0
2022-06-29 16:33:51 -07:00
Andrey Lushnikov
074ae99dc5
browser(firefox): fix browser.newPage crasher (#15247)
`mWindow` might not be initialized.
2022-06-29 13:47:45 -07:00
Andrey Lushnikov
29c1ccd690
devops: fix checkout re-use for multiple different base branches (#15231) 2022-06-29 08:30:39 -07:00
Andrey Lushnikov
f95b3a40e8
browser(firefox): roll Firefox stable to 101 (#15225) 2022-06-29 04:46:49 -07:00
Yury Semikhatsky
2a01d0c83c
browser(webkit): build Playwright.app in workspace mode (#15161)
WebKit switched to workspace builds by default upstream in c67ee46115 and Playwright.app project (forked from MiniBrowser.app xcode project) was not a part of the workspace. This PR:

* Adds Tools/Playwright project to the WebKit workspace;
* Adds WebKit.framework to the list of dependencies of Playwright.app (I managed to successfully build without this modification but decided to added to be on the safe side as that was done upstream too);
* Removes `--no-use-workspace` in order to use workspace build mode which is the default upstream.

Pretty-diff: 75f1e79447
2022-06-28 12:30:01 -07:00
Andrey Lushnikov
571b642670
devops: fix firefox-beta build on Ubuntu 20.04 & 22.04 (#15175)
devops: fix firefox-beta build

References #15174
2022-06-28 05:40:58 -07:00
github-actions[bot]
527c5b619a
browser(chromium-tip-of-tree): roll to 2022-Jun-28 (#15170)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-28 12:12:30 +02:00
Diego Pino
d152f7957a
browser(webkit): rebase to 06/27/22 (251866@main) (#15150) 2022-06-27 11:17:11 -07:00
github-actions[bot]
609dd2531a
browser(chromium): roll to 2022-Jun-23 (#15095)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-23 17:02:02 -07:00
Diego Pino
e5cf11cb68
browser(webkit): rebase to 06/23/22 (r295757) (#15058) 2022-06-23 09:12:37 -07:00
github-actions[bot]
3dfecff2d5
browser(chromium-tip-of-tree): roll to 2022-Jun-23 (#15072)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-23 12:07:50 +02:00
Dmitry Gozman
141093a1cd
browser(firefox): a11y haspopup is a string, not a boolean (#15056) 2022-06-22 17:01:13 -07:00
Yury Semikhatsky
c8e4e737a7
browser(webkit): unfork web process cache (#15021)
Web process leak was fixed upstream by WebKit/WebKit@364ed4f and our workaround is no longer needed.

Pretty-diff: yury-s/WebKit@a1a66a5
2022-06-21 13:47:29 -07:00
Andrey Lushnikov
b648f08821
browser(webkit): fix Ubuntu arm64 build (#15004)
pretty diff: f5183cc210
2022-06-21 03:12:50 -07:00
github-actions[bot]
15bdbe2d84
browser(chromium-tip-of-tree): roll to 2022-Jun-21 (#15005)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-21 12:07:32 +02:00
Diego Pino
2f31e6373a
devops: build WebKit for Mac using --no-use-workspace flag (#14952)
Currently, Mac WebKit builds are failing in CI. It seems this is a regression in upstream WebKit as I'm able to reproduce it in my local environment. 

The error is the following:

``` 
usr/bin/codesign --force --sign - --timestamp\=none --preserve-metadata\=identifier,entitlements,flags --generate-entitlement-der /Users/playwright/webkit/WebKitBuild/Release/InjectedBundleTestWebKitAPI.bundle/Contents/Resources/WebKit.framework
/Users/playwright/webkit/WebKitBuild/Release/InjectedBundleTestWebKitAPI.bundle/Contents/Resources/WebKit.framework: replacing existing signature
/Users/playwright/webkit/WebKitBuild/Release/InjectedBundleTestWebKitAPI.bundle/Contents/Resources/WebKit.framework: unsealed contents present in the root directory of an embedded framework
Command CodeSign failed with a nonzero exit code
```

Bisecting the regression it seems the build started failing on [r295496](https://trac.webkit.org/changeset/295496/webkit)

This changeset also introduced a new flag, _--no-use-workspace__, which allows to build not using WebKit.xcworkspace (I understand this is how builds were done before this changeset). Building with  _--no-use-workspace_ fixes builds for Mac.
2022-06-17 08:40:58 -07:00
github-actions[bot]
6fa5532ce1
browser(chromium): roll to 2022-Jun-17 (#14947)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-17 12:06:14 +02:00
github-actions[bot]
5b9ab653fe
browser(chromium-tip-of-tree): roll to 2022-Jun-16 (#14907)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-16 12:13:40 +02:00
Diego Pino
f91b3bb340
browser(webkit) rebase to 06/15/22 (r295573) (#14900) 2022-06-15 17:56:09 -07:00
Diego Pino
6a78500f4d
browser(webkit): rebase to 06/12/22 (r295478) (#14815)
I skipped the Windows specific files this time. I added an extra commit to fix dependencies update in Ubuntu 18.04.

All changes in this PR:

chore(webkit): bootstrap build #1665
[GLIB] Fix build error after r295446
[JHBuild] Fix error use OpenSSL backend when gnutls available in the …
2022-06-13 18:58:23 -07:00
Yury Semikhatsky
dae017c386
browser(webkit): scale down image only if it is larger than screencast frame (#14848)
It fixes should produce screencast frames fit test on macOS in headed mode.

Pretty-diff: yury-s/WebKit@4b7a793
2022-06-13 15:41:33 -07:00
github-actions[bot]
88ca513834
browser(chromium-tip-of-tree): roll to 2022-Jun-13 (#14831)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-13 17:23:49 +02:00
github-actions[bot]
e750d6e2e7
browser(chromium): roll to 2022-Jun-10 (#14781)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-10 12:20:48 +02:00
Andrey Lushnikov
e866267917
browser(webkit): fix Ubuntu arm64 build of WebKit (#14753)
Pretty diff: 91e063b839

Credits go to @dpino!

Fixes #14236
2022-06-10 02:08:26 -07:00
Yury Semikhatsky
951ef118c7
browser(webkit): fix mac build - remove unused variable (#14762) 2022-06-09 12:20:28 -07:00
Yury Semikhatsky
686331e5c8
browser(webkit): fix mac build after roll (#14761) 2022-06-09 12:12:37 -07:00
Yury Semikhatsky
6452ac86ff
browser(webkit): roll to 06/09/22 (#14756)
Switched to HTTPCookieStore as the WebCookieManagerProxy was removed in r295365

Pretty-diff: 28eaed1711
2022-06-09 09:38:21 -07:00
Andrey Lushnikov
2b33f76825
browser(webkit): support larger-than-screen window in headed WebKit (#14578) 2022-06-09 06:51:33 -07:00
github-actions[bot]
c53dea245f
browser(chromium-tip-of-tree): roll to 2022-Jun-09 (#14739)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-09 12:18:59 +02:00
Max Schmitt
7fc752ef0a
browser(webkit): fix compilation on Ubuntu 22 (#14710) 2022-06-08 19:27:13 +02:00
Yury Semikhatsky
b2d0fae3b1
browser(webkit): restore previous process cache logic (#14695) 2022-06-07 16:38:15 -07:00
Max Schmitt
19dd1f0542
browser(webkit): fix build on Ubuntu 22 (#14674) 2022-06-07 17:34:22 +02:00
Diego Pino
407c4a6e77
WIP: browser(webkit): follow-up after #14664 (#14673)
browser(webkit): follow-up after #14664
2022-06-07 05:03:00 -07:00
github-actions[bot]
243ad406ce
browser(chromium-tip-of-tree): roll to 2022-Jun-07 (#14676)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-07 12:08:47 +02:00
Max Schmitt
a800026fc5
devops: add WebKit builds on ubuntu 22 (#14589) 2022-06-07 11:33:18 +02:00
Diego Pino
8202030c60
browser(webkit): rebase to 06/06/22 (r295283) (#14664) 2022-06-06 09:09:28 -07:00
github-actions[bot]
e69c3f12e6
browser(chromium): roll to 2022-Jun-03 (#14619)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-03 12:12:14 +02:00
Yury Semikhatsky
9f57ee337a
docs(devops): more instructions on local development (#14607) 2022-06-02 17:51:07 -07:00
Dmitry Gozman
94a0d669b6
browser(firefox): expose Response.fromServiceWorker (#14606)
This property is "true" when network response was fulfilled
by the service worker.
2022-06-02 17:16:19 -07:00
Yury Semikhatsky
789f319eda
browser(webkit): fix curl compilation after recent roll (#14603)
WebSocketTaskCurl.cpp has been implemented upstream since last roll. We now pass ignoreCertificateErrors to it similar to other platforms. This should fix Curl compilation errors on windows.

Pretty-diff: yury-s/WebKit@48cd095
2022-06-02 16:03:00 -07:00
Yury Semikhatsky
d5bfd786b9
browser(firefox): force opener tab to be active (#14568)
> lgtm % null-check for the docshell

The  code is inside following if condition
```
if (auto* browserChild = BrowserChild::GetFrom(root->GetDocShell())) {
```
which ensures that the doc shell is not null.
2022-06-02 09:04:04 -07:00
Max Schmitt
66fc04cdb3
devops: add Firefox ubuntu 22 builds (#14579) 2022-06-02 13:54:30 +02:00
github-actions[bot]
2825cfc0f0
browser(chromium-tip-of-tree): roll to 2022-Jun-02 (#14573)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-02 04:30:11 -07:00
Diego Pino
9ea89d585c
browser(webkit): rebase to 05/31/22 (r295073) (#14556) 2022-06-01 15:15:55 -07:00
github-actions[bot]
604aaa13ca
browser(chromium-tip-of-tree): roll to 2022-May-31 (#14502)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-31 13:21:35 +02:00
Andrey Lushnikov
da55afa584
browser(firefox): fix build on Windows (#14500) 2022-05-31 02:43:33 -07:00
Andrey Lushnikov
59c7e7aaa4
devops: fix firefox-beta build (#14495)
This patch:
- fixes firefox-beta archiving that requires 2 extra env variables
- attempts to use windows paths to specify `MOZ_FETCHES_DIR` on
  Windows to point to the toolchains folder.
2022-05-31 01:50:04 -07:00
Andrey Lushnikov
0855f3cbb4
devops: fix export.sh script (#14494)
The script should use the `main` branch to pull BUILD_NUMBER
versions instead of the old `master` name.
2022-05-31 00:55:26 -07:00
Andrey Lushnikov
7b0505d610
browser(firefox): roll Firefox to 100.0.2 (#14492) 2022-05-31 00:54:36 -07:00
Andrey Lushnikov
f99c3bb977
devops(ff-beta): fix build to use bootstrapped toolchains (#14491)
This is a follow-up to a7a7644beb
that started bootstrapping toolchains from `master` branch.

Now, we have to explicitly use these toolchains when building
Firefox.
2022-05-31 00:22:01 -07:00
github-actions[bot]
bb2d7cb9ad
browser(chromium): roll to 2022-May-27 (#14444)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-27 12:18:32 +02:00
github-actions[bot]
3047ef4238
browser(chromium-tip-of-tree): roll to 2022-May-26 (#14424)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-27 11:45:38 +02:00
Diego Pino
a38c844d71
browser(webkit): rebase to 05/26/22 (r294871) (#14423) 2022-05-26 08:33:17 -07:00
github-actions[bot]
3e084829c0
browser(chromium-tip-of-tree): roll to 2022-May-24 (#14375)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-24 14:30:53 +03:00