Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите сделать эту работу!
Вы можете также прочитать эту статью на English (US).

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

Метки документа и участники

Метки: 
Обновлялась последний раз: digitarald,