Mike Hommey
1fd5af74f4
Bug 1766561 - clang-format the files we're about to touch. r=andi
...
Differential Revision: https://phabricator.services.mozilla.com/D144910
2022-05-03 20:49:03 +00:00
Andy Hochhaus
d6f7c188d1
Bug 1759745 - Brotli compressed HTTP chunks larger than 128k not fully processed r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D141272
2022-05-03 20:23:21 +00:00
Niklas Baumgardner
b08da8caf3
Bug 1767516 - Update Netflix site adapter to use nested span for subtitles. r=pip-reviewers,mhowell
...
Differential Revision: https://phabricator.services.mozilla.com/D145364
2022-05-03 20:07:10 +00:00
Chris H-C
7c24448fd8
Bug 1766474 - Don't record Telemetry client_id on Android r=Dexter
...
Differential Revision: https://phabricator.services.mozilla.com/D145022
2022-05-03 20:07:07 +00:00
Ben Hearsum
1e2cdbc725
Bug 1616355: attribution postSigningData should be per installation r=nalexander
...
about:newtab#asrouter actually depends on the ability to be able to write to postSigningData at the moment, so this will break that in any circumstance where the running Firefox cannot write to the installation directory. This code is only used for dev & qa testing though, and I've been told this is OK (and we may change how it works to avoid writing the file at all).
Differential Revision: https://phabricator.services.mozilla.com/D144167
2022-05-03 20:04:28 +00:00
Csoregi Natalia
ce93990c8d
Bug 1673140 - Fix eslint on SpecialPowersChild.jsm. r=fix CLOSED TREE
2022-05-04 00:35:04 +03:00
Emilio Cobos Álvarez
a85dcf278a
Bug 1673140 - Don't bother null-checking the docShell anymore.
...
As we really want to keep going, even though that is very unlikely to
happen.
MANUAL PUSH: Minor follow-up CLOSED TREE.
2022-05-03 23:06:10 +02:00
Emilio Cobos Álvarez
f2ae3da809
Bug 1673140 - Fix contentTransformsReceived() in non-e10s.
...
MANUAL PUSH: Orange fix CLOSED TREE
2022-05-03 23:01:49 +02:00
Iulian Moraru
5c694a2f48
Backed out changeset a7fae9e0df25 (bug 1766886
) for causing build bustages on TimingParams.h. CLOSED TREE
2022-05-03 23:26:20 +03:00
Iulian Moraru
f65b926595
Backed out 3 changesets (bug 1753730) for causing bc failures on browser_103_preload.js.
...
Backed out changeset 8f27dc8dbbe0 (bug 1753730)
Backed out changeset 3c25877d2660 (bug 1753730)
Backed out changeset 47787105e3ad (bug 1753730)
2022-05-03 23:24:34 +03:00
Neil Deakin
660ff47e74
Bug 1746052, use validateFileNameForSaving in DownloadPaths.sanitize with flags to emulate something similar to the existing behaviour, r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D138738
2022-05-03 19:44:29 +00:00
Neil Deakin
2be09b9192
Bug 1746052, add tests for filename validation when dragging images, copy/paste of images, saving a document or image, and when content disposition: attachment is used, and add a unit test that verifies nsIMIMEService.validateFileNameForSaving, r=mhowell
...
Differential Revision: https://phabricator.services.mozilla.com/D135959
2022-05-03 19:44:28 +00:00
Neil Deakin
435f7665b7
Bug 1746052, use validateFileNameForSaving to get and validate the default filename when a document or image is chosen to be saved, r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D135958
2022-05-03 19:44:28 +00:00
Neil Deakin
c203e5ec80
Bug 1746052, don't allow Windows reserved filenames when sanitizing filenames. Move MangleTextToValidFileName to nsLocalFileWin and rename it to CheckForReservedFileName, r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D138737
2022-05-03 19:44:27 +00:00
Neil Deakin
f560834464
Bug 1746052, select a default filename for saving if the filename ends up being empty, r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D135957
2022-05-03 19:44:27 +00:00
Neil Deakin
4ca62dc2db
Bug 1746052, further restrict the characters that are allowed in filenames, as save as doesn't allow these, r=mccr8
...
The Android characters are are from DirectoryPaths.jsm, and almost all consumers of the constants here are either windows-specific or are modified/removed by this bug.
Differential Revision: https://phabricator.services.mozilla.com/D135956
2022-05-03 19:44:26 +00:00
Neil Deakin
22cf453e67
Bug 1746052, don't modify the extension for text and binary types, as this is the behaviour that save as had, r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D135955
2022-05-03 19:44:26 +00:00
Neil Deakin
b1f5f021f4
Bug 1746052, use GetValidFileName to determine the filename from the channel when saving a resource, r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D135954
2022-05-03 19:44:26 +00:00
Neil Deakin
911bd9b8c4
Bug 1746052, use ValidateFileNameForSaving to determine a valid filename for pasting a file to the filesystem, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D135953
2022-05-03 19:44:25 +00:00
Neil Deakin
7e0aa8d97c
Bug 1746052, use ValidateFileNameForSaving to compute the filename for dragging images to the file system, r=haik
...
Differential Revision: https://phabricator.services.mozilla.com/D135952
2022-05-03 19:44:25 +00:00
Neil Deakin
daa3b8b384
Bug 1746052, improve file sanitization by filtering and collpasing more whitespace characters and truncating files to 255 bytes, r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D138736
2022-05-03 19:44:25 +00:00
Neil Deakin
2596b808fa
Bug 1746052, add methods to the mime service that compute and validate a filename for a given content type, r=Gijs
...
The code in SanitizeFilename will be expanded upon in the following patch.
Differential Revision: https://phabricator.services.mozilla.com/D135951
2022-05-03 19:44:24 +00:00
Neil Deakin
976c5b23db
Bug 1746052, add a means to get the filename that should be used for saving an image to disk, r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D135950
2022-05-03 19:44:24 +00:00
David Shin
30d6445f84
Bug 1766886
- Use `mozilla::variant` in `ComputedTimingFunction` to contain the function implementation. r=boris
...
Also minor refactorings:
- Less Init() calls
- Remove unused `Compare` functions
- Add explicit casts to narrowing conversions
Differential Revision: https://phabricator.services.mozilla.com/D145014
2022-05-03 19:41:37 +00:00
Mark Banner
aab0a0ff9c
Bug 1767479 - Copy the staged node_modules for eslint-plugin-mozilla when running ESLint on CI to ensure the node task runs correctly. r=linter-reviewers,ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D145347
2022-05-03 19:41:02 +00:00
Andrew McCreight
62572a8431
Bug 1767354 - Print out less information when leakcheck passes. r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D145349
2022-05-03 19:30:21 +00:00
Manuel Bucher
abf74c8a01
Bug 1753730 - Test that the cached image from the early hint preload is used r=necko-reviewers,ckerschb,dragana,kershaw
...
* Test that the preloaded image is actually used and that no preload requests
are made if the resource shouldn't be preloaded
Differential Revision: https://phabricator.services.mozilla.com/D139740
2022-05-03 19:24:42 +00:00
Manuel Bucher
2952cf8ce7
Bug 1753730 - Add EarlyHintPreloader to load 103 Early Hint responses into the cache r=necko-reviewers,ckerschb,dragana,kershaw
...
Currently only same origin requests are preloaded and preloads in the
secure context. This may change in the future to match W3C decisions and
Chromes behavior.
Also only images get preloaded. This will change in the future to cover
asset types.
Currently the anchor isn't parsed correctly yet[1], so this will be
fixed in a future patch.
On non-2xx responses of the main document all ongoing preloads get
canceled. Already completed preloads don't get affected and are in the
cache.
It is currently untested whether unused preloads don't have side effects.
Another future patch should cover adding the preload to the devtools.
[1]: https://datatracker.ietf.org/doc/html/rfc8288#section-3.2
Differential Revision: https://phabricator.services.mozilla.com/D137885
2022-05-03 19:24:42 +00:00
Manuel Bucher
d2e465a0b2
Bug 1753730 - Fix early hint not propagating with http proxy r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D141760
2022-05-03 19:24:41 +00:00
Edgar Chen
177354af27
Bug 1756388; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D144193
2022-05-03 19:11:30 +00:00
Tom Ritter
527680376d
Bug 1767335: Fix mach vendor pattern replacement r=jewilde
...
Differential Revision: https://phabricator.services.mozilla.com/D145360
2022-05-03 19:09:12 +00:00
Drew Willcoxon
6c9788ddd7
Bug 1765595 - Add a Nimbus variable to load Firefox Suggest suggestions with a different type on RS. r=nanj
...
This adds a new `quickSuggestRemoteSettingsDataType` Nimbus variable whose value
will be used as the `type` filter when fetching data from remote settings.
Differential Revision: https://phabricator.services.mozilla.com/D145266
2022-05-03 18:23:56 +00:00
Neil Deakin
18f85bb221
Bug 1742648, remove special case for downloading pdfs in subframes, r=mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D145233
2022-05-03 18:13:52 +00:00
Emilio Cobos Álvarez
b8634fa5f9
Bug 1673140 - Wait for screen coords to be ready in browser_datetime_datepicker.js. r=handyman
...
As per comments in the bug I never managed to reproduce this locally or
in pernosco, but given the structure of the test (open tab, get element
position, show picker, check picker position in screen coords), it makes
some amount of sense that it could hit this race.
I'm confirming on try that this reduces or fixes the intermittent race
but given it's a oneliner I don't feel too bad sending it for review
early :)
Differential Revision: https://phabricator.services.mozilla.com/D145305
2022-05-03 18:01:51 +00:00
Emilio Cobos Álvarez
f3edc98c4b
Bug 1765423 - Make tooltips look nicer with default window themes. r=dao
...
For that, make the Windows rounded-rect code apply to tooltips as well.
Differential Revision: https://phabricator.services.mozilla.com/D145327
2022-05-03 17:30:45 +00:00
Emilio Cobos Álvarez
ae63baa75c
Bug 1765423 - Use Window/WindowText for tooltips in the default Windows theme. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D145323
2022-05-03 17:30:44 +00:00
Doug Thayer
04d1c8fd1e
Bug 1756823
- Replace ConsoleAPIStorage observer calls with js array r=nchevobbe,webdriver-reviewers,geckoview-reviewers,agi,jdescottes
...
See the comment in the file explaining it. For a case of logging 100k numbers,
this dropped the time per number from 15 microseconds to 9 with the console
closed, and 55 microseconds to 38 with the console open. I think we could shave
off more with a native approach, but I don't know that it's worth it and it's
much more likely for that to introduce bugs.
Differential Revision: https://phabricator.services.mozilla.com/D143782
2022-05-03 17:21:59 +00:00
Thomas Wisniewski
e5f2d78d34
Bug 1762851 - Have the SmartBlock Google Publisher Tags shim report non-empty slots and clear them as sites expect; r=webcompat-reviewers,ksenia
...
Differential Revision: https://phabricator.services.mozilla.com/D145342
2022-05-03 17:02:28 +00:00
Kershaw Chang
9cbcc4dab4
Bug 1766683 - Disable websocket over h2 tests, r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D145019
2022-05-03 16:39:39 +00:00
Cristian Tuns
4c7ece1339
Backed out changeset e2908f3e5373 (bug 1718228) for causing mochitest failure in test_webauthn_loopback.html CLOSED TREE
2022-05-03 12:44:19 -04:00
Barret Rennie
217dd347c1
Bug 1767266 - Make ExtensionDoorhanger.schema.json more lenient r=Mardak
...
Differential Revision: https://phabricator.services.mozilla.com/D145241
2022-05-03 16:37:19 +00:00
Yury Delendik
7b78f5e339
Bug 1766806 - Avoid checkIntegrity failure in f32.copysign wasm instruction. r=lth
...
Differential Revision: https://phabricator.services.mozilla.com/D145009
2022-05-03 16:32:07 +00:00
Cristian Tuns
ffa4c47716
Backed out changeset f691cceafea6 (bug 1718083) for causing mochitest failures in test_autocomplete_autofill_related_realms_no_dupes.html CLOSED TREE
2022-05-03 12:31:24 -04:00
Matthew Gaudet
6f1f2aa943
Bug 1767342 - Enable user defined byte stream by default r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D145340
2022-05-03 16:10:08 +00:00
Lars T Hansen
a7fcf7f104
Bug 1767177 - Accommodate catch values. r=yury
...
Differential Revision: https://phabricator.services.mozilla.com/D145196
2022-05-03 16:03:14 +00:00
R. Martinho Fernandes
7775acb534
Bug 1718228 - Make CollectedClientData follow the spec r=dveditz,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D136881
2022-05-03 15:52:36 +00:00
Emilio Cobos Álvarez
351616349b
Bug 1469174 - Implement media feature expression multi-range syntax. r=boris
...
Differential Revision: https://phabricator.services.mozilla.com/D145231
2022-05-03 15:50:13 +00:00
Molly Howell
e19b26be6c
Bug 1767464 - Enable PIP captions on all channels. r=pip-reviewers,kpatenio
...
Differential Revision: https://phabricator.services.mozilla.com/D145343
2022-05-03 15:43:26 +00:00
Jamie Nicol
696fe23ef3
Bug 1766990 - Redirect stdout and stderr to file for wrench tests on Android. r=gfx-reviewers,nical
...
On Android long lines are truncated by logcat, meaning the base64
images output by wrench's reftest harness get truncated. The glue code
used by the old version of cargo-apk automatically split long lines,
which we then stitched back together again when parsing the
log. However, the glue used by the new cargo-apk no longer does this.
While we could manually split the long strings ourselves, this method
has always been unreliable. Instead, this patch makes us additionally
write stdout and stderr to a file as well as logcat. The test runner
script then pulls this file from the device and scrapes it rather than
the logcat.
Differential Revision: https://phabricator.services.mozilla.com/D145076
2022-05-03 15:37:49 +00:00
Mathieu Leplatre
1e8942f6d1
Bug 1718083 - Load dump if newer than local data r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D141955
2022-05-03 15:32:48 +00:00