Pavel Feldman
c02a862b62
browser(webkit): implement support for proxy ( #2436 )
2020-06-02 10:29:41 -07:00
Dmitry Gozman
a644f0a881
feat(fill): wait for the element to be enabled/writable/visible ( #2435 )
2020-06-01 18:56:49 -07:00
Dmitry Gozman
bf67245de6
feat(debug): stream logs from waitForSelector ( #2434 )
...
- we can now stream logs from InjectedScriptProgress to Progress;
- waitForSelector task uses it to report intermediate elements.
2020-06-01 15:48:23 -07:00
Yury Semikhatsky
0a34d05b3e
browser(webkit): encode screencast frames on a dedicated thread ( #2433 )
2020-06-01 15:17:27 -07:00
Dmitry Gozman
454411062b
fix(oopif): race between detachedFromTarget and frameAttached ( #2419 )
...
During remote -> local transition, these two events come in unpredictable order, so we try to handle both cases. Also, remote frame detach was not handled at all.
2020-06-01 13:47:02 -07:00
Dmitry Gozman
de0bbd3031
chore: remove page pause support ( #2431 )
2020-06-01 11:14:16 -07:00
Andrey Lushnikov
e5875310db
fix(webkit): report event source ( #2430 )
...
This rolls webkit to r1250 where we report event source.
Fixes #2189
2020-06-01 10:12:46 -07:00
Dmitry Gozman
b7df4d57a4
chore: migrate wait tasks to Progress ( #2422 )
2020-06-01 08:54:18 -07:00
Andrey Lushnikov
721d56a81e
browser(webkit): report 'eventsource' as resource type ( #2423 )
...
Review URL: 77a29015e3
This uses `initiatorIdentifier` to mark resource request as
originating from event source.
This is alternative to #2396 .
References #2189
2020-05-31 23:42:19 -07:00
Pavel Feldman
c001facffc
feat(firefox): allow passing user prefs at launch time ( #2417 )
2020-05-31 09:28:57 -07:00
Yury Semikhatsky
3cad857644
browser(webkit): record screenast for non-accelerated compositing ( #2418 )
2020-05-31 08:06:52 -07:00
Dmitry Gozman
8f350e4fe6
chore: make polling in page cancelable from node ( #2399 )
...
- unifies polling timeouts with everything else,
based on the client time instead of the server time;
- prepares polling tasks for cancellation token
behavior.
Unfortunately, RerunnableTask had to be rewritten almost
entirely.
2020-05-30 15:00:53 -07:00
Dmitry Gozman
acf059fe00
fix(click): wait for button, input and select to be enabled before clicking ( #2414 )
2020-05-30 13:29:46 -07:00
Pavel Feldman
fdd8df608f
Revert "browser(firefox): allow passing user preferences at launch time ( #2416 )"
2020-05-29 22:25:25 -07:00
Pavel Feldman
a247f7d2a5
browser(firefox): allow passing user preferences at launch time ( #2416 )
2020-05-29 16:15:36 -07:00
Dmitry Gozman
8e4a1e7c67
fix(text selector): do not match text inside <head> ( #2413 )
...
We already skip <script> and <style> tags because they are not
the page content. Similar reasoning applies to <head> that has
content that is never rendered on the page.
2020-05-29 15:28:27 -07:00
Yury Semikhatsky
084d5ff48f
browser(webkit): revert all changes and hacks to Page.navigate ( #2411 )
2020-05-29 15:12:31 -07:00
Pavel Feldman
fc11b59cd3
chore: update WebKit upstream status
2020-05-29 15:09:26 -07:00
Dmitry Gozman
d980ed7e7e
chore: introduce Progress concept ( #2350 )
...
A progress roughly corresponds to an api call. It is used:
- to collect logs related to the call;
- to handle timeout;
- to provide "cancellation token" behavior so that cancelable process can either
early-exit with progress.throwIfCanceled() or race against it with progress.race();
- to ensure resources are disposed in the case of a failure
with progress.cleanupWhenCanceled();
- (possibly) to log api calls if needed;
- (in the future) to augment async stacks.
2020-05-29 14:39:34 -07:00
Dmitry Gozman
4bd9b30376
test: add a test for clicking a label with pointer-events: none ( #2412 )
2020-05-29 13:46:57 -07:00
Yury Semikhatsky
767f6bfeb9
browser(webkit): report codec init errors to the client ( #2410 )
2020-05-29 12:33:24 -07:00
Arjun Attam
1722dcb8fa
docs: link to wk upstream status
2020-05-29 11:30:17 -07:00
GkqqNkKC
59a0451b62
docs: fix spell mistake on api.md ( #2408 )
2020-05-29 08:51:45 -07:00
Andrey Lushnikov
fdd48f8940
chore: remove confusing logging from registry ( #2397 )
2020-05-28 22:36:08 -07:00
Pavel Feldman
4ac30f354a
feat(webkit): roll WebKit to 1246 ( #2400 )
2020-05-28 22:35:01 -07:00
Pavel Feldman
4e8a03cd8b
browser(webkit): roll to ToT 5-28-2020 ( #2398 )
2020-05-28 18:49:45 -07:00
Pavel Feldman
5277fb9479
test: fix the CSP capability test ( #2394 )
2020-05-28 18:29:15 -07:00
Pavel Feldman
47ded05c39
feat(chromium): roll Chromium to r772575 ( #2395 )
2020-05-28 18:28:57 -07:00
Pavel
b62a65587b
chore: add webkit upstream status md (proper folder)
2020-05-28 16:35:16 -07:00
Pavel
0ca8065775
chore: add webkit upstream status md
2020-05-28 16:34:11 -07:00
Andrey Lushnikov
7a785ac268
fix: properly rewrite error message ( #2392 )
...
Error message is included in error's stack, so we should
re-write stack as well.
Fixes #2373
2020-05-28 16:33:31 -07:00
Yury Semikhatsky
91a102b13c
browser(webkit): fix copyright header ( #2393 )
2020-05-28 15:40:41 -07:00
Dmitry Gozman
fdbd4fe197
fix(selectors): fix selector parsing for css attributes and quotes ( #2389 )
...
- css attribute selector may contain spaces;
- >> escaping inside strings was sometimes incorrect.
See added test cases for more details.
2020-05-28 14:49:39 -07:00
Andrey Lushnikov
7981e4e3da
fix: support event source type in firefox ( #2390 )
...
References #2189
2020-05-28 14:38:47 -07:00
Yury Semikhatsky
2b21a5f6ad
browser(webkit): fix Windows compilation ( #2391 )
...
eeb40e0539
2020-05-28 13:24:02 -07:00
Yury Semikhatsky
9bf6348a27
browser(webkit): GTK screencast recoder based on vp8 ( #2388 )
2020-05-28 10:42:58 -07:00
Andrey Lushnikov
0ed052f9e9
browser(firefox): expose internal request cause along with external one ( #2383 )
2020-05-28 09:23:14 -07:00
Andrey Lushnikov
3f97a9fb69
test: add failing test for event source ( #2382 )
...
References #2189
2020-05-27 22:52:34 -07:00
Pavel Feldman
6620008dcb
chore: follow up to address evaluation review comments ( #2380 )
2020-05-27 22:19:05 -07:00
Dmitry Gozman
46508c6b87
test: try to unflake one more cookie test ( #2381 )
2020-05-27 22:17:42 -07:00
Dmitry Gozman
ece4789165
feat(debug): expose playwright object in console ( #2365 )
...
- playwright.$ and playwright.$$ to query elements;
- playwright.inspect to reveal an element;
- playwright.clear to remove highlight.
2020-05-27 22:16:54 -07:00
Andrey Lushnikov
0753c2d54b
test: hack in output directory cleanup for parallel runs ( #2378 )
2020-05-27 22:03:38 -07:00
Dmitry Gozman
4413138cc6
fix(fill): allow to clear number input ( #2376 )
2020-05-27 20:01:08 -07:00
Dmitry Gozman
11d53ad529
test: disable flaky CSP test on Firefox ( #2374 )
2020-05-27 19:59:49 -07:00
Dmitry Gozman
057ae14adc
feat: make browserServer.kill() wait for the process to exit ( #2375 )
...
This ensures we cleaned everything up.
2020-05-27 19:59:03 -07:00
Max Schmitt
9dfe9348ac
feat: Request.postDataJSON ( #2368 )
2020-05-27 18:43:49 -07:00
Pavel Feldman
e168fddac8
fix(evaluate): consistently serialize json values ( #2377 )
2020-05-27 17:19:05 -07:00
Dmitry Gozman
609bc4cfb0
chore: add stack trace utilities and tests ( #2371 )
2020-05-27 14:26:44 -07:00
Dmitry Gozman
1e2b46437d
feat(debug): when debugging, use zero as default timeout ( #2362 )
...
Otherwise, operations always time out while stepping in debugger.
2020-05-27 13:25:57 -07:00
Andrey Lushnikov
37ec3a6ae6
fix(types): properly export typescript types from packages ( #2364 )
...
Drive-by: move package tests from `//test/installation-tests` to
`//packages/installation-tests`
Fix #2349
2020-05-26 17:19:05 -07:00