Firefox 76 for developers 编辑

This article provides information about the changes in Firefox 76 that will affect developers. Firefox 76 was released on May 5, 2020.

See also the accompanying hacks post — Firefox 76: Audio worklets and other tricks.

Changes for web developers

Developer tools

Debugger

Network monitor

  • In the network request list, you can now double-click a column divider to resize the column to the left of it to fit its contents (bug 1615102).
  • The network request Copy > Copy as cURL context menu option has a new option available, --globoff, which suppresses cURL's globbing (wildcard matching) feature if the copied URL includes square bracket characters (bug 1549773).
  • The Messages tab of the details pane for web socket requests has a new filter — Control — for showing control frames, and the filters are now grouped together into a selection lst (bug 1566780).

Web console

  • In multi-line mode, code snippets longer than five lines are abbreviated to five lines, preceded by a disclosure triangle (or "twistie"), and followed by an ellipsis (…). You can click anywhere in this area to show the code, and click again in that area to collapse it (bug 1578212).
  • DOM element references outputted into the console now have a "Reveal in inspector" context menu option, which shows the element in the HTML pane of the Page inspector (bug 1612276).

Remote debugging

  • Because of differences in DevTools versions, it is not possible to debug releases of Firefox for Android that are based on version 68, from desktop Firefox versions 69 or later. When attempting to do this, the Firefox desktop browser will now show a message informing the user of this problem, and offering possible next steps (bug 1625906). See Connection to Firefox for Android 68 for more information.

HTML

  • The <input> element's min and max attributes now work correctly when the value of min is greater than the value of max for control types whose values are periodic (that is, values that wrap around at some point). This is particularly helpful, for example, with date and time inputs, where you might want to specify a time range of 11 PM to 2 AM (bug 1608010).

CSS

SVG

No changes.

JavaScript

APIs

New APIs

DOM

Removals

HTTP

No changes.

Security

No changes.

WebDriver conformance (Marionette)

  • Firefox no longer reports false for navigator.webdriver when used for automation / testing via geckodriver (bug 1632556).

Changes for add-on developers

No changes.

See also

Older versions

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:47 次

字数:12697

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文