Commit graph

750 commits

Author SHA1 Message Date
stransky
398cb0f7cc Bug 1851393 [Linux] Update distro related instructions and files for Firefox GNOME Search provider service r=emilio DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D189359
2023-09-27 10:39:08 +00:00
Tom Marble
d596ebea8e Bug 1853243 - convert .ini manifests to .toml: batch 5 browser/**/browser.ini r=jmaher,mossop,webcompat-reviewers,twisniewski,search-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D188427
2023-09-21 22:47:07 +00:00
Masatoshi Kimura
1be02e87d5 Bug 1852806 - Remove macros for older Windows SDK from browser/components/shell/. r=nalexander
Depends on D188019

Differential Revision: https://phabricator.services.mozilla.com/D188020
2023-09-15 03:19:26 +00:00
Cosmin Sabou
f8c16a8f94 Backed out 15 changesets (bug 1852806) for causing mda failures on test_video_low_power_telemetry.html. CLOSED TREE
Backed out changeset faea1f4cb9a9 (bug 1852806)
Backed out changeset 4db93c374f9b (bug 1852806)
Backed out changeset 7e40e0e04921 (bug 1852806)
Backed out changeset b0a66c4269ce (bug 1852806)
Backed out changeset 4ff3545936f9 (bug 1852806)
Backed out changeset 02c0a8eb3fd6 (bug 1852806)
Backed out changeset ae2c7b33acfb (bug 1852806)
Backed out changeset 2b89ba254a1a (bug 1852806)
Backed out changeset dfa4f73fc548 (bug 1852806)
Backed out changeset daffcc4c1877 (bug 1852806)
Backed out changeset 33855bcdf15e (bug 1852806)
Backed out changeset 694f29707f3e (bug 1852806)
Backed out changeset 1891eda22a59 (bug 1852806)
Backed out changeset 1b854941389c (bug 1852806)
Backed out changeset 2f7cfe04be59 (bug 1852806)
2023-09-15 09:48:27 +03:00
Masatoshi Kimura
ecc9aa05c7 Bug 1852806 - Remove macros for older Windows SDK from browser/components/shell/. r=nalexander
Depends on D188019

Differential Revision: https://phabricator.services.mozilla.com/D188020
2023-09-15 03:19:26 +00:00
Masatoshi Kimura
f65b99f594 Bug 1852881 - Stop using MockRegistrar in browser_setDefaultPDFHandler.js. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D188075
2023-09-13 18:22:24 +00:00
Masatoshi Kimura
1cbf60617c Bug 1850631 - Call nsIDefaultAgent directly to set default. r=nrishel,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D187853
2023-09-13 03:18:46 +00:00
Masatoshi Kimura
d6ead03f0c Bug 1852412 - Convert set user choice error types to nsresult. r=nrishel
Differential Revision: https://phabricator.services.mozilla.com/D187849
2023-09-12 03:26:52 +00:00
stransky
38f9f16b30 Bug 1852503 [Linux] Fall back to dbus_gmain_set_up_connection() handler r=emilio,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D187875
2023-09-11 10:22:54 +00:00
Masatoshi Kimura
702a789097 Bug 1851596 - await _handleWDBAResult. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D187845
2023-09-10 06:44:06 +00:00
Norisz Fay
0453721e9c Backed out changeset df18c9cb1487 (bug 1851596) for causing mochitest failure on browser_setDefaultBrowser.js CLOSED TREE 2023-09-10 03:04:19 +03:00
Masatoshi Kimura
a5e528b625 Bug 1851596 - await _handleWDBAResult. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D187845
2023-09-09 23:15:51 +00:00
Stanca Serban
17fb8bac17 Backed out changeset 50b448b2d902 (bug 1532281) for causing Linux build bustages. CLOSED TREE 2023-09-05 11:38:18 +03:00
stransky
60dc5e2272 Bug 1532281 [Linux] Don't build with dbus-glib r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D187208
2023-09-05 08:14:21 +00:00
stransky
b4ec72f9cf Bug 1848590 [Linux] Don't use dbus_connection_setup_with_g_main() in nsGNOMEShellSearchProvider r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D187204
2023-09-04 07:30:42 +00:00
Gregory Pappas
3eac12bbd7 Bug 1845311 - Use ChromeUtils.defineLazyGetter in more places r=arai,webdriver-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,joschmidt,robwu,issammani,bytesized,owlish,dao
Differential Revision: https://phabricator.services.mozilla.com/D184481
2023-07-26 16:28:11 +00:00
Masatoshi Kimura
016a8659db Bug 1844908 - Remove pre-Win10-specific codepath from browser/components/shell/. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D184288
2023-07-26 08:52:50 +00:00
Natalia Csoregi
72a7b95555 Backed out 19 changesets (bug 1844908) for causing win bustage on AvailableMemoryTracker.cpp. CLOSED TREE
Backed out changeset 44c66f2233cf (bug 1844908)
Backed out changeset a8010ff534bf (bug 1844908)
Backed out changeset 225dc3aeb220 (bug 1844908)
Backed out changeset a1414db64e33 (bug 1844908)
Backed out changeset 7f1e0a527839 (bug 1844908)
Backed out changeset 6dc7646d1ffa (bug 1844908)
Backed out changeset 8d715131510f (bug 1844908)
Backed out changeset 4b6fe8a4e7db (bug 1844908)
Backed out changeset 2b419fabf1e8 (bug 1844908)
Backed out changeset af84e701d616 (bug 1844908)
Backed out changeset 2fa203969ec5 (bug 1844908)
Backed out changeset 2b3d2df94db3 (bug 1844908)
Backed out changeset 7eca452f5fd7 (bug 1844908)
Backed out changeset 3d961cf25afe (bug 1844908)
Backed out changeset 3c59143f8dd7 (bug 1844908)
Backed out changeset ab50c6c5425a (bug 1844908)
Backed out changeset b2c5636df673 (bug 1844908)
Backed out changeset e9a0f1c6760c (bug 1844908)
Backed out changeset 945ccbedde0b (bug 1844908)
2023-07-25 19:55:35 +03:00
Masatoshi Kimura
7cbd373ca5 Bug 1844908 - Remove pre-Win10-specific codepath from browser/components/shell/. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D184288
2023-07-25 14:41:01 +00:00
Nipun Shukla
af30c5d2b7 Bug 1787552 - Added check to see if taskbar pin already exists before pinning in PinCurrentAppToTaskbarWin10 r=nrishel
Differential Revision: https://phabricator.services.mozilla.com/D180378
2023-06-12 22:13:53 +00:00
Masatoshi Kimura
ab7517d7bc Bug 1837735 - Prefer to registeredAppUser to improve success rate. r=nalexander
This is not 100% reliable, but it seems to have enough time to run
helper.exe before Default Apps Settings page scans the registry.
And I don't think we should make `LaunchHelper` synchromous just for
this unusual (zip build) case, especially when the fallback (top of
Default Apps) is good enough.

Differential Revision: https://phabricator.services.mozilla.com/D180533
2023-06-10 16:01:43 +00:00
Masatoshi Kimura
08d20bb131 Bug 1835992 - Use a new deep-link API to open Default Apps dialog on Windows 11. r=nalexander
We have to bump `MaxVersionTested` in `AppxManifest.xml` to reindex the app. See
https://learn.microsoft.com/en-us/windows/uwp/launch-resume/launch-default-apps-settings
for details.

Differential Revision: https://phabricator.services.mozilla.com/D179543
2023-06-08 09:02:31 +00:00
stransky
9a1b53a51b Bug 1835135 [Linux] Use XREAppData::GetDBusAppName() to create Gnome shell search provider DBus name/path r=emilio
Depends on D179203

Differential Revision: https://phabricator.services.mozilla.com/D179432
2023-05-30 12:14:58 +00:00
stransky
9d93ed077e Bug 1835135 [Linux] Set correct application name to Gnome search provider r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D179203
2023-05-30 12:14:58 +00:00
stransky
b6cc9ff63c Bug 1835631 [Linux] Pass correct array size to ConstructCommandLine() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D179354
2023-05-29 12:39:03 +00:00
Mark Banner
130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Barret Rennie
da4357ee28 Bug 1832132 - Correctly report success in BROWSER_SET_DEFAULT_USER_CHOICE_RESULT r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D177537
2023-05-10 16:41:01 +00:00
anwar
1dbd9bffb3 Bug 1829673 - Put all mochitest test manifest files under browser/components into alphabetical order. r=mconley,extension-reviewers,credential-management-reviewers,dimi,robwu
Differential Revision: https://phabricator.services.mozilla.com/D176459
2023-05-02 16:13:24 +00:00
Bilal
b7d19f4f6d Bug 1816999 - ESMified browser/components/shell. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D175274
2023-04-14 16:59:15 +00:00
Barret Rennie
a85bf46599 Bug 1788954 - Convert toolkit/components/nimbus to ES modules r=Standard8,pip-reviewers,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D172850
2023-03-30 20:51:58 +00:00
CanadaHonk
91709586ba Bug 1801379 - Migrate Sinon.jsm to an ES module r=extension-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,fxview-reviewers,devtools-reviewers,Standard8,nchevobbe,sclements,dimi,mconley,bytesized,robwu
Migrated `testing/modules/Sinon.sys.mjs` to an ES module.

`testing` should now be 100% ESM 🎉

Differential Revision: https://phabricator.services.mozilla.com/D173643
2023-03-29 07:34:10 +00:00
Mark Banner
4a729cf9d7 Bug 1824173 - Automatically fix some ESLint issues raised by the valid-jsdoc configuration. r=mossop,webcompat-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D173450
2023-03-24 19:35:24 +00:00
Gijs Kruitbosch
a30f9a5843 Bug 1824095 - rename savePrivacyAwareURI to saveURI, r=mtigley
Depends on D173432

Differential Revision: https://phabricator.services.mozilla.com/D173433
2023-03-24 11:54:45 +00:00
Gijs Kruitbosch
0163c6cdcc Bug 1824095 - remove obsolete saveURI API in favour of savePrivacyAwareURI, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D173432
2023-03-24 11:54:44 +00:00
Emilio Cobos Álvarez
7d6d74bb92 Bug 1823686 - Add one more missing include.
MANUAL PUSH: Trivial bustage fix CLOSED TREE
2023-03-22 16:43:52 +01:00
Barret Rennie
65ff891284 Bug 1821644 - Set ShellService default log level to error r=nalexander
The associated comment says to set this value to debug when developing to get
more logging, but it appears it was accidentally left set to debug when
committing.

Differential Revision: https://phabricator.services.mozilla.com/D172291
2023-03-14 19:52:58 +00:00
Barret Rennie
174da7f10d Bug 1820642 - Fix intermittent in browser_setDefaultPDFHandler.js r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D171794
2023-03-08 18:38:46 +00:00
Barret Rennie
9a989eba44 Bug 1805509 - Add ShellService.setAsDefaultPDFHandler r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D169817
2023-03-06 20:10:56 +00:00
Barret Rennie
557a9c54ab Bug 1805511 - Add targeting for default PDF and HTML handlers r=nalexander,omc-reviewers,emcminn
This also fixes a bug in ASRouter devtools that prevented evaluation of
expressions containing nested promises. Objects containing promises are now
correctly serialized to the ASRouter devtools and expressions evaluate
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D169408
2023-03-06 20:10:55 +00:00
Sandor Molnar
bf87798f51 Backed out 4 changesets (bug 1805511, bug 1805509) for causing bc and xpc failures. CLOSED TREE
Backed out changeset 31a8dcad0d88 (bug 1805509)
Backed out changeset 3dd1735b85fa (bug 1805509)
Backed out changeset 87641a6eee2b (bug 1805509)
Backed out changeset e5bd4ad558f2 (bug 1805511)
2023-03-02 23:26:06 +02:00
Barret Rennie
eec9f6d959 Bug 1805509 - Add ShellService.setAsDefaultPDFHandler r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D169817
2023-03-02 20:33:22 +00:00
Barret Rennie
4ee24e27d8 Bug 1805511 - Add targeting for default PDF and HTML handlers r=nalexander,omc-reviewers,emcminn
This also fixes a bug in ASRouter devtools that prevented evaluation of
expressions containing nested promises. Objects containing promises are now
correctly serialized to the ASRouter devtools and expressions evaluate
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D169408
2023-03-02 20:33:21 +00:00
Sandor Molnar
dcf64fc565 Backed out 4 changesets (bug 1805509, bug 1805511) for causing node newtab failures. CLOSED TREE
Backed out changeset 1c1d335d4ef5 (bug 1805509)
Backed out changeset 0bf2579bccd7 (bug 1805509)
Backed out changeset a87f459f2caa (bug 1805509)
Backed out changeset ae16a9890f22 (bug 1805511)
2023-03-02 21:03:45 +02:00
Barret Rennie
c87b42b8c1 Bug 1805509 - Add ShellService.setAsDefaultPDFHandler r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D169817
2023-03-02 18:27:14 +00:00
Barret Rennie
42b3aa3286 Bug 1805511 - Add targeting for default PDF and HTML handlers r=nalexander,omc-reviewers,emcminn
This also fixes a bug in ASRouter devtools that prevented evaluation of
expressions containing nested promises. Objects containing promises are now
correctly serialized to the ASRouter devtools and expressions evaluate
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D169408
2023-03-02 18:27:13 +00:00
Gijs Kruitbosch
9e07759558 Bug 1810141 - fix loadURI callers that already have an nsIURI reference or where creating one is clearly safe, r=mossop,geckoview-reviewers,extension-reviewers,settings-reviewers,mconley,m_kato
There are 3 types of changes in this commit:

- from `loadURI(foo.spec)` to `loadURI(foo)`, as there's already a URI
- from `loadURI("string")` to `loadURI(Services.io.newURI("string"))` as the URL is hardcoded
- one or two where there is perhaps an intermediate variable but the patch
  context should still make it trivial to ascertain the change is correct.

Depends on D168393

Differential Revision: https://phabricator.services.mozilla.com/D168394
2023-02-13 23:50:40 +00:00
Cristina Horotan
5f4356e527 Backed out 9 changesets (bug 1810141) for several test failures on a CLOSED TREE
Backed out changeset 8781a0d1254d (bug 1810141)
Backed out changeset 131037295784 (bug 1810141)
Backed out changeset 3852fbe290f4 (bug 1810141)
Backed out changeset 118f131a524a (bug 1810141)
Backed out changeset ab5d76846e10 (bug 1810141)
Backed out changeset dce3aa683445 (bug 1810141)
Backed out changeset 4dc41d90dbb3 (bug 1810141)
Backed out changeset 50b57ba1a061 (bug 1810141)
Backed out changeset 569de94781e4 (bug 1810141)
2023-02-13 16:05:30 +02:00
Gijs Kruitbosch
6add9ed34d Bug 1810141 - fix loadURI callers that already have an nsIURI reference or where creating one is clearly safe, r=mossop,geckoview-reviewers,extension-reviewers,settings-reviewers,mconley,m_kato
There are 3 types of changes in this commit:

- from `loadURI(foo.spec)` to `loadURI(foo)`, as there's already a URI
- from `loadURI("string")` to `loadURI(Services.io.newURI("string"))` as the URL is hardcoded
- one or two where there is perhaps an intermediate variable but the patch
  context should still make it trivial to ascertain the change is correct.

Depends on D168393

Differential Revision: https://phabricator.services.mozilla.com/D168394
2023-02-13 12:55:24 +00:00
Gijs Kruitbosch
efef52fc92 Bug 1795255 - autofix duplicate imports in tests under browser/, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D166179
2023-01-31 11:48:41 +00:00