Commit Graph
23 Commits
Author SHA1 Message Date
Julian Descottes aa80c68700 Bug 2043123 - [devtools] Update failure message for DevTools js object generated tests r=ochameau,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D302978
2026-06-02 10:56:47 +00:00
Mark Banner b38cd3110b Bug 1999554 - Automatically fix ESLint rule jsdoc/check-types for devtools/. r=devtools-reviewers,devtools-backward-compat-reviewers,profiler-reviewers,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D272173
2025-11-21 16:16:08 +00:00
Alexandre Poirot cc700d53c9 Bug 1989235 - [devtools] Fix eslint configuration for tracer serialization. r=devtools-reviewers,profiler-reviewers,frontend-codestyle-reviewers,canaltinova,nchevobbe,Standard8
Register this snapshot file, outside of devtools into eslint/prettier ignore list
so that we keep the JSON objects dumped in the snapshot file as-is.

Also fix eslint issues from ValueSummaryReader.

Differential Revision: https://phabricator.services.mozilla.com/D266971
2025-10-07 23:09:37 +00:00
Alexandre Poirot 0ba8232979 Bug 1989235 - [devtools] Avoid updating object test snapshots unless explicitly requested. r=devtools-reviewers,nchevobbe
This is a regression, we should only update the snapshot
if `UPDATE_SNAPSHOT` env is set to true.

Differential Revision: https://phabricator.services.mozilla.com/D266786
2025-10-07 23:09:33 +00:00
Atila Butkovits b812274f7b Revert "Bug 1989235: apply code formatting via Lando" for causing failures at ExecutionTracer.h.
This reverts commit 7183a1cb0c.

Revert "Bug 1989235 - [devtools] Serialize Errors and Exceptions in the tracer. r=devtools-reviewers,frontend-codestyle-reviewers,mossop,dthayer,nchevobbe"

This reverts commit 8b8fd600c4.

Revert "Bug 1989235 - [devtools] Fix eslint configuration for tracer serialization. r=devtools-reviewers,profiler-reviewers,frontend-codestyle-reviewers,canaltinova,nchevobbe,Standard8"

This reverts commit dc940445a3.

Revert "Bug 1989235 - [devtools] Avoid updating object test snapshots unless explicitly requested. r=devtools-reviewers,nchevobbe"

This reverts commit 2813cea7f0.
2025-10-07 12:28:38 +00:00
Alexandre Poirot dc940445a3 Bug 1989235 - [devtools] Fix eslint configuration for tracer serialization. r=devtools-reviewers,profiler-reviewers,frontend-codestyle-reviewers,canaltinova,nchevobbe,Standard8
Register this snapshot file, outside of devtools into eslint/prettier ignore list
so that we keep the JSON objects dumped in the snapshot file as-is.

Also fix eslint issues from ValueSummaryReader.

Differential Revision: https://phabricator.services.mozilla.com/D266971
2025-10-07 11:40:29 +00:00
Alexandre Poirot 2813cea7f0 Bug 1989235 - [devtools] Avoid updating object test snapshots unless explicitly requested. r=devtools-reviewers,nchevobbe
This is a regression, we should only update the snapshot
if `UPDATE_SNAPSHOT` env is set to true.

Differential Revision: https://phabricator.services.mozilla.com/D266786
2025-10-07 11:40:26 +00:00
Cristina Horotan 720d9c8fd8 Revert "Bug 1989235 - [devtools] Serialize Errors and Exceptions in the tracer. r=devtools-reviewers,frontend-codestyle-reviewers,mossop,dthayer,nchevobbe" for causing SM failures on ExecutionTracer-traced-values.js
This reverts commit 4dbbb7733e.

Revert "Bug 1989235 - [devtools] Fix eslint configuration for tracer serialization. r=devtools-reviewers,profiler-reviewers,frontend-codestyle-reviewers,canaltinova,nchevobbe,Standard8"

This reverts commit 9be06acefa.

Revert "Bug 1989235 - [devtools] Avoid updating object test snapshots unless explicitly requested. r=devtools-reviewers,nchevobbe"

This reverts commit 4c6c028a35.
2025-10-06 13:08:50 +00:00
Alexandre Poirot 9be06acefa Bug 1989235 - [devtools] Fix eslint configuration for tracer serialization. r=devtools-reviewers,profiler-reviewers,frontend-codestyle-reviewers,canaltinova,nchevobbe,Standard8
Register this snapshot file, outside of devtools into eslint/prettier ignore list
so that we keep the JSON objects dumped in the snapshot file as-is.

Also fix eslint issues from ValueSummaryReader.

Differential Revision: https://phabricator.services.mozilla.com/D266971
2025-10-06 12:41:05 +00:00
Alexandre Poirot 4c6c028a35 Bug 1989235 - [devtools] Avoid updating object test snapshots unless explicitly requested. r=devtools-reviewers,nchevobbe
This is a regression, we should only update the snapshot
if `UPDATE_SNAPSHOT` env is set to true.

Differential Revision: https://phabricator.services.mozilla.com/D266786
2025-10-06 12:41:01 +00:00
alexical b3f9f9a50e Bug 1933787 - Test traced values with JSObjectsTestUtils r=ochameau,devtools-reviewers,profiler-reviewers,canaltinova
This does not represent the finalized form for a lot of the entries in the
snapshot since some types are still not handled, but this at least lets us
exercise the code paths and ensure future additions don't change the
representations of any existing covered types. I would also like to move
the serialization code here into a module we can include from Firefox and
the profiler frontend but that's for a future patch.

Differential Revision: https://phabricator.services.mozilla.com/D253219
2025-07-23 22:05:02 +00:00
Atila Butkovits d0928a3847 Revert "Bug 1933787 - Test traced values with JSObjectsTestUtils r=ochameau,devtools-reviewers,profiler-reviewers,canaltinova" for causing failures at test_feature_java.js.
This reverts commit 7d5d0d0cd2.

Revert "Bug 1933787 - Ingest traced values from profiler backend r=profiler-reviewers,canaltinova"

This reverts commit dba048f0e4.

Revert "Bug 1933787 - Record basic DOM types in execution tracer r=arai"

This reverts commit af8ea6fa72.

Revert "Bug 1933787 - Record arg values in tracer-generated profiles r=arai"

This reverts commit 6d7cb1b94f.
2025-07-21 22:43:04 +00:00
alexical 7d5d0d0cd2 Bug 1933787 - Test traced values with JSObjectsTestUtils r=ochameau,devtools-reviewers,profiler-reviewers,canaltinova
This does not represent the finalized form for a lot of the entries in the
snapshot since some types are still not handled, but this at least lets us
exercise the code paths and ensure future additions don't change the
representations of any existing covered types. I would also like to move
the serialization code here into a module we can include from Firefox and
the profiler frontend but that's for a future patch.

Differential Revision: https://phabricator.services.mozilla.com/D253219
2025-07-21 20:50:16 +00:00
Sandor Molnar dc4ef273dd Revert "Bug 1933787 - Test traced values with JSObjectsTestUtils r=ochameau,devtools-reviewers,profiler-reviewers,canaltinova" for causing build bustages @ ExecutionTracer.h
This reverts commit 3f4b38cf99.

Revert "Bug 1933787 - Ingest traced values from profiler backend r=profiler-reviewers,canaltinova"

This reverts commit 7d647fcc39.

Revert "Bug 1933787 - Record basic DOM types in execution tracer r=arai"

This reverts commit b44d378744.

Revert "Bug 1933787 - Record arg values in tracer-generated profiles r=arai"

This reverts commit 9ae82fa7ca.
2025-07-16 16:55:02 +00:00
alexical 3f4b38cf99 Bug 1933787 - Test traced values with JSObjectsTestUtils r=ochameau,devtools-reviewers,profiler-reviewers,canaltinova
This does not represent the finalized form for a lot of the entries in the
snapshot since some types are still not handled, but this at least lets us
exercise the code paths and ensure future additions don't change the
representations of any existing covered types. I would also like to move
the serialization code here into a module we can include from Firefox and
the profiler frontend but that's for a future patch.

Differential Revision: https://phabricator.services.mozilla.com/D253219
2025-07-16 16:33:42 +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 b20fbf2ba1 Bug 1881701 - Fix remainder of newly raised devtools issues after switching to the ESLint flat config. r=devtools-reviewers,frontend-codestyle-reviewers,mossop,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D249957
2025-05-24 17:11:32 +00:00
Mark Banner ee9933d77b Bug 1881701 - Automatically fix new issues raised in devtools. r=devtools-reviewers,frontend-codestyle-reviewers,mossop,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D249956
2025-05-24 17:11:28 +00:00
Alexandre Poirot 833ef8762c 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
Differential Revision: https://phabricator.services.mozilla.com/D244246
2025-05-13 12:34:02 +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 1761d4c3dd 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
Differential Revision: https://phabricator.services.mozilla.com/D244246
2025-05-08 20:04:57 +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 ddcbf73cd8 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
Differential Revision: https://phabricator.services.mozilla.com/D244246
2025-05-08 04:05:01 +00:00