Closed Bug 1900395 Opened 1 year ago Closed 6 months ago

Fix Failing tests to enable CM6

Categories

(DevTools :: Debugger, task)

task

Tracking

(Not tracked)

RESOLVED FIXED
133 Branch

People

(Reporter: bomsy, Assigned: bomsy)

References

(Blocks 1 open bug, Regressed 2 open bugs)

Details

Attachments

(34 files, 5 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
No longer blocks: 1773246

Depends on D215269

Keywords: leave-open
Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Depends on: 1913693
Attachment #9421286 - Attachment description: WIP: Bug 1900395 - [devtools] Fix memory leaks of the Conditional panel → Bug 1900395 - [devtools] Fix memory leaks of the Conditional panel r=#devtools-reviewers

The Breakpoints and Coniditonal tests are not super useful as most of these are covered by mochitests.

The source-search and visible column breakpoints test have Codemirror 5 specific tests.
These should become less useful once we remove CM5 and add tests to the Source Editor.

Attachment #9411208 - Attachment description: WIP: Bug 1900395 - [devtools] Fixing mochitest for cm6 → Bug 1900395 - [devtools] Fixing mochitest for cm6 r=#devtools-reviewers

Fixes browser_dbg-preview-source-maps.js

Attachment #9421286 - Attachment description: Bug 1900395 - [devtools] Fix memory leaks of the Conditional panel r=#devtools-reviewers → Bug 1900395 - [devtools] Remomve the breakpoint panel editor only in CM6 r=#devtools-reviewers
Attachment #9421286 - Attachment description: Bug 1900395 - [devtools] Remomve the breakpoint panel editor only in CM6 r=#devtools-reviewers → Bug 1900395 - [devtools] Remove the breakpoint panel editor only in CM6 r=#devtools-reviewers
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/623b5f909135 [devtools] Set cursor positon in the footer when doing file searches r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/d5be8ed7de6b [devtools] Mark the last line in a blackboxed source r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/0ec9e68b8495 [devtools] Remove the breakpoint panel editor only in CM6 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/eef2cfaacedf [devtools] Fix failing accessibility tests r=devtools-reviewers,nchevobbe
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3a9995f71b0a [devtools] Cleanup jest tests r=devtools-reviewers,nchevobbe
Attachment #9424823 - Attachment description: WIP: Bug 1900395 - [devtools] Temp fixes → Bug 1900395 - [devtools] Use the source editor lineInfo API for CM6 r=#devtools-reviewers
Attachment #9423926 - Attachment is obsolete: true

Fixes browser_dbg-preview-wrapped-lines.js

Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fca5c24595dd [devtools] Setup the source editor used for testing r=devtools-reviewers,ochameau https://hg.mozilla.org/integration/autoland/rev/be6a2cb891d0 [devtools] Cleanup the selector list r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/8738f9b410de [devtools] Fix the gutter selectors and utils r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/e1ca08240af2 [devtools] Assert the correct mode for the file r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/83ea834863a5 [devtools] Add getLineCount utility r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/8330391d3908 [devtools] Migrate the waitForSearchState util to handle CM6 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/7fca52925325 [devtools] Add a getContent util r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/b0d579588e9f [devtools] Add a setEditorCursorAt util for setting the cursor r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/c49d918a8d60 [devtools] Migrate getEditorFileMode to use the util in the source editor r=devtools-reviewers,nchevobbe
Attachment #9424580 - Attachment is obsolete: true
Attachment #9411208 - Attachment is obsolete: true
Attachment #9426989 - Attachment description: Bug 1900395 - [devtools] Make getTokenElAtLine async r=#devtools-reviewers → Bug 1900395 - [devtools] getTokenElAtLine and inline previews r=#devtools-reviewers

Comment on attachment 9426341 [details]
Bug 1900395 - [devtools] Fix updating column breakpoints when they are clicked r=#devtools-reviewers

Revision D223059 was moved to bug 1918241. Setting attachment 9426341 [details] to obsolete.

Attachment #9426341 - Attachment is obsolete: true
Attachment #9426993 - Attachment description: Bug 1900395 - [devtools] Migrate breakpoint functions to support r=#devtools-reviewers → Bug 1900395 - [devtools] Migrate breakpoint assertion and click functions to support CM6 r=#devtools-reviewers
Attachment #9422157 - Attachment description: WIP: Bug 1900395 - [devtool] fix the WASM test → Bug 1900395 - [devtool] fix the WASM test r=#devtools-reviewers
Attachment #9426368 - Attachment description: Bug 1900395 - [devtools] Migrate assertLineIsBreakable to handle CM6 r=#devtools-reviewers → Bug 1900395 - [devtools] Migrate breakable line tests to handle CM6 r=#devtools-reviewers
Attachment #9426988 - Attachment description: Bug 1900395 - [devtools] Make assertPausedAtSourceAndLine and async function r=#devtools-reviewers → Bug 1900395 - [devtools] Make assertPausedAtSourceAndLine async r=#devtools-reviewers
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d755aed04871 [devtools] Add utility to support scrolling r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/50e5971e58f7 [devtools] Migrate the getCoordsFromPosition utility r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/7520078bc879 [devtools] Migrate setting selection utility r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/c2206d5fb1aa [devtools] Rename posToOffset positionToOffset r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/ee8513f8c8a3 [devtools] Migrate breakable line tests to handle CM6 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/647fb47e8c33 [devtools] Migrate assertHighlightLocation to support CM6 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/4ef9e765dbcb [devtools] Use the source editor lineInfo API for CM6 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/8b8dc9c00a8c [devtools] Fix the Conditional breakpoint tests r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/af2e38994b34 [devtools] Fix the line wrapping for CM5 and CM6 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/3de72d16955d [devtools] Pref out using the lineHeight API only for CM5 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/2dc1ddefcf04 [devtools] Import the utilities for use in the worker tests r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/95947b399560 [devtools] Migrate assertIgnoredStyleInSourceLines to handles CM6 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/cd15f5429cdf [devtools] Make assertPausedAtSourceAndLine async r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/2e8f2a91f5c1 [devtools] getTokenElAtLine and inline previews r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/532f750e2c54 [devtools] Fix token utilities r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/09dc669541de [devtools] Migrate api for handling search r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/dd22a3b092ae [devtools] Migrate breakpoint assertion and click functions to support CM6 r=devtools-reviewers,nchevobbe

Backed out for causing dt failures related to browser_dbg.

[task 2024-10-10T07:14:20.002Z] 07:14:20     INFO - TEST-PASS | devtools/client/debugger/test/mochitest/browser_dbg-editor-scroll.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2024-10-10T07:14:20.002Z] 07:14:20     INFO - finish() was called, cleaning up and clearing debugger preferences...
[task 2024-10-10T07:14:20.002Z] 07:14:20     INFO - Buffered messages finished
[task 2024-10-10T07:14:20.003Z] 07:14:20     INFO - TEST-UNEXPECTED-PASS | devtools/client/debugger/test/mochitest/browser_dbg-editor-scroll.js | We expect at least one assertion to fail because this test file is marked as fail-if in the manifest. - 
[task 2024-10-10T07:14:20.003Z] 07:14:20     INFO - TEST-INFO | expected FAIL
[task 2024-10-10T07:14:20.003Z] 07:14:20     INFO - GECKO(1066) | MEMORY STAT | vsize 12638MB | residentFast 788MB | heapAllocated 436MB
[task 2024-10-10T07:14:20.004Z] 07:14:20     INFO - TEST-OK | devtools/client/debugger/test/mochitest/browser_dbg-editor-scroll.js | took 2765ms
[task 2024-10-10T07:14:20.004Z] 07:14:20     INFO - checking window state
[task 2024-10-10T07:14:20.005Z] 07:14:20     INFO - TEST-START | devtools/client/debugger/test/mochitest/browser_dbg-editor-select.js
Flags: needinfo?(hmanilla)
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34683c060e81 [devtools] Add utility to support scrolling r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/d2fcfd22e228 [devtools] Migrate the getCoordsFromPosition utility r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/2b7eaaf580cc [devtools] Migrate setting selection utility r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/b2a275536bb8 [devtools] Rename posToOffset positionToOffset r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/5eb9b67d72ee [devtools] Migrate breakable line tests to handle CM6 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/09b7834d5858 [devtools] Migrate assertHighlightLocation to support CM6 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/c5e546f0a1df [devtools] Use the source editor lineInfo API for CM6 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/4d8edf492c48 [devtools] Fix the Conditional breakpoint tests r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/e203cd18a1f2 [devtools] Fix the line wrapping for CM5 and CM6 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/44222458df50 [devtools] Pref out using the lineHeight API only for CM5 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/5e10d5df7db7 [devtools] Import the utilities for use in the worker tests r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/643d32a8b2b9 [devtools] Migrate assertIgnoredStyleInSourceLines to handles CM6 r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/3d92e0a72eeb [devtools] Make assertPausedAtSourceAndLine async r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/643efdee8e37 [devtools] getTokenElAtLine and inline previews r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/1d48b1aa7779 [devtools] Fix token utilities r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/4eaec9d5a2c5 [devtools] Migrate api for handling search r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/e3e86ef9349f [devtools] Migrate breakpoint assertion and click functions to support CM6 r=devtools-reviewers,nchevobbe
Flags: needinfo?(hmanilla)
Attachment #9428106 - Attachment description: Bug 1900395 - [devtools] Can't get locations in the viewport if the editor is destroyed r=#devtools-reviewers → Bug 1900395 - [devtools] Some cleanup line fixes r=#devtools-reviewers
Attachment #9428106 - Attachment description: Bug 1900395 - [devtools] Some cleanup line fixes r=#devtools-reviewers → Bug 1900395 - [devtools] Some general fixes for tests r=#devtools-reviewers
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/684b1d17a805 [devtools] Cleanup leftover usages of getCM r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/6509640f583b [devtools] Some general fixes for tests r=devtools-reviewers,nchevobbe
Regressions: 1924436
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f8e1ead1faa1 [devtools] Cleanup leftover usages of getCM r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/374dce0b2a08 [devtools] Some general fixes for tests r=devtools-reviewers,nchevobbe
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3f9276eaa16d [devtools] Cleanup leftover usages of getCM r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/c10ce9412d2a [devtools] Some general fixes for tests r=devtools-reviewers,nchevobbe
Regressions: 1924640
Attachment #9430087 - Attachment description: Bug 1900395 - [devtools] Fix keyboard naviagtion and outline tests r=#devtools-reviewers → Bug 1900395 - [devtools] Fix keyboard navigation and outline tests r=#devtools-reviewers
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/85d48257458e [devtools] Cleanup leftover usages of getCM r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/cad2bc3a2d2d [devtools] Some general fixes for tests r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/dd38d70a8348 [devtools] Fix keyboard navigation and outline tests r=devtools-reviewers,ochameau
Regressions: 1924829
Regressions: 1924831
Flags: needinfo?(hmanilla)
Regressions: 1925664
Regressions: 1934535
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Keywords: leave-open
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
Attachment #9422157 - Attachment description: Bug 1900395 - [devtool] fix the WASM test r=#devtools-reviewers → Bug 1900395 - [devtool] Fix WASM for CM6 r=#devtools-reviewers

Comment on attachment 9422157 [details]
Bug 1900395 - [devtool] Fix WASM for CM6 r=#devtools-reviewers

Revision D220850 was moved to bug 1935157. Setting attachment 9422157 [details] to obsolete.

Attachment #9422157 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: