зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1407326 - remove references to invertIconForLightTheme in extensions codebase;r=rpl
MozReview-Commit-ID: B2eTpm6qbOh --HG-- extra : rebase_source : 4435d53e0f96a2beea27d5e727642479fba7d1f2
This commit is contained in:
Родитель
e729ce7f9a
Коммит
ea13b52036
|
@ -88,7 +88,6 @@ class ParentDevToolsPanel {
|
|||
icon: icon,
|
||||
label: title,
|
||||
tooltip: `DevTools Panel added by "${extensionName}" add-on.`,
|
||||
invertIconForLightTheme: false,
|
||||
visibilityswitch: `devtools.webext-${this.id}.enabled`,
|
||||
isTargetSupported: target => target.isLocalTab,
|
||||
build: (window, toolbox) => {
|
||||
|
|
|
@ -214,9 +214,6 @@ add_task(async function test_devtools_page_panels_create() {
|
|||
const panelDef = toolboxAdditionalTools[0];
|
||||
const panelId = panelDef.id;
|
||||
|
||||
is(panelDef.invertIconForLightTheme, false,
|
||||
"devtools.panel.create set invertIconForLightTheme to false by default");
|
||||
|
||||
await gDevTools.showToolbox(target, panelId);
|
||||
const {devtoolsPageTabId} = await extension.awaitMessage("devtools_panel_shown");
|
||||
const devtoolsPanelTabId = await extension.awaitMessage("devtools_panel_inspectedWindow_tabId");
|
||||
|
|
Загрузка…
Ссылка в новой задаче