Andrey Lushnikov
c0d9ccfebf
docs: update documentation on Chromium sandbox ( #3077 )
...
This patch:
- updates docker seccomp profile to use a slightly modified default docker
profile
- removes SUID sandbox documentation since it doesn't seem to work
References #2745
2020-07-21 17:43:41 -07:00
Joel Einbinder
f4b7ed5542
fix(chromium): reland support selectAll on macos ( #3038 )
...
Co-authored-by: Joel Einbinder <joel.einbinde@gmail.com>
2020-07-21 16:33:46 -07:00
Joel Einbinder
3c151d8f1d
fix(test): don't output babel's debug info on the bots ( #3073 )
2020-07-21 16:23:46 -07:00
Dmitry Gozman
db4e856a57
feat(rpc): use SerializedValue for CDPSession ( #3076 )
...
This is our way to define a schema for arbitrary values.
2020-07-21 15:58:00 -07:00
Dmitry Gozman
1553f19bab
chore: update error messages to match future rpc validator ( #3075 )
2020-07-21 15:25:31 -07:00
Dmitry Gozman
18cb1c017a
feat(rpc): inline selectors.register options in the protocol ( #3072 )
2020-07-21 14:41:33 -07:00
Dmitry Gozman
3dd61629e0
feat(rpc): update Response.finished to return string instead of Error ( #3071 )
2020-07-21 14:40:53 -07:00
Andrey Lushnikov
47e30f047b
feat: introduce chromiumSandbox
launch option ( #3067 )
...
The option is intended to be used instead of the `--no-sandbox`
argument that is accepted exclusively by Chromium and crashes
WebKit.
References #2745
2020-07-21 13:49:09 -07:00
Andrey Lushnikov
af20d2704f
fix: auto-add --no-sandbox
when running Chromium under root ( #3064 )
...
References #2745
2020-07-21 13:21:42 -07:00
Andrey Lushnikov
2120a2361b
docs(readme): add link to system requirements ( #3057 )
2020-07-21 13:19:22 -07:00
Dmitry Gozman
3dead4c8d1
feat(rpc): remove last union types from the protocol ( #3059 )
2020-07-21 12:44:30 -07:00
Pavel Feldman
de9570ee3a
browser(webkit): roll to ToT 07/21/2020 ( #3066 )
2020-07-21 12:26:21 -07:00
Yury Semikhatsky
babd0cbcea
browser(firefox): fix Windows build ( #3065 )
2020-07-21 10:02:14 -07:00
Pavel Feldman
7f29275aa2
browser(firefox): use base64 to deliver post data ( #3063 )
2020-07-21 09:55:46 -07:00
Pavel Feldman
99658c2d32
feat(bringToFront): enable on all browsers ( #3052 )
2020-07-21 09:36:54 -07:00
Joel Einbinder
a03f1dd156
test: screenshot on failure ( #3053 )
2020-07-21 09:32:13 -07:00
Yury Semikhatsky
a5cb983768
browser(firefox): write video to .webm instead of .ivf ( #3062 )
2020-07-21 09:26:59 -07:00
Dmitry Gozman
2d59a8f9c2
feat(rpc): remove some union types ( #3058 )
2020-07-21 08:26:48 -07:00
Dmitry Gozman
5848ed8f41
feat(rpc): introduce protocol.pdl ( #3054 )
...
We now generate channels.ts from the protocol definition. There are still some shortcomings,
like union types - these will be addressed in follow ups.
2020-07-20 17:38:06 -07:00
Pavel Feldman
726f636b5c
browser(firefox): implement Page.bringToFront ( #3051 )
2020-07-20 16:47:27 -07:00
Yury Semikhatsky
eb14c4711f
browser(webkit): do not mask WebGL vendor/renderer info ( #3050 )
2020-07-20 15:01:40 -07:00
Yury Semikhatsky
6db8962125
browser(firefox): smooth resize in headless ( #3043 )
2020-07-20 14:24:52 -07:00
Joel Einbinder
23f506b3e6
fix(test): write after end in proxy test ( #3039 )
2020-07-20 13:31:24 -07:00
Yury Semikhatsky
d1f937d651
browser(firefox): stop video recording if page closed ( #3040 )
2020-07-20 10:44:11 -07:00
Andrey Lushnikov
377404448c
devops: add script to generate shared object => package mapping ( #3022 )
...
We use this mapping to provide recommendations on which packages
to install on Linux distributions.
References #2745
2020-07-20 10:35:42 -07:00
Dmitry Gozman
cfe3aa3d94
test: add a few tests for null values ( #3035 )
2020-07-20 09:39:16 -07:00
Dmitry Gozman
29504c0824
feat(rpc): make SerializedValue format pdl-friendly ( #3007 )
...
This avoids sum types and instead uses different fields
for different types.
2020-07-19 19:46:19 -07:00
Darío Kondratiuk
79d5991a27
doc: Improve unroute documentation ( #3026 )
2020-07-18 10:54:09 -07:00
Pavel Feldman
6199ba28a9
devops: remove travis, appveyor, circle for now ( #3029 )
2020-07-18 10:52:47 -07:00
Pavel Feldman
b5f9985d3a
devops: make headful a matrix, collect test results ( #3027 )
2020-07-18 10:50:58 -07:00
Dmitry Gozman
13c3f7243c
test: restart worker fixtures after test failure ( #3021 )
...
This way previous test that leaves browser in a bad state does not
affect future tests.
2020-07-17 19:54:37 -07:00
Yury Semikhatsky
562e1e6460
browser(firefox): wait for file write to finish in stopVideoRecording ( #3020 )
2020-07-17 17:34:09 -07:00
Pavel Feldman
c45b5797fa
test: support slow marker ( #3018 )
2020-07-17 17:17:06 -07:00
Andrey Lushnikov
7d2078ef6f
devops: bake browsers into Docker image ( #2990 )
...
This patch bakes browsers into docker image.
Important observations:
- We now re-build docker image everytime we roll browsers.
- Docker image size almost doubles: from `225MB` to `496MB`.
References #2926
2020-07-17 16:51:39 -07:00
Andrey Lushnikov
9a2245d30a
devops: show package names instead of missing libs on Ubuntu 18.04 ( #3013 )
...
This patch starts putting package names to install on Ubuntu instead
of missing dependencies list.
The mapping of library to package name is obtained using the following
script: https://gist.github.com/aslushnikov/2766200430228c3700537292fccad064
References #2745
2020-07-17 16:50:20 -07:00
Andrey Lushnikov
ef2a6522b8
feat: support atomic browser installation - attempt 2 ( #3008 )
...
Currently, Ctrl-C while extracting browser might yield users in
a bad place.
This patch adds a marker file inside browser directory to make
sure that browser extraction completed.
Note: this was already attempted in #2489 , but was eventually
reverted in #2534 .
References #2660
2020-07-17 16:39:27 -07:00
Joel Einbinder
a75835e077
chore(jest): halve the max workers ( #3017 )
2020-07-17 16:34:31 -07:00
Pavel Feldman
68ef90d258
test(click): split into several files ( #3016 )
2020-07-17 16:33:57 -07:00
Pavel Feldman
f2239b5bda
test: respect CR/FF/WK/PATH env ( #3015 )
2020-07-17 16:33:22 -07:00
Dmitry Gozman
91e1a25f34
feat(rpc): gracefully close browsers in server process on disconnect ( #3005 )
2020-07-17 16:14:23 -07:00
Pavel Feldman
9d9801192e
test: wire test commands to jest ( #3014 )
2020-07-17 16:09:27 -07:00
Joel Einbinder
8904f401c2
chore(jest): defaultbrowsercontext.jest.js ( #3003 )
2020-07-17 16:07:31 -07:00
Pavel Feldman
a8216339d8
Revert "fix(chromium): select all on macos should work again ( #3006 )" ( #3011 )
2020-07-17 14:34:05 -07:00
Pavel Feldman
096ec4c44f
test: move fixtures to jest ( #3010 )
2020-07-17 13:53:23 -07:00
Pavel Feldman
24f6d19e27
test: move remaining tests to jest ( #3009 )
2020-07-17 13:02:50 -07:00
Yury Semikhatsky
9790cf2291
feat(webkit): bump to 1308 ( #2991 )
2020-07-17 11:09:14 -07:00
Joel Einbinder
631fbce7ff
fix(chromium): select all on macos should work again ( #3006 )
...
* fix(chromium): select all on macos should work again
* Update src/chromium/crInput.ts
Co-authored-by: Joel Einbinder <joel.einbinde@gmail.com>
2020-07-17 10:59:48 -07:00
Joel Einbinder
9140063c90
fix(accessibility): don't filter everything when the page has a title ( #2909 )
2020-07-17 10:48:50 -07:00
Dmitry Gozman
d8bedd851d
chore: explicitly type SerializedArgument, fix rpc dispatchEvent ( #2988 )
...
We now have types for SerializedValue/SerializedArgument. This will
allow us to avoid double parse/serialize for evaluation arguments/results.
Drive-by: typing exposed a bug in ElementHandle.dispatchEvent().
2020-07-17 09:53:13 -07:00
Pavel Feldman
070a257600
test: move all generic page tests to jest ( #3002 )
2020-07-17 09:49:12 -07:00