Commit graph

140 commits

Author SHA1 Message Date
Barret Rennie
a645de723e Bug 1776480 - Remove OS.File et al. r=Gijs,webidl,smaug
This patch removes the vast majority of OS.File and support code. A few things remain:

- The nsIOSFileConstantsService still exists, but the path related constants
  (OS.Constants.Path.*) are no longer added to the OS object. The plan is to
  replace this with a proper service e.g. Services.osConstants or similar) in
  bug 1786885.
- There is still support for OS.File errors in ErrorSanitizer, which will be
  removed in bug 1775167.
- The OS.File to IOUtils migration guide will be rewritten as general IOUtils
  documentation in bug 1830097.
- dom/base/Document.cpp has a workaround for not loading osfile.jsm at startup,
  which may want to be reconsidered in bug 1830100.

So long, and thanks for all the I/O.

Differential Revision: https://phabricator.services.mozilla.com/D176543
2023-05-12 18:34:28 +00:00
Sandor Molnar
924826ccad Backed out changeset 987d013caf11 (bug 1776480) for causing xpc failures in toolkit/components/extensions/test/xpcshell/test_ext_downloads_download.js CLOSED TREE 2023-05-11 22:36:59 +03:00
Barret Rennie
6149948e68 Bug 1776480 - Remove OS.File et al. r=Gijs,webidl,smaug
This patch removes the vast majority of OS.File and support code. A few things remain:

- The nsIOSFileConstantsService still exists, but the path related constants
  (OS.Constants.Path.*) are no longer added to the OS object. The plan is to
  replace this with a proper service e.g. Services.osConstants or similar) in
  bug 1786885.
- There is still support for OS.File errors in ErrorSanitizer, which will be
  removed in bug 1775167.
- The OS.File to IOUtils migration guide will be rewritten as general IOUtils
  documentation in bug 1830097.
- dom/base/Document.cpp has a workaround for not loading osfile.jsm at startup,
  which may want to be reconsidered in bug 1830100.

So long, and thanks for all the I/O.

Differential Revision: https://phabricator.services.mozilla.com/D176543
2023-05-11 17:49:27 +00:00
Karandeep
e63847177c Bug 1824609 - Convert toolkit/components/thumbnails/ to ES modules. r=Standard8.
Differential Revision: https://phabricator.services.mozilla.com/D177196
2023-05-10 20:00:58 +00:00
Norisz Fay
bf5ea8f459 Backed out changeset 3d766d94945d (bug 1776480) for causing multiple xpcshell and bc failures CLOSED TREE 2023-04-28 06:55:03 +03:00
Barret Rennie
7bae7d5d70 Bug 1776480 - Remove OS.File et al. r=Gijs
This patch removes the vast majority of OS.File and support code. A few things remain:

- The nsIOSFileConstantsService still exists, but the path related constants
  (OS.Constants.Path.*) are no longer added to the OS object. The plan is to
  replace this with a proper service e.g. Services.osConstants or similar) in
  bug 1786885.
- There is still support for OS.File errors in ErrorSanitizer, which will be
  removed in bug 1775167.
- The OS.File to IOUtils migration guide will be rewritten as general IOUtils
  documentation in bug 1830097.
- dom/base/Document.cpp has a workaround for not loading osfile.jsm at startup,
  which may want to be reconsidered in bug 1830100.

So long, and thanks for all the I/O.

Differential Revision: https://phabricator.services.mozilla.com/D176543
2023-04-28 02:35:13 +00:00
Butkovits Atila
608af74b62 Backed out changeset fc8a2b80e9f6 (bug 1776480) for causing Gecko Decision bustage. CLOSED TREE 2023-04-28 04:31:36 +03:00
Barret Rennie
b2b98d70e4 Bug 1776480 - Remove OS.File et al. r=Gijs
This patch removes the vast majority of OS.File and support code. A few things remain:

- The nsIOSFileConstantsService still exists, but the path related constants
  (OS.Constants.Path.*) are no longer added to the OS object. The plan is to
  replace this with a proper service e.g. Services.osConstants or similar) in
  bug 1786885.
- There is still support for OS.File errors in ErrorSanitizer, which will be
  removed in bug 1775167.
- The OS.File to IOUtils migration guide will be rewritten as general IOUtils
  documentation in bug 1830097.
- dom/base/Document.cpp has a workaround for not loading osfile.jsm at startup,
  which may want to be reconsidered in bug 1830100.

So long, and thanks for all the I/O.

Differential Revision: https://phabricator.services.mozilla.com/D176543
2023-04-28 01:10:56 +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
Ebilite Uchenna
8c931cb313 Bug 1824611 - Convert consumers of toolkit/components/passwordmgr to import ES modules directly. r=Standard8,credential-management-reviewers,settings-reviewers,fxview-reviewers,sclements,sgalich,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D174446
2023-04-11 19:06:24 +00:00
Calixte
fefd92b8e9 Bug 1824610 - EMSification of pdf.js r=Standard8,pdfjs-reviewers,geckoview-reviewers,marco,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D173674
2023-03-28 09:18:58 +00:00
shahx95
dbae17218c Bug 1824605 - Convert toolkit/components/processsingleton/ to ES modules. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D173648
2023-03-27 21:41:12 +00:00
aniket
4a9d4aed87 Bug 1820882 - Convert consumers of toolkit/crashreporter to import ES modules directly r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D172545
2023-03-15 11:14:22 +00:00
Noah
7942128313 Bug 1822012 - Convert toolkit/components/xulstore to ES modules. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D172517
2023-03-14 14:34:57 +00:00
Mark Banner
0a0248d5ae Bug 1817183 - Migrate most of services/fxaccounts to ES modules. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D170061
2023-02-17 16:34:42 +00:00
Cristian Tuns
b3bf09cc0d Backed out 6 changesets (bug 1816934, bug 1817182, bug 1817179, bug 1817183) for causing dt failures in browser_jsterm_autocomplete_null.js CLOSED TREE
Backed out changeset 17d4c013ed92 (bug 1817183)
Backed out changeset cfed8d9c23f3 (bug 1817183)
Backed out changeset 62fe2f589efe (bug 1817182)
Backed out changeset 557bd773fb85 (bug 1817179)
Backed out changeset 7f8a7865868b (bug 1816934)
Backed out changeset d6c1d4c0d2a0 (bug 1816934)
2023-02-17 10:51:33 -05:00
Mark Banner
09a6d475fe Bug 1817183 - Migrate most of services/fxaccounts to ES modules. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D170061
2023-02-17 09:01:45 +00:00
Danny Colin
980244d030 Bug 1796797 - Convert toolkit/components/contextualidentity JSM modules to ESMs r=baku,webdriver-reviewers,extension-reviewers,settings-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D159945
2022-12-21 08:14:05 +00:00
Mark Banner
70046e9f64 Bug 1804661 - Convert browser/components/StartupRecorder.jsm to an ES module. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D164206
2022-12-12 14:59:19 +00:00
Mark Banner
53ce0faad1 Bug 1804661 - Convert browser/components/BrowserGlue.jsm to an ES module. r=Gijs,settings-reviewers,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D164204
2022-12-12 14:59:18 +00:00
Kagami Sascha Rosylight
f29c0cd51a Bug 1795968 - Part 1: Esmify dom/push/*.jsm r=smaug
Included IndexedDBHelper since it's only used and tested by PushDB.

Differential Revision: https://phabricator.services.mozilla.com/D159631
2022-10-20 21:16:11 +00:00
Mark Banner
69a9e3e717 Bug 1792341 - Migrate most of the rest of toolkit/modules/ to be system ES modules. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D158451
2022-10-18 11:21:25 +00:00
Mark Banner
23f506c377 Bug 1792365 - Convert various toolkit/modules files to system ES modules. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D158093
2022-09-29 06:52:33 +00:00
Mark Banner
e29957943b Bug 1779982 - Migrate toolkit/components/places and browser/components/places to ESM. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D152004
2022-07-20 22:34:20 +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
fa9b1b5f10 Bug 1779982 - Migrate toolkit/components/places and browser/components/places to ESM. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D152004
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
374f18ee33 Bug 1779982 - Migrate toolkit/components/places and browser/components/places to ESM. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D152004
2022-07-20 10:36:49 +00:00
Mark Banner
a457483c25 Bug 1779981 - Migrate toolkit/components/search and browser/components/search to ESM. r=mcheang
Differential Revision: https://phabricator.services.mozilla.com/D152000
2022-07-19 17:12:43 +00:00
Tooru Fujisawa
bf3aea9ae1 Bug 1777486 - Part 6: Update testcase that monitors XPCOMUtils imports. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D151218
2022-07-12 04:21:36 +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
d8f641c9c5 Bug 1777486 - Part 6: Update testcase that monitors XPCOMUtils imports. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D151218
2022-07-11 15:09:15 +00:00
Tooru Fujisawa
f29a7dbc19 Bug 1667455 - Part 24: Remove Services.jsm reference in testcase that monitors module loading. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D151428
2022-07-11 12:41:58 +00:00
Kris Maglione
a78b44be00 Bug 1777886 - Check that denylist/intermittent files actually exist in startup perf tests. r=florian
This will require that entries for renamed files be updated so that they don't
accidentally start being loaded under the new name later. It also prevents
dead code entries from sticking around after their targets are removed.

Using `throttledMapPromises` is probably not strictly necessary given the
small number of entries in most lists, but since it already exists, we may as
well use it here.

Differential Revision: https://phabricator.services.mozilla.com/D150921
2022-07-08 00:59:02 +00:00
Csoregi Natalia
4fbcd99c2c Backed out changeset 558ec2a25702 (bug 1777886) for failures on browser_startup.js. CLOSED TREE 2022-07-08 03:09:14 +03:00
Kris Maglione
834e8c64b8 Bug 1777886 - Check that denylist/intermittent files actually exist in startup perf tests. r=florian
This will require that entries for renamed files be updated so that they don't
accidentally start being loaded under the new name later. It also prevents
dead code entries from sticking around after their targets are removed.

Using `throttledMapPromises` is probably not strictly necessary given the
small number of entries in most lists, but since it already exists, we may as
well use it here.

Differential Revision: https://phabricator.services.mozilla.com/D150921
2022-07-07 22:31:29 +00:00
Kris Maglione
2b9e8682a2 Bug 1770237: Part 16 - Remove component loading logic from mozJSComponentLoader. r=mccr8,florian
Differential Revision: https://phabricator.services.mozilla.com/D148196
2022-06-22 20:31:37 +00:00
Kris Maglione
c4e585b525 Bug 1770237: Part 3 - Migrate StartupRecorder to static component registration. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D148183
2022-06-22 20:31:32 +00:00
Mark Banner
c32fb4a753 Bug 1745459 - Move the osfile.jsm block in browser_startup.js to deny loading anytime before becoming idle. r=barret
Depends on D146190

Differential Revision: https://phabricator.services.mozilla.com/D146191
2022-05-13 09:38:49 +00:00
Mark Banner
9671e83fa7 Bug 1703357 - Update browser_startup to prevent osfile.jsm being loaded before opening first browser window. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D129373
2021-12-10 20:25:20 +00:00
Narcis Beleuzu
66e358f4a9 Backed out 2 changesets (bug 1733540, bug 1703357) for causing Bug 1736189
Backed out changeset a4c999428d86 (bug 1703357)
Backed out changeset 0eaa9ccaaf77 (bug 1733540)
2021-11-08 16:23:53 +02:00
Mark Banner
58c0bcf89b Bug 1703357 - Update browser_startup to prevent osfile.jsm being loaded before opening first browser window. r=florian
Also fixes one use in XPIInstall.jsm.

Differential Revision: https://phabricator.services.mozilla.com/D129373
2021-11-03 17:36:22 +00:00
Mark Banner
3633fd7457 Bug 1378173 - Remove Promise.jsm. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D128098
2021-10-14 08:28:28 +00:00
Marco Bonardo
a15170a992 Bug 1677977 - Part 2 - Merge PlacesCategoriesStarter into PlacesDBUtils. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D97504
2020-11-19 11:20:59 +00:00
Neil Deakin
c5eff66205 Bug 1649843, remove now unused legacy actor code, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D95206
2020-11-06 15:46:11 +00:00
Kris Maglione
b6be72f351 Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81749
2020-07-10 23:58:30 +00:00
Gijs Kruitbosch
b4623ffd8b Bug 1647787 - remove use of whitelist/blacklist from front-end performance tests, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D80697
2020-06-24 14:23:49 +00:00
Andrew Swan
57ae213677 Bug 1627336 Add Blocklist.jsm to browser_startup.js blacklist r=florian
Differential Revision: https://phabricator.services.mozilla.com/D69604
2020-04-29 13:47:37 +00:00
Morgan Reschenberg
6274ebbf20 Bug 1590485: Add UI/UX and global zoom functionality. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50845

--HG--
extra : moz-landing-system : lando
2019-12-24 01:56:32 +00:00
Noemi Erli
cc63a32cca Backed out changeset c8040f57cb4a (bug 1590485) fot failures in browser_default_zoom_multitab.js 2019-12-20 09:51:31 +02:00