зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 1d94f9ef232a (bug 1419755) for causing mochitest failures at dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__copy-tex-image-and-sub-image-2d.html
CLOSED TREE
This commit is contained in:
Родитель
dda7e26657
Коммит
1b13fb1938
|
@ -117,7 +117,6 @@ export const prefs = new PrefsHelper("devtools", {
|
|||
mapScopes: ["Bool", "debugger.map-scopes-enabled"],
|
||||
logActions: ["Bool", "debugger.log-actions"],
|
||||
logEventBreakpoints: ["Bool", "debugger.log-event-breakpoints"],
|
||||
indentSize: ["Int", "editor.tabsize"],
|
||||
});
|
||||
|
||||
// The pref may not be defined. Defaulting to null isn't viable (cursor never blinks).
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
// @flow
|
||||
|
||||
import { prefs } from "../../utils/prefs";
|
||||
import { workerUtils } from "devtools-utils";
|
||||
const { WorkerDispatcher } = workerUtils;
|
||||
|
||||
|
@ -37,7 +36,7 @@ export async function prettyPrint({ text, url }: PrettyPrintOpts) {
|
|||
|
||||
return dispatcher.invoke("prettyPrint", {
|
||||
url,
|
||||
indent: prefs.indentSize,
|
||||
indent: 2,
|
||||
sourceText: text,
|
||||
});
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче