Closed Bug 1918241 Opened 1 year ago Closed 1 year ago

Add for an `eq` function to the setPositionContentMarker API

Categories

(DevTools :: Debugger, task)

task

Tracking

(firefox133 fixed)

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: bomsy, Assigned: bomsy)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The eq function for the createPositionContentMarkersExtension stops updates of the column breakpoints. This is because the eq function here currently does not check the changes in the breakpoint object from here.

Lets maybe add a way to define an eq function for the setPositionContentMarker API, which should help handle this.

This fixes the issue where column breakpoints are not updated on click.
Fixes browser_dbg-breakpoints-columns.js for CM6

Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/398f6bc67c2e [devtools] Add custom equality function to specify granular criteria for position marker widget updates 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/88286849fa11 [devtools] Add custom equality function to specify granular criteria for position marker widget updates r=devtools-reviewers,nchevobbe
Flags: needinfo?(hmanilla)
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: