Files
firefox/devtools/client/framework/browser-toolbox/window.html
T
Nicolas Chevobbe 1b481f44eb Bug 1776853 - [devtools] Add BrowserToolbox-specific toolbar. r=ochameau,jdescottes,fluent-reviewers,flod.
This adds an additional toolbar in the Browser Toolbox which will contain specific
tools and options.
At the moment we only display a couple input button to be able to switch from
Parent process only to multiprocess mode.
We remove the similar UI in the iframe picker and adapt the existing test.

A trait is added to not show the toolbar when debugging server where we wouldn't
get the `isSwitchingMode` property in `onTargetDestroyed`, as this can cause
misbehavior in various tool when switching between different modes.

Differential Revision: https://phabricator.services.mozilla.com/D150575
2022-08-01 09:33:17 +00:00

24 lines
1.0 KiB
HTML

<!-- 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/. -->
<!DOCTYPE html>
<html id="devtools-toolbox-window"
windowtype="devtools:toolbox"
width="900" height="450"
persist="screenX screenY width height sizemode">
<head>
<link rel="stylesheet" href="chrome://global/skin/global.css"/>
<link rel="stylesheet" href="chrome://devtools/skin/common.css"/>
<link rel="stylesheet" href="chrome://devtools/content/framework/browser-toolbox/window.css"/>
<script src="chrome://devtools/content/framework/browser-toolbox/window.js"></script>
<script src="chrome://global/content/viewSourceUtils.js"></script>
<script src="chrome://browser/content/utilityOverlay.js"></script>
</head>
<body>
<div id="status-message-container" hidden>
<div id="status-message-title"></div>
<pre id="status-message"></pre>
</div>
</body>
</html>