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
Andrey Lushnikov
5002420a6f
chore: further enhanced repack-juggler script ( #7188 )
...
With this change, the script is now 2-stage:
- first, prepare browser build with `repack-juggler.js --prepare`
- afterwards, run the script to repack tot juggler version with the
bubild
2021-06-16 17:32:37 -07:00
Andrey Lushnikov
bc850b9ef9
feat: enhance repack-juggler.js to autodetect current platform ( #7183 )
...
This steals some parts of `//src/util/registry.ts`.
2021-06-16 15:13:51 -07:00
Andrey Lushnikov
04de4ad93e
devops: cleanup browser build configs ( #7180 )
...
- certain builds weren't listed in EXPECTED_BUILDS
- wekbit had one unused build configuration
2021-06-16 12:22:33 -07:00
Andrey Lushnikov
58878b584a
devops: introduce repack-juggler
script ( #7092 )
...
This patch adds a new script -
`//browser_patches/firefox/repack-juggler.mjs`
This script lets you test Firefox changes if they are Juggler-specific
without firefox checkout / compilation.
The `repack-juggler.mjs` script does the following:
- downloads the latest build of Firefox-with-juggler
- finds an `omni.ja` file with Juggler files inside
- replaces juggler in omni.ja with the current juggler files in the index
2021-06-15 01:08:13 -07: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
Andrey Lushnikov
12d8c54e99
chore: swap firefox-stable and firefox ( #6950 )
...
With this patch:
- `//browser_patches/firefox` becomes firefox-stable
- `//browser_patches/firefox-stable` becomes firefox-beta
References #6817
2021-06-07 17:05:51 -07:00
Yury Semikhatsky
f60b79a311
browser(firefox): do not use Array.prototype.toJSON for serialization ( #6767 )
2021-05-26 15:38:53 -07:00
Andrey Lushnikov
08773e836b
browser(firefox-beta): roll Firefox to 89.0b15 ( #6689 )
2021-05-20 15:29:00 -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
277eca1b98
devops: install all FF system dependencies with --full on build ( #6657 )
...
Before that it actually didn't install all needed dependencies and failed after that when starting the compiler suite. WebKit also installs dependencies with apt, so it should be fine to install them on OS level.
2021-05-19 15:16:33 -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
Andrey Lushnikov
b1f80bad39
browser(firefox-beta): roll Firefox to v89.0b9 (May 6, 2021) ( #6443 )
2021-05-06 11:03:58 -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
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
Yury Semikhatsky
b0fae0f831
browser(firefox): merge FrameData into Frame ( #6365 )
2021-04-29 15:09:10 -07:00
Andrey Lushnikov
f4b8c3a848
browser(firefox): disable proton UI for now ( #6327 )
...
The new Proton UI breaks certain screencast tests. Disable
this for now.
2021-04-26 10:59:12 -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
09c35adbd5
browser(firefox): roll firefox-beta to Apr 20, 2021 - version 89.0b2 ( #6247 )
2021-04-20 13:27:57 -07:00
Andrey Lushnikov
4bec81b111
browser(firefox): roll Firefox to beta @ Apr 6, 2021 ( #6111 )
2021-04-06 17:25:18 -07:00
Andrey Lushnikov
2c6c816a41
devops: add firefox-ubuntu-20.04 as expected build ( #6063 )
2021-04-02 21:37:12 -07:00
Joel Einbinder
2357f0b562
browser(firefox): fix bootstrap on bots with --no-interactive ( #6047 )
...
The command --no-interactive moved and broke our build. See https://bugzilla.mozilla.org/show_bug.cgi?id=1695272
2021-04-02 07:52:42 -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
Joel Einbinder
d71c147af7
browser(firefox): fix some missing mac edit commands ( #6034 )
2021-04-01 11:27:44 -07:00
Andrey Lushnikov
cb15603ccb
browser(firefox): do not report console messages twice. ( #6031 )
...
References #6001
2021-04-01 09:29:33 -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
8dc740570a
devops: refactor check_cdn.sh script ( #5835 )
...
Introduce `EXPECTED_BUILDS` list in each application folder and use
these lists when determining if all builds are ready.
2021-03-16 01:14:45 -07:00
Andrey Lushnikov
8565e72e63
chore: consolidate browser cheatsheets ( #5832 )
2021-03-15 17:54:25 -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
Andrey Lushnikov
496aeeba79
browser(firefox): follow-up with crash reporter disabling ( #5534 )
...
Since we now disable crash reporter compilation and don't ship it
with Firefox anymore, we should not attempt to disable it
with preferences.
2021-02-19 21:30:50 -08:00