diff --git a/devtools/client/debugger/new/test/mochitest/browser.ini b/devtools/client/debugger/new/test/mochitest/browser.ini index f02106ac4bb3..b44d4215d2d6 100644 --- a/devtools/client/debugger/new/test/mochitest/browser.ini +++ b/devtools/client/debugger/new/test/mochitest/browser.ini @@ -629,8 +629,6 @@ support-files = examples/script-switching-01.js examples/times2.js examples/doc_rr_basic.html - examples/doc_rr_continuous.html - examples/doc_rr_recovery.html [browser_dbg-asm.js] [browser_dbg-async-stepping.js] @@ -721,29 +719,3 @@ skip-if = debug || (verify && (os == 'win')) || (os == "win" && os_version == "6 skip-if = true [browser_dbg_rr_breakpoints-01.js] skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_breakpoints-02.js] -skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_breakpoints-03.js] -skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_breakpoints-04.js] -skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_breakpoints-05.js] -skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_record.js] -skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_stepping-01.js] -skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_stepping-02.js] -skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_stepping-03.js] -skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_stepping-04.js] -skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_recovery-01.js] -skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_replay-01.js] -skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_replay-02.js] -skip-if = os != "mac" || debug || !nightly_build -[browser_dbg_rr_replay-03.js] -skip-if = os != "mac" || debug || !nightly_build diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-02.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-02.js deleted file mode 100644 index a785d2c6c2bc..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-02.js +++ /dev/null @@ -1,29 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test unhandled divergence while evaluating at a breakpoint with Web Replay. -async function test() { - waitForExplicitFinish(); - - let tab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = tab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_basic.html", "current"); - await once(Services.ppmm, "RecordingFinished"); - - let toolbox = await attachDebugger(tab), client = toolbox.threadClient; - await client.interrupt(); - await setBreakpoint(client, "doc_rr_basic.html", 21); - await rewindToLine(client, 21); - await checkEvaluateInTopFrame(client, "number", 10); - await checkEvaluateInTopFrameThrows(client, "window.alert(3)"); - await checkEvaluateInTopFrame(client, "number", 10); - await checkEvaluateInTopFrameThrows(client, "window.alert(3)"); - await checkEvaluateInTopFrame(client, "number", 10); - await checkEvaluateInTopFrame(client, "testStepping2()", undefined); - - await toolbox.destroy(); - await gBrowser.removeTab(tab); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-03.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-03.js deleted file mode 100644 index df07212a9b84..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-03.js +++ /dev/null @@ -1,29 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test some issues when stepping around after hitting a breakpoint while recording. -async function test() { - waitForExplicitFinish(); - - let tab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = tab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_continuous.html", "current"); - - let toolbox = await attachDebugger(tab), client = toolbox.threadClient; - await client.interrupt(); - await setBreakpoint(client, "doc_rr_continuous.html", 19); - await resumeToLine(client, 19); - await reverseStepOverToLine(client, 18); - await checkEvaluateInTopFrame(client, "SpecialPowers.Cu.recordReplayDirective(/* AlwaysTakeTemporarySnapshots */ 3)", undefined); - await stepInToLine(client, 22); - await setBreakpoint(client, "doc_rr_continuous.html", 24); - await resumeToLine(client, 24); - await setBreakpoint(client, "doc_rr_continuous.html", 22); - await rewindToLine(client, 22); - - await toolbox.destroy(); - await gBrowser.removeTab(tab); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-04.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-04.js deleted file mode 100644 index 32b94259c25e..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-04.js +++ /dev/null @@ -1,36 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test navigating back to earlier breakpoints while recording, then resuming -// recording. -async function test() { - waitForExplicitFinish(); - - let tab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = tab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_continuous.html", "current"); - - let toolbox = await attachDebugger(tab), client = toolbox.threadClient; - await client.interrupt(); - await setBreakpoint(client, "doc_rr_continuous.html", 14); - await resumeToLine(client, 14); - let value = await evaluateInTopFrame(client, "number"); - await resumeToLine(client, 14); - await checkEvaluateInTopFrame(client, "number", value + 1); - await rewindToLine(client, 14); - await checkEvaluateInTopFrame(client, "number", value); - await resumeToLine(client, 14); - await checkEvaluateInTopFrame(client, "number", value + 1); - await resumeToLine(client, 14); - await checkEvaluateInTopFrame(client, "number", value + 2); - await resumeToLine(client, 14); - await checkEvaluateInTopFrame(client, "number", value + 3); - await rewindToLine(client, 14); - await checkEvaluateInTopFrame(client, "number", value + 2); - - await toolbox.destroy(); - await gBrowser.removeTab(tab); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-05.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-05.js deleted file mode 100644 index f75227a42768..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-05.js +++ /dev/null @@ -1,31 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test hitting breakpoints when rewinding past the point where the breakpoint -// script was created. -async function test() { - waitForExplicitFinish(); - - let tab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = tab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_basic.html", "current"); - await once(Services.ppmm, "RecordingFinished"); - - let toolbox = await attachDebugger(tab), client = toolbox.threadClient; - await client.interrupt(); - - // Rewind to the beginning of the recording. - await rewindToLine(client, undefined); - - await setBreakpoint(client, "doc_rr_basic.html", 21); - await resumeToLine(client, 21); - await checkEvaluateInTopFrame(client, "number", 1); - await resumeToLine(client, 21); - await checkEvaluateInTopFrame(client, "number", 2); - - await toolbox.destroy(); - await gBrowser.removeTab(tab); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_record.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_record.js deleted file mode 100644 index 59f10da140bb..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_record.js +++ /dev/null @@ -1,19 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test basic recording of a tab without any debugging. -async function test() { - waitForExplicitFinish(); - - var recordingTab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = recordingTab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_basic.html", "current"); - await once(Services.ppmm, "RecordingFinished"); - - await gBrowser.removeTab(recordingTab); - - ok(true, "Finished"); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_recovery-01.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_recovery-01.js deleted file mode 100644 index 4b90730f66c2..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_recovery-01.js +++ /dev/null @@ -1,28 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test basic recovery of crashed child processes in web replay. -async function test() { - waitForExplicitFinish(); - - let tab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = tab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_recovery.html", "current"); - await once(Services.ppmm, "RecordingFinished"); - - let toolbox = await attachDebugger(tab), client = toolbox.threadClient; - await client.interrupt(); - await setBreakpoint(client, "doc_rr_recovery.html", 21); - await rewindToLine(client, 21); - await checkEvaluateInTopFrame(client, "SpecialPowers.Cu.recordReplayDirective(/* CrashSoon */ 1)", undefined); - await stepOverToLine(client, 22); - await stepOverToLine(client, 23); - await checkEvaluateInTopFrame(client, "SpecialPowers.Cu.recordReplayDirective(/* CrashSoon */ 1); " + - "SpecialPowers.Cu.recordReplayDirective(/* MaybeCrash */ 2)", undefined); - - await toolbox.destroy(); - await gBrowser.removeTab(tab); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_replay-01.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_replay-01.js deleted file mode 100644 index 3e93e2d76e25..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_replay-01.js +++ /dev/null @@ -1,39 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Basic test for saving a recording and then replaying it in a new tab. -async function test() { - waitForExplicitFinish(); - - let recordingFile = newRecordingFile(); - let recordingTab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = recordingTab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_basic.html", "current"); - await once(Services.ppmm, "RecordingFinished"); - - let tabParent = recordingTab.linkedBrowser.frameLoader.tabParent; - ok(tabParent, "Found recording tab parent"); - ok(tabParent.saveRecording(recordingFile), "Saved recording"); - await once(Services.ppmm, "SaveRecordingFinished"); - - let replayingTab = gBrowser.addTab(null, { replayExecution: recordingFile }); - gBrowser.selectedTab = replayingTab; - await once(Services.ppmm, "HitRecordingEndpoint"); - - let toolbox = await attachDebugger(replayingTab), client = toolbox.threadClient; - await client.interrupt(); - await setBreakpoint(client, "doc_rr_basic.html", 21); - await rewindToLine(client, 21); - await checkEvaluateInTopFrame(client, "number", 10); - await rewindToLine(client, 21); - await checkEvaluateInTopFrame(client, "number", 9); - await resumeToLine(client, 21); - await checkEvaluateInTopFrame(client, "number", 10); - - await toolbox.destroy(); - await gBrowser.removeTab(recordingTab); - await gBrowser.removeTab(replayingTab); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_replay-02.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_replay-02.js deleted file mode 100644 index 94cbfa443fe7..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_replay-02.js +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test ending a recording at a breakpoint and then separately replaying to the end. -async function test() { - waitForExplicitFinish(); - - let recordingFile = newRecordingFile(); - let recordingTab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = recordingTab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_continuous.html", "current"); - - let toolbox = await attachDebugger(recordingTab), client = toolbox.threadClient; - await client.interrupt(); - await setBreakpoint(client, "doc_rr_continuous.html", 14); - await resumeToLine(client, 14); - await resumeToLine(client, 14); - await reverseStepOverToLine(client, 13); - let lastNumberValue = await evaluateInTopFrame(client, "number"); - - let tabParent = recordingTab.linkedBrowser.frameLoader.tabParent; - ok(tabParent, "Found recording tab parent"); - ok(tabParent.saveRecording(recordingFile), "Saved recording"); - await once(Services.ppmm, "SaveRecordingFinished"); - - await toolbox.destroy(); - await gBrowser.removeTab(recordingTab); - - let replayingTab = gBrowser.addTab(null, { replayExecution: recordingFile }); - gBrowser.selectedTab = replayingTab; - await once(Services.ppmm, "HitRecordingEndpoint"); - - toolbox = await attachDebugger(replayingTab); - client = toolbox.threadClient; - await client.interrupt(); - await checkEvaluateInTopFrame(client, "number", lastNumberValue); - await reverseStepOverToLine(client, 13); - await setBreakpoint(client, "doc_rr_continuous.html", 14); - await rewindToLine(client, 14); - await checkEvaluateInTopFrame(client, "number", lastNumberValue - 1); - await resumeToLine(client, 14); - await checkEvaluateInTopFrame(client, "number", lastNumberValue); - - await toolbox.destroy(); - await gBrowser.removeTab(replayingTab); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_replay-03.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_replay-03.js deleted file mode 100644 index 1edb688b5f2b..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_replay-03.js +++ /dev/null @@ -1,32 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test for saving a recording and then replaying it in a new tab, with rewinding disabled. -async function test() { - waitForExplicitFinish(); - - await pushPref("devtools.recordreplay.enableRewinding", false); - - let recordingFile = newRecordingFile(); - let recordingTab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = recordingTab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_basic.html", "current"); - await once(Services.ppmm, "RecordingFinished"); - - let tabParent = recordingTab.linkedBrowser.frameLoader.tabParent; - ok(tabParent, "Found recording tab parent"); - ok(tabParent.saveRecording(recordingFile), "Saved recording"); - await once(Services.ppmm, "SaveRecordingFinished"); - - let replayingTab = gBrowser.addTab(null, { replayExecution: recordingFile }); - gBrowser.selectedTab = replayingTab; - await once(Services.ppmm, "HitRecordingEndpoint"); - - ok(true, "Replayed to end of recording"); - - await gBrowser.removeTab(recordingTab); - await gBrowser.removeTab(replayingTab); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-01.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-01.js deleted file mode 100644 index 17bb5e907c1c..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-01.js +++ /dev/null @@ -1,29 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test basic step-over/back functionality in web replay. -async function test() { - waitForExplicitFinish(); - - let tab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = tab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_basic.html", "current"); - await once(Services.ppmm, "RecordingFinished"); - - let toolbox = await attachDebugger(tab), client = toolbox.threadClient; - await client.interrupt(); - await setBreakpoint(client, "doc_rr_basic.html", 21); - await rewindToLine(client, 21); - await checkEvaluateInTopFrame(client, "number", 10); - await reverseStepOverToLine(client, 20); - await checkEvaluateInTopFrame(client, "number", 9); - await checkEvaluateInTopFrameThrows(client, "window.alert(3)"); - await stepOverToLine(client, 21); - await checkEvaluateInTopFrame(client, "number", 10); - - await toolbox.destroy(); - await gBrowser.removeTab(tab); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-02.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-02.js deleted file mode 100644 index 5d7d4119c758..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-02.js +++ /dev/null @@ -1,30 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test fixes for some simple stepping bugs. -async function test() { - waitForExplicitFinish(); - - let tab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = tab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_basic.html", "current"); - await once(Services.ppmm, "RecordingFinished"); - - let toolbox = await attachDebugger(tab), client = toolbox.threadClient; - await client.interrupt(); - await setBreakpoint(client, "doc_rr_basic.html", 22); - await rewindToLine(client, 22); - await stepInToLine(client, 25); - await stepOverToLine(client, 26); - await stepOverToLine(client, 27); - await reverseStepInToLine(client, 33); - await reverseStepOverToLine(client, 32); - await reverseStepOutToLine(client, 26); - await reverseStepOverToLine(client, 25); - - await toolbox.destroy(); - await gBrowser.removeTab(tab); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-03.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-03.js deleted file mode 100644 index 03101e770cf3..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-03.js +++ /dev/null @@ -1,28 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test stepping back while recording, then resuming recording. -async function test() { - waitForExplicitFinish(); - - let tab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = tab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_continuous.html", "current"); - - let toolbox = await attachDebugger(tab), client = toolbox.threadClient; - await client.interrupt(); - await setBreakpoint(client, "doc_rr_continuous.html", 13); - await resumeToLine(client, 13); - let value = await evaluateInTopFrame(client, "number"); - await reverseStepOverToLine(client, 12); - await checkEvaluateInTopFrame(client, "number", value - 1); - await resumeToLine(client, 13); - await resumeToLine(client, 13); - await checkEvaluateInTopFrame(client, "number", value + 1); - - await toolbox.destroy(); - await gBrowser.removeTab(tab); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-04.js b/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-04.js deleted file mode 100644 index e549f599b498..000000000000 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg_rr_stepping-04.js +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Stepping past the beginning or end of a frame should act like a step-out. -async function test() { - waitForExplicitFinish(); - - let tab = gBrowser.addTab(null, { recordExecution: "*" }); - gBrowser.selectedTab = tab; - openTrustedLinkIn(EXAMPLE_URL + "doc_rr_basic.html", "current"); - await once(Services.ppmm, "RecordingFinished"); - - let toolbox = await attachDebugger(tab), client = toolbox.threadClient; - await client.interrupt(); - await setBreakpoint(client, "doc_rr_basic.html", 21); - await rewindToLine(client, 21); - await checkEvaluateInTopFrame(client, "number", 10); - await reverseStepOverToLine(client, 20); - await reverseStepOverToLine(client, 12); - - // After reverse-stepping out of the topmost frame we should rewind to the - // last breakpoint hit. - await reverseStepOverToLine(client, 21); - await checkEvaluateInTopFrame(client, "number", 9); - - await stepOverToLine(client, 22); - await stepOverToLine(client, 23); - // Line 13 seems like it should be the next stepping point, but the column - // numbers reported by the JS engine and required by the pause points do not - // match, and we don't stop here. - //await stepOverToLine(client, 13); - await stepOverToLine(client, 17); - await stepOverToLine(client, 18); - - // After forward-stepping out of the topmost frame we should run forward to - // the next breakpoint hit. - await stepOverToLine(client, 21); - await checkEvaluateInTopFrame(client, "number", 10); - - await toolbox.destroy(); - await gBrowser.removeTab(tab); - finish(); -} diff --git a/devtools/client/debugger/new/test/mochitest/examples/doc_rr_continuous.html b/devtools/client/debugger/new/test/mochitest/examples/doc_rr_continuous.html deleted file mode 100644 index fd6f6ed52367..000000000000 --- a/devtools/client/debugger/new/test/mochitest/examples/doc_rr_continuous.html +++ /dev/null @@ -1,28 +0,0 @@ - - -
Hello World!
- - - diff --git a/devtools/client/debugger/new/test/mochitest/examples/doc_rr_recovery.html b/devtools/client/debugger/new/test/mochitest/examples/doc_rr_recovery.html deleted file mode 100644 index 3b274a958707..000000000000 --- a/devtools/client/debugger/new/test/mochitest/examples/doc_rr_recovery.html +++ /dev/null @@ -1,26 +0,0 @@ - - -
Hello World!
- - -