Deprecated tools

您正在阅读此内容的英文版本,因为该语系尚未翻译。 帮助我们翻译此文章吧!

Over the course of DevTools development, we have added several experimental panels to try out new ideas. Not all of these have had wide adoption, and due to the cost of maintenance, seldom used panels are eventually removed.

We have created this list of deprecated or removed panels. This page documents the deprecated panels and the bugs that track their removal. Although these panels have been removed, you still have access to the old code, and there are alternative webextensions that you can try to get similar functionality.

When we deprecate a panel, we begin by getting feedback from the community to determine the impact of removing that panel. Once we have decided to remove the panel, we will provide a warning message, and finally, we will remove the panel from the codebase.

You may see a warning message, as in the following image, when trying to activate a deprecated panel:

In addition, if you open the panel for one of these tools, you will also see a warning message about its removal.

Scratchpad

Scratchpad will be deprecated as of Firefox 70 (bug 1565380).

It will be removed in the future (version number unknown at the moment, check bug 1519103).

Description

Scratchpad provides an environment for experimenting with JavaScript code. You can write, run, and examine the result of code that interacts with the web page.

Screenshot of the Scratchpad window with a deprecation message

Alternatives

You can write multi-line JavaScript code in the Web Console, making it similar to the Scratchpad. If the JavaScript code you enter in the Console can be interpreted as the beginning of a multi-line statement, the Enter key adds a new line in the input, and you can evaluate the expression using Ctrl + Enter (Cmd + Enter on macOS).

Screenshot of the Webconsole multiline input, showing an evaluation with a Syntax Error and another, correct one.

When evaluating, the input isn't cleared, which makes it possible to quickly iterrate over a snippet of code.

The results are displayed in the console output, to the right of the input, providing immediate feedback. Unlike in Scratchpad, errors are properly displayed in the output with an expandable stacktrace, making it easier to debug the code you're currently writing.

WebIDE and Connect page

WebIDE was deprecated as of Firefox 69

Disabled as of Firefox 70 (bug 1539451).

Removed as of Firefox 71 (bug 1539462).

Description

WebIDE allowed you to connect the Firefox Developer Tools to remote browsers, such as Firefox for Android. It was also intended to support application development for Firefox OS.

Alternatives

Remote debugging is available in about:debugging as of Firefox 68. Features not ported to about:debugging are: WiFi debugging for Firefox for Android, application development. Features that are planned but not ported yet: remote browser screenshots and edit remote browser configuration. More details on the mailing-list thread.

Canvas debugger

Bugzilla issue: bug 1403938

Removed as of Firefox 67

Description

Canvas Debugger allowed users to inspect the canvas element and see how frequently a given function is called. It was deprecated due to lack of use.

We do not have dedicated documentation for the Canvas Debugger.

Alternatives

Spector.js is a WebExtension that can provide these features with 3D contexts.

Web Audio editor

Bugzilla issue: bug 1403944

Removed as of Firefox 67

Description

The Web Audio Editor allowed you to examine an audio context constructed in the page and provided a visualization of its graph. This gave a high-level view of its operation, and enabled you to ensure that all the nodes are connected in the way you expect. It was possible to edit the AudioParam properties for each node in the graph. Some non-AudioParam properties, like an OscillatorNode's type property, were displayed and editable as well. It was deprecated due to lack of use.

More details about the Web Audio Editor

Alternatives

Alternatives include AudioN and https://github.com/spite/WebAudioExtension web extensions.

Shader editor

Bugzilla issue: bug 1342237

Removed as of Firefox 67

Description

The Shader Editor allowed users to examine and edit the source of the WebGL vertex and fragment shaders. It was deprecated due to low usage and maintenance costs.

More details about the Shader Editor

Alternatives

An alternative to this panel is this extension: https://github.com/spite/ShaderEditorExtension, or Spector.js also supports a Shader Editor that requires a library to use a shader reloader hook. Currently only the Babylon library does.