зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1572837 - Fix browser_dbg_rr_stepping-04.js.
Differential Revision: https://phabricator.services.mozilla.com/D41436 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
9f6ad187bb
Коммит
23ec616c66
|
@ -17,9 +17,9 @@ add_task(async function() {
|
|||
const bp = await setBreakpoint(threadFront, "doc_rr_basic.html", 21);
|
||||
await rewindToLine(threadFront, 21);
|
||||
await checkEvaluateInTopFrame(target, "number", 10);
|
||||
await waitForSelectedLocation(dbg, 21);
|
||||
await reverseStepOverToLine(threadFront, 20);
|
||||
await reverseStepOverToLine(threadFront, 12);
|
||||
await reverseStepOverToLine(threadFront, 12);
|
||||
|
||||
// After reverse-stepping out of the topmost frame we should rewind to the
|
||||
// last breakpoint hit.
|
||||
|
|
|
@ -1997,6 +1997,11 @@ const ThreadActor = ActorClassWithSpec(threadSpec, {
|
|||
breakpoints: this.breakpointActorMap.listKeys(),
|
||||
};
|
||||
},
|
||||
|
||||
logLocation: function(prefix, frame) {
|
||||
const loc = this.sources.getFrameLocation(frame);
|
||||
dump(`${prefix} (${loc.line}, ${loc.column})\n`);
|
||||
},
|
||||
});
|
||||
|
||||
Object.assign(ThreadActor.prototype.requestTypes, {
|
||||
|
|
Загрузка…
Ссылка в новой задаче