Commit graph

195 commits

Author SHA1 Message Date
Dmitry Gozman 21510a5b06
feat(firefox): support isolated worlds (#507) 2020-01-16 12:57:28 -08:00
Yury Semikhatsky 6ae6143711
chore: roll webkit 1092 (#506) 2020-01-16 09:01:42 -08:00
Andrey Lushnikov e03f1e4c2c feat(firefox): roll firefox to r1012 (#493)
This roll puts Firefox protocol types under related protocol domains,
so protocol type generator had to be updated as well.
2020-01-14 15:32:31 -08:00
Yury Semikhatsky 5fa39dde3f
fix(webkit): use cross-process loader ids (#486) 2020-01-14 11:46:08 -08:00
Yury Semikhatsky ff904d3a61
Revert "fix(webkit): use cross-process loader ids (#484)" (#485)
This reverts commit d341b43023.
2020-01-14 09:49:49 -08:00
Yury Semikhatsky d341b43023
fix(webkit): use cross-process loader ids (#484) 2020-01-14 09:48:36 -08:00
Dmitry Gozman a1d1f26fb7 chore: more strict type checking (#466) 2020-01-13 13:33:25 -08:00
Pavel Feldman 00057df92b test: uncomment more webkit tests (#461) 2020-01-11 08:37:51 -08:00
Andrey Lushnikov 7a7ff9e994 Revert "Revert "feat(firefox): roll Firefox to r1011 (#452)""
This reverts commit a738af4603.
2020-01-11 02:32:28 +01:00
Pavel Feldman 02af0e5285 chore: bump version to 0.9.12-post 2020-01-10 16:50:14 -08:00
Dmitry Gozman c77fd5e6cb
feat(pw-web): generate playwright/web.js which can be used in the browser (#455) 2020-01-10 16:03:10 -08:00
Yury Semikhatsky fd5c872d7f fix(webkit): switch to unique loader ids (#454) 2020-01-10 15:16:06 -08:00
Pavel Feldman a738af4603 Revert "feat(firefox): roll Firefox to r1011 (#452)"
This reverts commit c1f75f7833.
2020-01-10 12:17:34 -08:00
Andrey Lushnikov c1f75f7833 feat(firefox): roll Firefox to r1011 (#452) 2020-01-10 10:54:24 -08:00
Pavel cc7e77a34a feat(webkit): roll webkit to r1080 2020-01-09 17:27:54 -08:00
Joel Einbinder c01224f249
feat(webkit): roll webkit to 1078 (#438) 2020-01-08 20:11:10 -08:00
Joel Einbinder f161a36a16 feat(webkit): roll webkit to 1076 (#431) 2020-01-08 15:34:35 -08:00
Arjun Attam cd02dd8f88 chore: bump version to 0.9.11-post (#425) 2020-01-08 13:52:11 -08:00
Yury Semikhatsky 80ffd92552
fix(webkit): move UI process agents to page proxy (#416) 2020-01-07 17:16:27 -08:00
Arjun Attam eab5108719
chore: bump version to 0.9.10-post (#414) 2020-01-07 16:16:44 -08:00
Yury Semikhatsky a494efed0f
chore(webkit): delete browser target agent (#402) 2020-01-07 12:41:37 -08:00
Arjun Attam f1b825e6a2 docs: basic readme (#403) 2020-01-07 11:51:22 -08:00
Yury Semikhatsky 52c175f001
feat(webkit): introduce WKPageProxy and use it instead of WKTarget (#394) 2020-01-07 10:39:01 -08:00
Arjun Attam 562e6f5fe1 chore(license): use Apache 2.0 (#389) 2020-01-06 18:22:35 -08:00
Pavel Feldman 15ee47c7b2 feat(auth): roll webkit to 1063, make auth work for headful (#387) 2020-01-06 16:31:38 -08:00
Pavel Feldman 2f3593bd9a
test: uncomment / fix webkit tests that time out (#379) 2020-01-04 22:27:09 -08:00
Pavel Feldman fcd62b9611 feat(webkit): roll webkit to r1060, support target crash (#364) 2020-01-03 11:10:10 -08:00
Pavel Feldman a09235a6e3
feat(webkit): roll to r1059 (#360) 2020-01-03 08:10:36 -08:00
Arjun Attam 27c018da65 chore: bump version to 0.9.9-post (#355) 2020-01-02 15:07:51 -08:00
Pavel Feldman 0fab90be79
feat(evaluate): survive null JSON in WK and FF (#352) 2020-01-02 15:06:28 -08:00
Pavel Feldman 6a04e1f026 feat(offline+auth): enable those in webkit, make them a part of the core API (#346) 2019-12-30 23:09:54 +01:00
Pavel Feldman 654fa22cc7 feat(webkit): enable request interception (#343) 2019-12-30 23:05:28 +01:00
Yury Semikhatsky f56ff07f19
fix(wk): support ElementHandle.ownerFrame (#338) 2019-12-26 14:05:46 -08:00
Pavel Feldman 49fc5a8e52 chore: mark version v0.9.8-post 2019-12-20 15:33:49 -08:00
Pavel Feldman 811ce4cd0c chore: mark version v0.9.7-post 2019-12-19 21:31:56 -08:00
Pavel d4655457e5 chore: remove prepare hook 2019-12-19 16:50:50 -08:00
Pavel Feldman 78e8a22741 chore: mark version v0.9.6-post 2019-12-19 16:06:25 -08:00
Pavel Feldman 60ff0e50eb chore: mark version v0.9.6 2019-12-19 16:05:08 -08:00
Yury Semikhatsky 1d4ebd37b1
tests(webkit): mark Page.navigate to invalid URL test as passing (#293) 2019-12-18 16:49:43 -07:00
Andrey Lushnikov 533d058ea6
fix(firefox): support late attachment and skip a few failing tests (#283) 2019-12-17 17:33:06 -08:00
Yury Semikhatsky 83833f61c1
feat(webkit): support referrer parameter in Page.navigate (#286)
* add test for reference-policy: no-referrer
2019-12-17 18:19:35 -07:00
Yury Semikhatsky e851a27350
feat(webkit): implement ElementHandle.contentFrame (#276) 2019-12-17 12:21:53 -07:00
Yury Semikhatsky 4a5929da55
fix(webkit): mark mixed content test as passing (#260)
* roll WebKit to 1042
2019-12-16 18:47:38 -07:00
Dmitry Gozman 4b7a017456
chore: introduce FrameManager to be reused between browsers (#261) 2019-12-16 15:56:11 -08:00
Yury Semikhatsky 67fc9aeff7 chore(webkit): roll to 1038 (#258) 2019-12-16 14:09:40 -08:00
Pavel Feldman e375749e5e chore: mark version v0.9.5-post 2019-12-14 12:18:18 -08:00
Pavel Feldman 58fa2c7a10 chore: mark version v0.9.5 2019-12-14 12:16:40 -08:00
Pavel Feldman 725407cb19 chore: allow to be installed from npm, more fixes 2019-12-14 12:16:28 -08:00
Pavel Feldman 9144a1ce93 chore: mark version v0.9.4 2019-12-14 12:14:20 -08:00
Pavel Feldman 7d1d0e5c01 chore: allow to be installed from npm 2019-12-14 12:14:00 -08:00
Pavel Feldman 9dee165976 chore: mark version v0.9.3 2019-12-14 11:56:34 -08:00
Pavel Feldman 2c648fcb33 chore: mark version v0.9.2-post 2019-12-14 11:45:49 -08:00
Pavel Feldman d78613e57d chore: mark version v0.9.2 2019-12-14 11:37:08 -08:00
Yury Semikhatsky f539afa2a7
feat(webkit): support ignoreHTTPSErrors launcher option (#243)
Also roll webkit to 1036
2019-12-13 22:46:27 -07:00
Pavel Feldman 32fa26be97
feat: roll chromium to ToT (#241) 2019-12-13 14:57:46 -08:00
Dmitry Gozman 90f0b8c2b0
fix(firefox): setContent to properly listen for lifecycle events (#219) 2019-12-12 20:11:33 -08:00
Pavel 1d2b93771a feat(webkit): bump to 1032 2019-12-12 17:56:29 -08:00
Dmitry Gozman 3b202fb4b8 fix(webkit): handle frameAttached event (#227) 2019-12-12 17:50:37 -08:00
Pavel Feldman 856787a8e6 feat(webkit): roll to 1029 (#222) 2019-12-12 08:59:33 -08:00
Pavel Feldman e42e361d20
feat(webkit): use new bypass csp method (#207) 2019-12-10 19:26:13 -08:00
Andrey Lushnikov 329b34e894
feat: implement mac keyboard (#197)
This list contains all of the default keyboard shortcuts for macos, and the Objective-C selector that they trigger on the [NSStandardKeyBindingResponding](https://developer.apple.com/documentation/appkit/nsstandardkeybindingresponding/3005237-moveleft?language=objc). We need these for basic keyboard functionality like ArrowUp and ArrowDown to work on WebKit for mac. For other browsers on mac, the same list can be used to enable better mac keyboard emulation.

The list was made by constructing NSEvents on a mac and seeing what selectors they triggered on an NSTextView. The conversion from NSEvents to DOM codes was done partially by hand as the code that does this conversion lives across many files in WebKit. There may be some errors or missing commands, but in general this should be a more faithful mac keyboard emulation than what we do in Chromium currently.

Notably absent from the list are Cut, Copy, Paste, Paste Special, Undo, and Redo. They are handled in a slightly different way.
2019-12-10 13:22:01 -08:00
Pavel Feldman 44d6f608ef feat(webkit): use webkit worlds (#194) 2019-12-09 23:24:12 -08:00
Dmitry Gozman b4c89ca0f9
chore: unify frame lifecycle events between browsers (#172) 2019-12-09 16:34:42 -08:00
Pavel 1377be2b27 fix: fix new jpeg and png deps 2019-12-06 17:14:08 -08:00
Yury Semikhatsky 10edb02fb6 feat(webkit): roll to 1016 2019-12-06 16:30:59 -08:00
Pavel Feldman bb1888c86e feat(screenshots): make them work everywhere (#164) 2019-12-06 11:33:24 -08:00
Joel Einbinder 57313e3f73
feat: basic d.ts file (#161)
`protocol.d.ts` had to move to `protocol.ts` otherwise typescript refuses to include it in the out directory.

Removed the old d.ts generator. It will need to be rewritten anyway.

These new types include private stuff that they probably shouldn't, and are missing documentation. I'll follow up with a better d.ts generator later.

#6
2019-12-06 11:28:23 -08:00
Joel Einbinder 7af47b6fcb mark: v0.9.1-post 2019-12-05 21:27:17 +00:00
Joel Einbinder 4d768d6bc3 chore: mark version v0.9.1 2019-12-05 21:10:13 +00:00
Dmitry Gozman 0a9377e0a9 chore: prepare to npm publish (#148)
- setup .npmignore;
- index.js selecting a browser;
- minor package.json tweaks;
- example script which works against npm pack'ed module.
2019-12-05 11:29:16 -08:00
Yury Semikhatsky 5061f70300
feat(webkit): roll to 1011 (#145) 2019-12-04 23:25:53 -07:00
Pavel Feldman f6e9ea9aec feat(webkit): roll to 1009 2019-12-04 17:59:56 -08:00
Joel Einbinder 9f603c49fb
feat: easy download (#56) 2019-12-04 17:58:38 -08:00
Pavel 65a52294e2 feat(webkit): roll webkit to 1008 2019-12-04 16:14:48 -08:00
Joel Einbinder 492f539310
chore(firefox): lint against the juggler protocol (#94) 2019-12-04 10:33:29 -08:00
Yury Semikhatsky fa476fa729
chore(webkit): bump revision to 1004 (#127) 2019-12-03 14:41:35 -07:00
Pavel Feldman 0ffd99bdac feat(webkit): roll webkit to 1003 2019-12-02 16:40:40 -08:00
Pavel Feldman cf9c4d153a feat(webkit): implement file chooser interception (frontend) (#98) 2019-11-27 13:50:24 -08:00
Joel Einbinder 494347e009 fix(build): only ever run webpack in dev mode (#105) 2019-11-27 13:47:58 -08:00
Pavel Feldman 72b1bb783b
feat(chromium): roll chromium to r719491, lint, test (#99) 2019-11-26 22:53:34 -08:00
Joel Einbinder 4d6d81e60e
feat(webkit): roll to 1001 (#96) 2019-11-26 17:13:58 -08:00
Pavel Feldman a4e24c718b
feat(cookies): move cookie management to BrowserContext (#82) 2019-11-26 11:23:13 -08:00
Pavel Feldman cb72348dfc
feat(chromium): roll chromium to r718525 (#80) 2019-11-25 20:04:06 -08:00
Andrey Lushnikov d4d0654666
feat(firefox): roll Firefox to r1003 (#78) 2019-11-25 16:49:15 -08:00
Pavel Feldman fe09a075f9
feat(ff): roll to r1001 (#76) 2019-11-25 15:33:39 -08:00
Dmitry Gozman 025c1fc7bc feat(engines): introduce xpath engine, switch $x to use it (#64) 2019-11-22 17:27:09 -08:00
Andrey Lushnikov 5b1c992f90
chore: bump min engine version to 10.17.0 2019-11-22 17:24:26 -08:00
Dmitry Gozman a9cd015fdb
feat(engines): introduce a css selector engine and a way to query it (#50) 2019-11-22 15:36:17 -08:00
Joel Einbinder 6fcb4d2f30 feat: remove all environment variables and references to puppeteer-core (#47)
* feat: remove all environment variables and references to puppeteer-core

* fixup install
2019-11-21 21:17:23 -08:00
Pavel Feldman f223a98e3d
feat(chromium): roll Chromium to r717627 (#49) 2019-11-21 21:16:00 -08:00
Dmitry Gozman 57bbd81824
chore: introduce injected source lazily evaluated by execution context (#42) 2019-11-21 14:43:30 -08:00
Joel Einbinder 206cf7b83f feat(webkit): pass all keyboard tests (#39)
Add `keyboard.sendCharacter` and fixes up all of the keyboard tests.

Drive-by to actually allow selectively installing browsers.
2019-11-20 16:39:12 -08:00
Andrey Lushnikov 308d602f06 chore: update version 2019-11-20 16:23:40 -08:00
Pavel Feldman b4b7b6b96c
fix: build include paths (#32) 2019-11-20 09:10:41 -08:00
Pavel Feldman 9ba375c063 Initial commit 2019-11-19 10:58:15 -08:00