Commit Graph

133 Commits

Author SHA1 Message Date
Pavel Feldman
edccb57b13
browser(webkit): use 2-clause BSD for WebKit contributions (#397) 2020-01-06 22:16:18 -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
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
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
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
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
Pavel Feldman
b1820bff85 fix(webkit): fix WK/Mac compile 2019-12-13 17:10:16 -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
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
Pavel Feldman
30fb7b025f
feat(webkit): implement bypass csp (#206) 2019-12-10 17:54:27 -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
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
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
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
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
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
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
Andrey Lushnikov
1a98a4d5e8 devops: build bots should do clean builds 2019-11-22 19:07:39 -08:00
Andrey Lushnikov
98e05b66fd devops: revamp scripts 2019-11-21 17:29:40 -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
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
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