Tooru Fujisawa
8e2cd85950
Bug 1793706 - Show error summary at the end of ./mach esmify. r=yulia
...
Differential Revision: https://phabricator.services.mozilla.com/D159499
2022-10-18 01:23:33 +00:00
Kagami Sascha Rosylight
5f853f4031
Bug 1794697 - Pass newline=\n when esmifying r=arai DONTBUILD
...
Python's `open('w')` by default uses system default line ending which is `\r\n` in Windows. `newline=\n` helps us to keep using `\n` everywhere.
Differential Revision: https://phabricator.services.mozilla.com/D159502
2022-10-17 15:08:32 +00:00
Eemeli Aro
45a8fe66c1
Bug 1734217
- Merge all about:neterror front-end handling under toolkit. r=mkmelin,smaug,nalexander,flod,Gijs
...
Following a suggestion from :mkmelin, this seems like an optimal solution: the overriding/duplication in m-c is removed, and all users get a more powerful default choice that they're still able to override with their own, should they so wish.
For clarity and to match other `about:` pages, the shared code is placed under `toolkit/content/`, and all content under `docshell/resources/` is removed.
Differential Revision: https://phabricator.services.mozilla.com/D156478
2022-10-07 18:40:27 +00:00
Mike Conley
ba5ca544c2
Bug 1793652 - Convert docshell/ JSMs to ESMs. r=nika,arai
...
Differential Revision: https://phabricator.services.mozilla.com/D158599
2022-10-05 13:55:10 +00:00
Tooru Fujisawa
86f10aa65a
Bug 1792976 - Update path in .eslintignore in mach esmify command. r=yulia
...
Differential Revision: https://phabricator.services.mozilla.com/D158642
2022-10-05 09:14:26 +00:00
Tooru Fujisawa
7fde6d3db0
Bug 1792751 - Quote the mercurial glob pattern in mach esmify command. r=yulia
...
Differential Revision: https://phabricator.services.mozilla.com/D158641
2022-10-05 09:14:25 +00:00
Julian Descottes
5db63c4432
Bug 1790473 - [cdp] Convert /remote/cdp JSM modules to ESM r=webdriver-reviewers,whimboo
...
Depends on D158297
Differential Revision: https://phabricator.services.mozilla.com/D158298
2022-09-30 11:08:09 +00:00
Julian Descottes
3635b10bad
Bug 1790472 - [bidi] Convert /remote/webdriver-bidi JSM modules to ESM r=webdriver-reviewers,whimboo
...
Depends on D158296
Differential Revision: https://phabricator.services.mozilla.com/D158297
2022-09-30 11:08:08 +00:00
Julian Descottes
4a1ddfd485
Bug 1790471 - [marionette] Convert /remote/marionette JSM modules to ESM r=webdriver-reviewers,whimboo
...
Depends on D158295
Differential Revision: https://phabricator.services.mozilla.com/D158296
2022-09-30 11:08:08 +00:00
Julian Descottes
bf82c5039a
Bug 1790468 - [remote] Convert /remote/server JSM modules to ESM r=webdriver-reviewers,whimboo
...
Depends on D158294
Differential Revision: https://phabricator.services.mozilla.com/D158295
2022-09-30 11:08:07 +00:00
Julian Descottes
b24d46c99d
Bug 1790468 - [remote] Convert /remote/components JSM modules to ESM r=webdriver-reviewers,whimboo
...
Depends on D158293
Differential Revision: https://phabricator.services.mozilla.com/D158294
2022-09-30 11:08:07 +00:00
Julian Descottes
d1f7dbe55e
Bug 1790468 - [remote] Convert /remote/shared JSM modules to ESM r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D158293
2022-09-30 11:08:06 +00:00
Rob Lemley
fe6d4d086d
Bug 1792477 - Allow is-esmified.js to use a non-default map.json. r=arai
...
This is to support using the javascript pieces of "mach esmify" on comm-central
code.
A modified "mach esmify" implemented in comm-central will set ESMIFY_MAP_JSON
to the path of a "map.json" in comm-central.
Differential Revision: https://phabricator.services.mozilla.com/D158164
2022-09-27 15:20:01 +00:00
Ted Campbell
7a57865285
Bug 1790912 - Migrate js/ductwork/debugger to devtools/platform. r=ochameau
...
This gecko integration code is better managed with the other devtools platform
hook code. To simplify resolving the JSM and avoiding issues around restricted
use of eval in chrome, I also reset the DIST_SUBDIR config and run the xpcshell
tests without a firefox-appdir. The test works on Android these days, so
re-enable it on that platform.
Differential Revision: https://phabricator.services.mozilla.com/D157522
2022-09-25 09:03:34 +00:00
Henrik Skupin
16d96ac3fd
Bug 1789357 - [remote] Make AppInfo a shared class for remote protocols. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D156745
2022-09-09 11:58:44 +00:00
Marian-Vasile Laza
27fd1e9739
Backed out 2 changesets (bug 1789357, bug 1506782) for causing xpcshell failures on test_Capabilities.js. CLOSED TREE
...
Backed out changeset 144d4be497c6 (bug 1506782)
Backed out changeset 0884729fca31 (bug 1789357)
2022-09-09 12:34:02 +03:00
Henrik Skupin
3246749215
Bug 1789357 - [remote] Make AppInfo a shared class for remote protocols. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D156745
2022-09-09 08:55:33 +00:00
John Bieling
24210e2c3a
Bug 1764698 - Move LanguageDetector.jsm and related files to toolkit. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D151606
2022-08-23 05:59:55 +00:00
Mark Banner
35f66cd5ae
Bug 1780825 - Add ToastNotification to esmify's module list. r=arai
...
Depends on D152536
Differential Revision: https://phabricator.services.mozilla.com/D152537
2022-08-02 15:07:49 +00:00
Tooru Fujisawa
2efdd1384f
Bug 1780527 - Use ThirdPartyPaths.txt and Generated.txt in mach esmify. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D153067
2022-07-28 12:50:18 +00:00
Bogdan Szekely
fea1d4059e
Backed out changeset 90a87be826d9 (bug 1780527) for causing build bustages on Generated.txt CLOSED TREE
2022-07-28 15:35:58 +03:00
Tooru Fujisawa
07e3b1f907
Bug 1780527 - Use ThirdPartyPaths.txt and Generated.txt in mach esmify. r=Standard8 DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D153067
2022-07-28 11:17:41 +00:00
Tooru Fujisawa
39b514ca9a
Bug 1780301 - Part 4: Convert ChromeUtils.importESModule at top-level in ESM to static import in ./mach esmify --convert. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D152228
2022-07-20 11:34:33 +00:00
Tooru Fujisawa
44f5fff2b9
Bug 1780301 - Part 3: Add option to skip filename filter. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D152227
2022-07-20 11:34:32 +00:00
Tooru Fujisawa
d62c324450
Bug 1780301 - Part 2: Move functions related to static import into static-import.js. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D152226
2022-07-20 11:34:32 +00:00
Tooru Fujisawa
963dc29e7b
Bug 1780301 - Part 1: Move some shared functions into utils.js. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D152225
2022-07-20 11:34:31 +00:00
Mark Banner
40adf1ae57
Bug 1780166 - When esmify is moving comments, check that comments on the from node exist. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D152150
2022-07-19 09:34:28 +00:00
Tooru Fujisawa
a44ee2ceab
Bug 1780050 - Rewrite extension when merging single lazy getter call to existing ChromeUtils.defineESModuleGetters. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D152084
2022-07-18 17:40:39 +00:00
Tooru Fujisawa
9948edffdf
Bug 1779927 - Reuse existing ChromeUtils.defineESModuleGetters when converting lazy getters. r=Standard8
...
When converting lazy getter calls, if the previous/next statement is
`ChromeUtils.defineESModuleGetters`, add properties into it, instead of
converting the lazy getter call into `ChromeUtils.defineESModuleGetters`
or creating new `ChromeUtils.defineESModuleGetters` call.
Differential Revision: https://phabricator.services.mozilla.com/D151980
2022-07-18 09:22:39 +00:00
Tooru Fujisawa
b9aa9e471a
Bug 1779538 - Rewrite ChromeUtils.importESModule with static import in sys.mjs. r=yulia
...
Differential Revision: https://phabricator.services.mozilla.com/D151801
2022-07-14 08:54:01 +00:00
Tooru Fujisawa
0cd8ca1ac9
Bug 1778818 - Add index to are-we-esmified-yet job, and add commit hash and date to the JSON. r=marco
...
Differential Revision: https://phabricator.services.mozilla.com/D151426
2022-07-11 19:09:43 +00:00
Tooru Fujisawa
1079972361
Bug 1776870 - Integrate esmify script into mach. r=yulia,firefox-static-analysis-reviewers,andi
...
Differential Revision: https://phabricator.services.mozilla.com/D150494
2022-07-11 14:55:11 +00:00