mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-18 02:13:08 +09:00
Since these are just interpreted comments, there's 0 impact on actual code. This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are a few others scattered around which will be removed manually in a second part.
24 lines
677 B
JavaScript
24 lines
677 B
JavaScript
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
/* Any copyright is dedicated to the Public Domain.
|
|
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
/**
|
|
* Bug 1201008 - Make sure you can't set a breakpoint in a blank
|
|
* editor
|
|
*/
|
|
|
|
function test() {
|
|
initDebugger('data:text/html,hi', { source: null }).then(([aTab,, aPanel]) => {
|
|
const gPanel = aPanel;
|
|
const gDebugger = gPanel.panelWin;
|
|
|
|
Task.spawn(function* () {
|
|
const editor = gDebugger.DebuggerView.editor;
|
|
editor.emit("gutterClick", 0);
|
|
is(editor.getBreakpoints().length, 0,
|
|
"A breakpoint should not exist");
|
|
|
|
closeDebuggerAndFinish(gPanel);
|
|
});
|
|
});
|
|
}
|