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:
Daniel Varga 2020-03-30 22:40:02 +03:00
Родитель dda7e26657
Коммит 1b13fb1938
2 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -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,
});
}