Commit Graph

628 Commits

Author SHA1 Message Date
Yury Semikhatsky
4b4f23fdb8
browser(webkit): replace wpe pasteboard with a hashmap (#15506) 2022-07-08 15:07:39 -07: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
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
Diego Pino
16c9c8a06d
browser(webkit): rebase to 06/30/22 (252021@main) (#15297) 2022-07-01 13:32:42 -07: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
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
Diego Pino
d152f7957a
browser(webkit): rebase to 06/27/22 (251866@main) (#15150) 2022-06-27 11:17:11 -07:00
Diego Pino
e5cf11cb68
browser(webkit): rebase to 06/23/22 (r295757) (#15058) 2022-06-23 09:12:37 -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
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
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
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
Diego Pino
8202030c60
browser(webkit): rebase to 06/06/22 (r295283) (#14664) 2022-06-06 09:09:28 -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
Diego Pino
9ea89d585c
browser(webkit): rebase to 05/31/22 (r295073) (#14556) 2022-06-01 15:15:55 -07:00
Diego Pino
a38c844d71
browser(webkit): rebase to 05/26/22 (r294871) (#14423) 2022-05-26 08:33:17 -07:00
Yury Semikhatsky
df63987eed
browser(webkit): follow-up to recent roll (#14356) 2022-05-23 11:01:50 -07:00
Yury Semikhatsky
2733bcab0b
browser(webkit): delete initiatorIdentifierForEventSource (#14351) 2022-05-23 10:52:52 -07:00
Diego Pino
64c949f5e8
browser(webkit): rebase to 05/20/22 (r294541) (#14319) 2022-05-23 09:19:25 -07:00
Yury Semikhatsky
b58088c9eb
browser(webkit): fix COOP preference after #14087 (#14315) 2022-05-20 14:07:59 -07:00
Yury Semikhatsky
92c02fcaff
browser(webkit): fix process swap related error message in WPE (#14263)
This PR fixes the following error message in WPE:
```
[pid=506430][err] (MiniBrowser:506435): GLib-GObject-CRITICAL **: 11:47:23.538: g_object_new_is_valid_property: object class 'WebKitWebContext' has no property named 'process-swap-on-cross-site-navigation-enabled' +0ms
```

Our changes to WPE port that added support for the parameter were removed in 5a3fae4c5a as PSON is enabled by default in WPE (see https://bugs.webkit.org/show_bug.cgi?id=240052) and we don't need to set this explicitly in our fork.

Pretty diff: fc28e40f36
2022-05-18 13:01:46 -07:00
Yury Semikhatsky
6e3b065bbe
browser(webkit): fix use after free when context is being destroyed (#14262)
OverridenGeolocationProvider can be destroyed after BrowserContext. Since the provider is owned by WebGeolocationManagerProxy we now store weak pointer to it in the browser context.

Refs: #14081
2022-05-18 11:44:21 -07:00
Yury Semikhatsky
f876a86553
browser(webkit): use WebCookieManager to manipulate cookies (#14206) 2022-05-16 17:54:41 -07:00
Yury Semikhatsky
9159ceafb5
browser(webkit): revert last change and reapply it properly (#14197) 2022-05-16 09:20:34 -07:00
Yury Semikhatsky
b22766f840
browser(webkit): clear extra http headers on successive calls (#14152) 2022-05-13 14:18:05 -07:00
Diego Pino
0558c6c18d
browser(webkit): rebase to 05/11/22 (r294047) (#14087) 2022-05-11 11:11:15 -07:00
Yury Semikhatsky
65d025d82c
browser(webkit): revert upstreamed build fixes (#13978) 2022-05-05 12:45:31 -07:00
Yury Semikhatsky
5a3fae4c5a
browser(webkit): revert pson setting api in wpe (#13974) 2022-05-05 11:42:08 -07:00
Diego Pino
d2ee253d07
browser(webkit): rebase to 05/03/22 (r293746) (#13921) 2022-05-04 22:46:13 -07:00
Yury Semikhatsky
0baf74d016
browser(webkit): fix linux compilation with clang (#13906) 2022-05-03 12:37:09 -07:00
Yury Semikhatsky
9c870bb6ad
browser(webkit): scroll into view instantly (#13885) 2022-05-02 16:39:11 -07:00
Diego Pino
e3b96d1ee4
browser(webkit): rebase to 04/28/22 (r293562) (#13841) 2022-04-29 08:50:13 -07:00
Yury Semikhatsky
0d29d169df
browser(webkit): use overrideLanguages instead of languagesForAutomation (#13808) 2022-04-27 18:52:27 -07:00
Pavel Feldman
c70324d0c0
browser(webkit): reduce min url toolbar width (#13806) 2022-04-27 17:25:20 -07:00
Daniel Kolesa
d1661f17ce
browser(webkit): roll to 2022/04/20 (#13655) 2022-04-20 12:05:31 -07:00
Diego Pino
d44cfb93cb
browser(webkit): rebase to 04/13/22 r292830 (#13551) 2022-04-14 11:16:26 -07:00
Daniel Kolesa
057b0498e6
browser(webkit): always use the system dynamic linker for now (#13392) 2022-04-07 10:35:45 -07:00
Yury Semikhatsky
5791e8b857
browser(webkit): windows compilation fix (#13372) 2022-04-06 18:25:05 -07:00
Yury Semikhatsky
0f8b3e7725
browser(webkit): delete wpe/docs/wpe-1.0-sections.txt (#13366) 2022-04-06 15:04:48 -07:00