Firefox 61 for developers 编辑

This article provides information about the changes in Firefox 61 that will affect developers. Firefox 61 was released on June 26, 2018.

Changes for web developers

Developer tools

  • The new-look Console UI has been enabled by default for the Browser Console & Browser Toolbox (bug 1362023/bug 1347127). The old UI has been removed.
  • In the Network Monitor, clicking Open in New Tab in a POST request's context menu correctly resends the request with the expected POST parameters (bug 1407515).
  • CSS variables now autocomplete with color swatches, allowing you to see exactly what color value is stored in each variable (bug 1451211).
    • In addition, hovering over a CSS variable name brings up a tooltip showing what color value is stored in that variable (bug 1431949).
  • The main toolbox's toolbar has been redesigned. Highlights are better responsiveness for narrow and wide viewports with a new overflow dropdown, cleaned up meatball menu, and sortable tabs to let you move up your most used panels (bug 1226272).
  • The Network Monitor's toolbar now includes a dropdown menu providing easier access to the 'Copy All As HAR' and 'Save All As HAR' commands, as well as an 'Import...' option (bug 1403530).
  • The Network Monitor's details pane now includes a Cache tab, which displays information about previously cached resources (bug 859051).
  • The Network Monitor's main toolbar got redesigned to be more responsive on smaller viewports and visually aligned with the Console.
  • The Network Monitor's main toolbar now includes a Throttling dropdown which was only available in the Responsive Design Mode before. It allows you to throttle your network speed to emulate various different network speed conditions (bug 1349559).
  • The Browser Console now hides CSS errors by default for readability and performance reasons (bug 1452143).
  • The Browser Console now includes a command to restart the browser. Use Ctrl + Alt + R (Windows, Linux) or Cmd + Alt + R (Mac) to restart the browser with the same tabs open as before the restart.
  • DevTools' web extension APIs devtools.network.onRequestFinished (bug 1311171) and devtools.network.getHAR (bug 1311177) got implemented (enabling extensions like har-export-trigger).
  • The Firebug theme got removed since the transition of Firebug users into DevTools is complete (bug 1378108).

HTML

No changes.

CSS

SVG

JavaScript

APIs

New APIs

DOM

DOM events

No changes.

Service workers

The "Forget" button, available in Firefox's customization options, now clears service workers and their caches (bug 1252998).

Web Audio, Media and WebRTC

  • The AudioContext() constructor now accepts an optional options parameter of type AudioContextOptions. This lets you configure the preferred latency and/or sample rate for the new context.
  • Firefox now throws the correct exceptions when instantiation of an AudioBuffer fails.

WebVR

Canvas and WebGL

No changes.

CSSOM

  • The CSSStyleRule.selectorText property is now fully implemented and no longer read-only (bug 37468).
  • The MediaList interface implementation is now a little closer to the specification. It is not all the way there yet; for example, stringifier attributes haven't been implemented yet (bug 1455807).

HTTP

Networking

  • Firefox 61 and later no longer support using the FTP protocol (that is, URLs with the "ftp://" scheme) to load subresources from within HTML content. FTP is still supported as a top-level URL entered directly into the URL bar or loaded as a standalone document (bug 1404744).

Security

No changes.

Plugins

No changes.

Other

No changes.

Removals from the web platform

Developer tools

Cmd/Ctrl + Shift + O no longer shows/hides the DevTools options panel — use F1 instead (bug 1409456).

HTML

No changes.

CSS

@-moz-document has been disabled in content pages (bug 1422245).

APIs

SVG

  • The deprecated (and never properly implemented) SVGViewElement.viewTarget property has been removed (bug 1455763).
  • The following deprecated properties have been removed from SVGSVGElement (bug 1133172):
    • pixelUnitToMillimeterX
    • pixelUnitToMillimeterY
    • screenPixelToMillimeterX
    • screenPixelToMillimeterY
  • The non-standard SVGNumber() constructor has been removed (bug 1455940).

Other

No changes.

Changes for add-on and Mozilla developers

WebExtensions

See also

Older versions

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

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

发布评论

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

词条统计

浏览:64 次

字数:27920

最后编辑:7年前

编辑次数:0 次

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