Firefox 67 for developers 编辑

This article provides information about the changes in Firefox 67 that will affect developers. Firefox 67 was released on May 21, 2019.

Changes for web developers

Developer tools

  • Debugger updates:
    • Column breakpoints allow you to select the specific point (or column) in a line of code where you want the debugger to break (bug 1528417).
    • Log points allow you to log specific information to the console during code execution without pausing execution and without the need to change the code.
    • The map scopes feature allows you to view the variables from the original source.
    • You can debug worker threads directly in the debugger.
  • Web Console updates:
    • Navigate details in the console using the keyboard (bug 1424159).
    • Cmd + K will now clear the console of its contents on macOS (bug 1532939).
    • When the user clears the console, the error messages cache is cleared as well (bug 717611).
    • The user can import existing modules into the current page using import (bug 1517546).
    • A new context menu item allows the user to use the Copy Link Location command (bug 1457111).
    • Clicking a link in the Console causes the same behavior that it would in a content window (bug 1466040).
    • Clicking the source link for a code file in the Console panel navigates to the Debugger if debugger knows the file (bug 1447244).
    • When the user has filtered the contents of the console, an icon will be added to the filter text box to clear the filter (bug 1525821).
  • Network Monitor enhancements:
    • The Header panel of the Network monitor will now display a notification for resources belonging to a known tracker (bug 1485416).
    • In the Network monitor request columns, you can control the visible columns and column sorting. The context menu now includes a command to restore the list sort parameters to the default (bug 1454962).
    • You can change the width of the columns in the Network Monitor to suit your workflow (bug 1358414).

Removals

HTML

CSS

Removals

SVG

No changes.

JavaScript

APIs

DOM

DOM events

Workers/Service workers

Media, Web Audio, and WebRTC

Canvas and WebGL

Removals

  • The deprecated ShadowRoot.getElementsByTagNameShadowRoot.getElementsByTagNameNS, and ShadowRoot.getElementsByClassName properties (part of Shadow DOM v0) have been removed (bug 1535438).
  • document.createEvent("TouchEvent"), document.createTouch(), document.createTouchList(), and the ontouch* event handler properties have been disabled on desktop to improve web compatibility on websites where touch support is used for mobile detection (bug 1412485). In such cases, websites have been seen to behave incorrectly or unexpectedly on touchscreen laptops.

Security

WebDriver conformance (Marionette)

API changes

Bug fixes

  • WebDriver:NewWindow will no longer timeout because of focus-related inconsistencies across platforms (bug 1523234).

Others

  • Both WebDriver:ExecuteScript and WebDriver:ExecuteAsyncScript now use Promises internally (bug 1398095).
  • WebDriver:NewSession returns Firefox's BuildID string as part of the capabilities object (bug 1525829).

Changes for add-on developers

API changes

  • Using the proxy.settings.set() method to change BrowserSetting values will throw an exception unless the extension was granted private window access by the user (bug 1525447).

Manifest changes

  • A new manifest key, incognito, defines the behavior of an extension in private browsing windows or tabs (bug 1511636).
  • The toolbar_field_highlight setting controls the background color used to indicate the current selection of text in the URL bar (bug 1450114).
  • The toolbar_field_highlight_text setting controls the text color used to indicate the current selection of text in the URL bar (bug 1450114).

See also

Older versions

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

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

发布评论

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

词条统计

浏览:114 次

字数:19819

最后编辑:7 年前

编辑次数:0 次

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