Commit Graph

556 Commits

Author SHA1 Message Date
Yury Semikhatsky
8881a521c1
browser(webkit): roll to 8/4 (#3289) 2020-08-04 13:33:32 -07:00
Yury Semikhatsky
c6180edbfe
browser(webkit): print missing dll error to the console (#3214) 2020-07-29 15:01:01 -07:00
Yury Semikhatsky
90ff66710b
browser(webkit): disable high DPI support in Web Process on Windows (#3160) 2020-07-24 16:19:14 -07:00
Yury Semikhatsky
1cfba7f582
browser(webkit): periodically capture frames on mac regardless of updates 2020-07-22 23:38:48 -07:00
Yury Semikhatsky
26c57846bb
Rebase (#3096) 2020-07-22 23:34:52 -07:00
Pavel Feldman
b271624fcb
browser(webkit): hardcode woff enabled on win (#3103) 2020-07-22 20:46:00 -07:00
Yury Semikhatsky
f751ab1791
browser(webkit): write screencast video to .webm instead of .ivf (#3081) 2020-07-21 18:49:52 -07:00
Pavel Feldman
de9570ee3a
browser(webkit): roll to ToT 07/21/2020 (#3066) 2020-07-21 12:26:21 -07:00
Yury Semikhatsky
eb14c4711f
browser(webkit): do not mask WebGL vendor/renderer info (#3050) 2020-07-20 15:01:40 -07:00
Yury Semikhatsky
1896e8edc0
browser(webkit): send Playwright.pageProxyDestroyed for crashed tabs when deleting context (#2986) 2020-07-16 15:42:07 -07:00
Yury Semikhatsky
31893036e8
browser(webkit): close crashed pages on exit (#2958) 2020-07-15 11:04:13 -07:00
Carlos Alberto Lopez Perez
cb8b1bca97
browser(webkit): Reduce binary size of WebKit Linux build bundles (GTK and WPE) (#2880)
This patch changes the build system to use the JHBuild minimal dependency
system introduced in WebKit r264092 <https://trac.webkit.org/r264092>

The build has been tested with Ubuntu-18.04

The binary size of the zip bundles is now: 37M (WPE) and 40M (GTK).
Previously it was 54M and 59M (respectively)
2020-07-09 11:37:13 -07:00
Yury Semikhatsky
f5911de93d
browser(webkit): release GTK app only if it has been referenced (#2885) 2020-07-08 16:13:58 -07:00
Yury Semikhatsky
83bba08cc4
browser(webkit): fix touch events on mac after last roll (#2884) 2020-07-08 14:32:39 -07:00
Yury Semikhatsky
64f57216e2
browser(webkit): roll to 07-07-2020 (#2863) 2020-07-07 13:03:07 -07:00
Yury Semikhatsky
ea9b82d225
browser(webkit): properly disconnect signal handlers when closing browser (#2849) 2020-07-06 13:59:13 -07:00
Andrey Lushnikov
3dd09f04ef
browser(webkit): close context menu on Windows when closing page (#2825)
Review URL: 358fd983a9
2020-07-02 15:21:12 -07:00
Andrey Lushnikov
43cdb3ba72
browser(webkit): revert #2755 (#2809)
Review URL: 7d35d22798

This reverts https://github.com/microsoft/playwright/pull/2755/files
Reason:
- it doesn't compile on Windows

References #2699
2020-07-01 22:40:33 -07:00
Andrey Lushnikov
14162f8923
browser(webkit): let web page close when it has open context menu (#2802)
Review URL: 42f86e9d77

Currently, if web page has an open context menu, then it won't close.
This prevents browser from quitting.

In stock safari, this behavior can also be observed in a way that
context menu will stay opened even if related page got closed.

While investigating this behavior on Mac, a crucial observation was
that `[NSMenu popUpContextMenu]` is spawning a nested event loop,
keeping reference to `WebContextMenuProxyMac` instance, which in turn
keeps references on associated `NSView` with `WKWebView`.

To exit the loop, we need to explicitly cancel context menu. For this,
this patch adds a method `hide` on `WebContextMenuProxy` that uses
port-specific code to cancel context menu.

Windows part of this patch is somewhat speculative: I didn't check
it, but given the same symptomps, I applied the same solution.

Fixes #2700
2020-07-01 18:12:11 -07:00
Dmitry Gozman
c188118d3a
browser(webkit): do not show popup menu in mac headless (#2803) 2020-07-01 17:52:25 -07:00
Joel Einbinder
cd180474ee
browser(webkit): don't show context menus for headless windows (#2755) 2020-07-01 06:50:08 -07:00
Yury Semikhatsky
c6df8fd507
browser(webkit): abort interception if loader reached termial state (#2776) 2020-06-30 16:47:10 -07:00
Yury Semikhatsky
40b1a14626
browser(webkit): support screencast scale on Mac (#2655) 2020-06-22 14:40:46 -07:00
Yury Semikhatsky
9801135167
browser(webkit): screencast on windows with accelerated compositing (#2670) 2020-06-22 13:46:18 -07:00
Pavel Feldman
e0ac11c074
browser(webkit): fix loader after terminal state access (#2654) 2020-06-19 14:43:56 -07:00
Pavel Feldman
2bfb675c41
browser(webkit): make material icons render on Windows (#2650) 2020-06-19 10:34:25 -07:00
Yury Semikhatsky
636e274412
browser(webkit): revert WebCore agent and frame-based implementation (#2635) 2020-06-18 15:47:53 -07:00
Yury Semikhatsky
38089aba88
browser(webkit): support screencast on Mac (#2631) 2020-06-18 14:26:02 -07:00
Yury Semikhatsky
7ba72ce3d1
browser(webkit): support screencast on Windows (#2590) 2020-06-17 09:04:43 -07:00
Pavel Feldman
dab715b195
browser(webkit): follow-up to the roll, fix the merge (#2600) 2020-06-16 22:30:55 -07:00
Pavel Feldman
0369062717
browser(webkit): roll to Tot 6/16/2020 (#2596) 2020-06-16 21:34:47 -07:00
Yury Semikhatsky
9bc7139cac
browser(webkit): fix windows and mac unified builds after roll (#2595) 2020-06-16 17:41:05 -07:00
Yury Semikhatsky
4b2efd6e3e
browser(webkit): reference GApplication to keep browser alive on GTK (#2593) 2020-06-16 16:20:42 -07:00
Yury Semikhatsky
898f1157ab
browser(webkit): print context leaks when closing browser (#2591) 2020-06-16 15:41:07 -07:00
Yury Semikhatsky
e6a4cff05c
browser(webkit): roll to 06/15 (#2581) 2020-06-16 15:04:57 -07:00
Yury Semikhatsky
bda6203a91
browser(webkit): configure video scale (#2553) 2020-06-11 19:27:53 -07:00
Yury Semikhatsky
855ffa46ca
browser(webkit): fix windows build (#2536) 2020-06-10 21:34:22 -07:00
Pavel Feldman
de893c652e
browser(webkit): speculative downloads-related crash fix (#2535) 2020-06-10 20:48:29 -07:00
Yury Semikhatsky
6f048438c1
browser(webkit): preserve compositing mode in WPE web process (#2508) 2020-06-10 19:00:56 -07:00
Yury Semikhatsky
d7f867db47
browser(webkit): screencast for WPE (#2516) 2020-06-10 12:50:43 -07:00
Pavel Feldman
6d8f39b318
browser(webkit): return proper error upon missing page proxy (#2519) 2020-06-09 18:44:43 -07:00
Pavel Feldman
492a65f9d3
browser(webkit): include browserContextId in all Playwright* events (#2513) 2020-06-09 14:10:06 -07:00
Yury Semikhatsky
2250e9606f
browser(webkit): fix wpe build (#2501) 2020-06-08 12:50:06 -07:00
Yury Semikhatsky
4cac74f8c2
browser(webkit): continue screecast after cross-process navigation (#2499) 2020-06-08 10:53:09 -07:00
Pavel Feldman
616ae5044d
browser(webkit): support bypass list on Mac (#2479) 2020-06-04 21:01:38 -07:00
Yury Semikhatsky
53f6caf57d
browser(webkit): manually reencode image as multiple frames (#2470) 2020-06-04 14:30:12 -07:00
Joel Einbinder
601eddfa98
browser(webkit): fix scrolling with mobile viewport (#2468) 2020-06-04 12:27:39 -07:00
Yury Semikhatsky
1392dcd680
browser(webkit): add injected bundle to webkit distribution on linux (#2461) 2020-06-03 17:49:57 -07:00
Pavel Feldman
a55687d5f5
browser(webkit): pass proxy url as is for https support (#2460) 2020-06-03 15:11:50 -07:00
Yury Semikhatsky
9158ca19a0
browser(webkit): roll to 06/03/20 (#2457) 2020-06-03 12:47:12 -07:00
Yury Semikhatsky
fcc5f75baa
Revert "browser(webkit): roll to 06/03/20 (#2455)" (#2456) 2020-06-03 12:21:27 -07:00
Yury Semikhatsky
09b277c3f6
browser(webkit): roll to 06/03/20 (#2455) 2020-06-03 12:10:08 -07:00
Pavel Feldman
abfd278461
browser(webkit): allow setting proxy per browser context (#2445) 2020-06-03 08:41:43 -07:00
Yury Semikhatsky
a82139bc98
browser(webkit): fix windows and wpe builds (#2443) 2020-06-02 19:13:54 -07:00
Yury Semikhatsky
7edb6b94af
browser(webkit): configure video frame size over the protocol (#2442) 2020-06-02 18:40:16 -07:00
Yury Semikhatsky
8e8f9786a7
browser(webkit): scale screencast frames on resize (#2441) 2020-06-02 15:20:13 -07:00
Pavel Feldman
c02a862b62
browser(webkit): implement support for proxy (#2436) 2020-06-02 10:29:41 -07:00
Yury Semikhatsky
0a34d05b3e
browser(webkit): encode screencast frames on a dedicated thread (#2433) 2020-06-01 15:17:27 -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
Yury Semikhatsky
3cad857644
browser(webkit): record screenast for non-accelerated compositing (#2418) 2020-05-31 08:06:52 -07:00
Yury Semikhatsky
084d5ff48f
browser(webkit): revert all changes and hacks to Page.navigate (#2411) 2020-05-29 15:12:31 -07:00
Yury Semikhatsky
767f6bfeb9
browser(webkit): report codec init errors to the client (#2410) 2020-05-29 12:33:24 -07:00
Pavel Feldman
4e8a03cd8b
browser(webkit): roll to ToT 5-28-2020 (#2398) 2020-05-28 18:49:45 -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
Yury Semikhatsky
91a102b13c
browser(webkit): fix copyright header (#2393) 2020-05-28 15:40:41 -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
Joel Einbinder
2f345c7828
browser(webkit): fix crash when commands are handled in the UIProcess (#2327)
Co-authored-by: Joel Einbinder <joel.einbinde@gmail.com>
2020-05-21 07:33:38 -07:00
Yury Semikhatsky
9ef7e1300a
browser(webkit): fix mac compilation (#2319) 2020-05-20 18:25:35 -07:00
Yury Semikhatsky
d99ebc9265
browser(webkit): fix mac compilation (#2317) 2020-05-20 15:48:31 -07:00
Yury Semikhatsky
9808d8bc03
browser(webkit): add Playwright enable/disable commands (#2314) 2020-05-20 14:54:47 -07:00
Yury Semikhatsky
0bc4906196
browser(webkit): use unsigned long instead of size_t to fix Win (#2295) 2020-05-18 23:38:54 -07:00
Yury Semikhatsky
96f9bbee71
browser(webkit): fix windows build (#2294) 2020-05-18 22:30:47 -07:00
Yury Semikhatsky
5a6973fe69
browser(webkit): support jpeg screencast frames on WPE and Win (#2290) 2020-05-18 18:23:03 -07:00
Yury Semikhatsky
9c7e43a83b browser(webkit): roll to 05/15/20 (#2260) 2020-05-15 13:47:23 -07:00
Yury Semikhatsky
4d27aadb13
browser(webkit): fix compilation on Mac (#2253) 2020-05-14 16:45:39 -07:00
Yury Semikhatsky
8fb2c7e8fa
browser(webkit): fix compilation on Win (#2251) 2020-05-14 16:29:07 -07:00
Yury Semikhatsky
2073bcb867
browser(webkit): fix compilation on Mac (#2249) 2020-05-14 16:14:09 -07:00
Yury Semikhatsky
f743cd9763
browser(webkit): introduce screencast agent in web process (#2248) 2020-05-14 15:48:05 -07:00
Pavel Feldman
5c43fb4a96
browser(webkit): unfork windows bits (#2228) 2020-05-13 19:28:59 -07:00
Pavel Feldman
34373b3ace
browser(webkit): compute non-header suggested name on windows (#2227) 2020-05-13 18:24:05 -07:00
Yury Semikhatsky
03cae92ff2
browser(webkit): remove BackendDispatcher::Mode (#2223) 2020-05-13 16:46:25 -07:00
Yury Semikhatsky
d611ca9278
browser(webkit): do not transform about:blank to about:///blank (#2221) 2020-05-13 15:35:43 -07:00
Dmitry Gozman
5b57303c9c
browser(webkit): expose Playwright.windowOpen signal (#2163) 2020-05-08 18:39:00 -07:00
Joel Einbinder
85bfba52a6
browser(webkit): properly specifiy keyIdentifier (#2149) 2020-05-08 04:54:28 -07:00
Pavel Feldman
95b849535b
browser(webkit): roll to ToT 5/7/2020 (#2147) 2020-05-07 20:17:40 -07:00
Dmitry Gozman
7521f69db8
browser(webkit): do a full rendering update before accessing layout information (#2121)
References #2111.
2020-05-05 15:05:05 -07:00
Yury Semikhatsky
840e4209a3
browser(webkit): support jpeg frames in screencast (#2107) 2020-05-05 10:45:54 -07:00
Pavel Feldman
38a78bf96b
browser(webkit): install page group preferences to new pages (#2118) 2020-05-05 10:30:25 -07:00
Yury Semikhatsky
142e5859c1
browser(webkit): GTK build fix (#2096) 2020-05-04 13:06:11 -07:00
Yury Semikhatsky
4a4e610a22
browser(webkit): basic screencast support for GTK and Mac (#2094) 2020-05-04 12:08:30 -07:00
Pavel Feldman
c62cb78c7a
browser(webkit): block 3rd party cookies by default (#2088) 2020-05-03 19:15:07 -07:00
Pavel Feldman
60eb1bf2a0
browser(webkit): provide suggested file name for downloads (#2063) 2020-05-01 10:08:58 -07:00
Pavel
67deffe12f browser(webkit): follow up to satisfy mac linter 2020-04-29 16:14:31 -07:00
Pavel Feldman
b94f9108f1
browser(webkit): introduce Page.setActivityPaused (#2041) 2020-04-29 15:15:30 -07:00
Yury Semikhatsky
242c3667ce
browser(webkit): fix compilation when orientation events are disabled (#1970) 2020-04-24 16:11:00 -07:00
Yury Semikhatsky
e6c2cad6b4
browser(webkit): add frame id to download info (#1953) 2020-04-23 16:40:14 -07:00
Pavel Feldman
471ccc72d3
browser(webkit): roll to ToT 4/23/2020 (#1943) 2020-04-23 12:20:37 -07:00
Pavel Feldman
fa59372248
browser(webkit): roll to ToT 4/22/2020 (#1940) 2020-04-23 10:34:31 -07:00
Dmitry Gozman
70d727d343
browser(webkit): ensure autorelease pools are drained on mac (#1933)
Drive-by: do not require 10.15-only QuickLookThumbnailing framework on 10.14.
2020-04-22 21:49:00 -07:00
Pavel Feldman
91c0631827
browser(webkit): extract webkit embedders into webkit/src (#1919) 2020-04-22 10:52:17 -07:00
Pavel Feldman
2313cebdca
browser(webkit): fix leaking popup windows (#1908) 2020-04-21 21:00:58 -07:00
Yury Semikhatsky
18fb7f90ba
browser(webkit): ignore WebSocket HTTPS errors on Mac (#1899) 2020-04-21 10:38:28 -07:00
Pavel Feldman
74ce0412ad
browser(webkit): roll to ToT 4/20/2020 (#1898) 2020-04-21 09:45:49 -07:00
Pavel Feldman
37ad5528c4
browser(webkit): allow windows larger than display on Win (#1888) 2020-04-20 16:56:03 -07:00
Yury Semikhatsky
e466508ab1
browser(webkit): fix mac&win compilation (#1856) 2020-04-17 22:56:31 -07:00
Yury Semikhatsky
1912fbfe54
browser(webkit): simulate device orientation events (#1851)
* Enable orientation events

* browser(webkit): simulate device orientation events
2020-04-17 15:21:01 -07:00
Dmitry Gozman
b2de970eb0
browser(webkit): events informing about popup windows being open (#1794) 2020-04-15 14:05:00 -07:00
Joel Einbinder
762dfe1a59
browser(webkit): fix intercepting with a redirect (#1787) 2020-04-15 11:17:33 -07:00
Pavel Feldman
f36973f683
browser(webkit): propagate language change to site processes (#1769) 2020-04-13 16:57:22 -07:00
Pavel Feldman
b95fcaeee5
browser(webkit): move context instrumentation from pool to dataStore (#1763) 2020-04-13 14:56:01 -07:00
Pavel Feldman
383332c7c9
browser(webkit): trim down the win embedder (#1748) 2020-04-10 17:01:32 -07:00
Yury Semikhatsky
909dd74666
browser(webkit): roll to r259720 (#1708) 2020-04-10 14:46:14 -07:00
Pavel Feldman
99c3f2b279
browser(webkit): fork windows minibrowser (#1743) 2020-04-10 12:34:43 -07:00
Yury Semikhatsky
22a7636ab0
browser(webkit): always open local Web Inspector on "Inspect element" (#1711) 2020-04-08 13:13:31 -07:00
Yury Semikhatsky
4d4e8561ed
browser(webkit): open inspector undocked by default (#1706) 2020-04-08 11:49:23 -07:00
Pavel Feldman
3c01bf613e
browser(webkit): account for non-Mac device scale factor (#1661) 2020-04-03 18:41:17 -07:00
Yury Semikhatsky
b1580a3ed1
browser(webkit): roll to r259389 (#1643) 2020-04-02 15:57:50 -07:00
Pavel Feldman
f3f10ae3d8
browser(webkit): support downloads on windows (#1642) 2020-04-02 12:07:57 -07:00
Pavel Feldman
a2e1d4c29d
browser(webkit): implement support for downloads (#1596) 2020-03-30 19:26:05 -07:00
Joel Einbinder
e796bfd815
browser(webkit): do not apply platform filters to accessibility snapshot (#1528)
This will fix the "should work with regular text" accessibility test that current fails on webkit+linux.
2020-03-27 00:50:25 -07:00
Yury Semikhatsky
5d03be7ab1
feat(webkit): roll WebKit to r258828 (#1517) (#1556)
Resolved conflicts: 94ea16136d
2020-03-26 14:34:02 -07:00
Yury Semikhatsky
7943e00aa2
Revert "feat(webkit): roll WebKit to r258828 (#1517)" (#1522)
This reverts commit e14efd511f.

this moves webkit build from JHBuild onto Flatpak, and we're not ready yet 🤷‍♂️
2020-03-24 14:17:04 -07:00
Yury Semikhatsky
e14efd511f
feat(webkit): roll WebKit to r258828 (#1517)
Resolved conflicts: 94ea16136d
2020-03-24 13:13:23 -07:00
Pavel Feldman
5fc1a04412
browser(webkit): manager permissions on the proxy level (#1450) 2020-03-20 16:42:03 -07:00
Yury Semikhatsky
053bab1afd
browser(webkit): correctly detect Promise created in another window (#1446) 2020-03-20 15:53:04 -07:00
Dmitry Gozman
bfcffbb377
browser(webkit): introduce Playwright.windowOpen protocol event (#1420) 2020-03-18 10:44:01 -07:00
Pavel Feldman
7fe5656257
browser(webkit): fix win cookies expires (#1355) 2020-03-11 18:08:14 -07:00
Pavel Feldman
6b50c8f9cc
browser(webkit): follow up 3 (#1342) 2020-03-11 12:03:35 -07:00
Pavel Feldman
c044227e12
browser(webkit): follow up 2 (#1340) 2020-03-11 10:56:20 -07:00
Pavel Feldman
2da705de87
browser(webkit): follow up to roll (#1337) 2020-03-11 09:24:02 -07:00
Pavel Feldman
4a18f0f834
browser(webkit): roll to ToT 3/11/2020 (#1335) 2020-03-11 08:40:21 -07:00
Pavel Feldman
128157df1a
browser(webkit): rename Browser domain to Playwright (#1333) 2020-03-10 23:30:31 -07:00
Pavel Feldman
d08a0f02ce
browser(webkit): account for page scale when screenshotting (#1332) 2020-03-10 19:56:59 -07:00
Pavel Feldman
e2616e4866
browser(webkit): override global permissions (#1315)
For #652
2020-03-10 10:42:29 -07:00
Pavel Feldman
008e0b2ecd
browser(webkit): emulate screen size (#1310) 2020-03-10 09:20:25 -07:00
Joel Einbinder
27d039a0c4
browser(webkit): mark user gesture in frames (#1304) 2020-03-09 17:03:00 -07:00
Joel Einbinder
9c80c9efa0
browser(webkit): don't leak pages on window.open (#1261) 2020-03-06 08:21:14 -08:00
Andrey Lushnikov
262ee7c425
browser(webkit): fix the pool leaks on mac (#1219) 2020-03-04 11:51:39 -08:00
Pavel Feldman
778762455a
browser(webkit): fix delete context stall, emit schedule load (#1211) 2020-03-03 23:06:59 -08:00
Yury Semikhatsky
23790f749d
browser(webkit): send reply to deleteContext even if there are no pages in it (#1204) 2020-03-03 17:10:29 -08:00
Yury Semikhatsky
9f3ccb4b35
browser(webkit): wait for all pages to close in deleteContext (#1197) 2020-03-03 14:44:32 -08:00
Yury Semikhatsky
ce3398b9a5
browser(webkit): allow scripts in inspected pages to create popups (#1192) 2020-03-03 10:23:33 -08:00
Yury Semikhatsky
d41342f3e0
browser(webkit): mac build fix (#1137) 2020-02-26 16:21:43 -08:00
Yury Semikhatsky
7a7575461c
browser(webkit): pause in popup until Target.resume is received (#1134) 2020-02-26 14:50:34 -08:00
Pavel Feldman
b8c6069853
browser(webkit): trim down mac embedder (#1130) 2020-02-26 12:57:23 -08:00
Pavel Feldman
1d02c2d268
browser(webkit): --no-startup-window for mac (#1118) 2020-02-25 21:23:47 -08:00
Pavel Feldman
51d1b6388d
browser(webkit): no_startup_window on linux (#1117) 2020-02-25 20:34:58 -08:00
Pavel Feldman
de635349c1
browser(webkit): happy pipe on win, no startup windows (#1112) 2020-02-25 16:27:06 -08:00
Yury Semikhatsky
c7ade1a711
browser(webkit): revert unused Target.oldTargetId (#1096) 2020-02-25 11:30:29 -08:00
Pavel Feldman
8c57358248
browser(webkit): fix null pointer access (#1099) 2020-02-25 06:54:10 -08:00
Pavel Feldman
de03f37a99
browser(webkit): follow up to roll, fix Win (#1091) 2020-02-24 14:31:16 -08:00
Pavel Feldman
6821c9ec06
browser(webkit): roll to ToT 2/24/2020 (#1088) 2020-02-24 12:07:12 -08:00
Dmitry Gozman
2fabaaf751
browser(webkit): force overlay scrollbars on mac, ignoring system setting (#1071)
9ebd5359b7

References #844.
2020-02-19 20:29:42 -06:00
Pavel Feldman
df8de2074e
browser(webkit): do not leak contexts on windows (#1020) 2020-02-14 17:13:07 -08:00
Yury Semikhatsky
991b89fb11
browser(webkit): rebase WebKit on r256488 (#973) 2020-02-13 11:47:52 -08:00
Joel Einbinder
b7f48f4603
browser(webkit): layout before returning DOM.getContentQuads (#970)
Otherwise we can get stale quads. Causes failures of "ElementHandle.boundingBox should work with page scale" test.

6835789cf2
2020-02-12 18:43:56 -08:00
Pavel Feldman
5dbc8801e4
browser(webkit): print friendly tz names (#969) 2020-02-12 17:51:24 -08:00
Pavel Feldman
44941ad060
browser(webkit): emulate time zone (#960) 2020-02-12 14:58:39 -08:00
Dmitry Gozman
211cba4934
browser(webkit): use css (not dip) coordinates for input and content quads (#957)
a32289ca5d
2020-02-12 14:10:23 -08:00
Andrey Lushnikov
9bbaa32e12
browser(webkit): remove assert (#952) 2020-02-12 11:38:38 -08:00
Dmitry Gozman
3007541315
browser(webkit): do not intercept requests on the way to service worker (#948) 2020-02-12 08:48:47 -08:00
Pavel Feldman
90367c1f66
browser(webkit): emulate active and focused state (#940) 2020-02-11 17:38:41 -08:00
Pavel Feldman
ce382137f3
browser(webkit): disregard dpi on windows (#938) 2020-02-11 16:38:21 -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
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
Dmitry Gozman
1b1ed087ae
browser(webkit): introduce DOM.scrollIntoViewIfNeeded (#847)
69fb612396
2020-02-05 15:17:12 -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
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
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
Yury Semikhatsky
4b0ce1de2a
browser(webkit-wpe): do not preload about:blank into popups (#724) 2020-01-28 14:46:26 -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
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
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
Pavel Feldman
05cb267a86 browser(webkit): do not require DRAG_SUPPORT for simple drag selection (#569)
1fa5f16fd8
2020-01-22 15:58:46 -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
Pavel Feldman
145600ab68 browser(webkit): remove wk1 on win+linux (#531) 2020-01-17 17:09: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
Pavel Feldman
9c88649c6b browser(webkit): pass dialog tests on windows (#515) 2020-01-16 16:38:00 -08:00
Pavel Feldman
6b0b7500bd
browser(webkit): fix default context on windows (#504) 2020-01-16 12:49:17 -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
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
Joel Einbinder
678cb1b8f7 fix(webkit): fix modifier keys for mouse events (#460) 2020-01-10 21:20:59 -08:00
Joel Einbinder
a4f65c4073 fix(webkit): property accessibility values for roledescription and autocomplete (#458) 2020-01-10 15:52:34 -08:00
Yury Semikhatsky
3216e4f024 browser(webkit): make Network.requestId unique cross process (#453) 2020-01-10 12:27:18 -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
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
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
Pavel Feldman
065bf5fdb1
browser(webkit): reapply wpe fixes (#423) 2020-01-08 14:35:10 -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
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
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
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
Yury Semikhatsky
0d6fbb9184
feat(wk): include ownerFrameId in Node description (#337) 2019-12-26 11:09:55 -08:00
Joel Einbinder
8929a1f08a touch events on mac (#324) 2019-12-23 13:12:56 -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
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