Commit Graph
38 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
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
Sylvestre Ledru 074b376055 Bug 2023419 - Remove Emacs/Vim modelines from devtools/ r=emilio,devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287841
2026-03-28 10:21:10 +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
Alexandru Marc 630e6cf0e8 Revert "Bug 2023419 - Remove Emacs/Vim modelines from devtools/ r=emilio,devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe" for causing devtools failures
This reverts commit ed535dace9.
2026-03-17 12:46:01 +00:00
Sylvestre Ledru ed535dace9 Bug 2023419 - Remove Emacs/Vim modelines from devtools/ r=emilio,devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe
replaced by .editorconfig

Differential Revision: https://phabricator.services.mozilla.com/D287841
2026-03-17 12:03:34 +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
Jan-Niklas Jaeschke 32c3f59d40 Bug 2009669 - CSS Highlight API: Remove pref. r=dom-core,devtools-reviewers,webidl,smaug,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D278630
2026-01-13 08:21:06 +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
Nicolas Chevobbe 294861d1cd Bug 1967673 - [devtools] Don't omit valid safe getter undefined values in _findSafeGetterValues. r=devtools-reviewers,jdescottes DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D250613
2025-05-25 10:56:48 +00:00
Cristian Tuns 2c393cf579 Revert "Bug 1967673 - [devtools] Don't omit valid safe getter undefined values in _findSafeGetterValues. r=devtools-reviewers,jdescottes" for causing failures with "1 not in success codes: [0] "
This reverts commit f73f8eabd8.
2025-05-25 10:25:19 +00:00
Nicolas Chevobbe f73f8eabd8 Bug 1967673 - [devtools] Don't omit valid safe getter undefined values in _findSafeGetterValues. r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D250613
2025-05-25 09:30:55 +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
Alexandru Marc f8a43a4811 Revert "Bug 1967673 - [devtools] Don't omit valid safe getter undefined values in _findSafeGetterValues. r=devtools-reviewers,jdescottes" by dev request
This reverts commit 4fe1cbf23e.
2025-05-23 14:51:27 +00:00
Nicolas Chevobbe 4fe1cbf23e Bug 1967673 - [devtools] Don't omit valid safe getter undefined values in _findSafeGetterValues. r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D250613
2025-05-23 14:37:42 +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