Andrey Lushnikov
75dfc15e62
browser(firefox): roll to new Firefox Stable M91 ( #8130 )
2021-08-10 17:37:57 -07:00
Yury Semikhatsky
f9efc7f8a4
browser(firefox): response interception after redirects ( #8107 )
2021-08-10 14:43:21 -07:00
Yury Semikhatsky
efb21b9e9f
browser(firefox): support response interception ( #7509 )
2021-07-09 05:41:53 -07:00
Dmitry Gozman
fca965cb98
browser(firefox): properly handle HSTS redirects ( #7391 )
...
When Firefox decides to perform an http->https redirect based on HSTS
information, it issues an "internal" redirect and cancels the http request.
Since there is no response for the http request, we forge 307 redirect
in this case, following Chromium lead.
The relevant code is in nsHttpChannel::StartRedirectChannelToHttps.
2021-06-30 12:59:27 -07:00
Max Schmitt
18266722a1
browser(firefox): add Download.cancel ( #7390 )
2021-06-30 01:29:58 +02:00
Max Schmitt
8fa93ae6be
browser(firefox): add transferSize to Network.requestFinished ( #7355 )
2021-06-28 21:22:55 +02:00
Max Schmitt
9b9091b3fe
browser(firefox): fixed Array.prototype.toJSON workaround ( #7018 )
...
References #7015
2021-06-10 17:21:20 -07:00
Max Schmitt
226159defc
browser(firefox): forced-colors media query emulation ( #6902 )
2021-06-09 01:00:15 +02:00
Yury Semikhatsky
f60b79a311
browser(firefox): do not use Array.prototype.toJSON for serialization ( #6767 )
2021-05-26 15:38:53 -07:00
Max Schmitt
b2b45afc22
browser(firefox): override reduced motion no-preference ( #6683 )
2021-05-20 21:07:39 +02:00
Joel Einbinder
2f9b057525
browser(firefox): partially revert scrollbars patch ( #6670 )
2021-05-19 18:59:57 -07:00
Max Schmitt
c4a6c2bcab
browser(firefox): added reduced motion emulation ( #6618 )
2021-05-18 21:23:12 +02:00
Andrey Lushnikov
debffa7476
browser(firefox): make Juggler types compliant with protocol viewer ( #6626 )
...
Protocol viewer can't handle anonymous objects since it's not clear how
to refer to them.
2021-05-17 21:40:29 -07:00
Joel Einbinder
5b223f92c8
browser(firefox): Browser.setScrollbarsHidden ( #6457 )
2021-05-14 08:06:34 -07:00
Andrey Lushnikov
d02472a9e0
browser(firefox): fix uploads of large files in Firefox ( #6547 )
...
- to read post data of requests, we have to read stream
- to restore the stream later on, we have to rewind it back
- however, if the stream is large enough, it cannot be rewound back
This patch starts cloning post data streams if possible to avoid
back-rewinding them later on.
References #4704
2021-05-12 16:27:53 -07:00
Yury Semikhatsky
84031d4a07
browser(firefox): simplify isolated world structures ( #6521 )
2021-05-12 08:52:08 -07:00
Yury Semikhatsky
f8039bed10
browser(firefox): bindings in isolated worlds ( #6493 )
2021-05-11 09:27:39 -07:00
Pavel Feldman
8d21b12454
browser(firefox): fit screencast images into given frame ( #6495 )
2021-05-10 22:01:41 -07:00
Dmitry Gozman
f1a65820f4
browser(firefox): fix addBinding on pages with CSP ( #6470 )
2021-05-08 18:06:56 -07:00
Pavel Feldman
edd2cc807c
browser(ff): migrate screencast to client interfaces
2021-05-07 21:01:01 -07:00
Pavel Feldman
78ec057117
browser(firefox): implement screencast ( #6452 )
2021-05-06 19:11:42 -07:00
Pavel Feldman
765d74987f
chore(ff): remove some dead code ( #6423 )
2021-05-05 13:27:51 -07:00
Joel Einbinder
1a58281394
browser(firefox): don't record video outside the viewport ( #6361 )
2021-05-04 05:33:32 -07:00
Yury Semikhatsky
b0fae0f831
browser(firefox): merge FrameData into Frame ( #6365 )
2021-04-29 15:09:10 -07:00
Dmitry Gozman
10c76ff56f
browser(firefox): fix race between idleTasksFinishedPromise and window closure ( #6308 )
2021-04-23 16:05:37 -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
Dmitry Gozman
66541552d0
browser(firefox): make dpr emulation optional, take screenshots at 1x ( #5555 )
...
- deviceScaleFactor is now optional, so we can use host machine's dpr.
- Screenshots are not scaled up by dpr.
- Removed unused methods.
2021-04-01 14:51:02 -07:00
Andrey Lushnikov
cb15603ccb
browser(firefox): do not report console messages twice. ( #6031 )
...
References #6001
2021-04-01 09:29:33 -07:00
Joel Einbinder
e56f56c11e
browser(firefox): pass null for the data transfer ( #5723 )
2021-03-04 17:20:45 -08: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
Pavel Feldman
8906ba332c
chore: spell overridden ( #5605 )
2021-02-24 15:11:34 -08:00
Joel Einbinder
e677e7ba4e
browser(firefox): pass drag action test ( #5560 )
2021-02-23 15:21:29 -08:00
Dmitry Gozman
822f7cb1eb
browser(firefox): respect Set-Cookie header from fulfilled request ( #5456 )
2021-02-15 22:49:57 -08:00
Andrey Lushnikov
bbfbb1b2f7
browser(firefox): fix build on Windows ( #5275 )
2021-02-03 09:50:35 -08:00
Yury Semikhatsky
b3e7838582
browser(firefox): clear AuthCache when setting context proxy ( #4793 )
2020-12-21 15:54:15 -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
Dmitry Gozman
e1e000d264
browser(firefox): do not spam stderr with screencast logs ( #4630 )
2020-12-08 09:30:34 -08:00
Dmitry Gozman
e8419f85b6
browser(firefox): support alertCheck and confirmCheck dialogs ( #4553 )
...
These are shown with "prevent this page from showing more dialogs" checkbox.
2020-11-30 20:05:15 -08:00
Joel Einbinder
d06afadb8b
browser(firefox): send dragend after drop and survive navigations ( #4506 )
2020-11-25 03:47:34 -08:00
Dmitry Gozman
14a96ca21f
browser(firefox): ensure detachedFromTarget is always sent ( #4505 )
...
browser(firefox): ensure detachedFromTarget is always sent
LinkedBrowser can throw when removing listeners in PageTarget.dispose,
and that prevents BrowserHandler from sending Browser.detachedFromTarget.
Using a try-catch seems good enough.
2020-11-20 10:48:06 -08:00
Andrey Lushnikov
6bc45d9247
browser(firefox): browser.version() to return full version ( #4491 )
...
Currently, browser.version() returns `83.0`, whereas launching firefox
with `--version` flag returns `83.0b3`. This patch alings protocol's
`Browser.version()` with flag output.
2020-11-19 08:24:17 -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
39fcf1bc54
browser(firefox): do not leak reponses ( #4453 )
2020-11-16 13:16:20 -08:00
Joel Einbinder
e91140e88c
browser(firefox): force a layout before dispatching a tap ( #4428 )
2020-11-16 11:07:06 -08:00
Yury Semikhatsky
0167f8c182
browser(firefox): allow to override request url ( #4436 )
2020-11-13 14:56:27 -08:00
Dmitry Gozman
2e65f78874
browser(firefox): close browser when pipe disconnects ( #4437 )
2020-11-13 14:51:40 -08:00
Yury Semikhatsky
8488c296f9
browser(firefox): allow to override content-type along with post data ( #4416 )
2020-11-12 10:41:49 -08:00
Dmitry Gozman
ae738c1fac
browser(firefox): ignore WebProgress events coming from workers ( #4380 )
...
Somehow, we get WebProgress state changes when worker is loaded
with a blob url. This messes up frame navigation detection.
Luckily, it's easy to filter out non-document state changes.
2020-11-09 09:29:34 -08:00
Dmitry Gozman
06c8881dad
browser(firefox): fix videoSessionId ( #4374 )
...
PRIx8 produced "%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx%hx",
so video session ids were clashing between pages, and popup videos
did not work.
2020-11-06 15:08:03 -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