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

909080 Коммитов

Автор SHA1 Сообщение Дата
David Shin 0ed15605fb Bug 1882581: Implement `@scope` parsing. r=firefox-style-system-reviewers,saschanaz,emilio
Differential Revision: https://phabricator.services.mozilla.com/D203153
2024-03-18 18:31:18 +00:00
kpatenio dbaadf8bff Bug 1883642 - Add disk size measurements for places.sqlite and favicons.sqlite. r=backup-reviewers,places-reviewers,mconley,mak
Differential Revision: https://phabricator.services.mozilla.com/D204528
2024-03-18 18:31:10 +00:00
Titouan Thibaud 8d0927f8cf Bug 1881762 - Update hgignore to ignore Android build and generated folders r=firefox-build-system-reviewers,ahochheiden,pollymce
Differential Revision: https://phabricator.services.mozilla.com/D202585
2024-03-18 18:26:48 +00:00
Julien Cristau 270a9b387c Bug 1885905 - add android-gradle-python-envs toolchain dependency to gv-docs and searchfox indexing. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D204920
2024-03-18 18:26:23 +00:00
owlishDeveloper 7ca62c8a00 Bug 1714655 - Enable reftests for Android with Fission r=emilio,layout-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D204829
2024-03-18 18:18:22 +00:00
Tom Marble d6f34a00a8 Bug 1880571 - mach manifest skip-fails: initial WPT support r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D203038
2024-03-18 18:13:55 +00:00
Titouan Thibaud 8f6d3e4f32 Bug 1885890 - Increase the warning limit on docs/config.yml after firefox-android was added into mc r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D204935
2024-03-18 18:07:55 +00:00
Roger Yang c7951b71f2 Bug 1885965 - Start the Nightly 126 development cycle. r=tthibaud,android-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D204953
2024-03-18 18:06:06 +00:00
Benjamin VanderSloot 8ec81c4a4b Bug 1884176 - Fix warning log pollution by handling system principals gracefully - r=anti-tracking-reviewers,pbz
I'm not sure when this started happening, but I noticed it while running a debug build this week

Differential Revision: https://phabricator.services.mozilla.com/D203930
2024-03-18 18:00:05 +00:00
Mike Conley 316cb226b4 Bug 1885366 - Add BackupResource to the backups source docs. r=backup-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D204824
2024-03-18 17:54:19 +00:00
Alex 28e7b97eeb Bug 1729044 - Remove ipdl support for intr r=ipc-reviewers,nika
This removes intr support and updates some stale docs as well.

It's not immediately clear what code in MessageChannel can be removed,
though I expect some things could be simplified (there's just not much
alluding to intr/rpc/urgent).

Differential Revision: https://phabricator.services.mozilla.com/D204813
2024-03-18 17:23:26 +00:00
Alex 6c8a0020a5 Bug 1236717 - Remove unused/unmigrated IPDL tests r=ipc-reviewers,nika
The tests we want to keep have been migrated to gtests and are run by
default.

Differential Revision: https://phabricator.services.mozilla.com/D204818
2024-03-18 17:12:25 +00:00
Neil Deakin e94e76f935 Bug 1881582, implement the address autofill warning on the popup as a separate row and remove the implementation based on the custom class MozAutocompleteProfileListitemFooter, r=credential-management-reviewers,fluent-reviewers,desktop-theme-reviewers,reusable-components-reviewers,mstriemer,bolsson,sgalich,dao
Differential Revision: https://phabricator.services.mozilla.com/D202750
2024-03-18 16:34:20 +00:00
Neil Deakin 1e83118947 Bug 1881582, handle disabled richlistitems in autocomplete popup, r=mstriemer,reusable-components-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D202749
2024-03-18 16:34:20 +00:00
Neil Deakin 189a4abdcc Bug 1881582, replace the Manage button in the address/credit card autocomplete dropdown with a simpler implementation based on MozAutocompleteTwoLineRichlistitem, r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D202748
2024-03-18 16:34:19 +00:00
Neil Deakin 640dbdabd3 Bug 1881582, replace MozAutocompleteProfileListitemClearButton with an implementation based on the generic MozAutocompleteTwoLineRichlistitem type, r=credential-management-reviewers,fluent-reviewers,bolsson,tgiles,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D202747
2024-03-18 16:34:19 +00:00
Ryan VanderMeulen ee119294d3 Bug 232598 - Fix up browser_doorhanger_generated_password.js on a CLOSED TREE 2024-03-18 19:57:01 -04:00
Ryan VanderMeulen 5290d46acd Backed out changesets 058c273a5de4 and 0febedb51783 for landing with the wrong bug number in the commit message. 2024-03-18 21:59:15 -04:00
Ryan VanderMeulen 1313a6bd5e Bug 235598 - Fix up browser_doorhanger_generated_password.js in one more spot on a CLOSED TREE 2024-03-18 21:31:42 -04:00
Ryan VanderMeulen 87a2b0ae6f Backed out changeset 102fa1186f2a (bug 1884265) for non-unified build bustage and test_getFromTypeAndExtension.js failures. 2024-03-18 21:55:00 -04:00
Ryan VanderMeulen 0b0d324f62 Bug 235598 - Fix up browser_doorhanger_generated_password.js on a CLOSED TREE 2024-03-18 19:57:01 -04:00
Natalia Csoregi 0966936562 Backed out changeset 7b609d9f295f (bug 1883590) for causing failures on browser_all_files_referenced.js CLOSED TREE 2024-03-18 23:08:11 +02:00
Iulian Moraru 118f345b52 Backed out 3 changesets (bug 1877783) for causing build bustages on InvalidatingFuse.cpp. CLOSED TREE
Backed out changeset c1da79d02df4 (bug 1877783)
Backed out changeset a976412c150b (bug 1877783)
Backed out changeset fa997516cf0f (bug 1877783)
2024-03-18 22:49:21 +02:00
Michael Hughes d4689a98d0 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-18 16:18:27 +00:00
Emilio Cobos Álvarez 41e4f3309f Bug 1885933 - Simplify how we get the backdrop state on titlebar buttons. r=stransky
This is the bit we use for styling and everything else.

Differential Revision: https://phabricator.services.mozilla.com/D204939
2024-03-18 16:16:58 +00:00
Otto Länd 59c267ef4b Bug 1787526: apply code formatting via Lando
# ignore-this-changeset
2024-03-18 20:23:33 +00:00
Jon Coppeard 20e498478d Bug 1787526 - Part 21: Add JS API test for semispace nursery collection r=sfink
Also disable semispace nusery collection in a few JS API tests where it causes them to fail.

Differential Revision: https://phabricator.services.mozilla.com/D196454
2024-03-18 16:13:59 +00:00
Jon Coppeard 78f24c18ed Bug 1787526 - Part 20: Disable semispace nursery collection in some tests where it causes a problem r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D196453
2024-03-18 16:13:59 +00:00
Jon Coppeard 75fa941c84 Bug 1787526 - Part 19: Fix freeing LIFO chunks for semispace nursery collection r=sfink
We use a second list so that blocks to be freed go for two nursery collections
before being freed, unless we're evicting the whole nursery.

I had to suffle things around at the start of GC so that we always start a
background free for the blocks queued by purgeRuntime().

Differential Revision: https://phabricator.services.mozilla.com/D196452
2024-03-18 16:13:58 +00:00
Jon Coppeard 0df46ac25a Bug 1787526 - Part 18: Browser integration for semispace nursery r=sfink
This filters CycleCollectedRuntime::mNurseryObjects so that only objects that
have died are finalized, and objects promoted to the second nursery generation
remain. Also a post barrier is added when updating a wrapper cache object.

I'll ask Andrew for review on this too when it gets closer to landing.

Differential Revision: https://phabricator.services.mozilla.com/D196451
2024-03-18 16:13:58 +00:00
Jon Coppeard b8cb611338 Bug 1787526 - Part 17: Fix sweeping array buffer inner view objects r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D196450
2024-03-18 16:13:57 +00:00
Jon Coppeard c70b9fe761 Bug 1787526 - Part 16: Fix handling of string to atom cache r=sfink
The atom cache is cleared after minor GC. Arguably we should sweep it instead
to leave strings that were promoted to the second nursery generation. I don't
know how important this is.

Differential Revision: https://phabricator.services.mozilla.com/D196449
2024-03-18 16:13:57 +00:00
Jon Coppeard 9d92389680 Bug 1787526 - Part 15: Make pretenuring work with a semispace nursery r=sfink
This looks at promotion to the second nursery generation when deciding whether
to pretenure an alloc site (rather than promotion to the tenure heap as
currently).

Differential Revision: https://phabricator.services.mozilla.com/D196448
2024-03-18 16:13:56 +00:00
Jon Coppeard 5c03d49036 Bug 1787526 - Part 14: Sweep nursery entries in NurseryAwareHashMap r=sfink
This sweeps the nursery entries in the NurseryAwareHashMap after minor GC
rather than just clearing them.

Differential Revision: https://phabricator.services.mozilla.com/D196447
2024-03-18 16:13:56 +00:00
Jon Coppeard 7a16bca4e9 Bug 1787526 - Part 13: Update JS Map/Set object handling of nursery objects r=sfink
Without a doubt this was the hardest part to get working.

Differential Revision: https://phabricator.services.mozilla.com/D196446
2024-03-18 16:13:56 +00:00
Jon Coppeard dddae93197 Bug 1787526 - Part 12: Fix TypedArrayObject move hook now we can't assume the destination object is tenured r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D196445
2024-03-18 16:13:55 +00:00
Jon Coppeard 438e3b38c2 Bug 1787526 - Part 11: Add ChunkKind to the chunk header and use it to optimise Nursery::inCollectedRegion r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D196444
2024-03-18 16:13:55 +00:00
Jon Coppeard dd3f060f72 Bug 1787526 - Part 10: Move wasm trailer block data into Nursery::Space r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D196443
2024-03-18 16:13:54 +00:00
Jon Coppeard 37d46e8651 Bug 1787526 - Part 9: Move malloced buffer set into Nursery::Space r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D196442
2024-03-18 16:13:53 +00:00
Jon Coppeard 7f500aef96 Bug 1787526 - Part 8: Rename references to nursery collection 'tenuring' things to 'promotion' r=sfink
Since we won't always be tenuring things this renames use of the term
during nursery collection to 'promotion' instead.

I haven't yet renamed TenuringTracer. Naming suggestions welcome.

Differential Revision: https://phabricator.services.mozilla.com/D196441
2024-03-18 16:13:53 +00:00
Jon Coppeard b5d2dbcf9a Bug 1787526 - Part 7: Implement semispace nursery r=sfink
Implement semispace nursery by promoting some cells to a second nursery
generation. Since we've swapped semispaces and are evicting from-space to
to-sapce, promotion works like normal allocation. In the same way, swapping
store buffers makes post barriers also work like normal.

While tracing store buffers, we may need to re-add the store buffer entry. The
TenuringTrace has a flag that is set if any allocation is made into the next
generation which is used to check whether this is necessary.

Whether to tenure a particular nursery cell is based on its position in the
nursery. Cells that were promoted in the last collection are tenured.

Sometimes we tenure everything and totally empty the nursery. This is decided
based on the nursery collection reason. The GC uses the EVICT_NURSERY reason
to make sure everything is tenured during major GC.

Differential Revision: https://phabricator.services.mozilla.com/D196440
2024-03-18 16:13:52 +00:00
Jon Coppeard 3f65f2a839 Bug 1787526 - Part 6: Switch between nursery spaces on collection r=sfink
This pushes a bunch of methods into the Space struct doesn't have much effect
beyond alterating between the semispaces.

Differential Revision: https://phabricator.services.mozilla.com/D196438
2024-03-18 16:13:52 +00:00
Jon Coppeard 7b32b5ef20 Bug 1787526 - Part 5: Allocate chunks to both nursery spaces if semispace collection is enabled r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D196435
2024-03-18 16:13:52 +00:00
Jon Coppeard 29a0b81130 Bug 1787526 - Part 4: Add a from space r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D196434
2024-03-18 16:13:51 +00:00
Jon Coppeard 800715b4c1 Bug 1787526 - Part 3: Add a nursery space abstraction r=sfink
This moves a bunch of nursery data fields to a new Space struct. We will add a
second one of these to support semispace collection.

Differential Revision: https://phabricator.services.mozilla.com/D196433
2024-03-18 16:13:51 +00:00
Jon Coppeard 67031fa059 Bug 1787526 - Part 2: Disconnect nursery capacity and max chunk count r=sfink
Store these separately because the number of chunks will be per semispace and
the capacity will be the total for both semispaces when semispace collection is
enabled.

Differential Revision: https://phabricator.services.mozilla.com/D196432
2024-03-18 16:13:50 +00:00
Jon Coppeard 2ae057efaf Bug 1787526 - Part 1: Add configuration for semispace nursery r=sfink
Add a GC parameter and pref for semispace nursery which is disabled by default.

Enable it for the shell rootanalysis job to get get some test coverage.

Differential Revision: https://phabricator.services.mozilla.com/D196431
2024-03-18 16:13:50 +00:00
Gabriel Bustamante 0ab737bb68 Bug 1880549 - Add AArch64/ARM64 Linux workers to the taskcluster configuration r=releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D204794
2024-03-18 16:11:10 +00:00
Tim Giles ed73c8e932 Bug 1833947 - Add Android section, highlight default options in quick ref doc. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D204826
2024-03-18 16:05:28 +00:00
Sarah Clements a0d0ebacb3 Bug 1861555 - Change browser.sessionstore.max_windows_undo limit to 5 r=sessionstore-reviewers,sfoster,dao
Differential Revision: https://phabricator.services.mozilla.com/D201230
2024-03-18 15:52:31 +00:00