summaryrefslogtreecommitdiffstats
path: root/devtools/client/responsive/test/xpcshell/head.js
blob: ee4933416ca25ec4062fa3900bcc2e1124d20e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

/* eslint no-unused-vars: [2, {"vars": "local"}] */

const { require } = ChromeUtils.importESModule(
  "resource://devtools/shared/loader/Loader.sys.mjs"
);

const Store = require("resource://devtools/client/responsive/store.js");

const DevToolsUtils = require("resource://devtools/shared/DevToolsUtils.js");

Services.prefs.setBoolPref("devtools.testing", true);
registerCleanupFunction(() => {
  Services.prefs.clearUserPref("devtools.testing");
});