Commit Graph

11143 Commits

Author SHA1 Message Date
Barret Rennie
9c5e6dab31 Bug 1541508 - Use Services.env in extensions/ r=extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D160139
2022-11-25 19:09:07 +00:00
Tom Ritter
8e1c983ccd Bug 1800927: Fix the Updatebot linter and offending moz.yaml files r=ahal,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D162223
2022-11-21 19:35:16 +00:00
Shravan Narayan
5591e0b4ac Bug 1742000 - Don't call hunspell rlbox::destroy_sandbox when create_sandbox failed r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D162359
2022-11-18 20:33:22 +00:00
Mark Banner
ec76a72706 Bug 1799314 - Convert consumers of testing modules to import ES modules direct (miscellaneous). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D161917
2022-11-17 12:00:32 +00:00
Cristian Tuns
4d37cf70f1 Backed out 19 changesets (bug 1541508) for causing xpcshell failures on test_notHeadlessByDefault.js CLOSED TREE
Backed out changeset 08476fa2bc27 (bug 1541508)
Backed out changeset 0bf7514845db (bug 1541508)
Backed out changeset aa612a5e9ef7 (bug 1541508)
Backed out changeset 6bb9360473f7 (bug 1541508)
Backed out changeset b3d8e92f50c2 (bug 1541508)
Backed out changeset fa40dded133e (bug 1541508)
Backed out changeset 2e7db4aa8d4f (bug 1541508)
Backed out changeset 6098e2eb62ea (bug 1541508)
Backed out changeset 2c599ee639c4 (bug 1541508)
Backed out changeset 7d44f6e2644c (bug 1541508)
Backed out changeset c1279c3d674c (bug 1541508)
Backed out changeset 8bd08a62a590 (bug 1541508)
Backed out changeset 740010cb005c (bug 1541508)
Backed out changeset 0bfc7dd85c62 (bug 1541508)
Backed out changeset c4374a351356 (bug 1541508)
Backed out changeset 44ccfeca7364 (bug 1541508)
Backed out changeset e944e706a523 (bug 1541508)
Backed out changeset 2c59d66f43e4 (bug 1541508)
Backed out changeset a1896eacb6f1 (bug 1541508)
2022-11-01 22:38:52 -04:00
Barret Rennie
cba4ad687c Bug 1541508 - Use Services.env in extensions/ r=extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D160139
2022-11-02 02:08:54 +00:00
Joel Maher
7d57e8ce58 Bug 1797751 - carry over skip-if conditions from win10 to win11. r=bxbrenden,necko-reviewers,settings-reviewers,credential-management-reviewers,valentin,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D160529
2022-10-28 00:00:40 +00:00
Alexandre Lissy
f955bb9c1e Bug 1785278 - Reading AutoConfig from /etc/firefox when running under Snap r=mkaply,xpcom-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D159059
2022-10-18 21:06:43 +00:00
Mike Hommey
056763e84d Bug 1776463 - Use C++17 inline variable for CountingAllocatorBase::sAmount. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D159360
2022-10-17 21:54:12 +00:00
Nika Layzell
1ca8cf637b Bug 1794644 - Part 2: Mark StaticRWLock as MOZ_ONLY_USED_TO_AVOID_STATIC_CONSTRUCTORS, r=xpcom-reviewers,kmag
The original use in rlbox which made having this annotation impossible is no
longer necessary as it was removed in the previous part.

Differential Revision: https://phabricator.services.mozilla.com/D159085
2022-10-14 14:20:35 +00:00
Masayuki Nakano
d54f646831 Bug 1793694 - part 6: Stop exposting EditorUtils.h r=m_kato
Depends on D158635

Differential Revision: https://phabricator.services.mozilla.com/D158636
2022-10-12 02:44:20 +00:00
Henrik Skupin
e75a84eaa1 Bug 1141335 - [marionette] Use in_app by default for quit() and restart(). r=webdriver-reviewers,jdescottes,perftest-reviewers,AlexandruIonescu
Hereby the "in_app" argument is required to be specified in case some
other argument eg. "clean" requires a termination of the application.

Differential Revision: https://phabricator.services.mozilla.com/D157219
2022-10-04 09:04:25 +00:00
Mark Banner
b14986d4d9 Bug 1792861 - Fix ESLint no-unused-vars issues on global scopes in tests in extensions and toolkit. r=Gijs,application-update-reviewers,bytesized
Depends on D158347

Differential Revision: https://phabricator.services.mozilla.com/D158348
2022-10-01 09:03:12 +00:00
Butkovits Atila
539f87fe4f Backed out changeset 3e220bf19d7b (bug 1141335) for causing failures at awsy/test_memory_usage.py. CLOSED TREE 2022-09-30 02:12:58 +03:00
Henrik Skupin
932d46b87f Bug 1141335 - [marionette] Use in_app by default for quit() and restart(). r=webdriver-reviewers,jdescottes
Hereby the "in_app" argument is required to be specified in case some
other argument eg. "clean" requires a termination of the application.

Differential Revision: https://phabricator.services.mozilla.com/D157219
2022-09-29 18:34:25 +00:00
Andrew McCreight
2da84b8ac4 Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika
There are only 3 places where nsMemory.h is still needed (image/RasterImage.cpp,
gfx/thebes/gfxFT2FontList.cpp, and nsMemory.cpp). Remove the rest.

Differential Revision: https://phabricator.services.mozilla.com/D158213
2022-09-28 15:17:46 +00:00
Pier Angelo Vendrame
aa21b01cfa Bug 1768907 - Part 1: Make browser.privatebrowsing.autostart a static pref. r=handyman,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D157843
2022-09-22 00:26:17 +00:00
Nicolas Chevobbe
e6e58c96a8 Bug 1790105 - Fix test_permmanager_getAllByTypes.js intermittent failures. r=pbz.
It seems that getAllByTypes results aren't in a stable order when
the test is run with --verify.

Differential Revision: https://phabricator.services.mozilla.com/D157120
2022-09-13 04:59:40 +00:00
Mark Banner
274f8662e6 Bug 1479515 - Extend the ESLint rule for checking Ci properties to check for unknown interfaces as well. r=Gijs,application-update-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D156425
2022-09-12 16:38:44 +00:00
nchevobbe
2479165e79 Bug 1790017 - Add Services.perms.getAllByTypes(permissionTypes). r=permissions-reviewers,necko-reviewers,pbz
This new method return an array of `nsIPermission` whose type are included in the
array of permission types parameter.
This will help the implementation of Bug 1778959 where we need to get all the permission
of a given Set of (gated) permission types.

Differential Revision: https://phabricator.services.mozilla.com/D156951
2022-09-09 14:52:38 +00:00
Jens Stutte
404c76c5d8 Bug 1777394 - Do not crash on inaccessible dictionary file. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D156278
2022-09-05 11:29:45 +00:00
criss
ba097d11d7 Backed out changeset 139d1aea678b (bug 1777394) causing build bustage on Unified_cpp_hunspell_glue0.obj. CLOSED TREE 2022-09-05 11:37:43 +03:00
Jens Stutte
efe0cc1a59 Bug 1777394 - Do not crash on inaccessible dictionary file. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D156278
2022-09-05 08:21:10 +00:00
Ryan VanderMeulen
27774619e2 Bug 1788655 - Update Hunspell to 1.7.1. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D156177
2022-09-01 23:48:12 +00:00
Benjamin VanderSloot
d169434ceb Bug 1782526 - Clean up site scope permission code, r=permissions-reviewers,pbz
While working on Bug 1777497 I bumped into a few things I would have done
differently that make it harder to misuse the site-scoped permissions.
These are just bugs waiting to happen, so I'm cleaning them up while I'm in here.

Differential Revision: https://phabricator.services.mozilla.com/D152760
2022-08-12 16:12:07 +00:00
Norisz Fay
c03af93699 Backed out 5 changesets (bug 1777497, bug 1782526) for causing build bustages on PContent.ipdl CLOSED TREE
Backed out changeset 64e16a70484e (bug 1782526)
Backed out changeset 381806d5afc3 (bug 1777497)
Backed out changeset 820f6f9c9cc3 (bug 1777497)
Backed out changeset f541ad605d6d (bug 1777497)
Backed out changeset 620681c22b83 (bug 1777497)
2022-08-11 03:20:29 +03:00
Benjamin VanderSloot
6e5d1e80dc Bug 1782526 - Clean up site scope permission code, r=permissions-reviewers,pbz
While working on Bug 1777497 I bumped into a few things I would have done
differently that make it harder to misuse the site-scoped permissions.
These are just bugs waiting to happen, so I'm cleaning them up while I'm in here.

Differential Revision: https://phabricator.services.mozilla.com/D152760
2022-08-11 00:04:40 +00:00
Mark Banner
7428be4a86 Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D152736
2022-08-03 11:16:20 +00:00
Iulian Moraru
4ef2e59bee Backed out 5 changesets (bug 1782526, bug 1777497) for causing gv-junit failures.
Backed out changeset bb4451a7b19c (bug 1782526)
Backed out changeset cbc8344b02ac (bug 1777497)
Backed out changeset 85e6b889e139 (bug 1777497)
Backed out changeset a64c8ee85a42 (bug 1777497)
Backed out changeset fd74aafff8a7 (bug 1777497)
2022-08-02 02:45:32 +03:00
Benjamin VanderSloot
8bcb083041 Bug 1782526 - Clean up site scope permission code, r=permissions-reviewers,pbz
While working on Bug 1777497 I bumped into a few things I would have done
differently that make it harder to misuse the site-scoped permissions.
These are just bugs waiting to happen, so I'm cleaning them up while I'm in here.

Differential Revision: https://phabricator.services.mozilla.com/D152760
2022-08-01 21:27:01 +00:00
Joel Maher
bf4b875752 Bug 1781782 - Run frequent xpcshell parallel failing tests sequential by default. r=ahal,necko-reviewers,extension-reviewers,application-update-reviewers,bytesized,rpl,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D153081
2022-07-30 01:33:28 +00:00
Nika Layzell
effe5537b9 Bug 1772006 - Part 6: Simplify and move the find+replace methods from ns[T]StringObsolete, r=xpcom-reviewers,barret
The remaining methods in ns[T]StringObsolete are all find+replace methods for
nsTSubstring. These were migrated in a similar way to the find methods, and
partially updated to avoid using methods from nsStringObsolete.cpp.

This change removes the ns[T]StringObsolete.cpp files completely, as they are
no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D148301
2022-07-30 00:12:49 +00:00
Tooru Fujisawa
a032f53a63 Bug 1780543 - Part 5: Add mozilla/chrome-script environment. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D152430
2022-07-26 02:46:30 +00:00
Emilio Cobos Álvarez
42b7f1a58c Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana
This prevents copies and avoids the hack we have to avoid this, which
right now is using nsDependent{C,}String.

Non-virtual actors can still use `nsString` if they need to on the
receiving end.

Differential Revision: https://phabricator.services.mozilla.com/D152519
2022-07-25 20:19:48 +00:00
Mark Banner
4bfafd41fa Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 22:34:21 +00:00
smolnar
102b779608 Backed out 8 changesets (bug 1779982, bug 1780017, bug 1780347) for causing doc generate failures. CLOSED TREE
Backed out changeset 3f22c0f99cf1 (bug 1780347)
Backed out changeset 6f20b7e4b21b (bug 1780017)
Backed out changeset ae6062c69aeb (bug 1780017)
Backed out changeset e668d7778d97 (bug 1780017)
Backed out changeset e158fc41594b (bug 1780017)
Backed out changeset d4c69c956271 (bug 1779982)
Backed out changeset 145212fd826d (bug 1779982)
Backed out changeset 54079aaa1857 (bug 1779982)
2022-07-20 22:43:53 +03:00
Mark Banner
23086da9b9 Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 15:50:40 +00:00
Iulian Moraru
1108246986 Backed out 7 changesets (bug 1779982, bug 1780017) for causing multiple failures. CLOSED TREE
Backed out changeset f33a58aa2f3f (bug 1780017)
Backed out changeset e21c85d61b91 (bug 1780017)
Backed out changeset 213ee5578e7c (bug 1780017)
Backed out changeset ea9b3bf42ea1 (bug 1780017)
Backed out changeset d2d8530f3c4d (bug 1779982)
Backed out changeset 088e5148c307 (bug 1779982)
Backed out changeset 267e08f3868a (bug 1779982)
2022-07-20 15:44:53 +03:00
Mark Banner
e84aaa1b85 Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 10:36:49 +00:00
Kagami Sascha Rosylight
c8a6450e63 Bug 1769290 - Part 13: Apply mozilla-js-handle-rooted-typedef against extensions r=andi
Differential Revision: https://phabricator.services.mozilla.com/D151780
2022-07-14 17:00:20 +00:00
Tooru Fujisawa
54623364da Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Andreea Pavel
7738a75fdd Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa
8cd6ed7409 Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Tooru Fujisawa
5a18684e4f Bug 1667455 - Part 16: Stop importing Services.jsm from AutoConfig. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D150905
2022-07-11 12:41:55 +00:00
Tooru Fujisawa
52c95734e7 Bug 1667455 - Part 9: Stop importing Services.jsm from chrome-priv HTML code, single-line cases. r=kmag,necko-reviewers,geckoview-reviewers,extension-reviewers,m_kato,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150898
2022-07-11 12:41:52 +00:00
Tooru Fujisawa
bf93d07148 Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Tooru Fujisawa
f3a8c52c53 Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D150893
2022-07-11 12:41:50 +00:00
Benjamin VanderSloot
bc2619cc16 Bug 1774854, part 2 - Create helper function for the forward-declared storage access handoff permission, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D149661
2022-07-08 18:16:37 +00:00
smolnar
1547adcf3d Backed out 4 changesets (bug 1774854) for causing browser-chrome failures in antitracking/test/browser/browser_subResources.js
Backed out changeset 46884d2a4eb4 (bug 1774854)
Backed out changeset ee02080a80cc (bug 1774854)
Backed out changeset 5e01fd1a1423 (bug 1774854)
Backed out changeset 98244d30acff (bug 1774854)
2022-07-08 17:08:49 +03:00
Benjamin VanderSloot
e175bc03d6 Bug 1774854, part 2 - Create helper function for the forward-declared storage access handoff permission, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D149661
2022-07-08 12:36:43 +00:00