Closed Bug 1752535 Opened 3 years ago Closed 3 years ago

Extend the coverage of breakable lines in the source editor

Categories

(DevTools :: Debugger, task)

task

Tracking

(firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Today, we only have one unique assertion to try to cover breakable line support:
https://searchfox.org/mozilla-central/rev/7056a708787621758bef9793a93aa7ca8375eeef/devtools/client/debugger/test/mochitest/browser_dbg-breakpoints.js#35
But one assertion is far from being enough, and it doesn't assert the behavior of the UI at all.

We should try to cover the actual behavior of the UI and try to cover the case when reloading the page fetches a new source content and confirm that the breakable lines update accordingly.

Assignee: nobody → poirot.alex

This patch introduce a new test helper to more easily test a page that reloads with an updated content.
This especially take care of source map support.

Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/044fcd41ea1d [devtools] Extend the coverage of breakable lines in the source editor. r=bomsy
Regressions: 1752737
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
Blocks: 1754189
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: