Commit Graph

331 Commits

Author SHA1 Message Date
Andrey Lushnikov
efa567d1b4 devops: fix firefox preferences build on mac 2020-02-11 16:22:31 -08:00
Andrey Lushnikov
3a32b14f32 devops: bundle firefox preferences alongside with build. 2020-02-11 14:42:04 -08:00
Dmitry Gozman
9ea8f49cd1
browser(firefox): attach to all pages in the browser context (#928)
- introduce BrowserContext abstraction;
- attach to all pages from owned browser contexts on creation;
- move page emulation to PageTarget/FrameTree, away from sessions and agents;
- remove explicit enable methods, replaced by Page.ready event;
- pass browser context options on creation.

c73fb4450e
2020-02-11 11:32:37 -08:00
Pavel Feldman
29f4f18d6d
browser(webkit): allow beforeunload override when headful (#921) 2020-02-10 19:20:32 -08:00
Pavel Feldman
e2710dec29
browser(webkit): do not activate headless window on browser start (#900) 2020-02-07 16:05:04 -08:00
Andrey Lushnikov
3acc65d285 devops: teach //browser_patches/webkit/build.sh to build both GTK & WPE
- use `//browser_patches/webkit/build.sh --gtk` to build GTK only
- use `//browser_patches/webkit/build.sh --wpe` to build WPE only
2020-02-07 13:57:08 -08:00
Andrey Lushnikov
871235939e devops: prettify telegram messages 2020-02-07 12:42:20 -08:00
Pavel Feldman
cdbfc4c1c2
browser(webkit): report inspector pipe is listening via stdout (#892) 2020-02-07 10:00:34 -08:00
Pavel Feldman
8c2302d6ec
browser(webkit): do not navigate popups to about:blank on Win (#886) 2020-02-07 08:27:25 -08:00
Pavel Feldman
bc912596b8
browser(webkit): use random ephemeral session ids on Mac (#881) 2020-02-06 17:33:11 -08:00
Andrey Lushnikov
f15690da0d
browser(webkit): roll WebKit to tip-of-tree 2/6/2020 (#877) 2020-02-06 16:55:04 -08:00
Andrey Lushnikov
ffc8f961da
browser(firefox): bump build number to r1025 2020-02-06 16:14:39 -08:00
Dmitry Gozman
9f0bbfff2c
browser(firefox): pause page on creation to handle emulation messages (#871)
153a95c23a
2020-02-06 16:07:52 -08:00
Andrey Lushnikov
8c6faab012
browser(firefox): roll firefox to upstream's beta (#876) 2020-02-06 15:21:06 -08:00
Pavel Feldman
6202ff12fd
browser(firefox): use guids for browser contexts, delete contexts on disconnect (#866) 2020-02-06 13:41:25 -08:00
Dmitry Gozman
1b1ed087ae
browser(webkit): introduce DOM.scrollIntoViewIfNeeded (#847)
69fb612396
2020-02-05 15:17:12 -08:00
Dmitry Gozman
0cc26c0fe6
browser(firefox): introduce Page.scrollIntoViewIfNeeded (#848)
1cfb6fd4cc
2020-02-05 14:57:30 -08:00
Pavel Feldman
2ba5e840c1 docs: we are Playwright, not PlayWright 2020-02-04 08:01:25 -08:00
Pavel Feldman
84edefd087
browser(webkit): follow up to Browser.setLanguage, fan out changes (#801) 2020-02-03 12:03:16 -08:00
Pavel Feldman
387b895929
browser(webkit): build more wk features (#807) 2020-02-02 14:21:50 -08:00
Joel Einbinder
0a16b6073e
browser(webkit): fix crash when a worker is terminated while logging (#797) 2020-02-02 14:20:19 -08:00
Joel Einbinder
84c93d2f9e
browser(webkit): plumb stderr from the web process to the main process (#792)
This allows `fprintf(stderr, "my message\n")` and `WTFReportBacktrace()` to work from the web process in Windows!

ea530a62b9
2020-01-31 17:07:15 -08:00
Pavel Feldman
9438136ae9
browser(webkit): enable some build features on win (#788) 2020-01-31 13:36:41 -08:00
Pavel Feldman
4904459dd0
browser(webkit): introduce Browser.setLanguage (#781) 2020-01-31 10:28:31 -08:00
Andrey Lushnikov
adc5e3b59a browser(webkit): bump WebKit to r1128 to check binary stripping 2020-01-30 19:13:41 -08:00
Andrey Lushnikov
b77b31c55c devops: strip linux binaries
The `--strip-unneeded` removes all symbols needed for library
compilation as part of a `.a` static library.
([source](https://www.technovelty.org/linux/stripping-shared-libraries.html))

So these are safe to remove and they should keep our binary
debuggable. These should save us ~100Mb unzipped.

References #658
2020-01-30 19:12:02 -08:00
Yury Semikhatsky
735c5e6a86
browser(webkit): fix compilation on Mac (#774)
f36ec8a69a
2020-01-30 16:11:34 -08:00
Yury Semikhatsky
6c58f93416
browser(webkit): simplify isolated world handling (#766) 2020-01-30 14:51:11 -08:00
Yury Semikhatsky
1ad6134a54
browser(webkit): ensure user worlds created when attaching to new pages (#765) 2020-01-30 13:57:41 -08:00
Joel Einbinder
44829d6fdf
browser(firefox): wait for pending accessibility updates (#755)
Should fix some flaky accessibility tests on Firefox for mac.
2020-01-29 18:56:11 -08:00
Pavel Feldman
bcc920c879
browser(webkit): follow-up to update inspector file locations (#754) 2020-01-29 15:15:39 -08:00
Pavel Feldman
87abfe02a4
browser(webkit): roll to WebKit ToT 1/29/2020 (#737) 2020-01-29 14:46:05 -08:00
Yury Semikhatsky
afc02225d8
browser(webkit): do not crash when opening inspector on mac (#751) 2020-01-29 14:01:52 -08:00
Dmitry Gozman
7ea4110987
browser(webkit): expose worker's owner frame (#694)
549289d2dd
2020-01-29 11:57:22 -08:00
Andrey Lushnikov
e64fd173bb devops: fix firefox building script on Mac 10.15.1 2020-01-29 11:55:29 -08:00
Yury Semikhatsky
4b0ce1de2a
browser(webkit-wpe): do not preload about:blank into popups (#724) 2020-01-28 14:46:26 -08:00
Pavel Feldman
7af1d12d25 browser(firefox): use unguessable web socket address (#722)
References #705
2020-01-28 14:03:19 -08:00
Pavel Feldman
19da86b4c9 browser(firefox): amend method & postData upon continue (#716) 2020-01-28 13:04:09 -08:00
Pavel Feldman
45e88f7b85 browser(webkit): amend method & postData upon continue (#702) 2020-01-27 23:26:34 -08:00
Yury Semikhatsky
e9515f46d2 browser(webkit): pause popups on start (#691) 2020-01-27 17:04:16 -08:00
Dmitry Gozman
aa2ecde20f browser(webkit): make popups functional in mac embedder (#689) 2020-01-27 15:41:01 -08:00
Yury Semikhatsky
b3cd7a4365 browser(webkit): remove URL from TargetInfo (#676)
16cf942e30
2020-01-27 11:41:57 -08:00
Eric Heaton
e65cc77f31 fix(pw_run): Allow running from paths with spaces (#674)
This script currently breaks if the project folder contains any spaces in the paths. The above fix takes care of that.
2020-01-27 09:34:59 -08:00
Yury Semikhatsky
1b8cfffe78
browser(webkit): fix GTK build (#673) 2020-01-27 09:31:27 -08:00
Yury Semikhatsky
a779efeccc
browser(webkit): always dispose persistent context before exiting (#649) 2020-01-27 08:59:33 -08:00
Andrey Lushnikov
d2bfe00da6 browser(webkit): fix setOfflineMode (#656) 2020-01-26 09:15:32 -08:00
Pavel Feldman
2ae6466d74
browser(webkit): support user-data-dir on win (#642) 2020-01-24 16:30:27 -08:00
Yury Semikhatsky
fb9ec96e3e
browser(webkit): support --user-data-dir on Linux (#610) 2020-01-24 15:27:52 -08:00
Andrey Lushnikov
a4f27c17af
browser(webkit): fix compilation on Mac 10.15 (#638) 2020-01-24 14:52:17 -08:00
Joel Einbinder
3abaced877 chore(webkit): build wpe and gtk to different folders (#616)
Second try at #556. Uses absolute paths for the environment variables so that WPEDependencies builds properly. Switches from `WebKitBuildWPE` to `WebKitBuild/WPE` to avoid the need to change the .gitignore.

My computer takes a long time to build, but it appears to be working.
2020-01-24 11:54:50 -08:00
Yury Semikhatsky
f463d06bd2 browser(webkit): fix WPE compilation (#635) 2020-01-24 11:47:46 -08:00
Yury Semikhatsky
12a43541ec browser(webkit): roll to r255078 (#633) 2020-01-24 11:22:27 -08:00
Pavel Feldman
6b8c40ea25 browser(webkit): respect --user-data-dir on MacOS (#579) 2020-01-23 15:56:37 -08:00
Joel Einbinder
717159094c browser(firefox): wait for startup before closing the browser (#575) 2020-01-22 19:56:56 -08:00
Dmitry Gozman
1c96d42a4b browser(firefox): support request interception (#572)
10558a7ead
2020-01-22 17:21:25 -08:00
Pavel Feldman
05cb267a86 browser(webkit): do not require DRAG_SUPPORT for simple drag selection (#569)
1fa5f16fd8
2020-01-22 15:58:46 -08:00
Andrey Lushnikov
b8bb58e48b chore: migrate browser builds to a new CDN (#549) 2020-01-21 15:43:58 -08:00
Yury Semikhatsky
b1b4c72035 browser(webkit): switch IdentifiersFactory to WebKit process identifiers (#547) 2020-01-21 14:33:02 -08:00
Pavel Feldman
c3e4f092d3 browser(webkit): fix binary web socket frame represetation (#543) 2020-01-21 10:16:56 -08:00
Pavel Feldman
e5c839d0aa
browser(webkit): roll to ToT 1-18-2020 (#540) 2020-01-20 08:54:03 -08:00
Pavel Feldman
586cf474e0
browser(webkit): revert MiniBrowser to original, introduce Playwright fork (#539) 2020-01-17 22:13:55 -08:00
Andrey Lushnikov
2de3e03be4 chore(webkit): bump webkit build number
This should re-build webkit with bundled glib-networking on linux.
Hopefully this solves TLS issues on webkit linux.
2020-01-17 21:42:11 -08:00
Andrey Lushnikov
62ed659158 devops: fix TLS on webkit-wpe and webkit-gtk 2020-01-17 21:38:22 -08:00
Andrey Lushnikov
44c808a29d devops: support webkit-gtk-wpe in the check_cdn.sh 2020-01-17 19:07:58 -08:00
Pavel Feldman
145600ab68 browser(webkit): remove wk1 on win+linux (#531) 2020-01-17 17:09:45 -08:00
Andrey Lushnikov
5f656f55b1 browser(firefox): bump build number
This is a follow-up to 2520dedb41
2020-01-17 17:05:31 -08:00
Andrey Lushnikov
d62080ff1e devops: report upload build size via TG notification 2020-01-17 16:56:04 -08:00
Dmitry Gozman
2520dedb41
browser(firefox): support workers (#526)
a0549a0f64
2020-01-17 16:40:30 -08:00
Andrey Lushnikov
c517542f39 devops: send tg notifications for webkit-gtk-wpe 2020-01-17 16:37:49 -08:00
Andrey Lushnikov
8483245d87 devops: pack inspector protocol 2020-01-17 16:32:54 -08:00
Andrey Lushnikov
4ee2643598 devops: combine webkit-wpe and webkit-gtk together 2020-01-17 16:27:07 -08:00
Andrey Lushnikov
e750da376e devops: fix firefox's archive.sh 2020-01-17 15:36:22 -08:00
Andrey Lushnikov
64884dc278 devops: produce webkit-wpe builds 2020-01-17 14:43:00 -08:00
Andrey Lushnikov
928d04dc26 chore: bump browser numbers to test new intrastructure 2020-01-17 14:28:17 -08:00
Andrey Lushnikov
9a944db53f devops: rewrite checkout_build_archive_upload with build flavors
This patch establishes the following convention:
- scripts `checkout_build_archive_upload.sh` and `upload.sh` now accept
  build flavor instead of browser name. Build flavor fully defines the
  build produced / uploaded.
- scripts under `//browser_patches/webkit` and
  `//browser_patches/firefox` produce build that is specific to the host
  system.
2020-01-17 14:27:17 -08:00
Andrey Lushnikov
9e27d140c3 devops: rename minibrowser-linux into minibrowser-gtk
This is a preparation for the minibrowser-wpe upcoming build.
2020-01-17 13:42:33 -08:00
Andrey Lushnikov
14b2d5c83d devops: support webkit-wpe compilation
This patch:
- teaches `//browser_patches/webkit/build.sh` to accept the `--wpe` flag
- teaches `//browser_patches/webkit/archive.sh` to accept the `--wpe` flag
- teaches `//browser_patches/webkit/pw_run.sh` to parse the `--headless`
flag. In this case, we will assume that
`//browser_patches/webkit/checkout` is built for WPE and will pass
proper dependencies.
2020-01-17 13:33:52 -08:00
Andrey Lushnikov
f9a86c0781 devops(win): fix webkit-win64 archiving step 2020-01-17 11:59:41 -08:00
Yury Semikhatsky
175f07e3dc
chore(webkit): bump build number to rebuild with new scripts (#524) 2020-01-17 10:47:20 -08:00
Pavel Feldman
3090f32e8a
fix(win): deploy less msvcruntime dlls (#522) 2020-01-17 09:44:49 -08:00
Pavel Feldman
daed1c38f8 fix(win): deploy msvcruntime dlls (#521) 2020-01-17 09:24:45 -08:00
Pavel Feldman
e93a0363f7 browser(webkit): make test runner link 2020-01-16 17:50:20 -08:00
Pavel Feldman
5bbb87bd07 browser(webkit): follow up to fix WKPageUIClientV14 usages 2020-01-16 17:16:53 -08:00
Andrey Lushnikov
814dbdab80
docs(devops): fix buildbots readme.md 2020-01-16 17:05:36 -08:00
Andrey Lushnikov
ba2d9af5ae
docs(buildbots): document settings webkit-win env 2020-01-16 16:56:11 -08:00
Pavel Feldman
9c88649c6b browser(webkit): pass dialog tests on windows (#515) 2020-01-16 16:38:00 -08:00
Andrey Lushnikov
a446d919fd devops: produce webkit win64 builds 2020-01-16 15:35:27 -08:00
Dmitry Gozman
b4686f1eb9 browser(firefox): assorted fixes for evaluation and remote objects (#510) 2020-01-16 14:11:33 -08:00
Pavel Feldman
6b0b7500bd
browser(webkit): fix default context on windows (#504) 2020-01-16 12:49:17 -08:00
Dmitry Gozman
7785fd8191 browser(firefox): support isolated worlds (#500)
211f1f1bff
2020-01-16 11:52:22 -08:00
Yury Semikhatsky
dccf540dc5 browser(webkit): show local inspector when controlled remotely (#508) 2020-01-16 11:12:59 -08:00
Yury Semikhatsky
f246a1123f
browser(webkit): make gtk tests pass again (#503) 2020-01-15 18:02:32 -08:00
Pavel Feldman
0f1c30d54a
build(webkit): make keyboard work on win (#501) 2020-01-15 17:52:53 -08:00
Yury Semikhatsky
ce1e79fe9f browser(webkit): fix debug compilation and some assertions (#498) 2020-01-15 11:54:36 -08:00
Pavel Feldman
30022a326f browser(webkit): initial windows cut (#497) 2020-01-15 10:48:27 -08:00
Yury Semikhatsky
a662f2fdfd browser(webkit): remove browser context id from target info (#494) 2020-01-14 15:31:43 -08:00
Andrey Lushnikov
2387727b42
browser(firefox): improve firefox protocol types (#490)
Review URL: d8f3090d4a
2020-01-14 14:04:03 -08:00
Yury Semikhatsky
f31d01acbc browser(webkit): notify client about provisional load failures (#483) 2020-01-14 09:50:05 -08:00
Joel Einbinder
21fce85036
fix(webkit): support the readonly attribute (#476)
`readOnlyValue()` was confusingly only the `aria-readonly` value. The real readonly value was determined by reading the `canSetValueAttribute` and `enabled` states.
2020-01-13 17:15:43 -08:00
Yury Semikhatsky
d529ef95d2
browser(webkit): implement Browser.navigate (#473) 2020-01-13 16:35:08 -08:00