mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
1545a06eea
--HG-- rename : browser/devtools/highlighter/test/browser_inspector_treePanel_menu.js => browser/devtools/highlighter/test/browser_inspector_menu.js rename : browser/devtools/highlighter/test/browser_inspector_treePanel_navigation.html => browser/devtools/markupview/test/browser_inspector_markup_navigation.html rename : browser/devtools/highlighter/test/browser_inspector_treePanel_navigation.js => browser/devtools/markupview/test/browser_inspector_markup_navigation.js
16 lines
575 B
JavaScript
16 lines
575 B
JavaScript
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
const Cu = Components.utils;
|
|
|
|
// Clear preferences that may be set during the course of tests.
|
|
function clearUserPrefs()
|
|
{
|
|
Services.prefs.clearUserPref("devtools.inspector.htmlPanelOpen");
|
|
Services.prefs.clearUserPref("devtools.inspector.sidebarOpen");
|
|
Services.prefs.clearUserPref("devtools.inspector.activeSidebar");
|
|
}
|
|
|
|
registerCleanupFunction(clearUserPrefs);
|