Commit Graph

11223 Commits

Author SHA1 Message Date
Tom Marble
0cb91fe33e Bug 1855300 - convert .ini manifests to .toml: batch 11 remaining **/mochitest.ini r=jmaher,geckoview-reviewers,extension-reviewers,valentin,credential-management-reviewers,cookie-reviewers,sgalich,m_kato,robwu
Differential Revision: https://phabricator.services.mozilla.com/D190515
2023-10-13 02:32:24 +00:00
serge-sans-paille
d3e574bc41 Bug 1857234 - Have mach vendor's ** globbing match hidden files r=tjr,devtools-reviewers,cubeb-reviewers,padenot,ochameau
This patch contains three changes:

1. a local version of glb.iglob in vendor_manifest.py that always
   matches hidden files for '**'. I've tested it on Python 3.5 up to
   3.12 and it works as expected.

2. a cleanup of many moz.yaml files that got convluted because of the
   previous behavior of '**'

3. removal of a few useless files that are now caught by the '**'
   globbing.

Differential Revision: https://phabricator.services.mozilla.com/D190195
2023-10-10 08:21:13 +00:00
Sylvestre Ledru
4c29c24344 Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D189896
2023-10-03 09:22:18 +00:00
Jan Varga
c458754592 Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D189226
2023-09-28 20:46:07 +00:00
Joel Maher
99abb50b8d Bug 1853245 - Migrate .ini manifests to .toml (Batch 7.25). r=aryx,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D189221
2023-09-26 17:40:01 +00:00
Benjamin VanderSloot
6d22baa587 Bug 1848783, part 6 - Revoke has storage access when the permission is revoked - r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D187287
2023-09-21 01:48:49 +00:00
Benjamin VanderSloot
80843f7e90 Bug 1848783, part 3 - Add the site (sans port) to the permission keys of a content process - r=anti-tracking-reviewers,timhuang
without this, permissions set in the main process that are site-scoped on origins with non-null ports are not pushed out to the content process.

Differential Revision: https://phabricator.services.mozilla.com/D186984
2023-09-21 01:48:48 +00:00
Iulian Moraru
385fa91360 Backed out 9 changesets (bug 1848783, bug 1837168, bug 1835920) for causing multiple failures. CLOSED TREE
Backed out changeset ab1717421318 (bug 1848783)
Backed out changeset de5e1715c877 (bug 1848783)
Backed out changeset 1f64106e6667 (bug 1848783)
Backed out changeset e082ba20bbb2 (bug 1848783)
Backed out changeset cb56c5d713bf (bug 1848783)
Backed out changeset 735161c251e4 (bug 1848783)
Backed out changeset 3d1468ac6e84 (bug 1848783)
Backed out changeset 9ff5b92032cb (bug 1837168)
Backed out changeset 15cfb0c4f048 (bug 1835920)
2023-09-20 22:29:41 +03:00
Benjamin VanderSloot
7b66b30764 Bug 1848783, part 6 - Revoke has storage access when the permission is revoked - r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D187287
2023-09-20 16:14:40 +00:00
Benjamin VanderSloot
2810b58e9c Bug 1848783, part 3 - Add the site (sans port) to the permission keys of a content process - r=anti-tracking-reviewers,timhuang
without this, permissions set in the main process that are site-scoped on origins with non-null ports are not pushed out to the content process.

Differential Revision: https://phabricator.services.mozilla.com/D186984
2023-09-20 16:14:39 +00:00
Cosmin Sabou
39c14444b7 Backed out 9 changesets (bug 1837168, bug 1835920, bug 1848783) for causing storage-access-api wpt failures. CLOSED TREE
Backed out changeset 3fd66f8f5d65 (bug 1848783)
Backed out changeset a96afb6d05d6 (bug 1848783)
Backed out changeset 117132b000ac (bug 1848783)
Backed out changeset 3a14281b7d72 (bug 1848783)
Backed out changeset 7dc5f794364d (bug 1848783)
Backed out changeset 84ca25a557a6 (bug 1848783)
Backed out changeset 8bb89cf9587e (bug 1848783)
Backed out changeset 15a005bef445 (bug 1837168)
Backed out changeset a97bc1fd6637 (bug 1835920)
2023-09-20 04:41:18 +03:00
Benjamin VanderSloot
cf0a6fd895 Bug 1848783, part 6 - Revoke has storage access when the permission is revoked - r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D187287
2023-09-19 21:03:08 +00:00
Benjamin VanderSloot
cfc4424236 Bug 1848783, part 3 - Add the site (sans port) to the permission keys of a content process - r=anti-tracking-reviewers,timhuang
without this, permissions set in the main process that are site-scoped on origins with non-null ports are not pushed out to the content process.

Differential Revision: https://phabricator.services.mozilla.com/D186984
2023-09-19 21:03:07 +00:00
Narcis Beleuzu
2990006272 Backed out 9 changesets (bug 1835920, bug 1848783, bug 1837168) for assertion failure on PermissionManager.cpp . CLOSED TREE
Backed out changeset 589241e4e1f6 (bug 1848783)
Backed out changeset 7446d643420d (bug 1848783)
Backed out changeset 1b5a505a9bc6 (bug 1848783)
Backed out changeset bfd4df9014d7 (bug 1848783)
Backed out changeset 01f053bbdb97 (bug 1848783)
Backed out changeset e1b829bfb8d1 (bug 1848783)
Backed out changeset f17d58a27f3c (bug 1848783)
Backed out changeset d21bdbf5baf1 (bug 1837168)
Backed out changeset a2d17b5958b8 (bug 1835920)
2023-09-19 16:15:26 +03:00
Benjamin VanderSloot
5a1eb36a94 Bug 1848783, part 6 - Revoke has storage access when the permission is revoked - r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D187287
2023-09-19 11:11:19 +00:00
Benjamin VanderSloot
9603be41ae Bug 1848783, part 3 - Add the site (sans port) to the permission keys of a content process - r=anti-tracking-reviewers,timhuang
without this, permissions set in the main process that are site-scoped on origins with non-null ports are not pushed out to the content process.

Differential Revision: https://phabricator.services.mozilla.com/D186984
2023-09-19 11:11:19 +00:00
edgul
29f608721d Bug 1723456 - Fixing test breakage. r=valentin,necko-reviewers,extension-reviewers,credential-management-reviewers,robwu,dimi,pbz,Gijs,places-reviewers,adw
Differential Revision: https://phabricator.services.mozilla.com/D181274
2023-09-15 20:38:48 +00:00
serge-sans-paille
51cbe1e36b Bug 1852512 - vendor hunspell using moz.yaml r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D187878
2023-09-15 06:56:51 +00:00
Tom Marble
9e40a719f2 Bug 1850545 - convert .ini manifests to .toml: batch 3 chrome.ini (bis) r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,places-reviewers,profiler-reviewers,m_kato,mak,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D187597
2023-09-13 18:28:32 +00:00
Mike Hommey
83f8a62943 Bug 1851712 - Stop building plain hunspell and woff2 when they are wasm sandboxed. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D187516
2023-09-07 02:15:57 +00:00
Mike Hommey
3a359850b8 Bug 1851709 - Remove unused hunspell fopen hook. r=masayuki
A long time ago, the hook was use to make myopen use a different
fopen, but since then, myopen switched to STL iostreams, but also,
Firefox doesn't use myopen anymore.

Differential Revision: https://phabricator.services.mozilla.com/D187515
2023-09-06 02:07:54 +00:00
serge-sans-paille
5d02b07c1e Bug 1850505 - Avoid extra copy in mozHunspellFileMgrHost::GetLine r=emilio
This was first designed to also positively impact
-ftrivial-auto-var-init by getting rid of the nsAutoCString buffer
initialization in favor of an std::string, but we ended up replacing the
initial std::string buffer by an nsAutoCString which should perform
better on small lines.

Differential Revision: https://phabricator.services.mozilla.com/D187032
2023-08-29 19:34:35 +00:00
Benjamin VanderSloot
a560a190fb Bug 1847769 - Clean up warnings from NotifySecondaryKeyPermissionUpdateInContentProcess - r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D185685
2023-08-11 16:46:39 +00:00
Gregory Pappas
dd0ad61e60 Bug 1697151 - Remove permissions.delegation.enabled pref r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D185342
2023-08-11 15:15:54 +00:00
Peter Van der Beken
3f4ffadbe1 Bug 1846277 - Untangle nsGlobalWindow*.h includes. r=dom-core,media-playback-reviewers,sessionstore-reviewers,padenot,farre
Differential Revision: https://phabricator.services.mozilla.com/D184978
2023-08-02 20:41:49 +00:00
Malte Juergens
05a00d1692 Bug 1720458: Do not isolate https-only-load-insecure by origin attributes r=fluent-reviewers,settings-reviewers,flod,ckerschb,Gijs
Do not isolate `https-only-load-insecure` by origin attributes. This way the HTTPS-Only exceptions will behave similar to the `cookie` permission. This means that exceptions set in the system settings will also apply to private windows, but exceptions set in private windows via the identity pane will be reset after closing the browser.

Depends on D182761

Differential Revision: https://phabricator.services.mozilla.com/D183745
2023-07-24 13:31:19 +00:00
Masatoshi Kimura
181d1d2914 Bug 1844257 - Remove ipc/glue/LibrarySandboxPreload.(cpp|h). r=glandium
They are leftovers from bug 1572618 and bug 1737733.

Differential Revision: https://phabricator.services.mozilla.com/D183973
2023-07-19 23:29:19 +00:00
Benjamin VanderSloot
0129b6667c Bug 1805860 - Notify PermissionObserver when doubly keyed permissions are updated - r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D182243
2023-07-19 14:51:11 +00:00
Tooru Fujisawa
d984b79117 Bug 1843794 - Rewrite editor/AsyncSpellCheckTestHelper.sys.mjs consumers in html/xhtml to use ChromeUtils.importESModule. r=masayuki
Depends on D183689

Differential Revision: https://phabricator.services.mozilla.com/D183690
2023-07-19 00:43:33 +00:00
Tooru Fujisawa
d8c21fafdb Bug 1843789 - Part 3: Rewrite testing/mochitest/BrowserTestUtils/BrowserTestUtils.sys.mjs consumers in html/xhtml to use ChromeUtils.importESModule. r=ahal,fxview-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D183659
2023-07-18 23:06:30 +00:00
Stanca Serban
9e82c693d0 Backed out 8 changesets (bug 1805860, bug 1733556) for causing bp-nu bustages in StorageAccessAPIHelper.cpp.
Backed out changeset fa21a55ce837 (bug 1733556)
Backed out changeset 6c09379cdb5a (bug 1733556)
Backed out changeset d8c19265b981 (bug 1733556)
Backed out changeset d48d415fca83 (bug 1805860)
Backed out changeset 3acd0ba1dba6 (bug 1805860)
Backed out changeset d2a6174bbb14 (bug 1805860)
Backed out changeset 48558ba49efe (bug 1805860)
Backed out changeset c8693b9449d3 (bug 1805860)
2023-07-18 23:39:08 +03:00
Benjamin VanderSloot
7b4d1e4af1 Bug 1805860 - Notify PermissionObserver when doubly keyed permissions are updated - r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D182243
2023-07-18 19:14:30 +00:00
Benjamin VanderSloot
61ee4f8919 Bug 1836792, part 1 - Add new site-pair-scoped permission 3rdPartyFrameStorage, r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D180215
2023-06-23 12:14:18 +00:00
Harshit Sohaney
55b229ad09 Bug 1579517 - Added a check in removeAllSince to avoid deleting default permissions for new profiles. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D180881
2023-06-19 19:34:31 +00:00
Mike Hommey
7caa16d048 Bug 1838113 - Don't build the unused myopen function. r=masayuki
Clang-trunk changed libc++ in a way that breaks fstream support in WASI,
which prevents building the myopen function in csutil.cxx, but the
function is actually unused.

Differential Revision: https://phabricator.services.mozilla.com/D180759
2023-06-13 04:08:31 +00:00
Mark Banner
6725448902 Bug 1834176 - Convert consumers of NetUtil.jsm to import the ES module directly. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-06-07 08:42:36 +00:00
Saira Abdulla
9691ab4a5f Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
Depends on D175553

Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 15:27:03 +00:00
Iulian Moraru
90b739a400 Backed out 2 changesets (bug 1824612) for causing dt failures on browser_dbg-features-source-tree.js. CLOSED TREE
Backed out changeset c3f38adc818e (bug 1824612)
Backed out changeset 58ba8bb3398a (bug 1824612)
2023-05-31 17:28:16 +03:00
Saira Abdulla
2e8db5969a Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
Depends on D175553

Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 10:21:37 +00:00
Natalia Csoregi
e87ecf485e Backed out 3 changesets (bug 1834222, bug 1834176) for causing RemoteProcessMonitor failures. CLOSED TREE
Backed out changeset 346d3a1568dd (bug 1834222)
Backed out changeset ea1d8b634bfc (bug 1834176)
Backed out changeset 74d1880272d3 (bug 1834176)
2023-05-24 04:29:45 +03:00
Mark Banner
fbc15bdb60 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 19:09:29 +00:00
Noemi Erli
aa2f146d78 Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE
Backed out changeset 57876d77a652 (bug 1834176)
Backed out changeset ae2f0837b528 (bug 1834176)
2023-05-23 12:14:37 +03:00
Mark Banner
e3e9a991b8 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 08:13:08 +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
Mark Banner
2d03564d1e Bug 1830265 - Tidy up .prettierignore. r=Gijs,sync-reviewers,markh
Enables Prettier for (these don't need to be excluded):
- extensions/pref/autoconfig/test/unit/autoconfig.js
- services/sync/tests/unit/prefs_test_prefs_store.js

Removes duplications where the files are already ignored in the .eslintignore section.

Re-organises the structure of the remaining parts to make it clearer why they are being excluded.

Differential Revision: https://phabricator.services.mozilla.com/D176636
2023-05-04 17:21:03 +00:00
Joel Maher
e6702068c2 Bug 1830451 - Support win10 v2009 in mozinfo and copy needed annotations from win10_2004. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D176744
2023-05-02 12:55:35 +00:00
Shravan Narayan
ed0bb19d78 Bug 1827704 - Migrate to the upstream wasm2c for RLBox sandboxing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D175439
2023-04-21 01:31:35 +00:00
Mark Banner
474708c181 Bug 1826702 - Convert PermissionTestUtils to an ES module. r=permissions-reviewers,settings-reviewers,media-playback-reviewers,pbz,padenot
Differential Revision: https://phabricator.services.mozilla.com/D174846
2023-04-06 15:07:56 +00:00
Shravan Narayan
4a3f703dab Bug 1825445: Ensure hunspell spell checker is not invoked with very long strings r=bholley,glandium
Differential Revision: https://phabricator.services.mozilla.com/D174541
2023-04-04 20:59:33 +00:00