Pavel Feldman
6be3634356
browser(firefox): fix permissions check and notifications name ( #1530 )
2020-03-25 09:55:41 -07:00
Andrey Lushnikov
aba670d719
browser(firefox): roll Firefox ( #1534 )
...
Review URL: 2fda0f5fc8
2020-03-24 23:25:17 -07:00
Pavel Feldman
8af21d146c
browser(firefox): fix authentication ( #1524 )
2020-03-24 21:17:55 -07:00
Yury Semikhatsky
1f48efe417
browser(firefox): ignore beforeunload handlers in Browser.close() ( #1526 )
2020-03-24 20:51:21 -07:00
Andrey Lushnikov
3e8a6ac347
devops: update docs regarding bubblewrap on linux
2020-03-24 14:28:11 -07:00
Yury Semikhatsky
7943e00aa2
Revert "feat(webkit): roll WebKit to r258828 ( #1517 )" ( #1522 )
...
This reverts commit e14efd511f
.
this moves webkit build from JHBuild onto Flatpak, and we're not ready yet 🤷♂️
2020-03-24 14:17:04 -07:00
Andrey Lushnikov
231c878719
devops: support browser aliases in export.sh
and prepare_checkout.sh
( #1520 )
...
This lets you use `ff` for `firefox` and `wk` for `webkit`
```sh
$ ./browser_patches/prepare_checkout.sh ff
```
2020-03-24 13:22:46 -07:00
Yury Semikhatsky
e14efd511f
feat(webkit): roll WebKit to r258828 ( #1517 )
...
Resolved conflicts: 94ea16136d
2020-03-24 13:13:23 -07:00
Andrey Lushnikov
c28c5a6455
browser(firefox): make Runtime a global object shared between sessions ( #1458 )
...
Review URL: 88261ea669
Key points:
- `Runtime` is now shared between protocol sessions
- `RuntimeAgent` does not exist any more and is merged into `PageAgent` for Page
- `RuntimeAgent` is re-implemented in a worker
2020-03-23 16:21:39 -07:00
Pavel Feldman
9826fd652e
browser(firefox): disable update, setting sync and other non-testing features ( #1480 )
2020-03-22 23:52:59 -07:00
Pavel Feldman
049fdf708c
browser(firefox): implement Browser.addBinding ( #1477 )
2020-03-22 21:10:00 -07:00
Pavel Feldman
ac5852f302
browser(firefox): implement offline emulation ( #1475 )
2020-03-22 13:51:49 -07:00
Dmitry Gozman
fb7b919bd4
browser(firefox): make interception, locale and geolocation work on browser context level ( #1469 )
2020-03-21 21:35:13 -07:00
Dmitry Gozman
ac02a6b69c
browser(firefox): issue Page.ready at the right time ( #1462 )
...
This covers new pages and popups. Special handling is needed for window.open() with no url.
2020-03-21 17:56:15 -07:00
Andrey Lushnikov
96c9c81581
browser(firefox): fix bug in Juggler with clashing method names ( #1456 )
2020-03-20 19:35:58 -07:00
Andrey Lushnikov
21630d6de4
devops: strictly configure build folder for Firefox builds ( #1454 )
...
This strictly defines Firefox build folder as `obj-build-playwright`.
Currently, Firefox build folder encodes current Mac OS version including
patch versions, and thus we might end up with multiple different build
folders.
2020-03-20 19:24:38 -07:00
Pavel Feldman
840e69b85c
browser(firefox): emulate language ( #1452 )
...
1e29e6f231
2020-03-20 17:03:20 -07:00
Pavel Feldman
5fc1a04412
browser(webkit): manager permissions on the proxy level ( #1450 )
2020-03-20 16:42:03 -07:00
Yury Semikhatsky
053bab1afd
browser(webkit): correctly detect Promise created in another window ( #1446 )
2020-03-20 15:53:04 -07:00
Pavel Feldman
fcdfa9ca24
browser(firefox): implement geolocation overrides ( #1437 )
2020-03-20 11:14:42 -07:00
Dmitry Gozman
bfcffbb377
browser(webkit): introduce Playwright.windowOpen protocol event ( #1420 )
2020-03-18 10:44:01 -07:00
Pavel Feldman
edd2fee943
browser(firefox): grant permissions to all origins ( #1405 )
2020-03-16 20:57:19 -07:00
Pavel Feldman
7fe5656257
browser(webkit): fix win cookies expires ( #1355 )
2020-03-11 18:08:14 -07:00
Andrey Lushnikov
3b85bf9c1f
browser(firefox): handle message manager error
event without error ( #1344 )
...
Type TypeError that happens while loading document is reported in
the message manager but does not have the error event.
Saw this while reproducing #1307
2020-03-11 13:37:31 -07:00
Pavel Feldman
6b50c8f9cc
browser(webkit): follow up 3 ( #1342 )
2020-03-11 12:03:35 -07:00
Pavel Feldman
c044227e12
browser(webkit): follow up 2 ( #1340 )
2020-03-11 10:56:20 -07:00
Pavel Feldman
2da705de87
browser(webkit): follow up to roll ( #1337 )
2020-03-11 09:24:02 -07:00
Pavel Feldman
4a18f0f834
browser(webkit): roll to ToT 3/11/2020 ( #1335 )
2020-03-11 08:40:21 -07:00
Pavel Feldman
128157df1a
browser(webkit): rename Browser domain to Playwright ( #1333 )
2020-03-10 23:30:31 -07:00
Pavel Feldman
d08a0f02ce
browser(webkit): account for page scale when screenshotting ( #1332 )
2020-03-10 19:56:59 -07:00
Pavel Feldman
e2616e4866
browser(webkit): override global permissions ( #1315 )
...
For #652
2020-03-10 10:42:29 -07:00
Pavel Feldman
008e0b2ecd
browser(webkit): emulate screen size ( #1310 )
2020-03-10 09:20:25 -07:00
Joel Einbinder
27d039a0c4
browser(webkit): mark user gesture in frames ( #1304 )
2020-03-09 17:03:00 -07:00
Andrey Lushnikov
c8bbf8808b
devops: bundle mvscp140_2.dll with windows webkit ( #1293 )
...
Fixes #1288
2020-03-09 11:43:11 -07:00
Yohix
bfd32fe6d2
doc: fix typos ( #1284 )
2020-03-07 08:37:47 -08:00
Andrey Lushnikov
996f97a6c0
browser(firefox): roll Firefox to current beta ( #1276 )
...
Review URLs:
- Fixing request interception; ad69da0f74
- Fixing eval with user input: 381c1df5c6
2020-03-06 18:25:27 -08:00
Dmitry Gozman
29f243056c
browser(firefox): merge Target domain into Browser, rework default context attach ( #1259 )
2020-03-06 14:58:35 -08:00
Joel Einbinder
9c80c9efa0
browser(webkit): don't leak pages on window.open ( #1261 )
2020-03-06 08:21:14 -08:00
Andrey Lushnikov
8c9933e0f5
browser(firefox): move Juggler to top-level ( #1254 )
...
Review URL: 5ba06e6d7a
Drive-by: fix re-baseline over r1036
2020-03-05 17:20:07 -08:00
Dmitry Gozman
9d3bff1cf9
browser(firefox): implement Browser.setHTTPCredentials ( #1251 )
2020-03-05 16:37:44 -08:00
Andrey Lushnikov
b0d037ecfe
browser(firefox): fix flaky permissions in Firefox ( #1249 )
...
Review URL: 9bd6e72005
Wait for permissions to propagate to all context pages.
References #720
2020-03-05 14:31:57 -08:00
Andrey Lushnikov
20c326378c
browser(firefox): follow-up with SimpleChannel unification ( #1246 )
...
Review URL: 141f30f450
Address all comments in 1bf5b61cbb
2020-03-05 13:16:43 -08:00
Pavel Feldman
2cd727f675
browser(firefox): signal link click ( #1236 )
2020-03-05 11:59:29 -08:00
Andrey Lushnikov
1bf5b61cbb
browser(firefox): move workers to use SimpleChannel ( #1232 )
...
Review URL: 4753d0121f
This patch:
- Moves Workers to FrameTree
- Introduces WorkerData in PageAgent that proxies runtime agent
in worker to browser process
- Introduces WorkerHandler in PageHandler that handles communicates
with runtime agent in worker and handles Juggler protocol
As part of this patch, SimpleChannel no longer manages lifetime of
any of its handlers.
2020-03-04 21:18:56 -08:00
Pavel Feldman
4fd23124bb
chore: introduce webkit cheatsheet
2020-03-04 20:14:05 -08:00
Pavel Feldman
a69c85f5f8
chore: added ff cheat sheet
2020-03-04 20:09:05 -08:00
Andrey Lushnikov
31278408db
browser(firefox): introduce SimpleChannel ( #1209 )
...
Review URL: 6364381adc
Refactor inter-process communication inside Firefox. The goal is
to have a single abstraction that works nicely for all our cross-process
communication needs (browser <-> content, content <-> workers, content
<-> file:// process, e.t.c.)
This is step 1 that eliminates content sessions everywhere.
Step 2 will move workers onto `SimpleChannel` as well.
This is a pre-requisite for #720 : with a single `browser <-> content`
communication channel it will be easier to await permission change in tabs.
References #720
2020-03-04 14:33:49 -08:00
Andrey Lushnikov
262ee7c425
browser(webkit): fix the pool leaks on mac ( #1219 )
2020-03-04 11:51:39 -08:00
Pavel Feldman
778762455a
browser(webkit): fix delete context stall, emit schedule load ( #1211 )
2020-03-03 23:06:59 -08:00
Yury Semikhatsky
23790f749d
browser(webkit): send reply to deleteContext even if there are no pages in it ( #1204 )
2020-03-03 17:10:29 -08:00