зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1251291 - Tool notices (Take snapshot and Start Recording Performance) should use var(--theme-body-background), r=jsantell
This commit is contained in:
Родитель
f82d9f7dd0
Коммит
ab063bbd44
|
@ -20,25 +20,31 @@ var PerformanceView = {
|
|||
states: {
|
||||
"unavailable": [
|
||||
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#unavailable-notice") },
|
||||
{ sel: "#performance-view-content", opt: "hidden", val: () => true },
|
||||
],
|
||||
"empty": [
|
||||
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#empty-notice") }
|
||||
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#empty-notice") },
|
||||
{ sel: "#performance-view-content", opt: "hidden", val: () => true },
|
||||
],
|
||||
"recording": [
|
||||
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#performance-view-content") },
|
||||
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#recording-notice") }
|
||||
{ sel: "#performance-view-content", opt: "hidden", val: () => false },
|
||||
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#recording-notice") },
|
||||
],
|
||||
"console-recording": [
|
||||
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#performance-view-content") },
|
||||
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#console-recording-notice") }
|
||||
{ sel: "#performance-view-content", opt: "hidden", val: () => false },
|
||||
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#console-recording-notice") },
|
||||
],
|
||||
"recorded": [
|
||||
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#performance-view-content") },
|
||||
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#details-pane") }
|
||||
{ sel: "#performance-view-content", opt: "hidden", val: () => false },
|
||||
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#details-pane") },
|
||||
],
|
||||
"loading": [
|
||||
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#performance-view-content") },
|
||||
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#loading-notice") }
|
||||
{ sel: "#performance-view-content", opt: "hidden", val: () => false },
|
||||
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#loading-notice") },
|
||||
]
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче