Commit Graph

166 Commits

Author SHA1 Message Date
pstanciu
7bd02424dc Backed out changeset d88e9ba4a866 (bug 1897498) for causing xpcshell failures in test_BackupService_archive.js CLOSED TREE 2024-06-10 19:31:55 +03:00
Mike Conley
fcc55c2360 Bug 1897498 - Add a mechanism for exporting backup snapshots to a single file archive. r=Gijs,valentin,backup-reviewers,frontend-codestyle-reviewers,Standard8,kpatenio
There are a number of interesting things going on this patch that I think are worth highlighting
here for my reviewers:

1. The single-file archive format is an HTML file that uses an inlined multipart/mixed MIME
   message within a HTML document comment in order to embed the backup data into the archive.
2. We use the multipart/mixed nsIStreamConverter to extract the JSON and binary data from
   the MIME block.
3. We use a Archive Worker to do the archive creation, allowing us to do the work of construction
   off of the main thread.
4. The Archive Worker is only parsing the header and getting the byte offset of the MIME block.
   Extraction is happening in the parent process. This is mainly for simplicity for now, since
   the Archive Worker cannot invoke an nsIStreamConverter. Down the line, if we determine that
   we'd prefer the Archive Worker do the base64 decoding off of the main thread, we may need
   to use a Message Channel to send the byte sfrom the nsIStreamConverter to it, and add
   stream-writing support to IOUtils so that the Archive Worker can take care of sending the
   decoded bytes to disk.
5. The patch doesn't expose the extraction mechanism in any way except through the debug
   interface right now. That will come down the line. In the meantime, this mechanism
   can be manually tested in the debug interface by creating a backup, which should also
   create an "archive.html" file in the backups folder. Using the "Extract from archive"
   button in the debug tool will let you select that HTML file and extract the ZIP as
   a file in the backups folder called "extraction.zip".
6. The test template contains Unicode characters because certain locales might involve
   us writing Unicode characters in the HTML template when generating the archive. The
   fun part about that is calculating where the byte offset is for the MIME block! See
   the comment in the Archive.worker.mjs script for how that works.

Differential Revision: https://phabricator.services.mozilla.com/D211588
2024-06-10 13:20:51 +00:00
Tom Ritter
22bfbc6ea9 Bug 1894958: Render more complex WebGL canvases r=timhuang,sylvestre,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209595
2024-06-05 02:04:39 +00:00
Cosmin Sabou
14bfc537ab Backed out 7 changesets (bug 1894958) for causing bc failures on browser_usercharacteristics_gamepads. CLOSED TREE
Backed out changeset 2d6a773b1cfe (bug 1894958)
Backed out changeset 64fa5abd15b1 (bug 1894958)
Backed out changeset 73017dc41a54 (bug 1894958)
Backed out changeset 99498fc1e89c (bug 1894958)
Backed out changeset 4ef86875b1c2 (bug 1894958)
Backed out changeset 31e1c5284927 (bug 1894958)
Backed out changeset 29545556fe0b (bug 1894958)
2024-06-05 01:20:05 +03:00
Tom Ritter
b46c162909 Bug 1894958: Render more complex WebGL canvases r=timhuang,sylvestre,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209595
2024-06-04 21:23:58 +00:00
Sandor Molnar
cc6a87da40 Backed out 7 changesets (bug 1894958) for causing bc failures @ browser_usercharacteristics.js CLOSED TREE
Backed out changeset f0b3873afbbf (bug 1894958)
Backed out changeset 0163ab00de90 (bug 1894958)
Backed out changeset dc5209d0115f (bug 1894958)
Backed out changeset c7c58e406791 (bug 1894958)
Backed out changeset 1ff86ac5480e (bug 1894958)
Backed out changeset 862f163cf35c (bug 1894958)
Backed out changeset 4ad50fcd042b (bug 1894958)
2024-06-05 00:07:37 +03:00
Tom Ritter
ad2e1ccbef Bug 1894958: Render more complex WebGL canvases r=timhuang,sylvestre,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209595
2024-06-04 20:02:25 +00:00
Dão Gottwald
98d7972d18 Bug 1900002 - Move tabbrowser tests into a browser/ folder. r=frontend-codestyle-reviewers,dwalker
See https://phabricator.services.mozilla.com/D211509#inline-1171035

Differential Revision: https://phabricator.services.mozilla.com/D212250
2024-06-04 13:20:52 +00:00
Ryan VanderMeulen
1cd58dc56f Bug 1900345 - Add the gradle/wrapper directory to the generated files list. r=Standard8,mcarare,frontend-codestyle-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D212418
2024-06-04 12:25:53 +00:00
Dão Gottwald
53eefd65c2 Bug 1898197 - Move tabs tests into browser/components/tabbrowser/. r=tabbrowser-reviewers,frontend-codestyle-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D211190
2024-05-23 12:54:24 +00:00
Mark Banner
58984048c6 Bug 1897221 - Exclude more Rust/mobile build artifacts from ESLint & Prettier. r=frontend-codestyle-reviewers,Gijs
Generated.txt doesn't seem the right place because that's for pre-built files that are added to the tree.
Hence adding to the ignore files.

Differential Revision: https://phabricator.services.mozilla.com/D210692
2024-05-20 13:47:38 +00:00
Mike Hommey
21bcae940a Bug 1885449 - Move GV code shared between Android and iOS to a shared directory. r=geckoview-reviewers,frontend-codestyle-reviewers,nalexander,owlish
And hook them up to the iOS build.

Differential Revision: https://phabricator.services.mozilla.com/D204711
2024-05-16 22:08:51 +00:00
Geoff Brown
6356370a37 Bug 1881094 - 4. remove and revise prettier exclusions for firefox-android r=android-reviewers,frontend-codestyle-reviewers,gl,webcompat-reviewers,twisniewski
- remove the firefox-android exclusions from .prettierignore
 - add a few specific exclusions to .prettierignore for files with existing errors
 - add a few specific entries to Generated.txt and ThirdPartyPaths.txt
 - add `initial_experiments.json` to the list of generated files: these are updated from Nimbus
 - run `mach lint --fix --linter=eslint -- mobile/android` to generate all the formatting changes

Differential Revision: https://phabricator.services.mozilla.com/D206915
2024-05-07 20:24:38 +00:00
Paul Adenot
64db4178ef Bug 1889978 - Vendor ffmpeg 7.0 headers. r=media-playback-reviewers,frontend-codestyle-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D206922
2024-04-30 14:21:45 +00:00
Cristian Tuns
bbbd3c280f Backed out 5 changesets (bug 1889978) for causing mda failures in mochitest_compat.toml CLOSED TREE
Backed out changeset ce0c34e548fa (bug 1889978)
Backed out changeset 96e08e04fa4d (bug 1889978)
Backed out changeset 2aeb87615ee0 (bug 1889978)
Backed out changeset 2272c3a73ad3 (bug 1889978)
Backed out changeset dc81d0c812b8 (bug 1889978)
2024-04-29 15:02:55 -04:00
Paul Adenot
aba8d4f080 Bug 1889978 - Vendor ffmpeg 7.0 headers. r=media-playback-reviewers,frontend-codestyle-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D206922
2024-04-29 16:58:04 +00:00
Tarek Ziadé
4b052e88ca Bug 1887824 - vendor Transformers.js - r=gregtatum,frontend-codestyle-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D205684
2024-04-16 04:15:43 +00:00
Sandor Molnar
7c2048ff12 Backed out changeset 957de71a1cd0 (bug 1887824) for causing bc failures @ browser_all_files_referenced.js CLOSED TREE 2024-04-15 22:23:30 +03:00
Tarek Ziadé
1bfb86845d Bug 1887824 - vendor Transformers.js - r=gregtatum,frontend-codestyle-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D205684
2024-04-15 16:13:23 +00:00
Mark Banner
96dfa038a5 Bug 1889082 - Add Android build files to Generated.txt. r=linter-reviewers,ahal,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206345
2024-04-08 10:43:26 +00:00
Paul Adenot
89dbe1a456 Bug 1860492 - Stop using theora files in mobile/android/geckoview/src/androidTest/. r=geckoview-reviewers,m_kato,frontend-codestyle-reviewers
Files containing theora have been modified to use VP9 in WebM, which is
equivalent for those tests, that only require a video with or without sound.

Differential Revision: https://phabricator.services.mozilla.com/D204643
2024-04-04 15:02:36 +00:00
Narcis Beleuzu
e3df66c4e8 Backed out 14 changesets (bug 1860492) for mda failure on test_closing_connections
Backed out changeset 9b8435c1c982 (bug 1860492)
Backed out changeset 08603e5ea8a0 (bug 1860492)
Backed out changeset 93086bc64d37 (bug 1860492)
Backed out changeset f8cbb9933469 (bug 1860492)
Backed out changeset f5e2a92235f1 (bug 1860492)
Backed out changeset 0038d6d54690 (bug 1860492)
Backed out changeset 24a1fb93d4a8 (bug 1860492)
Backed out changeset c2c11ee3f79f (bug 1860492)
Backed out changeset 9983c1ddee85 (bug 1860492)
Backed out changeset b9286e049dea (bug 1860492)
Backed out changeset d1d98783c88d (bug 1860492)
Backed out changeset 22dd17861e80 (bug 1860492)
Backed out changeset 7d823668fba7 (bug 1860492)
Backed out changeset 024863677345 (bug 1860492)
2024-04-04 01:43:26 +03:00
Paul Adenot
171272ebbf Bug 1860492 - Stop using theora files in mobile/android/geckoview/src/androidTest/. r=geckoview-reviewers,m_kato,frontend-codestyle-reviewers
Files containing theora have been modified to use VP9 in WebM, which is
equivalent for those tests, that only require a video with or without sound.

Differential Revision: https://phabricator.services.mozilla.com/D204643
2024-04-03 11:11:44 +00:00
Irene Ni
f701879f1c Bug 1876432 - Added support for custom themes as its own menu in Reader View. r=reader-mode-reviewers,fluent-reviewers,desktop-theme-reviewers,hjones,accessibility-frontend-reviewers,bolsson,devtools-reviewers,sfoster,cmkm,jules,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D204519
2024-04-02 00:08:46 +00:00
Mike Hommey
5f3cb60001 Bug 1881383 - Remove VS 2019 toolchain. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D202368
2024-03-26 00:02:34 +00:00
Stanca Serban
3274be9ff2 Backed out 13 changesets (bug 1860492) for causing multiple failures.
Backed out changeset 1b6bef229ce4 (bug 1860492)
Backed out changeset 22a3235fe2dc (bug 1860492)
Backed out changeset a5b2e4d12e44 (bug 1860492)
Backed out changeset cbcb811ca382 (bug 1860492)
Backed out changeset d6a999866f19 (bug 1860492)
Backed out changeset 40cee82fa090 (bug 1860492)
Backed out changeset eeec1917ab49 (bug 1860492)
Backed out changeset cf1230802d5c (bug 1860492)
Backed out changeset b34aacf0e966 (bug 1860492)
Backed out changeset 45d137c795f1 (bug 1860492)
Backed out changeset fb667be5932d (bug 1860492)
Backed out changeset a6d22d73c8a5 (bug 1860492)
Backed out changeset c8b6c53698f5 (bug 1860492)
2024-03-22 18:18:12 +02:00
Paul Adenot
c4b628d8a5 Bug 1860492 - Stop using theora files in mobile/android/geckoview/src/androidTest/. r=geckoview-reviewers,m_kato
Files containing theora have been modified to use VP9 in WebM, which is
equivalent for those tests, that only require a video with or without sound.

Differential Revision: https://phabricator.services.mozilla.com/D204643
2024-03-22 14:16:35 +00:00
Geoff Brown
10c3e367f4 Bug 1825116 - Add lint exclusions for some troublesome firefox-android files. r=Standard8,bhearsum,geckoview-reviewers,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201455
2024-02-12 11:59:54 +01:00
Tomislav Jovanovic
c346a789f6 Bug 1880764 - Initial TypeScript tooling r=mossop,Standard8
* Initial tools/ts setup.
* Mach commands for buidling xpcom related typelibs.
* Mach command for updating the typelib references.
* Mach command for type-checking js projects.

Also included the dom typelib for reference.

Differential Revision: https://phabricator.services.mozilla.com/D197620
2024-03-15 19:20:45 +00:00
Mark Banner
dd30d8567c Bug 1861918 - Convert kinto-offline-client to an ES module. r=leplatrem,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D204431
2024-03-13 17:38:27 +00:00
Mike Conley
b09affb213 Bug 1779629 - Hand-convert mozjexl.js to an ESM. r=dmose,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D203373
2024-03-08 17:58:59 +00:00
Natalia Csoregi
f456a722ed Bug 1807880 - Disabled docshell/test/mochitest/test_bug511449.html on all platforms for causing frequent failures. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D203383
2024-03-06 12:02:16 +00:00
Punam Dahiya
ef18155aa8 Bug 1879638 - Update Old references to asrouter and aboutwelcome files r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D203330
2024-03-02 02:36:24 +00:00
Tomislav Jovanovic
3d22ee1fa3 Bug 1872918 - Collect .d.json typescript info from xpidl r=mossop,nika
Differential Revision: https://phabricator.services.mozilla.com/D197618
2024-02-24 00:23:59 +00:00
John Schanck
41b5f03176 Bug 1819713 - remove stray references to IsExternalCTAP2SecurityKeySupported. r=tschuster
Differential Revision: https://phabricator.services.mozilla.com/D201002
2024-02-09 22:42:36 +00:00
Nicolas Chevobbe
39fd633713 Bug 1877989 - [devtools] Add CodeMirror 6 in tree. r=devtools-reviewers,bomsy.
Differential Revision: https://phabricator.services.mozilla.com/D200305
2024-02-08 14:39:41 +00:00
Fred Chasen
466576038b Bug 1871140 - Vendor Readability Library. r=cmkm
- Adds a moz.yaml to vendor the files from the Readability library on Github to `toolkit/components/reader/readability`.
- Updates includes to point to the new library location.

Differential Revision: https://phabricator.services.mozilla.com/D196998
2024-01-11 21:47:21 +00:00
Mark Banner
8129e63fd3 Bug 1872857 - Add json checking to the file-perms and file-whitespace linters. r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D197583
2024-01-04 15:50:31 +00:00
Oliver Medhurst
465206f92c Bug 1793560 - Remove navigate-to CSP directive r=tschuster
It has never shipped after being implemented years ago,
and was removed from spec in September 2022:
https://github.com/w3c/webappsec-csp/pull/564

Now skipping navigate-to WPT tests. Filed issue upstream for their future removal:
https://github.com/w3c/webappsec-csp/issues/608
Consensus seems to agree to remove, will do in follow up bug once landed.

Also removed our own tests.

Added a hack in StartDocumentLoad as just removing the navigate-to check call
breaks some inhertiance, see comment for more info.

Differential Revision: https://phabricator.services.mozilla.com/D181630
2024-01-03 16:43:12 +00:00
Nipun Shukla
32825b041c Bug 1869896 - Put automatic restart behind Nimbus experiment r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196483
2023-12-20 18:57:53 +00:00
Andrew Osmond
816b0b6da1 Bug 1868470 - Add new OffscreenCanvas and WebCodecs talos tests. r=perftest-reviewers,sparky
This patch adds new variants of the glvideo/canvas2dvideo talos tests,
but this time focused on OffscreenCanvas and WebCodecs.

There are test variants for each:
- Execution thread (main thread or DOM worker)
- Canvas type (WebGL or 2D canvas)
- Codec type (H264, VP9 or AV1)

They are included as part of the existing webgl talos job.

Differential Revision: https://phabricator.services.mozilla.com/D196465
2023-12-15 22:18:41 +00:00
Mike Conley
9415a9f13d Bug 1866802 - Move ASRouterAdmin tool to about:asrouter and its own component folder. r=pdahiya,Gijs,desktop-theme-reviewers,dao
This tries to maintain stylistic continuity, while also trying to decouple from
newtab as much as possible. This is a first foray, and future patches will
further this decoupling.

This also modifies about:asrouter to show an error message if the ASRouter devtools
pref is not set to true.

Differential Revision: https://phabricator.services.mozilla.com/D194811
2023-12-14 18:46:55 +00:00
Butkovits Atila
8582db0ea5 Backed out 5 changesets (bug 1866802) for causing failures at test_TopSitesFeed.js. CLOSED TREE
Backed out changeset af9fbbc9ae50 (bug 1866802)
Backed out changeset 81d5b7de7178 (bug 1866802)
Backed out changeset e4d0863ed222 (bug 1866802)
Backed out changeset c0deb681b193 (bug 1866802)
Backed out changeset dda3e5e39f8c (bug 1866802)
2023-12-14 03:22:48 +02:00
Mike Conley
4b9f3545e2 Bug 1866802 - Move ASRouterAdmin tool to about:asrouter and its own component folder. r=pdahiya,Gijs,desktop-theme-reviewers,dao
This tries to maintain stylistic continuity, while also trying to decouple from
newtab as much as possible. This is a first foray, and future patches will
further this decoupling.

This also modifies about:asrouter to show an error message if the ASRouter devtools
pref is not set to true.

Differential Revision: https://phabricator.services.mozilla.com/D194811
2023-12-13 23:29:48 +00:00
Makoto Kato
717ab15242 Bug 1854031 - Part 4. Update lint file path. r=linter-reviewers,sylvestre
Depends on D193880

Differential Revision: https://phabricator.services.mozilla.com/D193885
2023-12-04 09:02:34 +00:00
Greg Tatum
d740b0a3ec Bug 1863793 - Add a Bergamot translator build script; r=translations-reviewers,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D193559
2023-11-28 17:32:48 +00:00
Mike Conley
37abcde317 Bug 1863400 - Part 8: Update stylelint, eslint, prettierignore, hgignore, gitignore and Generated.txt rules for aboutwelcome to match newtab. r=pdahiya
This also re-runs npm install on browser/components/aboutwelcome to make sure everything in
package-lock.json is up-to-date.

Depends on D193122

Differential Revision: https://phabricator.services.mozilla.com/D193228
2023-11-28 01:37:38 +00:00
Mike Conley
b443310b40 Bug 1863400 - Part 6: Perform bundling within browser/components/aboutwelcome folder. r=pdahiya
Depends on D193120

Differential Revision: https://phabricator.services.mozilla.com/D193121
2023-11-28 01:37:37 +00:00
Mike Conley
5b77060db6 Bug 1865382 - Remove legacy WebRTC indicator implementation. r=pbz,fluent-reviewers,desktop-theme-reviewers,bolsson,emilio
Depends on D193933

Differential Revision: https://phabricator.services.mozilla.com/D193934
2023-11-27 16:43:32 +00:00
Erik Nordin
be10801abf Bug 1861516 - Remove Translations fastText third-party files r=sylvestre,gregtatum
Removes all third-party files related to fastText since it is
no longer used in this code base.

Depends on D192658

Differential Revision: https://phabricator.services.mozilla.com/D192659
2023-11-09 04:59:05 +00:00