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
Yury Semikhatsky
3d37e4586e
browser(firefox): pass actual frame duration to the codec ( #3101 )
...
#1158
2020-07-22 23:27:49 -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
babd0cbcea
browser(firefox): fix Windows build ( #3065 )
2020-07-21 10:02:14 -07:00
Pavel Feldman
7f29275aa2
browser(firefox): use base64 to deliver post data ( #3063 )
2020-07-21 09:55:46 -07:00
Yury Semikhatsky
a5cb983768
browser(firefox): write video to .webm instead of .ivf ( #3062 )
2020-07-21 09:26:59 -07:00
Pavel Feldman
726f636b5c
browser(firefox): implement Page.bringToFront ( #3051 )
2020-07-20 16:47:27 -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
6db8962125
browser(firefox): smooth resize in headless ( #3043 )
2020-07-20 14:24:52 -07:00
Yury Semikhatsky
d1f937d651
browser(firefox): stop video recording if page closed ( #3040 )
2020-07-20 10:44:11 -07:00
Yury Semikhatsky
562e1e6460
browser(firefox): wait for file write to finish in stopVideoRecording ( #3020 )
2020-07-17 17:34:09 -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
89ccf99b90
browser(firefox): screencast for Mac headful ( #2985 )
2020-07-16 15:34:33 -07:00
Yury Semikhatsky
b7f7ba9230
browser(firefox): screencast support for Windows headful ( #2965 )
2020-07-15 16:58:58 -07:00
Yury Semikhatsky
31893036e8
browser(webkit): close crashed pages on exit ( #2958 )
2020-07-15 11:04:13 -07:00
Yury Semikhatsky
0aff9bef11
browser(firefox): screencast for headless mac ( #2956 )
2020-07-15 09:37:08 -07:00
Yury Semikhatsky
89ca2db36c
browser(firefox): kick off new build after last commit ( #2948 )
2020-07-14 12:49:04 -07:00
Yury Semikhatsky
de40329126
browser(firefox): add new files for headless screencast ( #2947 )
2020-07-14 12:25:41 -07:00
Yury Semikhatsky
bf6f22d812
browser(firefox): basic screencast for headless ( #2931 )
2020-07-14 11:20:36 -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
baaa65492b
browser(firefox): resize window when changing viewport ( #2861 )
2020-07-07 14:04:07 -07:00
Yury Semikhatsky
64f57216e2
browser(webkit): roll to 07-07-2020 ( #2863 )
2020-07-07 13:03:07 -07:00
Yury Semikhatsky
9640dbf2a6
browser(firefox): exclude browser controls from screencast ( #2855 )
2020-07-07 09:40:09 -07:00
Yury Semikhatsky
ea9b82d225
browser(webkit): properly disconnect signal handlers when closing browser ( #2849 )
2020-07-06 13:59:13 -07:00
Yury Semikhatsky
fc18f2f38a
browser(firefox): support screencast frame size and scale configuration ( #2847 )
2020-07-06 11:28:35 -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
Yury Semikhatsky
6aef045fd4
browser(firefox): create new window for each new page ( #2823 )
2020-07-02 14:46:57 -07:00
Andrey Lushnikov
b1b6d3f531
devops: add signature to BUILD_NUMBER to force rebaseline ( #2810 )
...
Currently, it might happen that two different patches clash for the
same build number for the browsers. In this case, authors might
not even know that they need to rebaseline.
This patch starts adding a second line to `BUILD_NUMBER` files - the
signature and date of the `BUILD_NUMBER` change. These are guaranteed
to clash, so it should not be possible to land patches without
re-baselining them.
2020-07-02 12:09:27 -07:00
Yury Semikhatsky
605257b1a0
browser(firefox): Win build fix ( #2822 )
2020-07-02 11:20:25 -07:00
Yury Semikhatsky
024cb1ddc1
browser(firefox): basic screencast implementation for GTK ( #2818 )
2020-07-02 10:43:04 -07:00
Joel Einbinder
3d403cb2cd
browser(webkit): force wpe to use the complex text path ( #2801 )
2020-07-02 10:04:10 -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
Dmitry Gozman
5c4751d5dd
chore: generate protocol during browser roll ( #2719 )
...
We now commit protocol.ts files during the roll.
New utils/roll_browser.js helps with that.
This makes our installation very shallow:
- build installer;
- download browsers.
2020-07-01 15:22:29 -07:00
Dmitry Gozman
991e8d42c6
browser(firefox): report errors from workers ( #2797 )
...
There is no exceptionFlag anymore, so we check the logLevel instead.
2020-07-01 14:49:14 -07:00
Dmitry Gozman
c4e3ed85c0
browser(firefox): handle the case when inner window is restored from history ( #2791 )
...
When innerWindow is restored from the history state, we do not receive
content-document-global-created notification, but would still like to know
that window is now using a different inner window to reset the state.
This introduces a new notification juggler-dom-window-reused.
At the same time, goBack()/goForward() sometimes do not initiate
navigation synchronously, so our check for pendingNaivgationId() does
not work. Instead, we rely on canGoBack, and assume that client will
not need the navigationId synchronously.
2020-07-01 13:28:13 -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
d6338b0cae
docs(webkit): update core dump analisys instructions ( #2778 )
2020-06-30 17:00:16 -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
924a884102
docs: linux core dump instructions ( #2690 )
2020-06-24 10:04:11 -07:00
Dmitry Gozman
687067831a
browser(firefox): do not fail when decoding large responses ( #2671 )
2020-06-22 16:01:16 -07:00
Dmitry Gozman
3d49af2537
browser(firefox): fix redirect interception ( #2672 )
...
We sometimes receive shouldIntercept for redirects,
and should not issue sendOnRequest for the second time.
2020-06-22 15:57:05 -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
Yury Semikhatsky
7af201621d
chore(webkit): add libvpx Windows build instructions ( #2649 )
2020-06-22 12:49:30 -07:00
Dmitry Gozman
2fa32f7e9c
browser(firefox): rewrite network instrumentation ( #2638 )
...
This change introduces NetworkRequest object that encapsulates
internal redirects as they happen in netwerk/ stack.
NetworkRequest now serves as both ResponseBodyListener and NotificationCallbacks.
2020-06-20 20:45:01 -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
5043a36f86
browser(webkit): exclude gstreamer, its plugins and libdrm from webkit distribution ( #2541 )
2020-06-19 10:24:19 -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
Dmitry Gozman
c544bffee3
browser(firefox): stop faking intercepting redirects ( #2618 )
...
We just cannot do it, so we report redirects as intercepted: false.
2020-06-18 10:40:34 -07:00
Pavel Feldman
02704e08c8
Update upstream_status.md
2020-06-17 23:23:51 -07:00
Andrey Lushnikov
082bb3c3c4
browser(firefox): rely on upstream permission separation per contexts ( #2613 )
2020-06-17 14:57:47 -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
Dmitry Gozman
ab5f5c8b78
browser(firefox): another way to report elements without layout object ( #2597 )
2020-06-16 21:38:32 -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
Dmitry Gozman
f2af30cf90
browser(firefox): properly instrument requests intercepted by service worker ( #2594 )
...
When httpChannel is intercepted by Service Worker:
- it gets an internal redirect to another channel with the same id;
- once serivce worker responds, the channel gets the data, but
does not get any onResponse notifications.
So, we update our ResponseBodyListener (the nsIRequestObserver implementation)
to the new request and force onResponse from there once data is available or
request finishes.
2020-06-16 17:19:01 -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
Dmitry Gozman
9e7ea3ff7b
browser(firefox): Page.scrollIntoViewIfNeeded throws for invisible elements ( #2584 )
...
This is similar to other browsers that report distinct errors for
'not connected' vs 'not visible' cases.
2020-06-16 06:13:58 -07:00
Yury Semikhatsky
bda6203a91
browser(webkit): configure video scale ( #2553 )
2020-06-11 19:27:53 -07:00
Yury Semikhatsky
dadfe3e876
browser(webkit): add more missing libraries to WPE build ( #2546 )
2020-06-11 13:08:51 -07:00
Yury Semikhatsky
0e62d72761
browser(webkit): add missing wayland library to WPE build ( #2543 )
2020-06-11 11:07:32 -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
Andrey Lushnikov
3bff136825
chore: bump firefox build number
...
Bots were updated; kicking all bots to build firefox.
2020-06-09 23:42:10 -07:00
Andrey Lushnikov
31da3d3720
browser(firefox): roll Firefox to TOT beta branch as of Jun 9, 2020 ( #2520 )
...
With this roll, we now require MacOS 10.11 SDK to build on Mac.
2020-06-09 22:48:10 -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
Dmitry Gozman
ee3379a80f
browser(firefox): remove non-existing files from build ( #2507 )
2020-06-08 17:04:37 -07:00
Dmitry Gozman
ac88f98999
browser(firefox): properly hide scrollbars in all frames ( #2505 )
2020-06-08 15:54:47 -07:00
Pavel Feldman
4ec215a88b
browser(firefox): allow setting download behavior of default context ( #2502 )
2020-06-08 13:49:33 -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
Yury Semikhatsky
71dd9c2f02
Revert "browser(webkit): exclude gstreamer, its plugins and libdrm fr… ( #2482 )
...
* Revert "browser(webkit): exclude gstreamer, its plugins and libdrm from webkit distribution (#2476 )"
This reverts commit fc2432a23a
.
* Update build num
2020-06-05 10:43:06 -07:00
Yury Semikhatsky
fc2432a23a
browser(webkit): exclude gstreamer, its plugins and libdrm from webkit distribution ( #2476 )
2020-06-05 07:39:28 -07:00
Pavel Feldman
616ae5044d
browser(webkit): support bypass list on Mac ( #2479 )
2020-06-04 21:01:38 -07:00
Andrey Lushnikov
a26311a18a
browser(firefox): support proxy bypass ( #2467 )
2020-06-04 16:07:45 -07:00
Yury Semikhatsky
53f6caf57d
browser(webkit): manually reencode image as multiple frames ( #2470 )
2020-06-04 14:30:12 -07:00
Andrey Lushnikov
95ef71c43c
devops: support --juggler
argument for firefox/build.sh
script ( #2472 )
2020-06-04 14:26:51 -07:00
Pavel Feldman
c03b39a30e
browser(webkit): roll back to using same proxy for http & https ( #2471 )
2020-06-04 13:56:51 -07:00
Joel Einbinder
601eddfa98
browser(webkit): fix scrolling with mobile viewport ( #2468 )
2020-06-04 12:27:39 -07:00
Andrey Lushnikov
3c9699dc7c
browser(firefox): support Browser.setProxy method in juggler ( #2464 )
...
This lets us support network proxies per browser context.
2020-06-04 08:52:43 -07:00
Yury Semikhatsky
1392dcd680
browser(webkit): add injected bundle to webkit distribution on linux ( #2461 )
2020-06-03 17:49:57 -07:00
Yury Semikhatsky
18aafc361f
fix(build): respect relative path in archive.sh ( #2462 )
2020-06-03 17:47:33 -07:00
Yury Semikhatsky
8149e1d9dd
build(webkit): inlcude libvpx.so.5 into the .zip ( #2458 )
2020-06-03 16:35:45 -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