Commit Graph

521 Commits

Author SHA1 Message Date
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
Andrey Lushnikov
883005a323
devops: fix firefox win64 upload to CDN (#469) 2020-01-13 13:55:45 -08:00
Andrey Lushnikov
27f32a72e9
devops: migrate to new CDN for browser builds (#467) 2020-01-13 13:27:03 -08:00
Joel Einbinder
678cb1b8f7 fix(webkit): fix modifier keys for mouse events (#460) 2020-01-10 21:20:59 -08:00
Andrey Lushnikov
d5fb264b8c devops: remove --win64 flag from checkout_build_archive_upload.sh
Both `checkout_build_archive_upload.sh` and `upload.sh` scripts now
accept a `firefox-win64` browser instead of an optional `--win64` flag.

This is a preparation before introducing `webkit-wpe` parameter in these
scripts.
2020-01-11 03:15:29 +01:00
Andrey Lushnikov
a8c6bd66cd devops: properly handle double quotes in TG notifications
Since we send JSON, double quotes have to be escaped.
2020-01-11 01:39:22 +01:00
Andrey Lushnikov
e57c9063b6 Revert "Revert "browser(firefox): roll Firefox to 2b50ccdc8ad0c83966285352a875415a858037c2 (#451)""
This reverts commit 350b256722.

Reason: buildbots were failing to compile new FF because their
cbindgen was outdated. This is now fixed on both Mac & Win.
2020-01-11 01:20:39 +01:00
Joel Einbinder
a4f65c4073 fix(webkit): property accessibility values for roledescription and autocomplete (#458) 2020-01-10 15:52:34 -08:00
Andrey Lushnikov
099aa69374 devops: use only first commit line for Telegram notification messages 2020-01-11 00:35:30 +01:00
Yury Semikhatsky
3216e4f024 browser(webkit): make Network.requestId unique cross process (#453) 2020-01-10 12:27:18 -08:00
Pavel Feldman
350b256722 Revert "browser(firefox): roll Firefox to 2b50ccdc8ad0c83966285352a875415a858037c2 (#451)"
This reverts commit d3e127a0c1.
2020-01-10 12:19:12 -08:00
Yury Semikhatsky
138f081777 browser(webkit): make loader and frame id unique per page cross-process (#449) 2020-01-10 10:53:34 -08:00
Andrey Lushnikov
d3e127a0c1 browser(firefox): roll Firefox to 2b50ccdc8ad0c83966285352a875415a858037c2 (#451)
Review URL: c3a577c46d

With this roll, Firefox has DocumentChannel enabled by default in Desktop Firefox:
- https://phabricator.services.mozilla.com/D57898

DocumentChannel, unlike nsIHttpChannel, doesn't have a `channelId` that we
can use to attribute navigation requests (see
https://github.com/microsoft/playwright/pull/249).

The feature has to be disabled for now in PlayWright with the
`browser.tabs.documentchannel` pref until we figure how to support it.
2020-01-10 10:50:03 -08:00
Joel Einbinder
24e1a25205 fix(webkit): Emulation.setDeviceMetricsOverride was flaky (#444) 2020-01-09 16:41:57 -08:00
Joel Einbinder
1cbc72ce67
feat(webkit): pass objectId into Page.accessibilitySnapshot (#445) 2020-01-09 15:14:23 -08:00
Pavel Feldman
601f704414
browser(webkit): pass all the tests on WPE (#439) 2020-01-09 13:36:34 -08:00
Andrey Lushnikov
5a69cd0068 devops: properly fetch commit message that triggered new build (#442) 2020-01-09 09:21:49 -08:00
Joel Einbinder
129d8442da
fix(webkit): see the content when emulating mobile on gtk (#436) 2020-01-08 17:20:40 -08:00
Pavel Feldman
e13161c894
browser(webkit): fix geo crash, exit main loop upon close (#435) 2020-01-08 16:46:58 -08:00
Yury Semikhatsky
ff18872fda
chore(scripts): limit number of fetched builds to 3 by default (#398) 2020-01-08 15:30:12 -08:00
Pavel Feldman
065bf5fdb1
browser(webkit): reapply wpe fixes (#423) 2020-01-08 14:35:10 -08:00
Yury Semikhatsky
73b148a0c6
chore: manually increment webkit build number (#430) 2020-01-08 14:03:34 -08:00
Joel Einbinder
86f1f0c952
fix(webkit): scale the view in fixedLayout mode (#395) 2020-01-08 13:57:28 -08:00
Yury Semikhatsky
37dd56ff37
chore(webkit): shorten page proxy id, fix variable naming (#429) 2020-01-08 13:57:22 -08:00
Yury Semikhatsky
f16561d817
browser(webkit): remove InputProcessingObserver (#427) 2020-01-08 12:24:31 -08:00
Pavel Feldman
25dfd61d16
browser(webkit): require explicit interceptRequest flag to intercept requests (#421) 2020-01-08 08:56:58 -08:00
Andrey Lushnikov
db8e75693c devops(bots): include commit title in telegram notifications 2020-01-08 15:45:45 +00:00
Pavel Feldman
85c0cc3ae2
browser(webkit): reapply wpe fixes (#419) 2020-01-07 17:47:19 -08:00
Yury Semikhatsky
8592942cf7 browser(webkit): delete WebPageInspectorTargetProxy (#413) 2020-01-07 16:08:16 -08:00
Pavel Feldman
ec50a8b9dc browser(webkit): make wpe compile (#410) 2020-01-07 15:39:45 -08:00
Yury Semikhatsky
2a2ba713ed browser(webkit): delete BrowserInspectorTargetAgent (#401) 2020-01-07 11:40:25 -08:00
Yury Semikhatsky
11cff970f9
chore(webkit): update license headers (#399) 2020-01-07 10:41:01 -08:00
Yury Semikhatsky
a4919b7e1e
browser(webkit): return page proxy id from Browser.createPage (#393) 2020-01-07 09:50:45 -08:00
Pavel Feldman
edccb57b13
browser(webkit): use 2-clause BSD for WebKit contributions (#397) 2020-01-06 22:16:18 -08:00
Joel Einbinder
85985155d0 feat(firefox): pass in a node to getFullAXTree (#388) 2020-01-06 16:32:29 -08:00
Pavel Feldman
0cc7277053
browser(webkit): roll to ToT 1/6/2020 (#390) 2020-01-06 16:30:38 -08:00
Pavel Feldman
544595f3e1
browser(webkit): treat empty credentials as enabled auth interception (#385) 2020-01-06 14:02:28 -08:00
Yury Semikhatsky
4dc8693624
browser(webkit): introduce Browser.PageProxyID representing WebPageProxy (#375) 2020-01-06 09:06:09 -08:00
Pavel Feldman
ccfb2cb26c
browser(webkit): headless beforeunload dialog handler added (#378) 2020-01-04 21:16:25 -08:00
Yury Semikhatsky
508a7eb016 fix(scripts): do not depend on env in pw_run.sh for debug builds (#336) 2020-01-03 10:10:17 -08:00
Pavel Feldman
f7b1f1e5fb browser(webkit): wire target crashed signal (#363) 2020-01-03 10:07:56 -08:00
Pavel Feldman
1e3140e845
browser(webkit): follow up to bootstrap change, run it in all worlds (#359) 2020-01-02 23:18:05 -08:00
Pavel Feldman
1776495b4c
fix(merge): 1057 undid 1056 :/ (#358) 2020-01-02 22:38:17 -08:00
Pavel Feldman
84e9ef08b1
browser(webkit): implement geolocation overrides (#356) 2020-01-02 16:46:35 -08:00
Joel Einbinder
347123e6cc feat(webkit): emulate fixed layout viewport (#347) 2020-01-02 12:19:21 -08:00
Pavel Feldman
b64bd35c23
feat(evaluate): survive null JSON (#351) 2020-01-02 12:13:18 -08:00
Pavel Feldman
20f404cb42 browser(webkit): support HTTP authentication (#345) 2019-12-30 22:23:01 +01:00
Pavel Feldman
243289cb0d browser(webkit): offline mode implemented (#344)
01e8ed5aa7
2019-12-30 17:46:56 +01:00
Pavel Feldman
9e8196c998
feat(webkit): request interception implemented (#341) 2019-12-29 10:14:09 -08:00
Andrey Lushnikov
b59049f8e8 devops: touch first-run marker files every time
Turns out OSX removes untouched files from tmp every once in a
while if they are not touched.
2019-12-26 21:20:29 +01:00
Andrey Lushnikov
2b4039d77c Revert "feat(scripts): support Debug builds in pw_run.sh (#330)"
This reverts commit 659a30e627.
Reason: this builds Mac Builders.
2019-12-26 20:55:30 +01:00
Yury Semikhatsky
0d6fbb9184
feat(wk): include ownerFrameId in Node description (#337) 2019-12-26 11:09:55 -08:00
Yury Semikhatsky
659a30e627
feat(scripts): support Debug builds in pw_run.sh (#330) 2019-12-23 13:20:04 -08:00
Joel Einbinder
8929a1f08a touch events on mac (#324) 2019-12-23 13:12:56 -08:00
Andrey Lushnikov
c9c97de729
browser(webkit): stop building with --touch-enable (#317)
Turns out we can't build with touch on Mac yet. Disable for now.
2019-12-19 17:59:33 -08:00
Joel Einbinder
b746733306 browser(webkit): drop undefined values instead of serailizing them as null (#316) 2019-12-19 16:45:21 -08:00
Yury Semikhatsky
d105f182fc browser(webkit): rebase WebKit on r253791 (#315) 2019-12-19 16:15:02 -08:00
Yury Semikhatsky
ff604f75b7
chore(wk): remove Input.goBack from protocol (#313) 2019-12-19 16:51:44 -07:00
Joel Einbinder
a1dd75ec32 rebase on new webkit (#301) 2019-12-19 15:07:19 -08:00
Yury Semikhatsky
82f6e61295 feat(wk): validate url before navigation and return error (#292) 2019-12-18 14:37:12 -08:00
Pavel Feldman
0d7701c730 fix(wkgtk): invoke resize callback when resize is a noop (#291) 2019-12-18 14:54:51 -07:00
Yury Semikhatsky
f854b09879 browser(webkit): support referrer parameter in Page.navigate (#285) 2019-12-17 16:26:19 -08:00
Andrey Lushnikov
46483ed009 browser(firefox): support late attach (#282) 2019-12-17 15:07:25 -08:00
Andrey Lushnikov
4bb3c41faa
docs(devops): document building firefox on Linux 2019-12-17 11:09:49 -08:00
Yury Semikhatsky
3cea9a1717
feat(webkit): implement DOM.describeNode for retrieving content frame (#275) 2019-12-17 11:39:59 -07:00
Yury Semikhatsky
68a03c2e84
fix(webkit): mac build (#267) 2019-12-16 17:58:04 -07:00
Yury Semikhatsky
6d404b0827
feat(webkit): support runBeforeUnload parameter in Target.close (#265) 2019-12-16 17:28:14 -07:00
Yury Semikhatsky
8baac0bc85 browser(webkit): mac build (#262) 2019-12-16 16:22:36 -08:00
Andrey Lushnikov
39357c3f6c fix(devops): use full SHAs in diffs
Different GIT setups export different length of shortsha.
With this, always export full SHA.
2019-12-16 16:17:56 -08:00
Yury Semikhatsky
6b9f475217
fix(webkit): report stopped loading in subframes, force context on failure (#259) 2019-12-16 15:22:45 -07:00
Andrey Lushnikov
5be580b88e
docs(buildbots): document preventing macbook sleep 2019-12-16 11:56:09 -08:00
Yury Semikhatsky
02fa4dd7ca fix: balance ref/unref calls for the default data manager (#256) 2019-12-16 10:05:52 -08:00
Yury Semikhatsky
ffd45a3783 fix(webkit): use HashMap traits that allow 0 as key (#255) 2019-12-16 09:51:43 -08:00
Dmitry Gozman
927669b890 feat(firefox): provide navigationId for navigation requests (#249) 2019-12-14 08:21:23 -08:00
Pavel Feldman
4fd241e4ae fix(ff): follow up to the roll, fix permissions 2019-12-13 20:56:49 -08:00
Andrey Lushnikov
9fa7e4f530 devops: fetch remote before exporting 2019-12-13 17:26:08 -08:00
Pavel Feldman
b1820bff85 fix(webkit): fix WK/Mac compile 2019-12-13 17:10:16 -08:00
Pavel Feldman
08f0823873 browser(firefox): roll FF to beta ToT (#245) 2019-12-13 16:37:45 -08:00
Yury Semikhatsky
08fc20c78e browser(webkit): add Browser.setIgnoreCertificateErrors to the protocol (#242) 2019-12-13 15:04:58 -08:00
Pavel Feldman
cb659bc8ba browser(webkit): rebaseline webkit on new master (#240) 2019-12-13 14:35:03 -08:00
Pavel Feldman
738502b0f0
fix(resize): wait for the ack when resizing gtk (#230) 2019-12-12 17:49:48 -08:00
Andrey Lushnikov
ea1decbeee devops: document fix for firefox build from launchctl 2019-12-12 15:59:17 -08:00
Yury Semikhatsky
af94e7a8c9 fix(webkit): keep developer extras enabled when changing page preferences (#229)
* fix(webkit): keep developer extras enabled when changing page preferences

* incorporate Pavel's changes to enable inspector eval when js is disabled
2019-12-12 12:01:22 -08:00
Pavel Feldman
37cacb12f5
fix(webkit): open URL passed in the command line (#221) 2019-12-12 10:23:25 -08:00
Dmitry Gozman
4474369dac feat(webkit): instrument frameAttached (#226) 2019-12-12 10:14:04 -08:00
Pavel Feldman
6b57f67bda
fix(webkit): implement headless popups (#220) 2019-12-11 20:18:42 -08:00
Andrey Lushnikov
b76266d874 devops: fix windows buildbot polling 2019-12-11 18:21:20 -08:00
Andrey Lushnikov
33864888d9
devops: document git autocrlf fix on windows 2019-12-11 18:17:25 -08:00
Dmitry Gozman
4861152766 browser(firefox): instrument document.open load event (#218) 2019-12-11 17:53:46 -08:00
Andrey Lushnikov
9e381a9d50 devops(firefox): move packaging to archive.sh 2019-12-11 16:56:49 -08:00
Andrey Lushnikov
d86c51b293 devops: report all buildbot failures 2019-12-11 14:21:47 -08:00
Andrey Lushnikov
eea77346c0
docs(devops): update buildbots readme 2019-12-11 14:06:41 -08:00
Andrey Lushnikov
aa6775f593 chore: fix devops readme 2019-12-11 14:04:18 -08:00
Andrey Lushnikov
8295e6577e chore: rename devops docs to README.md 2019-12-11 14:01:58 -08:00
Andrey Lushnikov
0e03c44c01 devops: unify reporting messages 2019-12-10 18:43:16 -08:00
Andrey Lushnikov
f2a4467166 devops: fix checkout_build_archive_upload.sh script 2019-12-10 18:23:50 -08:00
Pavel Feldman
30fb7b025f
feat(webkit): implement bypass csp (#206) 2019-12-10 17:54:27 -08:00
Andrey Lushnikov
7f5e52b97a devops: teach buildbots to report their status 2019-12-10 17:46:43 -08:00
Pavel Feldman
44d944c18b feat(webkit): use proper default context in gtk minibrowser (#205) 2019-12-10 17:23:59 -07:00
Andrey Lushnikov
20be65b1c9 devops(scripts): export diffs instead of patches
This changes `export.sh` to export diffs instead of patches.
`export.sh` now does not touch working directory, thus not
triggering clean builds and not intefering with an on-going
build.
2019-12-10 15:41:58 -08:00
Andrey Lushnikov
d96cd76852
browser(webkit): support keyboard on Mac & GTK (#196)
Review URL: d360425422
2019-12-10 10:39:40 -08:00
Pavel Feldman
5ab6514633 feat(webkit): run bootstrap script in all worlds (#193) 2019-12-09 23:17:33 -08:00
Pavel Feldman
102b47ddf9
feat(webkit): implement node adoption (#190) 2019-12-09 17:01:11 -08:00
Pavel Feldman
1606697c7e
feat(webkit): implement world creation (#185) 2019-12-09 15:22:11 -08:00
Andrey Lushnikov
cb92cd0d5c devops: teach {firefox,webkit}/build.sh to build current branch
The check for the proper branch has moved to
`checkout_build_archive_upload.sh` script.
2019-12-09 14:38:23 -08:00
Andrey Lushnikov
b6e518399c devops: properly extract remote url while running export checks
Turns out `git rmeote get-url` resolves the `insteadOf` substitutions
and ends up with a different URL.

This patch bypasses these substitutions to properly validate
remote url.
2019-12-09 14:06:55 -08:00
Pavel Feldman
122837113b
feat(webkit): use NSEvents for mouse event simulation (#180) 2019-12-09 12:20:58 -08:00
Yury Semikhatsky
4f5fd4870c
feat(webkit): implement setPauseOnStart in browser target agent (#176) 2019-12-08 16:14:17 -07:00
Pavel Feldman
ba4cfe908c
fix(webkit): make headless webview active and focused at all times (#178) 2019-12-08 13:22:47 -08:00
Yury Semikhatsky
9249ccbc77
feat(webkit): extend TargetInfo with information about related targets (#174) 2019-12-07 18:15:31 -07:00
Dmitry Gozman
3fe20ba516 fix(webkit): disable throttling and pass frameId to load/domcontentloaded (#173) 2019-12-07 16:35:32 -08:00
Yury Semikhatsky
6294f0248a feat(webkit): disable back-forward cache when inspector client is connected (#170) 2019-12-06 15:26:50 -08:00
Joel Einbinder
e727ee0c81 fix(doc): Make browser_patches/contributing.md more straightforward (#167) 2019-12-06 15:56:37 -07:00
Pavel Feldman
2c185e3ead feat(webkit): move quads to float space (#162) 2019-12-05 17:57:21 -08:00
Pavel Feldman
69d2d81c05 feat(webkit): emulate background and device scale (#157) 2019-12-05 14:44:35 -08:00
Andrey Lushnikov
ed39499cea
rebaseline(webkit): rebaseline webkit atop of @131efe8ad (#154)
Review URL: 36a589c93d
2019-12-05 14:01:25 -08:00
Pavel Feldman
4106091870
fix: release webview upon page.close (#147) 2019-12-04 23:28:47 -08:00
Yury Semikhatsky
5432d16052 feat(backend): add go back/forward commands to Page (#143) 2019-12-04 18:14:34 -08:00
Andrey Lushnikov
d54939f861
feat(osx): implement clicks on WebKit (#142)
Review URL: 5a76cd676a

This implements mouse events on WebKit-Mac. This uses a similar
approach to the GTK port, creating a NativeWebMouseEvent without
a backing native event and dispatching it to WebPageProxy.

WebKit WebDriver implementation takes a different approach where they
employ `[nswindow sendEvent:]` method. Unfortunately for us, it's
quite challenging to make this method work for the headless mode
on OSX.

For future reference: chromium has a nice
"event_generator_delegate_mac.mm" that dispatches events right into
`NSResponder`. This approach didn't work as well for us here.
2019-12-04 18:02:39 -08:00
Pavel Feldman
46a46d8da1
feat(webkit): respect default context in gtk (#141) 2019-12-04 17:07:28 -08:00
Pavel Feldman
e358b47f76
feat(dialogs): implement dialogs in WebKit + headless (#132) 2019-12-04 11:36:33 -08:00
Pavel Feldman
ffb6d0fa84
feat(webkit): sort out execution contexts (#131) 2019-12-04 10:42:45 -08:00
Pavel Feldman
c370327b4d
feat(webkit): emulate mac viewport emulation (#130) 2019-12-03 17:10:45 -08:00
Pavel Feldman
01b321d014
feat(webkit): implement headless on Mac (#128) 2019-12-03 14:10:01 -08:00
Yury Semikhatsky
99f9b11be8 chore(scripts): ignore untracked files during patch export (#124) 2019-12-03 10:47:48 -08:00
Yury Semikhatsky
9cb0c95f5d feat(webkit): implement setJavaScriptEnabled in WebKit (#123) 2019-12-03 10:21:24 -08:00
Pavel Feldman
b3f55716ab feat(webkit): implement browser contexts on Mac, cookies everywhere (#120)
Review URL: e7d7316e21
2019-12-02 15:37:05 -08:00
Yury Semikhatsky
8cf8eec3a0 chore(scripts): ignore untracked files and print custom checkout path in logs (#117) 2019-12-02 12:58:44 -08:00
Pavel Feldman
d70133b232
feat(webkit): implement file chooser interception (#97) 2019-11-27 08:47:37 -08:00
Andrey Lushnikov
1c40eb0b28
browser(webkit): implement features in WebKit (#89)
This patch adds:
- JSDialogs to webkit
- Accessibility

As a drive-by, it fixes all license headers for the files we added to
WebKit.
2019-11-26 14:09:12 -08:00
Pavel Feldman
d7b727df1c browser(firefox): implement new set/clearCookies contract (#83) 2019-11-26 09:00:10 -08:00
Andrey Lushnikov
e3a8c2d033 devops: fix check_cdn.sh to be PWD-independent 2019-11-25 18:14:04 -08:00
Andrey Lushnikov
ab6e358c4d devops: safety checks for buildbot scripts 2019-11-25 17:58:08 -08:00
Andrey Lushnikov
13282c9ac5 devops: teach check_cdn to accept browser 2019-11-25 17:58:08 -08:00
Andrey Lushnikov
a13556c27c devops: fix buildbot-windows.sh 2019-11-25 17:11:36 -08:00
Andrey Lushnikov
2887312330 devops: fix win buildbot 2019-11-25 17:02:19 -08:00
Andrey Lushnikov
d756f616f5 devops: build continuosly if needed 2019-11-25 16:06:18 -08:00
Andrey Lushnikov
3866a00ad5 devops: fix win64 ffox build 2019-11-25 15:57:52 -08:00
Pavel Feldman
a1d71d0de7 feat(csp): support bypass csp on ff (#74) 2019-11-25 15:26:03 -08:00
Pavel Feldman
2e581f1625 feat(emulate): implement emulateMedia color scheme in FF (#71) 2019-11-25 15:00:04 -08:00
Andrey Lushnikov
860915b9da devops: fix firefox win64 build 2019-11-25 14:01:39 -08:00
Pavel Feldman
eaa5e93b8b feat(filechooser): supported file chooser in FF (#70) 2019-11-25 13:56:39 -08:00
Andrey Lushnikov
2914f9a1f1 devops: fix prepare_checkout with custom checkout path 2019-11-23 16:22:04 -08:00
Andrey Lushnikov
efa5a559ef devops(webkit): teach pw_run.sh to work with local custom checkout 2019-11-23 00:00:03 -08:00
Andrey Lushnikov
8c8287b276 devops: fix webkit build on POSIX 2019-11-22 22:39:13 -08:00
Andrey Lushnikov
2a4519ffd9 devops: fix webkit build and cleanup on linux 2019-11-22 22:24:14 -08:00
Andrey Lushnikov
a4d6175760 devops: support firefox-win64 builds 2019-11-22 20:49:40 -08:00
Andrey Lushnikov
81f219cf2b devops: bump BUILD_NUMBERs to 1000
This way build numbers will be easier to distinguish in logs
and documentation.
2019-11-22 20:36:23 -08:00
Dmitry Gozman
825c6a45c1 devops: fix buildbot-windows script 2019-11-22 20:30:38 -08:00
Andrey Lushnikov
cf55fe660c devops: give all 4 buildbots designated bash script
This makes it possible for every buildbot to build browsers one-by-one,
instead of altogether.
2019-11-22 20:25:36 -08:00
Andrey Lushnikov
254a464828 devops: fix clean script to keep going if there's no OBJ- folder 2019-11-22 19:57:25 -08:00
Andrey Lushnikov
d092c63301 docs(devops): drop outdated browesr_patches/README.md 2019-11-22 19:31:03 -08:00
Andrey Lushnikov
b416dd7507 browser(firefox): roll Firefox to 6f8366f5763c2f8bcf2ed83dee659b963e0f75a2
Previous firefox beta was broken on Mac - this isn't.
2019-11-22 19:19:18 -08:00
Andrey Lushnikov
558e38debe devops: fix export.sh to work with rolls 2019-11-22 19:18:52 -08:00
Andrey Lushnikov
1a98a4d5e8 devops: build bots should do clean builds 2019-11-22 19:07:39 -08:00
Andrey Lushnikov
9158010eab docs(devops): mention disabling QuickEdit terminal mode on Win 2019-11-22 18:59:51 -08:00
Dmitry Gozman
52f2f45438 Merge branch 'master' of github.com:microsoft/playwright 2019-11-22 18:55:39 -08:00
Dmitry Gozman
fd1cb2b5a0 devops: print poll iteration 2019-11-22 18:55:29 -08:00
Andrey Lushnikov
53eddc1c14 docs(devops): FAQ for browser contributing 2019-11-22 18:52:18 -08:00
Andrey Lushnikov
f0851e40ce docs(devops): contributing browser patches 2019-11-22 18:48:38 -08:00
Andrey Lushnikov
77a255c6da docs(devops): describe windows buildbot configuration 2019-11-22 18:24:45 -08:00
Andrey Lushnikov
c4763e841b devops: add poll_build.sh as an alternative to cronjob 2019-11-22 17:36:12 -08:00
Dmitry Gozman
d2ba399946 devops: fix upload to work in mingw 2019-11-22 17:17:02 -08:00
Andrey Lushnikov
7633518272 devops: do not use "which" in devops scripts
The POSIX way of checking for command presence is "command -v".
This is also supported in MINGW.
2019-11-22 15:48:25 -08:00
Andrey Lushnikov
26fef7bc46 devops: support firefox-win32 builds 2019-11-22 15:45:36 -08:00
Andrey Lushnikov
b64304ecbc devops: make sure cron has necessary PATH 2019-11-21 19:14:30 -08:00
Andrey Lushnikov
4aff4bfca3 devops: cronjob checks 2019-11-21 18:52:51 -08:00
Andrey Lushnikov
c6c4c01263 devops: add crontab 2019-11-21 17:58:10 -08:00
Andrey Lushnikov
7af5f4a2a5 devops: save log for cronjob 2019-11-21 17:48:56 -08:00
Andrey Lushnikov
ae878882bb devops: create lock dir 2019-11-21 17:39:11 -08:00
Andrey Lushnikov
98e05b66fd devops: revamp scripts 2019-11-21 17:29:40 -08:00
Andrey Lushnikov
8dce249a7a devops: no prompts in check_build_archive_upload.sh 2019-11-21 15:42:18 -08:00
Andrey Lushnikov
e1f3f5cfed devops: add cronjobs 2019-11-21 15:26:01 -08:00
Andrey Lushnikov
2b40361b0a devops: fix check_cdn script 2019-11-20 18:02:36 -08:00
Andrey Lushnikov
4f3834dd69 devops: revamp archive.sh scripts to accept a target .zip name
This is required so that we can setup a locking directory for cron
jobs later on.
2019-11-20 18:01:51 -08:00
Andrey Lushnikov
af0ba0e713 devops: move check_cdn to tools 2019-11-20 18:01:51 -08:00
Andrey Lushnikov
f9d2f13540 devops: fix firefox archiving script 2019-11-20 18:01:51 -08:00
Andrey Lushnikov
bfcd92da7e devops: fix build scripts 2019-11-19 16:58:09 -08:00
Joel Einbinder
4e30f87084 browser(feat): new webkit code (insert text) 2019-11-19 16:46:06 -08:00
Andrey Lushnikov
f77a50a8aa devops: fix check_cdn.sh 2019-11-19 16:33:11 -08:00
Andrey Lushnikov
8a077da565 devops: simplified bash traps 2019-11-19 16:33:11 -08:00
Pavel Feldman
9ba375c063 Initial commit 2019-11-19 10:58:15 -08:00