876738 Commits

Author SHA1 Message Date
Greg Tatum
5dd28ecc35 Bug 1814289 - Enable the jsdoc lint rule for translations and run auto-fix; r=translations-reviewers,nordzilla
There will be lint errors reported, as the following patch will manually
fix the remaining errors.

Differential Revision: https://phabricator.services.mozilla.com/D204516
2024-03-13 19:23:41 +00:00
Fred Chasen
ae5f491626 Bug 1884995 - Add BackupResource abstract class. r=mconley,backup-reviewers
Adds a `BackupResource` abstract class to be extended by more specific resource handlers and a `BackupResources` module which resources can be registered with.

The BackupResource base includes helpers to get the size of files and directories.

All registed resources will be provided to the `BackupService` constructor for it instantiate them.

Differential Revision: https://phabricator.services.mozilla.com/D203795
2024-03-13 19:08:05 +00:00
Nipun Shukla
b3eba1dc18 Bug 1881567 - Added Rust application to read and launch Firefox upon receiving native messages r=mhughes,nrishel,glandium,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D202467
2024-03-13 19:01:05 +00:00
Nipun Shukla
502b94eb4e Bug 1876342 - Added Windows native messaging host registration for Chromium r=mhughes,robwu,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D199587
2024-03-13 19:01:05 +00:00
Nipun Shukla
5896a314d2 Bug 1876344 - Added idle startup task to register native messaging host JSON files on macOS r=mhughes,robwu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D201773
2024-03-13 19:01:04 +00:00
Natalia Csoregi
b1ee07c006 Backed out changeset ebcab57cf7cd (bug 1883682) for causing newtab failures. CLOSED TREE 2024-03-13 21:19:25 +02:00
Natalia Csoregi
b3b324182c Backed out changeset d488b0a57d95 (bug 1876173) for causing fxms failures. CLOSED TREE 2024-03-13 21:17:52 +02:00
Butkovits Atila
640d8aa060 Backed out changeset d1d9d57a9895 (bug 1865394) for causing failures at browser_net_har_copy_all_as_har.js. CLOSED TREE 2024-03-13 21:04:58 +02:00
Mozilla Releng Treescript
627bcc6d2d no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
el -> 99515d22eb4d3358db993f1f4aa6edf4c47527cf
fr -> 68546a2354068ff3ff92f64af073234ec5d68cc7
hu -> 7fa7858ed0fe7ba0ff11860116f0574ded538483
hy-AM -> b6bacd34385018cd5da4ee1888eccb7d22661f85
it -> 87250c172014c1a1d74c3c5b6c306834945d8d8d
tr -> a361c274827467b79f12c8fcc89a13c08600104a
2024-03-13 19:05:00 +00:00
alwu
5d4ac0cefe Bug 1884028 - handle crash for the init engine state. r=media-playback-reviewers,padenot
It's possible that the MFCDM process can crash during the init engine
state, that might mean the media engine playback is not supported on the
machine. We should just stop and fallback to another playback pipeline.

Differential Revision: https://phabricator.services.mozilla.com/D204442
2024-03-13 18:55:03 +00:00
Arturo Mejia
805466a838 Bug 1879543 - Expose granted web-extension permissions. r=willdurand,owlish
Differential Revision: https://phabricator.services.mozilla.com/D202836
2024-03-13 18:24:03 +00:00
Jason Prickett
115ad6c443 Bug 1876173 - Add attribute to allow RDM to be disabled for aboutwelcome spotlight r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D201902
2024-03-13 18:23:44 +00:00
Barret Rennie
a4e3c36f0d Bug 1883682 - Migrate saveToPocket feature to use setPref r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D204520
2024-03-13 18:11:30 +00:00
Ksenia Berezina
dd2170a3ba Bug 1876363 - Ship v125.0.0 of the WebCompat System Addon; r=twisniewski,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D204527
2024-03-13 18:08:07 +00:00
alwu
e9d9030cd2 Bug 1884719 - part3 : add a by-pass pref for testing. r=media-playback-reviewers,ci-and-tooling,jmaher,padenot
Ideally, we should run `wmfme` on the gpu worker in order to access
video hardware decoding. However, when switching task to the gpu
worker, there are some tests starting failed on the try server [1].

Therefore, adding this pref temporarily to bypass the gfx check until
we figure out why those tests fail on the gpu worker.

[1] https://treeherder.mozilla.org/jobs?repo=try&revision=bd9a68c7c259ba9028051c8898ddd69384616ac5&selectedTaskRun=OvNqUv77Q5OVeBDlIhWQ5g.0

Differential Revision: https://phabricator.services.mozilla.com/D204443
2024-03-13 17:58:04 +00:00
alwu
0fd2a3cede Bug 1884719 - part2 : only use media engine playback when hardware video decoding is allowed. r=media-playback-reviewers,jolin
Differential Revision: https://phabricator.services.mozilla.com/D204293
2024-03-13 17:58:04 +00:00
alwu
973db5e9bc Bug 1884719 - part1 : init gfxVar when creating a UtilityAudioDecoderParent. r=gerard-majax
Move initializing gfxVar from creating a video bridge to the moment we
create UtilityAudioDecoderParent in order to ensure that we can always
get correct value from gfxVar.

Differential Revision: https://phabricator.services.mozilla.com/D204292
2024-03-13 17:58:03 +00:00
Mark Banner
f4ce4f5c95 Bug 1885041 - Expand disallowing JSM based imports via ESLint to everything except for devtools. r=arai,omc-reviewers,aminomancer,zombie
Differential Revision: https://phabricator.services.mozilla.com/D204441
2024-03-13 17:38:28 +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
Mark Banner
9f1de9d049 Bug 1861918 - Adjust formatting of kinto-offline-client ready for conversion to ES module. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D204430
2024-03-13 17:38:27 +00:00
serge-sans-paille
602f8fba76 Bug 1884540 - Remove six dependency from build/ directory r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D204144
2024-03-13 17:37:16 +00:00
serge-sans-paille
7796133100 Bug 1884392 - Remove six dependency from RunCbindgen.py r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D204050
2024-03-13 17:37:15 +00:00
negin
10b922a0a2 Bug 1875203 - disable multistage_experimentAPI transitions test case for debug builds r=omc-reviewers,pdahiya
[try run](https://treeherder.mozilla.org/jobs?repo=try&author=nsauermann%40mozilla.com&selectedTaskRun=fqhEAWtySZaqPjLtWUVYWQ.0)

Differential Revision: https://phabricator.services.mozilla.com/D204377
2024-03-13 17:25:42 +00:00
dylan
f01e37b32b Bug 1865394 - added urgency and incremental to request header in netmonitor. r=necko-reviewers,extension-reviewers,devtools-reviewers,valentin,robwu,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D201265
2024-03-13 17:03:22 +00:00
alwu
c1fffe2d9b Bug 1885026 - don't show warning for NS_ERROR_DOM_MEDIA_EXTERNAL_ENGINE_NOT_SUPPORTED_ERR. r=media-playback-reviewers,padenot
`NS_ERROR_DOM_MEDIA_EXTERNAL_ENGINE_NOT_SUPPORTED_ERR` is an internal
error we use to switch the decoder state machine, this is not a real
error which should be warned.

Differential Revision: https://phabricator.services.mozilla.com/D204429
2024-03-13 16:51:45 +00:00
Cristian Tuns
cc0efecf5c Backed out 3 changesets (bug 1884785, bug 1884265) for causing build bustages in nsLocalHandlerApp.cpp CLOSED TREE
Backed out changeset 08cb16bededc (bug 1884265)
Backed out changeset dc60eabb35ec (bug 1884785)
Backed out changeset 2de1412ec7e3 (bug 1884265)
2024-03-13 13:43:40 -04:00
Cristian Tuns
854f7bfe11 Backed out changeset c4f4e70ebe00 (bug 1884995) for causing bc failures in browser_all_files_referenced.js CLOSED TREE 2024-03-13 13:42:26 -04:00
Jon Coppeard
c4184cde22 Bug 1884746 - Relax assertion when transferring unique IDs after nursery collection r=jandem
We can have duplicates of the same cell in the Nursery::cellsWithUid_ vector,
e.g. if we repeatedly try to add a unique ID but fail half way through due to
OOM. That could lead to triggering this assertion than the target of an ID
trasfer doesn't already have an ID. However when this happens the source of the
transfer has already had the ID removed.

This case is handled by HashMap::rekeyAs, called from rekeyIfMoved in the
following line, as it first looks up the source cell in the map and does
nothing if it's not present.

The fix is to relax the assertion.

Differential Revision: https://phabricator.services.mozilla.com/D204364
2024-03-13 16:37:04 +00:00
Barret Rennie
137798e2d0 Bug 1883660 - Remove deviceMigration from ALLOWED_ISEARLYSTARTUP_FEATURE_IDS r=emcminn
The feature was removed in bug 1883911.

Differential Revision: https://phabricator.services.mozilla.com/D203775
2024-03-13 16:35:49 +00:00
Jon Coppeard
8e11d94d5d Bug 1885114 - Add memory accounting for the zone object r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D204501
2024-03-13 16:35:19 +00:00
Harshit Sohaney
40e110907c Bug 1868603 - (part 2) Tests for unblocking clear history dialog from data size loading. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D202343
2024-03-13 16:30:11 +00:00
Harshit Sohaney
9c91d11787 Bug 1868603 - (part 1) Unblock clear history dialog from data size loading. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D201986
2024-03-13 16:30:11 +00:00
Florian Quèze
ea2845147b Bug 1884383 - Support including markers from external sources in gecko profiles, r=canaltinova,profiler-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D204044
2024-03-13 16:27:45 +00:00
Otto Länd
ee6cc0bdef Bug 1884265, 1884785: apply code formatting via Lando
# ignore-this-changeset
2024-03-13 17:08:39 +00:00
Michael Hughes
444d0ac965 Bug 1884785 - Expose the path to the os default application to privileged extensions r=Gijs,necko-reviewers
Added in some code to expose the path to the os default application. Tested via tests on Windows. Mac and Linux will use the nsMIMEInfoImpl which will supply the functionality for them and be tested with the auto-tests.

Differential Revision: https://phabricator.services.mozilla.com/D204306
2024-03-13 16:24:50 +00:00
Michael Hughes
826b0f1e77 Bug 1884265 - Expose pretty ApplicationName from the registry to file handlers r=nalexander,necko-reviewers,barret,valentin
Some code to exercise this in the browser console:

```
{
  const printNames = async (appList) => {
    let buffer = "Start:\n";

    for (let index = 0; index < appList4.length; index++) {
      let app = appList4.queryElementAt(index, Ci.nsILocalHandlerApp);
      buffer += app.executable.leafName;
      buffer += "\n";
    }

    buffer += "\n";

    for (let index = 0; index < appList4.length; index++) {
      let app = appList4.queryElementAt(index, Ci.nsILocalHandlerApp);
      let prettyName = await app.prettyNameAsync();
      buffer += prettyName;
      buffer += "\n";
    }

    buffer += "\n";

    for (let index = 0; index < appList4.length; index++) {
      let app = appList4.queryElementAt(index, Ci.nsILocalHandlerApp);
      buffer += app.executable.displayName;
      buffer += "\n";
    }

    buffer += "\n";

    for (let index = 0; index < appList4.length; index++) {
      let app = appList4.queryElementAt(index, Ci.nsILocalHandlerApp);
      if (AppConstants.platform == "win") {
      	let file = app.executable;
        if (file instanceof Ci.nsILocalFileWin) {
          try {
          	buffer += file.getVersionInfoField("FileDescription");
          } catch (e) {
          }
        }
      }
      buffer += "\n";
    }

    buffer += "\nEnd\n";

    console.log(buffer);
  };

  const lazy4 = {};

  XPCOMUtils.defineLazyServiceGetters(lazy4, {
    gMIMEService: ["@mozilla.org/mime;1", "nsIMIMEService"],
  });

  let mimeInfo4 = lazy4.gMIMEService.getFromTypeAndExtension("text/html", "html");

  if (mimeInfo4.hasDefaultHandler) {
    console.log(`HasDefaultHandler = true`);
    console.log(`Description = ${mimeInfo4.defaultDescription}`);
  } else {
    console.log(`HasDefaultHandler = false`);
  }

  let appList4 = mimeInfo4.possibleLocalHandlers || [];
  console.log("appList4 = ");
  console.log(JSON.stringify(appList4));

  printNames(appList4);
}
```

That produces output that can be seen in a pretty form here:
https://docs.google.com/spreadsheets/d/1OvtrZgMlPMJO4Wgu6wwAYvm89orj9HdS_tsDxYn7yrA/edit#gid=0

This does not fix-up things so that all calls to getName() on the LocalHandlerApp are switched to prettyNameAsync. That work is tracked here: https://bugzilla.mozilla.org/show_bug.cgi?id=1884267

Differential Revision: https://phabricator.services.mozilla.com/D203876
2024-03-13 16:24:49 +00:00
Hanna Jones
a4a243ca63 Bug 1828737 - upgrade to Storybook V7 r=reusable-components-reviewers,tgiles
This patch upgrades Storybook to the latest version. Had to do a decent bit of hacking around with our customizations to get them to keep working. Probably the biggest change was we now have to use an [indexer](https://storybook.js.org/docs/api/main-config-indexers) for our markdown stories, and in order to get the information we need we have to do the same transformations that we do in the loader. For that reason I moved a lot of the loader logic out into a utils file. It feels pretty redundant to have the loader and the indexer...but I'm not sure if there's an alternative right now.

Also worth noting - I turned off the auto generated docs in favor of our READMEs, which I added args tables to. We don't have these for all our components yet, so we might want to file bugs to start adding them. If we would prefer to keep those docs pages for now I think I can configure Storybook to keep generating them

Differential Revision: https://phabricator.services.mozilla.com/D197218
2024-03-13 16:22:05 +00:00
Kershaw Chang
16a0b5bd72 Bug 1882863 - Neqo v0.7.2, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D204488
2024-03-13 16:18:45 +00:00
Emilio Cobos Álvarez
7ebfa77507 Bug 1882091 - Use scrolled rect minus padding to contain sticky children. r=TYLin
I think this makes sense now that the padding is included in the
scrollable overflow area.

Differential Revision: https://phabricator.services.mozilla.com/D204354
2024-03-13 16:16:42 +00:00
Erich Gubler
b5225f4bb4 Bug 1883810: fix(webgpu): don't enqueue OffscreenCanvases for presentation
Differential Revision: https://phabricator.services.mozilla.com/D203960
2024-03-13 16:03:11 +00:00
Erich Gubler
1a670cacb4 Bug 1883810: refactor(webgpu): subvert/targetContext/presentationContext for CommandEncoders r=webgpu-reviewers,jimb
Differential Revision: https://phabricator.services.mozilla.com/D203959
2024-03-13 16:03:11 +00:00
Fred Chasen
c35973d8c9 Bug 1884995 - Add BackupResource abstract class. r=mconley,backup-reviewers
Adds a `BackupResource` abstract class to be extended by more specific resource handlers and a `BackupResources` module which resources can be registered with.

The BackupResource base includes helpers to get the size of files and directories.

All registed resources will be provided to the `BackupService` constructor for it instantiate them.

Differential Revision: https://phabricator.services.mozilla.com/D203795
2024-03-13 16:02:07 +00:00
andrej
109bb25545 Bug 1880309 - Update documentation to include environment variable and --noinstall flags. r=perftest-reviewers,afinder,sparky
Adding logic so that when you submit --noinstall you do not first uninstall mobile browser in question, and to print better error messaging to notify users that their package has been uninstalled. This should improve clarity and make it more clear what to do to avoid this situation again

Differential Revision: https://phabricator.services.mozilla.com/D203845
2024-03-13 15:30:40 +00:00
Ryan VanderMeulen
06f3135863 Bug 1884931 - Upgrade to SQLite 3.45.2. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D204358
2024-03-13 15:21:08 +00:00
Iain Ireland
fb1276fbe3 Bug 1884706: Fix prop count limit r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D204291
2024-03-13 15:09:27 +00:00
Mike Conley
f35019f3d9 Bug 1884407 - Add a probe to measure free disk space on the profile directory storage device. data-review=jhirsch r=fchasen,kpatenio,backup-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D204094
2024-03-13 14:59:34 +00:00
Mark Banner
660bc76c37 Bug 1885121 - Fix a few more tests that are broken with search-config-v2 enabled. r=mcheang
Differential Revision: https://phabricator.services.mozilla.com/D204500
2024-03-13 14:51:07 +00:00
Mark Banner
786d8cbb78 Bug 1884705 - Add a function to allow getting attachments from the cache or dumps without downloading them. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D204260
2024-03-13 14:51:06 +00:00
Mark Banner
126357c138 Bug 1882577 - Make nsISearchEngine.getIconURL an async function. r=search-reviewers,extension-reviewers,settings-reviewers,robwu,mcheang,mak
Differential Revision: https://phabricator.services.mozilla.com/D203026
2024-03-13 14:51:06 +00:00
Joel Maher
2d877a875e Bug 1884982 - disable toolkit/components/antitracking/test/browser/browser-blocking on debug due to extremely long runtime. r=aryx,anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D204382
2024-03-13 14:29:36 +00:00