Граф коммитов

177 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey d46c6229a7 Bug 1917739 - Move Lz4 and mfbt/Compression* to mozglue/static. r=nika,frontend-codestyle-reviewers
As per mozglue/static/README:

> mozglue/static contains parts of the mozglue library that can/should be
> statically linked to e.g. js/Gecko.

The compression part of MFBT is a good candidate for this.

Differential Revision: https://phabricator.services.mozilla.com/D221565
2024-09-10 20:35:56 +00:00
Issam Mani f0a84cf2e4 Bug 1913967 - Move shared modules to a shared folder. r=sylvestre,frontend-codestyle-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D219659
2024-08-21 14:12:52 +00:00
Mark Banner 27fac51e12 Bug 1907841 - Change ESLint's .eslintignore to be an imported module. r=frontend-codestyle-reviewers,zeid,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D216540
2024-07-16 12:53:09 +00:00
Paul Adenot b81bab7544 Bug 1890370 - Remove libtheora from the tree. r=sylvestre,frontend-codestyle-reviewers,zeid
Differential Revision: https://phabricator.services.mozilla.com/D215395
2024-07-15 14:20:37 +00:00
Alexandre Lissy 592d871234 Bug 1896054 - Import chromium's glibc hack r=gcp,frontend-codestyle-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D214928
2024-07-10 13:38:43 +00:00
Noemi Erli 9583c064df Backed out 3 changesets (bug 1874689, bug 1896054) for causing build bustages in syscall_wrappers.cc
Backed out changeset 04d5ec99e767 (bug 1874689)
Backed out changeset 287a0381bd07 (bug 1896054)
Backed out changeset 274105296168 (bug 1896054)
2024-07-10 13:26:17 +03:00
Alexandre Lissy 809b792be2 Bug 1896054 - Import chromium's glibc hack r=gcp,frontend-codestyle-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D214928
2024-07-10 08:00:54 +00:00
Tamas Szentpeteri 31a25d4186 Backed out 3 changesets (bug 1874689, bug 1896054) for causing mochitest failures on browser_toolbox_many_toggles.js. CLOSED TREE
Backed out changeset 48fa42d93368 (bug 1874689)
Backed out changeset 83fa543c6d11 (bug 1896054)
Backed out changeset 0326426f5ccc (bug 1896054)
2024-07-09 10:26:05 +03:00
Alexandre Lissy 3360654464 Bug 1896054 - Import chromium's glibc hack r=gcp,frontend-codestyle-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D214928
2024-07-09 05:32:26 +00:00
Jonas Jenwald 7cf779bd22 Bug 1905864 - Generate a PDF.js default-prefs file that can be used directly in mozilla-central. r=pdfjs-reviewers,geckoview-reviewers,frontend-codestyle-reviewers,calixte,ohall
Differential Revision: https://phabricator.services.mozilla.com/D215481
2024-07-03 19:51:41 +00:00
Mike Conley 67df85a3a0 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-11 13:05:58 +00:00
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