Firefox 69 for developers 编辑

This article provides information about the changes in Firefox 69 that will affect developers. Firefox 69 was released on September 3, 2019.

Changes for web developers

Developer tools

Debugger

  • Event Listener Breakpoints let you diagnose which code a page executes in response to browser events. You can pick specific types, such as click or keydown, or whole categories of events, like all mouse input events. (bug 1526082).
  • Scripts shown in the debugger's  source list pane can now be saved via the Download file context menu option (bug 888161).
  • In the debugger's source list pane, loaded extensions are listed with their name, rather than just their UUID (bug 1486416), making it much easier to find the extension code you want to debug.
  • The debugger now loads significantly faster via lazy-loading scripts (bug 1527488).

Console

  • Browser Console messages from tracking protection errors, CSP errors, and CORS errors are grouped automatically to reduce noise from repeated blocked resources and storage access (bug 1522396).
  • All visible logs in the console can shared by saving to a file or copying to clipboard via a new Export visible messages to context menu item (bug 1517728).
  • The console's toolbar now responsively reduces its height into a single row to save vertical space (bug 972530).
  • Messages from content can now be hidden in the console to focus on logs from the Firefox UI (bug 1523842).

Network

  • Resources that got blocked because of CSP or Mixed Content are now shown in the Network panel, with details of the reason (bug 1556451).
  • A new optional URL column in the Network panel can be enabled to show the full URL for resources (bug 1341155).

Inspector

  • When you hover over an element in the Page Inspector, the infobar that appears now includes the fact that an element is a flex container, or flex item (bug 1521188).
  • When inspecting a page containing a grid with a subgrid, the parent grid's overlay lines are displayed whenever the subgrid's lines are displayed; if the parent grid's overlay checkbox is unselected, then its lines are translucent (bug 1550519).

Remote debugging

  • For our mobile web developers, we have migrated remote debugging from the old WebIDE into a re-designed about:debugging, making the experience of debugging GeckoView on remote devices via USB much better (bug 1462208).

General

  • The DevTools panel order has been changed to reflect popularity (bug 1558630).

HTML

  • In order to align more closely to the specification, the text track associated with a <track> element no longer loads the WebVTT file containing the text cues if the element is created in its default disabled mode. To access or manipulate the cues when the mode is disabled, change the mode to either started or hidden; this will trigger loading of the WebVTT data (bug 1550633).

 Removals

  • The HTML <keygen> element has been removed from Firefox. It was deprecated some time ago, and its purpose has generally been supplanted by other technologies (bug 1315460).

CSS

SVG

JavaScript

HTTP

APIs

New APIs

DOM

Media, Web Audio, and WebRTC

Removals

WebDriver conformance (Marionette)

Other

  • Marionette now dynamically handles the opening and closing of modal dialogs and user prompts (bug 1477977), which also means that multiple open prompts will be handled (bug 1487358).

  • Tracking protection and DOM push features are now disabled by default to avoid the removal of parts of the DOM, and extra notifications (bug 1542244).

  • Automatic unloading of background tabs if Firefox runs into a low memory condition is now disabled — this badly interacts with automation when switching between tabs (bug 1553748).

Changes for add-on developers

API changes

Other changes

See also

Older versions

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

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

发布评论

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

词条统计

浏览:59 次

字数:25051

最后编辑:6 年前

编辑次数:0 次

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