1
1
mirror of https://github.com/microsoft/playwright.git synced 2024-12-23 19:26:16 +03:00
Commit Graph

635 Commits

Author SHA1 Message Date
Yury Semikhatsky
0039b313b8
browser(webkit): support downloads larger than 16Kb on Windows () 2021-04-27 16:21:23 -07:00
Yury Semikhatsky
83480850d3
browser(webkit): preserve color scheme override after navigation () 2021-04-26 16:23:07 -07:00
Joel Einbinder
f9478b124f
browser(webkit): fix compilation for drag drop and duplicated macro () 2021-04-22 17:05:17 -07:00
Yury Semikhatsky
2755d5e37d
browser(webkit): fix timezone override on Windows () 2021-04-22 16:10:12 -07:00
Yury Semikhatsky
34e03fc77d
browser(webkit): roll to 04-21 () 2021-04-21 13:00:36 -07:00
Yury Semikhatsky
96cee43861
browser(webkit): roll to safari-612.1.11-branch () 2021-04-12 12:38:11 -07:00
Yury Semikhatsky
5fe3ee13f0
browser(webkit): fix assertion unsafe to ref/deref from different threads () 2021-04-09 11:36:01 -07:00
Yury Semikhatsky
bd0043b8cb
browser(webkit): keep browser process running when all windows closed () 2021-04-07 19:13:20 -07:00
Yury Semikhatsky
d6c415749a
browser(webkit): fix curl compilation () 2021-04-06 22:24:14 -07:00
Yury Semikhatsky
fb7c703157
browser(webkit): roll to 06-04-21 () 2021-04-06 14:56:03 -07:00
Dmitry Gozman
9b2e4ebf73
browser(webkit): make dpr emulation optional, take screenshots at 1x ()
- deviceScaleFactor is now optional, so we can use host machine's dpr.
- Screenshots are not scaled up by dpr.
2021-03-31 21:37:54 -07:00
Pavel Feldman
2f5bf04f51 browser(webkit): fix double deref 2021-03-31 00:12:11 -07:00
Pavel Feldman
3455c3265f browser(webkit): restore occlusion detection disabled 2021-03-30 23:52:11 -07:00
Yury Semikhatsky
93d532b5e1
browser(webkit): fix windows compilation () 2021-03-30 14:42:23 -07:00
Yury Semikhatsky
97955247a2
browser(webkit): roll to safari-612.1.9-branch () 2021-03-30 11:29:37 -07:00
Yury Semikhatsky
94252231f0
fix(devops): include libANGLE-shared.dylib into mac archive () 2021-03-30 11:29:03 -07:00
Yury Semikhatsky
0d3d27d3ee
browser(webkit): trigger new build after updating cleanup script () 2021-03-29 23:55:07 -07:00
Yury Semikhatsky
9473f39b0b
fix(devops): cleanup now removes entire webkit build dir on mac () 2021-03-29 23:48:34 -07:00
Pavel Feldman
4cf0568ad7
browser(webkit): support safe area insets () 2021-03-29 11:38:26 -07:00
Yury Semikhatsky
2cce8850b7
browser(webkit): roll to safari-612.1.8-branch () 2021-03-26 11:54:55 -07:00
Pavel Feldman
6c1d3f65b5
browser(webkit): refresh embedder UI on macOS () 2021-03-26 09:44:31 -07:00
Yury Semikhatsky
7d7e5ede84
browser(webkit): roll back to safari-612.1.7-branch first commit () 2021-03-23 13:45:42 -07:00
Yury Semikhatsky
b74af2269f
browser(webkit): fix mac compilation after latest roll () 2021-03-22 14:34:58 -07:00
Yury Semikhatsky
6dd4d756dc
browser(webkit): roll to 03-22-21 () 2021-03-22 11:22:56 -07:00
Andrey Lushnikov
8dc740570a
devops: refactor check_cdn.sh script ()
Introduce `EXPECTED_BUILDS` list in each application folder and use
these lists when determining if all builds are ready.
2021-03-16 01:14:45 -07:00
Andrey Lushnikov
8565e72e63
chore: consolidate browser cheatsheets () 2021-03-15 17:54:25 -07:00
Yury Semikhatsky
5835c7e537
browser(webkit): fix linux builds, install liblcms2-dev () 2021-03-15 17:01:51 -07:00
Yury Semikhatsky
226bee01f0
browser(webkit): roll to 03-15-21 () 2021-03-15 15:33:24 -07:00
Yury Semikhatsky
bc3a0fb9bd
browser(webkit): roll to 03-08-21 () 2021-03-08 11:04:18 -08:00
Yury Semikhatsky
01abeac43e
browser(webkit): roll to 03/2 () 2021-03-01 09:59:55 -08:00
Yury Semikhatsky
11d3eb6bfe
browser(webkit): fix mac compilation take 2 () 2021-02-23 16:03:33 -08:00
Yury Semikhatsky
df4b98464f
browser(webkit): fix mac compilation () 2021-02-23 14:49:28 -08:00
Yury Semikhatsky
4ae4c3cb01
browser(webkit): fix response.requestHeaders instrumentation in libsoup after latest roll () 2021-02-22 14:26:08 -08:00
Yury Semikhatsky
8316f41030
browser(webkit): roll to 02-22 () 2021-02-22 12:47:55 -08:00
Andrey Lushnikov
eb3efb3089
fix: do not ship broken symlinks in webkit for mac ()
Since we don't ship things like WebKitPluginAgent, we can
safely remove all the symlinks that point to the missing targets.

Fixes 
2021-02-19 21:31:33 -08:00
Dmitry Gozman
d6ac3e6883
browser(webkit): honor Set-Cookie header from intercepted requests (mac) () 2021-02-19 16:28:54 -08:00
Joel Einbinder
846fd71121
browser(webkit): fix scrolling in mobile viewports () 2021-02-18 13:29:17 -08:00
Andrey Lushnikov
4f1d84d6b9
browser(webkit): respect download attribute ()
References 
2021-02-16 10:22:19 -08:00
Yury Semikhatsky
551338e953
browser(webkit): roll to 02-08 () 2021-02-08 11:00:05 -08:00
Joel Einbinder
d1aad632ee
browser(webkit): fix scrolling a second time on linux () 2021-02-04 12:12:04 -08:00
Yury Semikhatsky
509c3e91b4
browser(webkit): fix ubuntu 18 compilation () 2021-02-03 15:54:54 -08:00
Yury Semikhatsky
9d72d6b625
browser(webkit): roll to 02-03-21 () 2021-02-03 09:17:21 -08:00
Yury Semikhatsky
1ffd654d63
browser(webkit): roll to 02-02-21 () 2021-02-02 15:20:35 -08:00
Joel Einbinder
fc405ee8b2
browser(webkit): mac drag and drop () 2021-02-01 03:30:31 -08:00
Dmitry Gozman
77b5f05ef7
browser(webkit): fix scrollIntoViewIfNeeded ()
Last change mistakenly used alignCenterIfNotVisible,
while we should use alignCenterIfNeeded to ensure scrolling
into view when partially visible.
2021-01-25 14:02:16 -08:00
Yury Semikhatsky
7d2293c6ed
browser(webkit): roll to 01-25 () 2021-01-25 11:27:08 -08:00
Yury Semikhatsky
680689d075
browser(webkit): try to fix Ubuntu 18 build () 2021-01-22 16:10:01 -08:00
Dmitry Gozman
05568f7420
browser(webkit): change scrollIntoView to only scroll if needed () 2021-01-20 21:06:29 -08:00
Yury Semikhatsky
449bcdcbf9
browser(webkit): roll to 01-19 () 2021-01-19 23:18:05 -08:00
Yury Semikhatsky
fdfea2b765
browser(webkit): add another missing include to fix mac after roll to 01-15 () 2021-01-15 18:56:24 -08:00
Yury Semikhatsky
940cf35d84
browser(webkit): add missing include on mac after roll to 01-15 () 2021-01-15 14:43:48 -08:00
Yury Semikhatsky
0ab6a53212
browser(webkit): roll to 01-15 () 2021-01-15 12:53:05 -08:00
Joel Einbinder
36650b1e19
browser(webkit): fix compile on mac () 2021-01-11 14:30:06 -08:00
Yury Semikhatsky
56f012043b
browser(webkit): fix mac compilation after roll to 01-11 () 2021-01-11 11:30:54 -08:00
Yury Semikhatsky
62c52e8628
browser(webkit): roll to 01-11 () 2021-01-11 11:00:07 -08:00
Yury Semikhatsky
5854cadd0b
browser(webkit): fix typo in macro name () 2021-01-11 10:03:45 -08:00
Joel Einbinder
cc1a79eceb
browser(webkit): drag and drop on windows () 2021-01-06 09:46:35 -08:00
Yury Semikhatsky
2908568f9a
browser(webkit): install new dependency required for openxr on linux () 2021-01-05 16:05:21 -08:00
Yury Semikhatsky
5df1c6e560
browser(webkit): roll to 01-05 to pick up upstream Win fix () 2021-01-05 13:08:52 -08:00
Yury Semikhatsky
849a5b3795
browser(webkit): roll to 01-04 () 2021-01-05 09:13:13 -08:00
Yury Semikhatsky
3ff81fe172
browser(webkit): do run win build again if first attempt failed () 2021-01-04 13:40:56 -08:00
Yury Semikhatsky
b0b1561c92
browser(webkit): kick off next build () 2021-01-04 11:01:43 -08:00
Yury Semikhatsky
736ef4e879
browser(webkit): call build.sh twice on Windows () 2021-01-04 10:49:46 -08:00
Dmitry Gozman
ded2bc2396
browser(webkit): postpone creation of the first page ()
When we create the first page in the default context in headless mode on mac,
it gets NSWindow that is "not visible". Although we call [window setIsVisible:YES],
later on window.isVisible still returns NO.

We create our offscreen "headless" NSWindow directly from applicationDidFinishLaunching:.
Experiments show that delaying this by 100ms makes everything work. As a symptom,
we get applicationDidUnhide: notification that does not happen when we create the window
immediately.

Perhaps, we create the window too early, and there is some essential initialization
that happens after applicationDidFinishLaunching:. However, if we call
[NSApp activateIgnoringOtherApps:YES] like we do in headful mode, everything works.

The only solution that worked so far is creating the first page after a timeout.
2020-12-29 13:49:39 -08:00
Joel Einbinder
e7ee426202
yury comments () 2020-12-23 08:04:59 -08:00
Yury Semikhatsky
73edf13ad6
browser(webkit): roll to 12-21 () 2020-12-21 16:07:45 -08:00
Yury Semikhatsky
e4658ea9c0
browser(webkit): base64 encode request.postData () 2020-12-16 14:35:05 -08:00
Yury Semikhatsky
94f5002ae4
browser(webkit): install patchelf (required by generate-bundle) () 2020-12-16 12:53:28 -08:00
Yury Semikhatsky
b014fa1855
browser(webkit): roll to 12-16 () 2020-12-16 09:19:27 -08:00
Yury Semikhatsky
50b0b47993
browser(webkit): mac build fix after roll to 12-15 () 2020-12-15 23:07:34 -08:00
Yury Semikhatsky
eecb798356
browser(webkit): roll to 12-15 () 2020-12-15 13:00:49 -08:00
Andrey Lushnikov
dd9c312b77
devops: start producing WebKit builds for Apple Silicon ()
\m/
2020-12-08 17:15:44 -08:00
Andrey Lushnikov
64a2940a0d
devops: fix webkit archiving ()
Protocol concatenation script did not account for `WK_CHECKOUT_PATH`.
2020-12-08 16:32:45 -08:00
Andrey Lushnikov
17f1b20f39
devops: trigger all builds with new windows buildbot () 2020-12-08 11:03:11 -08:00
Andrey Lushnikov
c1dcef39a3
devops(windows): fix vswhere location ()
%PROGRAMFILES% locations depends on shell bitness; we're migrating from
mingw32 to mingw64.
2020-12-08 10:27:05 -08:00
Dmitry Gozman
99b98d62a6
browser(webkit): do not spam stderr with screencast debug logs () 2020-12-08 09:59:57 -08:00
Andrey Lushnikov
73982834e7
devops: absolute paths for webkit libraries and output directory () 2020-12-07 14:30:06 -08:00
Yury Semikhatsky
4be41f2571
browser(webkit): build fix, switch to the new download API () 2020-12-07 10:10:32 -08:00
Andrey Lushnikov
d8520f0695
devops: fix webkit building on windows () 2020-12-07 09:21:36 -08:00
Andrey Lushnikov
13e2ef1d10
devops: suppport WK_CHECKOUT_PATH variable ()
`WK_CHECKOUT_PATH` defines location of webkit checkout on the
file system. All browser-related scripts, like `prepare_checkout.sh` and
`export.sh` respect this environment variable on all platforms.
2020-12-07 08:42:20 -08:00
Yury Semikhatsky
b6eb8e0a90
browser(webkit): fix mac build () 2020-12-04 17:45:18 -08:00
Yury Semikhatsky
cdbc96ac3a
browser(webkit): roll to 12-04 () 2020-12-04 16:11:08 -08:00
Andrey Lushnikov
7dc386fa1a
browser(webkit): produce xcode 12.2 build on Mac 10.15 () 2020-12-04 11:49:07 -08:00
Yury Semikhatsky
512516c956
browser(webkit): retore changes from () 2020-11-30 10:49:27 -08:00
Yury Semikhatsky
8f70c95d6c
browser(webkit): roll to 11-30 () 2020-11-30 10:17:36 -08:00
Joel Einbinder
d96330bbec
browser(webkit): override availWidth with screen width () 2020-11-30 10:04:28 -08:00
Andrey Lushnikov
51865fe584
chore: bump WebKit build number to test self-hosted runners () 2020-11-25 08:38:23 -08:00
Dmitry Gozman
1169c5ab50
browser(webkit): close on pipe disconnect () 2020-11-18 19:34:33 -08:00
Yury Semikhatsky
a11be3e9ef
browser(webkit): roll to 11-18 () 2020-11-18 13:03:42 -08:00
Andrey Lushnikov
8860d6d11d
chore: try building webkit on github selfhosted runner () 2020-11-17 21:03:51 -08:00
Pavel Feldman
79c592ed7d
browser(webkit): do not create unique page groups for pages () 2020-11-16 14:31:50 -08:00
Yury Semikhatsky
5509e98ba5
browser(webkit): fix mac build after latest roll () 2020-11-16 14:25:58 -08:00
Yury Semikhatsky
bd76e9ddbf
browser(webkit): roll to 11-16 () 2020-11-16 13:02:55 -08:00
Dmitry Gozman
9e1b26f9f9
browser(webkit): close on pipe disconnect () 2020-11-13 10:02:37 -08:00
Yury Semikhatsky
8f7286175e
browser(webkit): roll to 11-12 () 2020-11-12 11:10:42 -08:00
Yury Semikhatsky
508be0d78f
browser(webkit): fix big sur crashes after latest roll () 2020-11-09 22:29:52 -08:00
Yury Semikhatsky
bd75fb1c55
browser(webkit): roll to 11-09 () 2020-11-09 11:30:12 -08:00
Joel Einbinder
d4fb159154
browser(webkit): fix webcontent startup crash on macos 11 ()
reverts  and provides the real fix. Apple accidentally landed some code that will crash the web process if it is not signed by them. I'm sure they will figure it out once they get test bots for macos 11. But until then, we can just revert.

https://bugs.webkit.org/show_bug.cgi?id=218342
2020-11-06 11:11:19 -08:00
Yury Semikhatsky
49e4d9a347
browser(webkit): force rebuild with new redistributable dlls () 2020-11-05 17:51:28 -08:00
Yury Semikhatsky
040f9b04ca
browser(webkit): copy MS VC++ redistributable libs from VS installation () 2020-11-05 16:51:42 -08:00
Andrey Lushnikov
bc20bfd4cc
browser(webkit): disable cache compiled sandbox ()
This seems to be broken on BigSur.
2020-11-05 09:25:36 -08:00
Yury Semikhatsky
890add98fe
browser(webkit): do not hang on close when there is a dialog () 2020-11-03 18:58:57 -08:00
Yury Semikhatsky
031f0bf539
browser(webkit): fix mac build failure caused by touch events () 2020-11-03 16:21:42 -08:00
Yury Semikhatsky
c6b4263e54
browser(webkit): fix timezone overrides after last roll () 2020-11-03 14:54:28 -08:00
Pavel Feldman
eae3d93a20
browser(webkit): fix proxy ignore pattern set on context level () 2020-11-03 14:28:04 -08:00
Yury Semikhatsky
0a9fdc4751
browser(webkit): roll to 11-03 () 2020-11-03 13:17:03 -08:00
Yury Semikhatsky
7ef1533cae
browser(webkit): one more mac build fix after last roll () 2020-10-30 16:15:53 -07:00
Yury Semikhatsky
3577e637c7
browser(webkit): mac build fix after last roll () 2020-10-30 14:47:53 -07:00
Yury Semikhatsky
5e50fe3d40
browser(webkit): roll to 10-30 () 2020-10-30 12:42:33 -07:00
Yury Semikhatsky
41d514dfde
browser(webkit): disable gamepad on GTK () 2020-10-27 16:43:26 -07:00
Pavel Feldman
00d6313f6d
browser(webkit): report raw request headers from didReceiveResponse () 2020-10-26 22:05:43 -07:00
Andrey Lushnikov
b08d3dc9ff
devops: always ensure linux deps when building webkit () 2020-10-26 21:53:27 -07:00
Yury Semikhatsky
39637a4ab0
browser(webkit): build fix () 2020-10-26 18:52:25 -07:00
Yury Semikhatsky
1feb041086
browser(webkit): fix mac build after last roll () 2020-10-26 17:40:31 -07:00
Pavel Feldman
c1a64eee02
browser(webkit): serialize set-cookie \n-separated () 2020-10-26 16:58:40 -07:00
Yury Semikhatsky
4b2a29e23d
browser(webkit): roll to 10-26 () 2020-10-26 13:00:15 -07:00
Yury Semikhatsky
54e05ac83e
browser(webkit): fix screencast timescale precision () 2020-10-20 13:09:24 -07:00
Joel Einbinder
bf491f12cf
browser(webkit): fix pointer media query on windows () 2020-10-19 10:08:02 -07:00
Yury Semikhatsky
92cde6cd06
browser(webkit): roll to 10-19 ()
This should fix current build failure on Mac.

5e1333ea77 is necessary to fix the following compilation error:

CMake Error at Source/cmake/WebKitFeatures.cmake:21 (message):
  ENABLE_LEGACY_CSS_VENDOR_PREFIXES is not a valid WebKit option
Call Stack (most recent call first):
  Source/cmake/WebKitFeatures.cmake:40 (_ENSURE_IS_WEBKIT_OPTION)
  Source/cmake/OptionsWPE.cmake:89 (WEBKIT_OPTION_DEFAULT_PORT_VALUE)
  Source/cmake/WebKitCommon.cmake:58 (include)
  CMakeLists.txt:173 (include)
2020-10-19 09:17:24 -07:00
Joel Einbinder
347dd2403b
browser(webkit): fix pointer media query on mac () 2020-10-19 02:34:47 -07:00
Pavel Feldman
26442c563c
browser(webkit): fix the datastore leak () 2020-10-16 08:14:59 -07:00
Yury Semikhatsky
97cb51f3e9
browser(webkit): fix windows compilation after last roll () 2020-10-15 14:27:02 -07:00
Yury Semikhatsky
6fb6929e36
browser(webkit): roll to 10-15 () 2020-10-15 13:48:58 -07:00
Joel Einbinder
a61d07a8e9
browser(webkit): report correct pointer type to css () 2020-10-15 03:28:45 -07:00
Joel Einbinder
a169cb63f8
browser(webkit): fix mac compilation errors () 2020-10-14 10:35:45 -07:00
Joel Einbinder
8c6a2e197a
browser(webkit): Input.dispatchTapEvent () 2020-10-14 05:53:07 -07:00
Yury Semikhatsky
71c444c59f
browser(webkit): revert changes to WebAutomationSession.h () 2020-10-13 11:43:42 -07:00
Yury Semikhatsky
b2f4fa914a
browser(webkit): pick process pool for service worker from correct context () 2020-10-12 15:39:49 -07:00
Yury Semikhatsky
5648eac063
browser(webkit): fix mac build after last roll () 2020-10-09 16:11:50 -07:00
Yury Semikhatsky
db744e28ee
browser(webkit): roll to 10/08 () 2020-10-09 14:43:36 -07:00
Yury Semikhatsky
b85ba62291
browser(webkit): actually fix mac compilation () 2020-10-09 13:06:25 -07:00
Yury Semikhatsky
d6a198a9bb
browser(webkit): speculative build fix for Mac () 2020-10-09 11:13:02 -07:00
Yury Semikhatsky
8252eb7413
browser(webkit): roll to 09-27 () 2020-10-09 09:32:36 -07:00
Yury Semikhatsky
c4a2732515
browser(webkit): another mac fix () 2020-09-21 19:03:44 -07:00
Yury Semikhatsky
ce51af0509
brower(webkit): add missing override markers () 2020-09-21 17:59:11 -07:00
Yury Semikhatsky
2fbe767142
browser(webkit): roll to 09/21 () 2020-09-21 16:04:38 -07:00
Yury Semikhatsky
b8e90a5582
browser(webkit): duplicate each frame duration times () 2020-09-11 13:48:39 -07:00
Yury Semikhatsky
a5a563659b
browser(webkit): fix basic screencast for accelerated compositing on win () 2020-09-08 16:00:51 -07:00
Yury Semikhatsky
1d4601b479
browser(webkit): fix screencast scale on Mac headful () 2020-09-08 14:22:33 -07:00
Pavel Feldman
b6557b9f92
browser(webkit): remove incognito emoji from title () 2020-09-03 23:33:43 -07:00
Yury Semikhatsky
fc7b065b1b
browser(webkit): revert as it broke many sites () 2020-09-03 22:09:20 -07:00
Yury Semikhatsky
d3c677792c
browser(webkit): force repaint on screencast start () 2020-09-03 09:56:21 -07:00
Yury Semikhatsky
6b085a349c
browser(webkit): do not clear existing contexts from map when exiting () 2020-09-02 18:13:03 -07:00
Pavel Feldman
76ab82faa7
browser(webkit): prepend http:// to the schema-less URLs () 2020-09-01 14:28:21 -07:00
Yury Semikhatsky
fad840d88d
browser(webkit): fit screencast to frame if no scale is specified () 2020-09-01 12:04:46 -07:00
Carlos Alberto Lopez Perez
19f21b1bde
browser(webkit): use webkit generate-bundle tool to generate the bundles ()
* This changes the archive.sh script to use the webkit generate-bundle
 tool to generate the MiniBrowser bundles instead of using our custom
 logic.

 * pw_run.sh is simplified because the new bundles include a wrapper
 script that sets the needed LD_LIBRARY_PATH environment variables.
 pw_run.sh now calls this wrapper script (for GTK or WPE) instead of
 calling the MiniBrowser binary directly when running from a bundle.

Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2020-08-28 10:48:57 -07:00
Yury Semikhatsky
80cf7e9fac
browser(webkit): do not crash when opening web inspector () 2020-08-26 08:55:18 -07:00
Yury Semikhatsky
1a37f8ba7a
browser(webkit): remove browserContextId from some events () 2020-08-25 17:15:21 -07:00
Yury Semikhatsky
14abee2b00
browser(webkit): fix compilation on mac () 2020-08-25 07:54:05 -07:00
Yury Semikhatsky
db7bec36c5
browser(webkit): introduce screencastFinished event on Context () 2020-08-24 19:59:35 -07:00