Commit Graph
23 Commits
Author SHA1 Message Date
alexical 940a9f5ad2 Bug 2022620 - Add new Document() to AllJavascriptTypes.mjs r=ochameau,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D287191
2026-04-03 16:59:44 +00:00
Alexandra Borovova 574778d7e5 Bug 2005054 - [devtools] Extract "formatMessageParametersAndText" into a shared module to make it easier to reuse in WebDriver BiDi. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D289754
2026-03-31 09:40:31 +00:00
Cristian Tuns d2bd1d1f36 Revert "Bug 2022620 - Check for null location in ExecutionTracerIntegration.cpp r=arai" for causing dt failures in browser_webconsole_object_inspector_entries.js
This reverts commit 473a9add12.

Revert "Bug 2022620 - Add `new Document()` to AllJavascriptTypes.mjs r=ochameau,devtools-reviewers"

This reverts commit c05ef919a8.
2026-03-19 05:07:47 +00:00
alexical c05ef919a8 Bug 2022620 - Add new Document() to AllJavascriptTypes.mjs r=ochameau,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D287191
2026-03-18 19:28:53 +00:00
Nicolas Chevobbe a7039c5b82 Bug 2012091 - [devtools] Render only attribute name in ElementNode rep when attribute has empty value r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D280225
2026-01-27 15:30:53 +00:00
iulian moraru 1ae3353ab8 Revert "Bug 2012091 - [devtools] Render only attribute name in ElementNode rep when attribute has empty value r=devtools-reviewers,jdescottes" for causing bc failures on browser_test_feature_jstracing_objtestutils.js.
This reverts commit c2a9c038f4.
2026-01-27 11:17:48 +00:00
Nicolas Chevobbe c2a9c038f4 Bug 2012091 - [devtools] Render only attribute name in ElementNode rep when attribute has empty value r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D280225
2026-01-27 09:19:31 +00:00
Tom Marble 5ce09d7446 Bug 1995583 - test manifest cleanup for idiomatic usage r=jmaher,necko-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,sessionstore-reviewers,tabbrowser-reviewers,translations-reviewers,omc-reviewers,browser-installer-reviewers,twisniewski,masayuki,dom-core,smaug,nalexander,emcminn,sthompson,alwu,ai-ondevice-reviewers,valentin
For TOML manifests:

1. Change processor -> arch
2. Use arch instead of bits bits == '64' =>
   aarch64 (default on mac 15.30) or x86_64 bits == '32' => x86
3. Replace android_version with corresponding os_version
4. Remove conditions with linux os_version=="18.04"
   (unless they contain verify or verify-standalone)
5. Remove conditions with mac os_version=='11.20',
   (unless they contain verify or verify-standalone)
6. Remove conditions with win os_version=='11.2009' or win11_2009,
   (unless they contain verify or verify-standalone)
7. Linux conditions should have os_version, arch and display
   (simple "os == 'linux'" will get expanded to these two)
   "os == 'linux' && os_version == '22.04' && arch == 'x86_64' && display == 'wayland'"
   "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11'"
8. Mac conditions should have os_version and arch
   (simple "os == 'mac'" will get expanded to these three)
   "os == 'mac' && os_version == '10.15' && arch == 'x86_64'",
   "os == 'mac' && os_version == '14.70' && arch == 'x86_64'",
   "os == 'mac' && os_version == '15.30' && arch == 'aarch64'",
9. Replace apple_catalina with
   os == 'mac' && os_version == '10.15' && arch == 'x86_64'
10. Replace apple_silicon with
   os == 'mac' && os_version = '15.30' && arch == 'aarch64'
11. Replace win10_2009 with
   os == 'win' && os_version = '10.2009' && arch == 'x86_64'
12. Replace "!debug" with three conditions "asan", "opt", or "tsan"
13. Replace literal boolean comparison with variables
    (e.g. "debug == false" => "!debug)

Resolves 2000285

Signed-off-by: Tom Marble <[email protected]>

Differential Revision: https://phabricator.services.mozilla.com/D272815
2025-11-22 00:30:39 +00:00
Alexandre Poirot 9d6ab254e9 Bug 1972889 - [devtools] Flag all tests using JSObjectsTestUtils framework and generating snapshots with "object-snapshots" tag. r=devtools-reviewers,nchevobbe
This will help run them all easily via `./mach test --tag object-snapshots`.

Differential Revision: https://phabricator.services.mozilla.com/D254269
2025-06-25 00:10:09 +00:00
Mark Banner 3cc3379c8f Bug 1881701 - Change the devtools configurations to work with the ESLint flat configuration.r=devtools-reviewers,profiler-reviewers,julienw,nchevobbe
This consolidates the jest environment definition, and the xpcshell globals into the devtools/.eslintrc.mjs file, for easier configurations.
It also changes the restart of the configurations to work with flat config.

Differential Revision: https://phabricator.services.mozilla.com/D249948
2025-05-24 17:10:59 +00:00
Mark Banner d7c7c5369b Bug 1881701 - Rename many ESLint files to use .mjs. r=frontend-codestyle-reviewers,perftest-reviewers,Gijs,sparky,webcompat-reviewers,twisniewski
This is separate to help preserve history of the files.

Differential Revision: https://phabricator.services.mozilla.com/D249945
2025-05-24 17:10:51 +00:00
Alexandre Poirot f9642bda04 Bug 1958081 - [devtools] Cover JS Tracer stringification with the new JS Objects test framework. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D245075
2025-05-13 12:34:09 +00:00
Serban Stanca 1dac11cfa9 Revert "Bug 1958081 - [devtools] Cover JS Tracer stringification with the new JS Objects test framework. r=devtools-reviewers,nchevobbe" for causing devtools failures in browser_webconsole_reverse_search.js.
This reverts commit a07e576742.

This reverts commit f0b5190845.

This reverts commit 1761d4c3dd.
2025-05-08 23:00:24 +00:00
Alexandre Poirot a07e576742 Bug 1958081 - [devtools] Cover JS Tracer stringification with the new JS Objects test framework. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D245075
2025-05-08 20:05:04 +00:00
Cristina Horotan 539746f658 Revert "Bug 1958081 - [devtools] Cover JS Tracer stringification with the new JS Objects test framework. r=devtools-reviewers,nchevobbe" for xpcshell failures at test_javascript_logging.js
This reverts commit 6056567c3e.

Revert "Bug 1958081 - [devtools] Migrate object inspector to the new JS objects test framework. r=devtools-reviewers,nchevobbe"

This reverts commit 8cbc65e7b5.

Revert "Bug 1958081 - [devtools] Introduce a test framework to ease testing all possible JavaScript types against various codebases. r=frontend-codestyle-reviewers,devtools-reviewers,nchevobbe,Standard8" for causing xpc failures at test_javascript_logging.js

This reverts commit ddcbf73cd8.
2025-05-08 05:42:19 +00:00
Alexandre Poirot 6056567c3e Bug 1958081 - [devtools] Cover JS Tracer stringification with the new JS Objects test framework. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D245075
2025-05-08 04:05:08 +00:00
Joel Maher ce1cae83af Bug 1959269 - clean and standardize devtools/**/xpcshell.toml. r=aryx,devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D244831
2025-04-15 14:47:07 +00:00
Joel Maher cac31d18e3 Bug 1859873 - batch 13 xpcshell.ini -> .toml. r=aryx,devtools-reviewers,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D194161
2023-11-21 12:32:50 +00:00
Alexandre Poirot bde84f5b65 Bug 1793604 - [devtools] Convert Loader.jsm to ESM. r=perftest-reviewers,geckoview-reviewers,preferences-reviewers,owlish,kshampur,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D158582
2022-10-14 12:19:42 +00:00
Alexandre Poirot 465fac9684 Bug 1792847 - [devtools] Use absolute URLs to import modules in devtools/client/webconsole. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D158380
2022-09-30 15:17:40 +00:00
Julian Descottes 06b42b006a Bug 1741369 - [devtools] Update paths to loader files in devtools/ r=ochameau
Depends on D131216

Differential Revision: https://phabricator.services.mozilla.com/D131217
2021-11-17 12:43:26 +00:00
Mark Banner d375cfec54 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703
2020-03-07 10:09:44 +00:00
Nicolas Chevobbe a23e6858b0 Bug 1572008 - Re-organize WebConsole client tests folder. r=Honza.
- mochitest folder is renamed browser.
- unit folder is rename xpcshell.
- all the file and folder for mocha are put in a node folder.

We take this as an opportunity to revist our stub-generating
mochitests.
Previously we had 2 tests for each kind of stubs, one for check,
the other one for updating.
It was not ideal when you wanted to update all the stubs at once
because you add either to mention every 5 files, or unskip the
update test files.
We now merge the update and the check files in a single test.
By default, the test that the stubs are up to date, and if you
pass the --setenv WEBCONSOLE_STUBS_UPDATE=true param, it will
update the stubs.
This allow us to move the function that actually generate the stub
in the test file, and have a helper file for multi-purpose functions.
Because these tests are failing on TRY, let's disabled them so we
can land the test re-organization (we'll re-enable them in Bug 1572667).

Differential Revision: https://phabricator.services.mozilla.com/D41344
2019-08-09 09:54:41 +00:00