Andrey Lushnikov
30b6614e5a
browser(firefox): enable SharedArrayBuffer in Firefox builds ( #8610 )
2021-09-01 12:27:37 +02:00
Joel Einbinder
744a2751de
browser(firefox): disable enterprise policies ( #8388 )
2021-08-25 10:26:20 -04:00
Andrey Lushnikov
75dfc15e62
browser(firefox): roll to new Firefox Stable M91 ( #8130 )
2021-08-10 17:37:57 -07:00
Max Schmitt
d03a54da64
browser(firefox): revert devtools flag CLI command ( #7717 )
...
revert 786f6c4d31
2021-07-19 17:01:06 +02:00
Andrey Lushnikov
e801442f1e
browser(firefox): roll to match Firefox 90 release ( #7605 )
...
References #7583
2021-07-14 09:26:43 -07:00
Max Schmitt
786f6c4d31
browser(firefox): introduce auto-open-devtools-for-tabs CLI flag ( #7580 )
2021-07-13 18:29:35 +02:00
Max Schmitt
226159defc
browser(firefox): forced-colors media query emulation ( #6902 )
2021-06-09 01:00:15 +02:00
Andrey Lushnikov
08773e836b
browser(firefox-beta): roll Firefox to 89.0b15 ( #6689 )
2021-05-20 15:29:00 -07:00
Max Schmitt
c4a6c2bcab
browser(firefox): added reduced motion emulation ( #6618 )
2021-05-18 21:23:12 +02:00
Pavel Feldman
78ec057117
browser(firefox): implement screencast ( #6452 )
2021-05-06 19:11:42 -07:00
Andrey Lushnikov
b1f80bad39
browser(firefox-beta): roll Firefox to v89.0b9 (May 6, 2021) ( #6443 )
2021-05-06 11:03:58 -07:00
Andrey Lushnikov
4e0e13cf05
browser(firefox-beta): roll Firefox to beta 89.0b8 - May 2, 2021 ( #6397 )
2021-05-04 00:45:07 -07:00
Andrey Lushnikov
6c04b82256
browser(firefox-beta): roll @ beta Apr 29, 2021 - v89.0b6 ( #6368 )
2021-04-29 16:37:45 -07:00
Andrey Lushnikov
09c35adbd5
browser(firefox): roll firefox-beta to Apr 20, 2021 - version 89.0b2 ( #6247 )
2021-04-20 13:27:57 -07:00
Andrey Lushnikov
d662eba86a
browser(firefox): roll Firefox to beta @ Apr 1, 2021 ( #6041 )
...
Merging conflicts:
038f367c30
After this roll, we no longer require our custom `onFrameLocationChanged` instrumentation
since gecko now fixed the `NOTIFY_LOCATION` behavior so that it works
for same-document navigations inside iframes.
2021-04-01 16:49:01 -07:00
Joel Einbinder
d71c147af7
browser(firefox): fix some missing mac edit commands ( #6034 )
2021-04-01 11:27:44 -07:00
Ross Wollman
6d6f802e5a
fix: favicon with color pref crashes firefox ( #5977 ) ( #5979 )
2021-03-29 14:53:18 -07:00
Andrey Lushnikov
1fab84577a
browser(firefox): roll Firefox to beta @ Mar 16, 2021 ( #5852 )
2021-03-17 00:46:02 -07:00
Andrey Lushnikov
28d9f244df
browser(firefox): roll Firefox to Beta @ Feb 28, 2021 ( #5659 )
...
Diff merges:
498eaa7a87
Additional changes:
8404fbe1ad
2021-03-02 18:52:19 -08:00
Andrey Lushnikov
bba9fabfe3
browser(firefox): roll Firefox to beta @ Feb 19, 2021 ( #5521 )
2021-02-19 13:11:05 -08:00
Andrey Lushnikov
b2d9af5e15
browser(firefox): properly initialize debugging pipe on windows ( #5514 )
...
browser(firefox): properly initialize debugging pipe on windows
Firefox on Windows has 2 launch modes:
- default: a special "launcher process" is used to start browser as a
sub-process
- non-default: browser process starts right away
Firefox has a logic to detect how successful was the use of the
launcher process to do self-recovery when things go wrong. Namely:
- when attempting to use launcher process, firefox records a timestamp
of the attempt beginning
- once the launcher process successfully launches browser sub-process,
firefox records another timestamp of the completion
On a new launch, firefox checks what timestamps are present. If there's
a timestamp that signifies start of launcher process, but no successful
timestamp, it decides that last "launcher process" use was not
successful and falls back to launching browser right away.
When launching 2 firefox processes right away, the first process
uses attempts to use launcher process and records the first timestamp.
At the same time, the second instance sees the first timestamp and
doesn't see the second timestamp, and falls back to launching browser
right away. Our debugging pipe code, however, does not support
non-launcher-process code path.
This patch adds support for remote debugging pipe in case of
non-launcher-process startup.
Drive-by:
- disable crashreporter altogether
- remove stray dcheck that breaks firefox debug compilation
- disable compilation of firefox update agent
- do not use WIN32_DISTRIB flag unless doing full builds since
it kills incremental compilation
References #4660
2021-02-19 10:32:47 -08:00
Andrey Lushnikov
a42c46b986
browser(firefox): roll Firefox to beta @ Feb 11, 2021 ( #5421 )
2021-02-11 14:15:26 -08:00
Andrey Lushnikov
e53c9c35db
browser(firefox): roll Firefox to beta @ Feb, 1 2021 ( #5248 )
2021-02-01 15:50:11 -08:00
Andrey Lushnikov
2f29c6b066
browser(firefox): roll Firefox to beta Jan, 18 2021 ( #5106 )
2021-01-22 12:41:12 +03:00
Andrey Lushnikov
6b94f5f1b9
browser(firefox): roll Firefox to beta @ Jan 5, 2021 ( #4904 )
2021-01-06 02:49:28 +03:00
Andrey Lushnikov
761bd78879
browser(firefox): fix build on MacOS ( #4758 )
2020-12-17 21:02:01 -08:00
Andrey Lushnikov
5f6ccee742
browser(firefox): roll Firefox to beta Dec 14, 2020 ( #4716 )
...
Merge conflicts: 57ba98733f
2020-12-14 15:28:48 -08:00
Andrey Lushnikov
e75ebc1752
browser(firefox): roll Firefox to Dec, 7 2020 ( #4622 )
2020-12-07 10:27:50 -08:00
Andrey Lushnikov
cb1f2a38f3
browser(firefox): roll Firefox to Nov 17,2020 ( #4477 )
...
Changes accomodate touchEventsOverride that has moved to the
browser side.
2020-11-18 08:19:09 -08:00
Yury Semikhatsky
0167f8c182
browser(firefox): allow to override request url ( #4436 )
2020-11-13 14:56:27 -08:00
Andrey Lushnikov
c522a0dfba
browser(firefox): force always active docshell ( #4363 )
...
This forces active docshell for all content processes.
References #4208
2020-11-05 17:53:22 -08:00
Andrey Lushnikov
799604c085
browser(firefox): roll Firefox to beta @ Nov, 3 ( #4327 )
2020-11-03 14:51:37 -08:00
Andrey Lushnikov
c5d3490b34
browser(firefox): roll firefox to beta Oct, 28 ( #4274 )
2020-10-28 14:47:14 -07:00
Joel Einbinder
305d209e82
browser(firefox): always send focus events ( #4150 )
2020-10-16 01:28:13 -07:00
Andrey Lushnikov
8f8bebb632
browser(firefox): roll Firefox to tip-of-tree Oct, 12 ( #4158 )
2020-10-15 09:51:21 -07:00
Joel Einbinder
a4474f6752
browser(firefox): Page.dispatchTapEvent ( #4101 )
2020-10-13 12:24:11 -07:00
Andrey Lushnikov
1ccce09a02
browser(firefox): roll Firefox to beta Oct 7, 2020 ( #4087 )
...
References #3995
2020-10-07 14:12:19 -07:00
Pavel Feldman
857abcfc10
browser(firefox): make pipe work on Windows ( #4058 )
2020-10-05 10:58:56 -07:00
Andrey Lushnikov
24bc0e39b8
browser(firefox): remove the hack around setting viewport size ( #4010 )
...
Juggler code had a bug where we subscribed to window and tab
events, but did not iterate collections of current windows and tabs.
As a result, we were sometimes failing to set viewport size for the
initial window, and implemented an artificial promise to workaround
the problem.
This patch:
- starts calling `onOpenWindow` and `onOpenTabListener` callbacks
for *all* windows and tabs - current and future, eliminating the
race condition.
This worked too well and we started overriding window sizes that
were set by users with `window.open(url, 'width=300;height=400')` (we
have a test for this). To fix this, we now plumb `CHROME_WITH_SIZE`
flag from appWindow and override viewport iff this flag is not set.
After this patch, we will use the `onTabOpened` event to move user
agent emulation to the browser-side.
References #3995
2020-09-30 00:36:46 -07:00
Andrey Lushnikov
4dde2882e7
browser(firefox): roll Firefox to August 14 beta ( #3465 )
2020-08-13 23:14:24 -07:00
Joel Einbinder
a4eb86c3df
browser(firefox): update styles when changing color scheme ( #3407 )
...
`MediaFeatureValuesChanged` is what their devtools code uses to update the styles. I tried using their code directly, but it doesn't play nicely with navigations so I decided to stick with ours.
2020-08-13 12:16:00 -07:00
Andrey Lushnikov
915902c858
browser(firefox): roll Firefox to roughly July, 15 ( #3411 )
2020-08-12 10:09:20 -07:00
Andrey Lushnikov
ca3bd5e2ef
browser(firefox): roll Firefox to June, 24 ( #3327 )
...
Review URL: 83e6f0114e
References #3215
2020-08-06 10:32:50 -07:00
Yury Semikhatsky
90819fa350
browser(firefox): always create image buffer in headless mode ( #3299 )
2020-08-04 17:58:57 -07:00
Yury Semikhatsky
7e28c26f6d
browser(firefox): do not complain about SnapshotListener being cleared on Destroy ( #3298 )
2020-08-04 17:38:46 -07:00
Joel Einbinder
3e023f6c3d
Revert "browser(firefox): fix color scheme not updating until reload" ( #3198 )
2020-07-28 13:46:37 -07:00
Yury Semikhatsky
da25a5b501
browser(firefox): do not capture cursor in screencast ( #3118 )
2020-07-27 16:22:02 -07:00
Joel Einbinder
549a37b939
browser(firefox): fix color scheme not updating until reload ( #3157 )
2020-07-24 16:01:45 -07:00
Pavel Feldman
726f636b5c
browser(firefox): implement Page.bringToFront ( #3051 )
2020-07-20 16:47:27 -07:00
Yury Semikhatsky
6db8962125
browser(firefox): smooth resize in headless ( #3043 )
2020-07-20 14:24:52 -07:00
Yury Semikhatsky
0aff9bef11
browser(firefox): screencast for headless mac ( #2956 )
2020-07-15 09:37:08 -07:00
Yury Semikhatsky
bf6f22d812
browser(firefox): basic screencast for headless ( #2931 )
2020-07-14 11:20:36 -07:00
Yury Semikhatsky
024cb1ddc1
browser(firefox): basic screencast implementation for GTK ( #2818 )
2020-07-02 10:43:04 -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
Andrey Lushnikov
082bb3c3c4
browser(firefox): rely on upstream permission separation per contexts ( #2613 )
2020-06-17 14:57:47 -07:00
Dmitry Gozman
ab5f5c8b78
browser(firefox): another way to report elements without layout object ( #2597 )
2020-06-16 21:38:32 -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
Andrey Lushnikov
a3f34fb4b7
chore: export juggler as a standalone folder for browser build ( #2432 )
...
This leaves our firefox diff to gecko instrumentation changes only.
Drive-by: rename webkit "src" folder into "embedder".
2020-06-02 16:51:13 -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
Andrey Lushnikov
0ed052f9e9
browser(firefox): expose internal request cause along with external one ( #2383 )
2020-05-28 09:23:14 -07:00
Dmitry Gozman
5d0b5625fa
browser(firefox): set initial page url to about:blank ( #2300 )
2020-05-19 10:30:36 -07:00
Dmitry Gozman
40ea0dd23b
browser(firefox): make default viewport work in default context ( #2277 )
2020-05-18 09:47:40 -07:00
Joel Einbinder
5a883a5877
browser(firefox): support internal drag and drop ( #2243 )
2020-05-14 18:30:02 -07:00
Dmitry Gozman
fdc9ce8e07
browser(firefox): move context settings from creation to setters ( #2193 )
...
Drive-by: simplify settings plumbing, fix addBinding bug.
2020-05-12 07:32:25 -07:00
Pavel Feldman
e247506169
browser(firefox): roll ff to ToT 5/7/2020 ( #2148 )
2020-05-07 18:37:15 -07:00
Dmitry Gozman
98d32c5d67
browser(firefox): do not fail when decoding large responses ( #2130 )
...
String.fromCharCode cannot be used to convert very large arrays to strings. Use chunking in this case.
2020-05-07 11:04:58 -07:00
Dmitry Gozman
10cca041fb
browser(firefox): ensure rendering update before taking quads and scrolling ( #2123 )
2020-05-06 10:20:18 -07:00
Yury Semikhatsky
b6d1cbf402
browser(firefox): report new window downloads ( #2014 )
2020-04-28 14:20:07 -07:00
Yury Semikhatsky
05f0797211
browser(firefox): support blob downloads ( #1945 )
2020-04-23 14:26:00 -07:00
Yury Semikhatsky
77f1a70332
browser(firefox): send requestFailed on network error ( #1816 )
2020-04-16 11:11:15 -07:00
Pavel Feldman
a46a32426e
browser(firefox): roll to ToT 4/15/2020 ( #1815 )
2020-04-15 17:31:59 -07:00
Yury Semikhatsky
f3451d9148
browser(firefox): focus all top frames by default ( #1811 )
2020-04-15 15:22:47 -07:00
Yury Semikhatsky
f05a8bdc0c
browser(firefox): override document.hasFocus() in main frames ( #1802 )
2020-04-15 14:41:18 -07:00
Dmitry Gozman
cbad583f8a
browser(firefox): prepare to collect signals during actions ( #1772 )
2020-04-15 12:02:08 -07:00
Yury Semikhatsky
d5e75d8bb7
browser(firefox): avoid clobbering scroll requests after scrollIntoViewIfNeeded ( #1785 )
...
5ef35728ff
If there is a pending visual update `AsyncPanZoomController::NotifyLayersUpdated` will override scroll offset set from layout with the visual one. See [`visualScrollOffsetUpdated`](http://ffsearch.azurewebsites.net/#path=%2Fhome%2Fjoe%2Ffirefox%2Fgfx%2Flayers%2Fapz%2Fsrc%2FAsyncPanZoomController.cpp&line=4530 ) and its comment in the method.
2020-04-14 16:24:36 -07:00
Yury Semikhatsky
126b54f767
browser(firefox): implement Page.scrollIntoViewIfNeeded ( #1759 )
2020-04-13 11:31:02 -07:00
Yury Semikhatsky
db34d436ec
browser(firefox): make juggler web socket work in -silent mode ( #1726 )
2020-04-09 10:57:24 -07:00
Yury Semikhatsky
aff2ffacf8
browser(firefox): manage network activity per page ( #1700 )
...
a33663a362
Network events are now sent to corresponding page session. Previously they would be broadcast to all sessions.
2020-04-07 23:03:43 -07:00
Yury Semikhatsky
becf97f30d
browser(firefox): report navigation request failure for downloads ( #1688 )
2020-04-07 00:38:27 -07:00
Yury Semikhatsky
7b2736b4c9
browser(firefox): support downloads ( #1683 )
2020-04-06 23:34:30 -07:00
Pavel Feldman
11ad172822
browser(firefox): allow setting colorScheme on the context level ( #1672 )
2020-04-06 12:26:42 -07:00
Dmitry Gozman
fc73d54039
browser(firefox): instrument all browser windows early enough ( #1645 )
2020-04-03 15:31:26 -07:00
Yury Semikhatsky
e76f8de474
browser(firefox): reland "instrument all windows, support silent mode" with Linux fix ( #1634 )
2020-04-01 21:06:44 -07:00
Yury Semikhatsky
cf49a9ee7b
browser(firefox): make timezone override work on Win ( #1628 )
...
68e0c2c6c6
2020-04-01 14:10:30 -07:00
Yury Semikhatsky
1da2141acc
browser(firefox): delete Browser.setIgnoreHTTPSErrors ( #1616 )
2020-03-31 22:44:09 -07:00
Yury Semikhatsky
4ac98daa3c
browser(firefox): set ignoreHTTPSErrors per context ( #1614 )
...
28fc96628e
2020-03-31 17:32:50 -07:00
Yury Semikhatsky
2ce85f9016
Revert "browser(firefox): instrument all windows, support silent mode… ( #1615 )
2020-03-31 17:20:08 -07:00
Dmitry Gozman
314eb40a13
browser(firefox): instrument all windows, support silent mode ( #1612 )
...
Includes 4b00d5dd71
and `playwright.cfg` change.
2020-03-31 16:16:44 -07:00
Yury Semikhatsky
43b91e6930
browser(firefox): implelemt timezone overrides ( #1577 )
2020-03-30 15:05:46 -07:00
Dmitry Gozman
fdc36125be
browser(firefox): refactor targets/contexts/dispatching ( #1590 )
2020-03-30 13:57:12 -07:00
Dmitry Gozman
3535a829a3
browser(firefox): emulate device size ( #1561 )
2020-03-26 18:42:21 -07:00
Yury Semikhatsky
4826b3aca5
browser(firefox): make locale override apply to Number/Date formatting ( #1560 )
2020-03-26 16:33:07 -07:00
Dmitry Gozman
9d0f465ebe
browser(firefox): make call argument properties configurable ( #1558 )
2020-03-26 15:52:24 -07:00
Andrey Lushnikov
b1c156f422
browser(firefox): fix user gesture in evaluation ( #1550 )
...
Review URL: 37851a6e27
2020-03-25 23:58:30 -07:00
Andrey Lushnikov
09cbf335bd
browser(firefox): wait for script to be evaluated in Worker ( #1543 )
...
Review URL: b70c1ff8c5
2020-03-25 17:39:50 -07:00
Yury Semikhatsky
2203e9c017
browser(firefox): bypass CSP when calling functions from debugger ( #1541 )
2020-03-25 16:28:33 -07:00
Pavel Feldman
6be3634356
browser(firefox): fix permissions check and notifications name ( #1530 )
2020-03-25 09:55:41 -07:00
Andrey Lushnikov
aba670d719
browser(firefox): roll Firefox ( #1534 )
...
Review URL: 2fda0f5fc8
2020-03-24 23:25:17 -07:00
Pavel Feldman
8af21d146c
browser(firefox): fix authentication ( #1524 )
2020-03-24 21:17:55 -07:00