Commit Graph

552 Commits

Author SHA1 Message Date
Andrey Lushnikov
06c587b696
browser(webkit): disable GPU process on Windows only (#10193)
- GPU Process was enabled by default on Windows recently: 2058f94543
- We tried it and it fails a bunch of tests: https://github.com/microsoft/playwright/pull/10156
- Curiously, disabling it on Mac fixes a mac-related bug: https://github.com/microsoft/playwright/pull/10170, however we're scared of the change
2021-11-09 11:00:05 -08:00
Andrey Lushnikov
b0116e7c43
browser(webkit): opt-out from GPU process use (#10164)
This partially reverts
2058f94543
 - otherwise our screenshot tests fail on Webkit windows.

Failures: https://github.com/microsoft/playwright/pull/10156
2021-11-08 20:08:48 -08:00
Yury Semikhatsky
729ebe49c7
browser(webkit): fix windows build (#10090) 2021-11-05 10:44:50 -07:00
Diego Pino
770c02d0d7
browser(webkit): roll to 11/04/21 (#10039) 2021-11-04 08:41:13 -07:00
Yury Semikhatsky
61881f3835
browser(webkit): delete legacy response interception code (#10001) 2021-11-03 08:46:42 -07:00
Joel Einbinder
1a2d23648f
browser(webkit): fix arm mac compilation due to integer cast (#9886)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-11-01 13:48:33 +01:00
Joel Einbinder
ffbd6de665
browser(webkit): Page.setComposition (#9765) 2021-10-29 10:48:37 -04:00
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
d7610ebab2
browser(webkit): disable COOP again (#9822) 2021-10-27 09:06:21 -07:00
Diego Pino
8d05cdacbc
browser(webkit): roll to 21/10/21 (#9678) 2021-10-22 09:38:26 -07:00
Daniel Kolesa
b391d525a9
browser(webkit): fix build on ubuntu 18.04 and mac (#9540) 2021-10-15 08:40:16 -07:00
Daniel Kolesa
a4d1412463
browser(webkit): roll to 10/14/21 (#9510) 2021-10-14 10:29:38 -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
Daniel Kolesa
ab4f99d443
browser(webkit): roll to 10/07/21 (#9365) 2021-10-08 12:23:35 -07: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
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
Diego Pino
46b5c81f82
browser(webkit): roll to 23/09/21 (#9107) 2021-10-01 16:03:13 +02:00
Yury Semikhatsky
563652cc1d
browser(webkit): disable COOP support (#9185) 2021-09-27 16:40:46 -07:00
Max Schmitt
d0a4480cf7
browser(webkit): fix text padding (#9114) 2021-09-23 12:08:07 -07: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
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
Diego Pino
653e25fc01
build(webkit): disable OS_DARK_MODE_SUPPORT (#8802) 2021-09-09 13:01:33 -07:00
Diego Pino
7debcf48ff
browser(webkit): roll to 08/09/21 (#8769) 2021-09-08 06:50:10 -07:00
Pavel Feldman
e36f6da030
browser(webkit): dsf-scale wpe videos (#8763) 2021-09-07 18:08:46 -07:00
Diego Pino
c6cfa6f69d
browser(webkit): fix compilation in Ubuntu 18.04 (#8672) 2021-09-02 20:51:53 -07:00
Diego Pino
d8cc457fd9
browser(webkit): roll to 01/09/21 (#8606) 2021-09-01 10:47:58 +02:00
Diego Pino
bcabf89ed3
browser(webkit): fix compilation in Ubuntu 18.04 (#8544) 2021-08-30 18:24:41 -07:00
Joel Einbinder
621af2c737
browser(webkit): fix Input.dispatchWheelEvent (#8507) 2021-08-27 13:40:37 -04:00
Diego Pino
baf6d5445b
browser(webkit): roll to 26/08/21 (#8461) 2021-08-26 11:46:15 +02:00
Joel Einbinder
527cdfb55b
browser(webkit): scrolling (#8421) 2021-08-25 09:36:51 -04: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
Diego Pino
498bac8253
browser(webkit): roll to 18/08/21 (#8285) 2021-08-18 09:11:30 -07:00
Diego Pino
a65e3c1064
browser(webkit): roll to 11/08/21 (#8135) 2021-08-11 09:04:37 -07:00
Yury Semikhatsky
80cccfd837
browser(webkit): roll to 08/06/21 (#8056) 2021-08-06 12:35:10 -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
Yury Semikhatsky
961724d704
browser(webkit): give access to intercepted response body (#7954) 2021-08-02 16:07:44 -07: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
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
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
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
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
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
Daniel Kolesa
1771caee8b
browser(webkit): roll to 07/01/21 (#7426) 2021-07-01 13:43:56 -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
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
Yury Semikhatsky
ab4398e60a
browser(webkit): initialize fetchStart in Curl to fix network metrics (#7052) 2021-06-10 16:06:30 -07: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
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
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
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
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
Yury Semikhatsky
c8ee008aa1
browser(webkit): fix headless popup window crash (#6782) 2021-05-27 16:31:00 -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
Max Schmitt
8d4e6168aa
browser(webkit): added reduced motion emulation (#6645) 2021-05-19 22:42:54 +02:00
Yury Semikhatsky
c2de35e016
browser(webkit): roll to 05-18-21 (#6643) 2021-05-18 14:30:35 -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
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
958629fae7
browser(webkit): roll to safari-612.1.14-branch (#6517) 2021-05-11 15:34:28 -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
Pavel Feldman
45d92890af
fix(webkit): quick fix for screencast (#6448) 2021-05-06 13:10:17 -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
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
Pavel Feldman
ee835fba6c
fix(webkit): fix screencast compilation on win (#6412) 2021-05-04 18:19:17 -07:00