commit b0e33960db736455504422c8f4ec261f22497542 parent 3ae7131cd221ff5a9b590e78066101e5969c2c62 Author: Alexandru Marc <amarc@mozilla.com> Date: Fri, 19 Dec 2025 18:06:49 +0200 Revert "Bug 2006570 - [devtools] Fix the icons in the quick open result list and the source tree r=devtools-reviewers,nchevobbe" for causing dt failures @ browser_dbg-quick-open.js This reverts commit b600ee4badeb194bfe3ab1181d6b8ec0d8256712. Diffstat:
3 files changed, 5 insertions(+), 14 deletions(-)
diff --git a/devtools/client/debugger/src/components/PrimaryPanes/Sources.css b/devtools/client/debugger/src/components/PrimaryPanes/Sources.css @@ -175,14 +175,6 @@ html[dir="rtl"] .sources-list .tree .node > div { color: var(--theme-comment); } -.sources-list .tree .tree-node.focused { - /* Make folder/file icons white on dark focused background */ - .dbg-img { - background-color: var(--theme-selection-color); - fill: var(--theme-selection-color); - } -} - .sources-list .tree .focused .label .suffix { color: inherit; } diff --git a/devtools/client/debugger/src/components/shared/ResultList.css b/devtools/client/debugger/src/components/shared/ResultList.css @@ -46,7 +46,7 @@ color: var(--theme-selection-color); } -.result-list li .dbg-img-result-item-icon { +.result-list li .result-item-icon { background-color: var(--theme-icon-dimmed-color); } @@ -56,11 +56,11 @@ margin-inline-start: 4px; } -.result-list .dbg-img-result-item-icon { +.result-list .result-item-icon { display: block; } -.result-list .selected .dbg-img-result-item-icon { +.result-list .selected .result-item-icon { background-color: var(--theme-selection-color); } diff --git a/devtools/client/debugger/src/utils/quick-open.js b/devtools/client/debugger/src/utils/quick-open.js @@ -57,7 +57,6 @@ export function formatSourceForList( isBlackBoxed, projectDirectoryRoot ) { - const prefix = "dbg-img-"; const relativeUrlWithQuery = `${getRelativeUrl( source, projectDirectoryRoot @@ -69,8 +68,8 @@ export function formatSourceForList( title: source.shortName, subtitle, icon: hasTabOpened - ? `tab ${prefix}result-item-icon` - : `result-item-icon ${prefix}${getSourceClassnames(source, isBlackBoxed)}`, + ? "tab result-item-icon" + : `result-item-icon ${getSourceClassnames(source, isBlackBoxed)}`, id: source.id, url: source.url, source,