Commit Graph
235 Commits
Author SHA1 Message Date
Dale Harvey 62417c185e Bug 2046168 - Use moz-src for pictureinpicture. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D305682
2026-06-11 11:39:28 +00:00
Johannes Salas Schmidt 4e16248db8 Bug 2022270 - Regenerate XPCOM typelibs after removing sync login APIs r=dimi
Update the generated TypeScript declarations to reflect the removed
synchronous nsILoginManager methods. Unrelated drift picked up by
`mach ts update` was reverted so this only reflects the login API change.

Differential Revision: https://phabricator.services.mozilla.com/D305168
2026-06-10 11:42:45 +00:00
Mark Banner 20ff21134b Bug 2044457 - Report total of installed search engines and their types to telemetry. r=search-reviewers,scunnane
This reports the numbers of each type of visible search engine to telemetry. It also reports the counts of disabled and hidden search engines as well.

Differential Revision: https://phabricator.services.mozilla.com/D304477
2026-06-04 08:52:21 +00:00
Moritz Beier e317de55a7 Bug 2041280 - Introduce a UrlbarShared module that can be imported into system and content globals. r=Standard8,tabbrowser-reviewers,places-reviewers,urlbar-reviewers,sthompson
Differential Revision: https://phabricator.services.mozilla.com/D301733
2026-06-03 13:08:54 +00:00
Mark Banner 9d36c23974 Bug 2043555 - Regenerate TypeScript types. r=saschanaz DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D303347
2026-06-02 07:50:31 +00:00
Moritz Beier a61b5e11bd Bug 2039828 - Make it possible import UrlbarResult into content. r=urlbar-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D300762
2026-05-29 21:53:19 +00:00
Florian Zia 44de933c66 Bug 2039101 - Regenerate Glean TS definitions r=Standard8 DONTBUILD
The added metric databaseSemanticHistoryReindexTime in toolkit/components/places/metrics.yaml without regenerating the TS definitions is causing lint failures.

Differential Revision: https://phabricator.services.mozilla.com/D303307
2026-05-29 11:14:31 +00:00
Moritz Beier 31d43aafec Bug 2039298 - Move UrlbarView out of system modules. r=urlbar-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D300763
2026-05-29 11:08:11 +00:00
Rolf Rando fb46e0bc4b Bug 2039101 - Turn on native coarse bit indexing, sqlite-vec to 0.1.10 r=mak,places-reviewers,ai-platform-reviewers,mzhang,thasan
For this patch we no longer manually do the bit quantization and instead rely on built in sqlite-vec features.

Running the performance tests with manual rowLimit set to 10,000 (a typical use case) on my MacM1 semantic searching latency was reduced 3x, from 6.5 to 2.2ms. I have added one additional performance test that uses multiple different queries, because I thought one query was insufficient.

In the original we were searching 100 entries for 2 results. That is a '50x' oversample, which is being set manually each time we do a query with a special function.

Note there is also a 're-vendor' to upgrade sqlite-vec because they fixed a bug we found in the integration of this patch.

Base revision's try run: https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=193651
Local revision's try run: https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=194008

Differential Revision: https://phabricator.services.mozilla.com/D300160
2026-05-29 03:03:01 +00:00
Cristian Tuns 9153311842 Revert "Bug 2039298 - Move UrlbarView out of system modules. r=urlbar-reviewers,mak"
This reverts commit fe01fae597.
2026-05-27 20:39:59 +00:00
Cristian Tuns 57c5617f0d Revert "Bug 2039828 - Make it possible import UrlbarResult into content. r=urlbar-reviewers,Standard8" for causing mochitest failures in browser_test_selection_urlbar.js
This reverts commit 89d52d7b36.
2026-05-27 20:39:57 +00:00
Moritz Beier 89d52d7b36 Bug 2039828 - Make it possible import UrlbarResult into content. r=urlbar-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D300762
2026-05-27 19:21:03 +00:00
Moritz Beier fe01fae597 Bug 2039298 - Move UrlbarView out of system modules. r=urlbar-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D300763
2026-05-27 19:21:00 +00:00
Mark Banner 35a52635ae Bug 2040720 - Change nsIURIFixupInfo to pass the search engine id rather than the name. r=farre,search-reviewers,firefox-desktop-core-reviewers ,urlbar-reviewers,mak,scunnane
Differential Revision: https://phabricator.services.mozilla.com/D301366
2026-05-26 17:26:07 +00:00
Manuel Bucher 446ffade62 Bug 1918337 - Rename cookieBehavior BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN to BEHAVIOR_PARTITION_FOREIGN r=mkaply,extension-reviewers,devtools-reviewers,cookie-reviewers,dom-worker-reviewers,Sasha,Gijs,farre,nchevobbe,robwu,asuth,timhuang
The cookie behavior was changed in bug 1918342. Lets update the
constant name to reflect the new behavior.

This adds new string constants for enterprise policy while keeping the
old constant for backwards compatibilty.
"reject-tracker-and-partition-foreign" is now deprecated and aliases to
the new "partition-foreign"

Addons API keeps the current "reject_trackers_and_partition_foreign"[1]
string constant for compatibility.

[1]: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/privacy/websites#cookieconfig

Differential Revision: https://phabricator.services.mozilla.com/D300794
2026-05-26 15:01:08 +00:00
Nika Layzell c7c574c601 Bug 2011307 - Remove test-only support for marking chrome:// URI as needing to be loaded remotely, r=smaug,tabbrowser-reviewers,nsharpley
This feature is only used by its feature test. This patch removes the logic
completely alongside the test, which should slightly simplify process selection
logic.

Differential Revision: https://phabricator.services.mozilla.com/D282081
2026-05-21 19:23:48 +00:00
Moritz Beier 025853a936 Bug 2039297 - Move UrlbarEventBufferer out of system modules. r=urlbar-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D300339
2026-05-21 07:45:13 +00:00
agoloman b2d4fa38c5 Revert "Bug 1729352, Bug 2011326, Bug 2011307 - Isolate standard web processes by OA, r=smaug,tabbrowser-reviewers,dom-worker-reviewers,asuth,sthompson,dao,sfoster" for causing bc failures @browser_aboutURLs.js.
This reverts commit ba92fe5024.

Revert "Bug 2011326 - Part 4: Switch test_sitepolicies to a data URI, r=mossop"

This reverts commit 8eab4714b1.

Revert "Bug 2011326 - Part 3: Remove the test-only canLoadURIInRemoteType function, r=firefox-desktop-core-reviewers ,tabbrowser-reviewers,mossop,sthompson"

This reverts commit 8ce4078eed.

Revert "Bug 2011326 - Part 2: Predict remote types with ProcessIsolation, r=whimboo,geckoview-reviewers,extension-reviewers,tabbrowser-reviewers,omc-reviewers,layout-reviewers,tcampbell,robwu,sthompson,emilio,mimi"

This reverts commit df59bd116e.

Revert "Bug 2011326 - Part 1: Remove test for separatePrivilegedContentProcess=false, r=firefox-desktop-core-reviewers ,tabbrowser-reviewers,mossop,sthompson"

This reverts commit 879157d4f7.

Revert "Bug 2011307 - Remove test-only support for marking chrome:// URI as needing to be loaded remotely, r=smaug,tabbrowser-reviewers,nsharpley"

This reverts commit 2d20aa53d9.
2026-05-20 23:54:13 +00:00
Nika Layzell 2d20aa53d9 Bug 2011307 - Remove test-only support for marking chrome:// URI as needing to be loaded remotely, r=smaug,tabbrowser-reviewers,nsharpley
This feature is only used by its feature test. This patch removes the logic
completely alongside the test, which should slightly simplify process selection
logic.

Differential Revision: https://phabricator.services.mozilla.com/D282081
2026-05-20 22:45:24 +00:00
Tom Ritter b32a3d5f95 Bug 2007589: Rip out all of the unexepected script load telemetry r=Gijs,tschuster,desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D296154
2026-05-19 23:39:11 +00:00
Joe Bowser 7cddb977bc Bug 1967279 - replace wllamapreview with link-preview r=ai-platform-reviewers,thasan
Renames the link-preview engineId from "wllamapreview" to "link-preview"
  in EngineProcess.sys.mjs and metrics.yaml, with the generated
  lib.gecko.glean.d.ts updated accordingly.

  Bumps the ModelHub IndexedDB schema from version 6 to 7 to perform a
  non-destructive in-place rewrite of the engineIds field in the engines
  store. This preserves any already-downloaded model file in OPFS for
  users who used link-preview before the rename, so the new uninstall
  path (which queries by "link-preview") can still find and delete the
  row. Adds two regression tests in browser_ml_cache.js.

Differential Revision: https://phabricator.services.mozilla.com/D299369
2026-05-15 17:49:52 +00:00
Moritz Beier 221d4aa65d Bug 2036095 - Move SearchModeSwitcher out of system modules. r=urlbar-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D297652
2026-05-13 14:19:22 +00:00
rperta c2c6c88166 Revert "Bug 2011326, Bug 2011307 - Part 3: Remove the test-only canLoadURIInRemoteType function, r=firefox-desktop-core-reviewers ,tabbrowser-reviewers,mossop,sthompson" for causing xpc failures at test_sitepolicies.js
This reverts commit b0ff387a8b.

This reverts commit b0d8bab446.

This reverts commit c1a0f5aee3.

This reverts commit 7a352d2480.
2026-05-07 13:48:30 +00:00
Nika Layzell 7a352d2480 Bug 2011307 - Remove test-only support for marking chrome:// URI as needing to be loaded remotely, r=smaug,tabbrowser-reviewers,nsharpley
This feature is only used by its feature test. This patch removes the logic
completely alongside the test, which should slightly simplify process selection
logic.

Differential Revision: https://phabricator.services.mozilla.com/D282081
2026-05-06 17:36:29 +00:00
Eemeli Aro 1dbecc34bf Bug 2024854 Part 7 - Account for text content policy in CollectORBBlockTelemetry(). r=necko-reviewers,farre,janerik
Differential Revision: https://phabricator.services.mozilla.com/D295492
2026-05-06 07:24:14 +00:00
Eemeli Aro 507e17f84a Bug 2024854 Part 2 - Add "text" fetch destination. r=necko-reviewers,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D295487
2026-05-06 07:24:01 +00:00
Eemeli Aro b577fd2016 Bug 2024854 Part 1 - Add content policies for text modules. r=extension-reviewers,dom-worker-reviewers,tschuster,asuth,robwu
Differential Revision: https://phabricator.services.mozilla.com/D295486
2026-05-06 07:23:58 +00:00
Frédéric Wang Nélar 6ca818a862 Bug 2036778 - Rename HTMLOrForeignElement to HTMLOrSVGOrMathMLElement. r=emilio,webidl
See https://github.com/whatwg/html/pull/12416

Differential Revision: https://phabricator.services.mozilla.com/D298271
2026-05-05 14:02:25 +00:00
Emilio Cobos Álvarez e833a1757b Bug 2033243 - Replace ownerGlobal with documentGlobal, and stop exposing ownerGlobal to JS. r=firefox-desktop-core-reviewers ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop
Bug 2033191 made sure we only call ownerGlobal on nodes.

As per the discussion in dev-platform, the front-end ~always wants
.documentGlobal. This removes ownerGlobal from the bindings. Following
patch will rename internal GetOwnerGlobal in gecko to GetRelevantGlobal
as per the HTML spec terminology.

Differential Revision: https://phabricator.services.mozilla.com/D297183
2026-05-02 22:04:13 +00:00
iulian moraru 480fc572da Revert "Bug 2036439, Bug 2033243 - Deal with ownerGlobal -> documentGlobal rename in extensions. r=robwu,home-newtab-reviewers,mconley" for causing newtab failures.
This reverts commit 4f62279d01.

Revert "Bug 2033243 - Other miscellaneous ownerGlobal-related naming removal. r=dom-core,smaug"

This reverts commit 91a4ece356.

Revert "Bug 2033243 - BindToOwner -> BindToGlobal. r=dom-core,smaug"

This reverts commit 5a95a889e1.

Revert "Bug 2033243 - Rename GetOwnerGlobal to GetRelevantGlobal. r=dom-core,media-playback-reviewers,credential-management-reviewers,webrtc-reviewers,dom-storage-reviewers,firefox-style-system-reviewers,dimi,janv,dshin,aosmond,smaug"

This reverts commit 7177a68e67.

Revert "Bug 2033243 - Replace ownerGlobal with documentGlobal, and stop exposing ownerGlobal to JS. r=firefox-desktop-core-reviewers ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop"

This reverts commit 5263254690.
2026-05-02 16:43:35 +00:00
Emilio Cobos Álvarez 5263254690 Bug 2033243 - Replace ownerGlobal with documentGlobal, and stop exposing ownerGlobal to JS. r=firefox-desktop-core-reviewers ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop
Bug 2033191 made sure we only call ownerGlobal on nodes.

As per the discussion in dev-platform, the front-end ~always wants
.documentGlobal. This removes ownerGlobal from the bindings. Following
patch will rename internal GetOwnerGlobal in gecko to GetRelevantGlobal
as per the HTML spec terminology.

Differential Revision: https://phabricator.services.mozilla.com/D297183
2026-05-02 15:33:20 +00:00
rperta d4cc71008d Revert "Bug 2033243 - Other miscellaneous ownerGlobal-related naming removal. r=dom-core,smaug" on developer request
This reverts commit e58e122135.

This reverts commit 84ca206f3e.

This reverts commit a7945292ed.

This reverts commit 367d83d299.
2026-05-02 06:20:30 +00:00
Emilio Cobos Álvarez 367d83d299 Bug 2033243 - Replace ownerGlobal with documentGlobal, and stop exposing ownerGlobal to JS. r=firefox-desktop-core-reviewers ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop
Bug 2033191 made sure we only call ownerGlobal on nodes.

As per the discussion in dev-platform, the front-end ~always wants
.documentGlobal. This removes ownerGlobal from the bindings. Following
patch will rename internal GetOwnerGlobal in gecko to GetRelevantGlobal
as per the HTML spec terminology.

Differential Revision: https://phabricator.services.mozilla.com/D297183
2026-05-01 11:58:10 +00:00
agoloman c814da612d Revert "Bug 2033243 - Other miscellaneous ownerGlobal-related naming removal. r=dom-core,smaug" for causing multiple failures.
This reverts commit c7246654bc.

Revert "Bug 2033243 - BindToOwner -> BindToGlobal. r=dom-core,smaug"

This reverts commit 8873ddf33c.

Revert "Bug 2033243 - Rename GetOwnerGlobal to GetRelevantGlobal. r=dom-core,media-playback-reviewers,credential-management-reviewers,webrtc-reviewers,dom-storage-reviewers,firefox-style-system-reviewers,dimi,janv,dshin,aosmond,smaug"

This reverts commit 8bf999e03c.

Revert "Bug 2033243 - Replace ownerGlobal with documentGlobal, and stop exposing ownerGlobal to JS. r=firefox-desktop-core-reviewers ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop"

This reverts commit 7dea1af2e0.
2026-04-30 20:13:14 +00:00
Emilio Cobos Álvarez 7dea1af2e0 Bug 2033243 - Replace ownerGlobal with documentGlobal, and stop exposing ownerGlobal to JS. r=firefox-desktop-core-reviewers ,webidl,joschmidt,perftest-reviewers,sparky,smaug,mossop
Bug 2033191 made sure we only call ownerGlobal on nodes.

As per the discussion in dev-platform, the front-end ~always wants
.documentGlobal. This removes ownerGlobal from the bindings. Following
patch will rename internal GetOwnerGlobal in gecko to GetRelevantGlobal
as per the HTML spec terminology.

Differential Revision: https://phabricator.services.mozilla.com/D297183
2026-04-30 17:47:07 +00:00
Sylvestre Ledru 62b1ca8d05 Bug 2024589 - adjust the code: searchfox.org/mozilla-central is now redirecting to searchfox.org/firefox-main/ r=asuth,perftest-reviewers,necko-reviewers,jgraham,webcompat-reviewers,mozperftest-reviewers,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,taskgraph-reviewers,releng-reviewers,desktop-theme-reviewers,win-reviewers,translations-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,core-sessionstore-reviewers,browser-installer-reviewers,profiles-reviewers,dom-worker-reviewers,geckodriver-reviewers,ai-platform-reviewers,Sasha,niklas,manuel,janerik,bhearsum,valentin,twisniewski,nchevobbe,emcminn,webrtc-reviewers,mjf,handyman,mconley,mossop,ahal,sparky,nrishel,robwu,ohall,dimi,hjones
Differential Revision: https://phabricator.services.mozilla.com/D288623
2026-04-30 13:28:49 +00:00
rperta c1b532f543 Revert "Bug 2024854 Part 15 - Fix and enable import-text WPT tests. r=dminor" for causing python-telemetry failures
This reverts commit cdddcc0cff.

This reverts commit d818e0fa08.

This reverts commit 7fe31f22c7.

This reverts commit 9d5be194ed.

This reverts commit e0fba2c9ac.

Revert "Bug 2024854 Part 10 - Create text modules: script. r=dminor"

This reverts commit dd57815041.

This reverts commit 409b1063aa.

This reverts commit cd7afbc8ee.

This reverts commit 03b66bc4f0.

This reverts commit c1b7e2177a.

This reverts commit 4696b1602f.

This reverts commit 21f4777b22.

This reverts commit 00eab305c3.

This reverts commit 10d0e76a4f.

This reverts commit e1746ab8a2.
2026-04-29 20:12:13 +00:00
Eemeli Aro 03b66bc4f0 Bug 2024854 Part 7 - Account for text content policy in CollectORBBlockTelemetry(). r=necko-reviewers,farre
Differential Revision: https://phabricator.services.mozilla.com/D295492
2026-04-29 19:52:03 +00:00
Eemeli Aro 10d0e76a4f Bug 2024854 Part 2 - Add "text" fetch destination. r=necko-reviewers,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D295487
2026-04-29 19:51:49 +00:00
Eemeli Aro e1746ab8a2 Bug 2024854 Part 1 - Add content policies for text modules. r=extension-reviewers,dom-worker-reviewers,tschuster,asuth,robwu
Differential Revision: https://phabricator.services.mozilla.com/D295486
2026-04-29 19:51:47 +00:00
Dale Harvey fc8d117b09 Bug 2035086 - Use moz-src for dom/quota. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D296597
2026-04-27 23:03:04 +00:00
Tom Schuster 5a14c79ef1 Bug 1704114 - Parse OpenSearch XML in a browser process. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D292798
2026-04-24 16:12:13 +00:00
Mark Banner eaf16781cb Bug 2033020 - Remove the no-default-lib directive from the TypeScript dom types. r=saschanaz,search-reviewers,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D294970
2026-04-24 01:17:17 +00:00
Dale Harvey 01ebc47ff4 Bug 2034040 - Switch browser/component/customkeys to use moz-src. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D295799
2026-04-22 19:11:08 +00:00
Mark Banner f078ad0afc Bug 2031296 - Remove hardcoded NS_ERROR_* constants from JavaScript code. r=firefox-desktop-core-reviewers ,necko-reviewers,valentin,mak
Differential Revision: https://phabricator.services.mozilla.com/D293926
2026-04-14 16:08:32 +00:00
Mark Banner 856eb859c8 Bug 2031165 - Change tspaths generation to use relative paths rather than baseUri for TypeScript 6. r=mossop DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D283021
2026-04-13 16:50:40 +00:00
Moritz Beier 8f116bd19b Bug 2025900 - Part 2: Export PanelList from .mjs and create .js shim for newtab. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D291167
2026-04-10 08:04:08 +00:00
Mark Banner df24141cd4 Bug 2029976 - Remove the need to preprocess Enterprise's schema.sys.mjs by using import attributes. r=mkaply,frontend-codestyle-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D292457
2026-04-08 10:43:22 +00:00
Dale Harvey eede565535 Bug 2027523 - Convert screenshots to use moz-src. r=Gijs,devtools-reviewers,firefox-desktop-core-reviewers ,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D290737
2026-03-31 13:21:53 +00:00
Alexandra Borovova 574778d7e5 Bug 2005054 - [devtools] Extract "formatMessageParametersAndText" into a shared module to make it easier to reuse in WebDriver BiDi. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D289754
2026-03-31 09:40:31 +00:00