Skip to content

Commit

Permalink
Bug 1755736 - [devtools] Update line offsets in browser_dbg-breakable…
Browse files Browse the repository at this point in the history
…-positions.js according to sourcemaps-reload test page changes. CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D139294
  • Loading branch information
ochameau committed Feb 21, 2022
1 parent cdebea3 commit 084181b
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ add_task(async function testBreakableLinesOverReloads() {

info("Assert breakable lines of the first html page load");
await assertBreakablePositions(dbg, "index.html", 20, [
{ line: 16, columns: [6, 14] },
{ line: 17, columns: [] },
{ line: 17, columns: [6, 14] },
{ line: 18, columns: [] },
]);

info("Assert breakable lines of the first original source file, original.js");
Expand Down Expand Up @@ -75,9 +75,9 @@ add_task(async function testBreakableLinesOverReloads() {
]);

info("Assert breakable lines of the second html page load");
await assertBreakablePositions(dbg, "index.html", 21, [
{ line: 15, columns: [6, 14] },
{ line: 17, columns: [] },
await assertBreakablePositions(dbg, "index.html", 22, [
{ line: 16, columns: [6, 14] },
{ line: 18, columns: [] },
]);

info("Assert breakable lines of the second orignal file");
Expand Down

0 comments on commit 084181b

Please sign in to comment.