Граф коммитов

592 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 1a90b9c57b Bug 1811820 - Change prettier config file from json to common js format. r=cmkm,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D167530
2023-01-24 22:53:55 +00:00
Nicolas Chevobbe 60a24410b8 Bug 1803360 - [devtools] Put pretty-fast library in tree. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D163560
2022-12-08 15:54:07 +00:00
Alexandre Poirot db142838b3 Bug 1794693 - [devtools] Convert source-map jest test into mochitests. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D159116
2022-11-08 16:01:01 +00:00
Mark Hammond cf1e2c2545 Bug 1791851 - regenerate uniffi r=teshaq,LougeniaBailey,bdk
Differential Revision: https://phabricator.services.mozilla.com/D157980
2022-10-25 20:03:22 +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
Andrew McCreight cbfad78f92 Bug 1793227, part 9 - Automated fixes for js/xpconnect/tests/browser/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D158508
2022-10-10 22:22:02 +00:00
Andrew McCreight c41c392332 Bug 1793227, part 6 - Automated fixes for XPCOMUtils.sys.mjs. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D158505
2022-10-10 22:22:01 +00:00
Andrew McCreight d8c43d0ea1 Bug 1793227, part 3 - Automatic fixes for js/xpconnect/tests/chrome. r=kmag
Also change .eslintignore to cover the other directories.

This also fixes the indentation the automatic fixer messed up in a few XHTML files.

Differential Revision: https://phabricator.services.mozilla.com/D158503
2022-10-10 22:22:00 +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 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 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
Ted Campbell 410e8dff3f Bug 1790912 - Fix lint issues in js/ductwork/debugger. r=ochameau
When we move this out of the js/ directory, a number of lint exceptions stop
applying so we should just fix the issues now.

Differential Revision: https://phabricator.services.mozilla.com/D157521
2022-09-25 09:03:33 +00:00
Mark Striemer 16c3d7214b Bug 1788798 - Support fluent in storybook r=hjones
Depends on D156241

Differential Revision: https://phabricator.services.mozilla.com/D156244
2022-09-12 21:13:20 +00:00
Mark Banner a49daebe0d Bug 1789249 - ESLint should ignore files listed in Generated.txt, and ESLint linter tests. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D156457
2022-09-09 18:46:38 +00:00
Butkovits Atila e03fe088c7 Backed out changeset 44fb0e3f3843 (bug 1789249) for causing mozlint failures. CLOSED TREE 2022-09-07 11:52:01 +03:00
Mark Banner 84e57ea707 Bug 1789249 - ESLint should ignore files listed in Generated.txt, and ESLint linter tests. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D156457
2022-09-06 12:45:30 +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
Ben Dean-Kawamura 1cf71b7095 Bug 1766045 - Initial work for UniFFI JS bindings r=nika
Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
is completely static and doesn't need to be generated.

There's support for both synchronus and async functions, but we haven't
decided the how we want this to be configured.  In practice, almost all
functions will need to be async, so for now we're just forcing all
functions to be.

The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
bindings.  This binary needs to be fed a list of UDL files, the path of
the .cpp file to generate, and the directory to generate .jsm files in
(and also all of those arguments again, but for the test fixtures).
This is quiet a horrible UI, but it's going to be wrapped in a mach
command.

The `uniffi-js` directory contains shared C++ code for
`uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
functionality here and have the generated code simply forward function
calls here.

Still Todo:
  - CallbackInterfaces
  - Custom and external types
  - Datetime and TimeInterval

Differential Revision: https://phabricator.services.mozilla.com/D144472
2022-08-03 18:59:35 +00:00
Butkovits Atila a8ad39a288 Backed out 6 changesets (bug 1766045) for causing build bustages. CLOSED TREE
Backed out changeset 113593df6272 (bug 1766045)
Backed out changeset f137315bb6af (bug 1766045)
Backed out changeset d86ad195a9a0 (bug 1766045)
Backed out changeset e8bc2ec40cff (bug 1766045)
Backed out changeset 2d33e41ac507 (bug 1766045)
Backed out changeset 4d5874e16302 (bug 1766045)
2022-08-03 17:40:30 +03:00
Ben Dean-Kawamura 703dbdfe3a Bug 1766045 - Initial work for UniFFI JS bindings r=nika
Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
is completely static and doesn't need to be generated.

There's support for both synchronus and async functions, but we haven't
decided the how we want this to be configured.  In practice, almost all
functions will need to be async, so for now we're just forcing all
functions to be.

The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
bindings.  This binary needs to be fed a list of UDL files, the path of
the .cpp file to generate, and the directory to generate .jsm files in
(and also all of those arguments again, but for the test fixtures).
This is quiet a horrible UI, but it's going to be wrapped in a mach
command.

The `uniffi-js` directory contains shared C++ code for
`uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
functionality here and have the generated code simply forward function
calls here.

Still Todo:
  - CallbackInterfaces
  - Custom and external types
  - Datetime and TimeInterval

Differential Revision: https://phabricator.services.mozilla.com/D144472
2022-08-03 13:48:27 +00:00
Mark Banner 06e59b0866 Bug 1782008 - Move ESLint test paths definitions to a separate file. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D152734
2022-08-03 11:16:19 +00:00
criss 04616ca52e Backed out 2 changesets (bug 1766045) for causing Bp-hybrid failures on UniFFIGeneratedScaffolding.cpp
Backed out changeset 5708672d0e83 (bug 1766045)
Backed out changeset cc77fd5ec7a8 (bug 1766045)
2022-08-03 00:01:58 +03:00
Ben Dean-Kawamura c1816bab45 Bug 1766045 - Initial work for UniFFI JS bindings r=nika
Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
is completely static and doesn't need to be generated.

There's support for both synchronus and async functions, but we haven't
decided the how we want this to be configured.  In practice, almost all
functions will need to be async, so for now we're just forcing all
functions to be.

The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
bindings.  This binary needs to be fed a list of UDL files, the path of
the .cpp file to generate, and the directory to generate .jsm files in
(and also all of those arguments again, but for the test fixtures).
This is quiet a horrible UI, but it's going to be wrapped in a mach
command.

The `uniffi-js` directory contains shared C++ code for
`uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
functionality here and have the generated code simply forward function
calls here.

Still Todo:
  - CallbackInterfaces
  - Custom and external types
  - Datetime and TimeInterval

Differential Revision: https://phabricator.services.mozilla.com/D144472
2022-08-02 19:51:47 +00:00
Nicolas Chevobbe e954c570c9 Bug 1757552 - [devtools] Generate actor-less reps stubs.r=bomsy.
This patch is introducing the machinery to automatically generate/check some
stubs used by Reps.
We're focusing on stubs that shouldn't be represented by a front as it's easier
to deal with; we should then have follow up and incremental patches for each
stubs.

Some data can't be retrieved after being serialized/deserialized (`-0`, unsafe int, …),
and in such case the associated test was modified to directly pass the object.

Differential Revision: https://phabricator.services.mozilla.com/D139933
2022-03-03 16:16:50 +00:00
Alexandre Poirot 4f6825b177 Bug 1755907 - [devtools] Enable eslint on debugger tests (except their test pages). r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D139366
2022-02-23 18:38:26 +00:00
Scott 4a8e839bad Bug 1750596 - Moving save to Pocket vendors into their own bundle. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D136157
2022-01-20 21:27:44 +00:00
Csoregi Natalia 45ff0f12df Backed out changeset bb40a646b246 (bug 1750596) for failures on browser_pocket_main.js. CLOSED TREE 2022-01-19 06:22:22 +02:00
Scott 67a8bb6d9c Bug 1750596 - Moving save to Pocket vendors into their own bundle. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D136157
2022-01-19 02:03:31 +00:00
Alexandre Lissy f1d6617d61 Bug 1749385 - Generate CrashManager.jsm from template r=gsvelto,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D136109
2022-01-18 20:32:03 +00:00
Alexandre Lissy a9b9bae961 Bug 1726804 - Refactor PROCESS_TYPE_* from nsICrashService r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D121389
2021-11-19 14:02:56 +00:00
Alexandru Michis 2cb5b32d02 Backed out 2 changesets (bug 1726804) for causing sm bustages in geckoprocesstypes.
CLOSED TREE

Backed out changeset bf7f73fd1921 (bug 1726804)
Backed out changeset c9936f7534cb (bug 1726804)
2021-11-19 11:40:59 +02:00
Alexandre Lissy 882ec7bc7a Bug 1726804 - Refactor PROCESS_TYPE_* from nsICrashService r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D121389
2021-11-19 08:33:43 +00:00
Scott a56ce14062 Bug 1699515 - Switching to react for Save to Pocket panels. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D128753
2021-11-11 00:06:13 +00:00
Csoregi Natalia ea18332fb3 Backed out changeset 98e7519f8247 (bug 1699515) for causing failures due to pocket/content/panels/js/home/overlay.js. CLOSED TREE 2021-11-10 04:10:44 +02:00
Scott 6c06094621 Bug 1699515 - Switching to react for Save to Pocket panels. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D128753
2021-11-09 23:51:27 +00:00
wartmanm 54751aa56a Bug 1658238 - Autocomplete source-mapped variable names r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D87117
2021-10-19 11:40:09 +00:00
Julian Descottes 69fa6f5492 Bug 1726800 - [remote] Verify commands as early as possible in MessageHandler r=webdriver-reviewers,whimboo
Depends on D123655
With this patch, the MessageHandler can immediately check if a command is implemented by the modules, and therefore reject as early as possible.
This is implemented via a checkCommand method on MessageHandler.

Other required changes:
- ModuleRegistry now owns the logic to import BiDi modules.
- ModuleCache exposes a `getAllModuleClasses` to get all the relevant modules for a moduleName+destination pair.

Error messages have been improved and are verified with a dedicated test

Differential Revision: https://phabricator.services.mozilla.com/D123655
2021-10-12 16:48:43 +00:00
Mike Conley 3042fc0e10 Bug 1723729 - Remove old Talos XPI generation scripts and documents. r=jmaher,perftest-reviewers,alexandru.irimovici
These documents and scripts were used to generate the add-ons for the tresize
and tart Talos tests before the great WebExtension conversion.

Nowadays, if people really want to install these tests locally, they can
go to about:debugging, use Load Temprary Add-on, and browse to the manifest
of the add-on folder.

Depends on D122378

Differential Revision: https://phabricator.services.mozilla.com/D122379
2021-08-12 13:56:51 +00:00
Markus Stange 8b439f0bce Bug 1721109 - Move ProfilerGetSymbols code out of toolkit/components/extensions and into devtools directories. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D120182
2021-07-29 20:28:44 +00:00
Mark Banner 28abf1cb81 Bug 1515695 - Remove Task.jsm. r=florian,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D118001
2021-06-17 08:28:02 +00:00
Henrik Skupin 2c6099421a Bug 1693993 - [marionette] Move Marionette server code to /remote/marionette. r=remote-protocol-reviewers,marionette-reviewers,jdescottes,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106311
2021-05-31 17:36:06 +00:00
Alexandru Michis d30bd50d0f Backed out changeset 37f2f9ef6ef8 (bug 1693993) for containing unreviewed changes.
CLOSED TREE
2021-05-31 15:55:11 +03:00
Henrik Skupin 55d4518049 Bug 1693993 - [marionette] Move Marionette server code to /remote/marionette. r=remote-protocol-reviewers,marionette-reviewers,jdescottes,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106311
2021-05-31 08:56:32 +00:00
Andre Natal 760b23419b Bug 1710546 - Firefox Translations integration r=mossop,mixedpuppy,mhoye
Bundle Firefox Translation as a builtin pref'd off addon in Nightly only

Differential Revision: https://phabricator.services.mozilla.com/D114810
2021-05-28 18:38:59 +00:00
Butkovits Atila 57a0cf8d59 Backed out changeset f6aae19033a0 (bug 1710546) for causing Bug 1713225. CLOSED TREE 2021-05-28 05:56:23 +03:00
Andre Natal 7cd7fe0c60 Bug 1710546 - Firefox Translations integration r=mossop,mixedpuppy,mhoye
Bundle Firefox Translation as a builtin pref'd off addon in Nightly only

Differential Revision: https://phabricator.services.mozilla.com/D114810
2021-05-27 17:56:02 +00:00
Iulian Moraru 35bfe2ddf2 Backed out changeset c7e7bba07257 (bug 1710546) for causing bc failures on browser_all_files_referenced.js. CLOSED TREE 2021-05-27 01:11:00 +03:00
Andre Natal cfd82965b8 Bug 1710546 - Firefox Translations integration r=mossop,mixedpuppy,mhoye
Bundle Firefox Translation as a builtin pref'd off addon in Nightly only

Differential Revision: https://phabricator.services.mozilla.com/D114810
2021-05-26 21:25:50 +00:00
Kajal Sah 720a0ac748 Bug 1682719 - [meta] Enables eslint on browser/extensions/screenshots. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D112812
2021-04-20 19:39:48 +00:00
Butkovits Atila f78b0b3041 Backed out changeset 499b142f69c4 (bug 1702579) for causing lint failures. CLOSED TREE 2021-04-08 04:24:53 +03:00