Skip to content

Commit c2af106

Browse files
committedJul 18, 2024
Bug 1885054 - [devtools] Display tracer data in a debugger sidebar. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D204446
1 parent c17fd28 commit c2af106

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1893
-164
lines changed
 

‎devtools/client/debugger/index.html

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
type="text/css"
4747
href="chrome://devtools/content/shared/components/tabs/Tabs.css"
4848
/>
49+
<link
50+
rel="stylesheet"
51+
type="text/css"
52+
href="chrome://devtools/skin/components-frame.css"
53+
/>
4954
</head>
5055

5156
<body>

‎devtools/client/debugger/panel.js

+9
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ class DebuggerPanel {
7272
constructor(iframeWindow, toolbox, commands) {
7373
this.panelWin = iframeWindow;
7474
this.panelWin.L10N = L10N;
75+
this.panelWin.sourceMapURLService = toolbox.sourceMapURLService;
7576

7677
this.toolbox = toolbox;
7778
this.commands = commands;
@@ -367,9 +368,17 @@ class DebuggerPanel {
367368
this._actions.selectThread(threadActorID);
368369
}
369370

371+
showTracerSidebar() {
372+
this._actions.setPrimaryPaneTab("tracer");
373+
}
374+
370375
destroy() {
371376
this.panelWin.Debugger.destroy();
372377
this.emit("destroyed");
378+
this.panelWin.L10N = null;
379+
this.panelWin.sourceMapURLService = null;
380+
this.panelWin = null;
381+
this.commands = null;
373382
}
374383
}
375384

0 commit comments

Comments
 (0)
Failed to load comments.