Movatterモバイル変換


[0]ホーム

URL:


  1. Mozilla
  2. Firefox
  3. Release notes for developers
  4. Firefox 65

Firefox 65 release notes for developers

This article provides information about the changes in Firefox 65 that will affect developers. Firefox 65 was released on January 29, 2019.

Changes for web developers

Developer tools

  • TheFlexbox inspector is now enabled by default.
  • Support has been added to theJavaScript Debugger for XHR Breakpoints (Firefox bug 821610).
  • Right-click on an item in the accessibility tree from the Accessibility viewer toprint it as JSON to the JSON viewer.
  • Thecolor contrast display of the Accessibility Picker has been updated so that if a text's background is complex (e.g., a gradient or complex image), it shows a range of color contrast values.
  • The Headers tab of theNetwork Monitor now displays the Referrer Policy for the selected request (Firefox bug 1496742).
  • When displaying stack traces (e.g., in console logs or the JavaScript debugger), calls to framework methods are identified and collapsed by default, making it easier to home in on your code.
  • In the same fashion as native terminals, you can now use reverse search to find entries in your JavaScript console history (F9 on Windows/Linux orCtrl +R on macOS, then type a search term, followed byCtrl +R/Ctrl +S to toggle through results).
  • The JavaScript console's$0 shortcut (references the currently inspected element on the page) now has autocomplete available, so for example you could type$0.te to get autocomplete suggestions for properties like$0.textContent.
  • The edits you make in the Rules view of the Inspector are now listed in the Changes panel (Firefox bug 1503920).

HTML

CSS

  • Theimage-rendering property'scrisp-edges value has now been unprefixed (Firefox bug 1496617).

  • Ascrollbar-color value ofauto now resolves toauto, rather than two colors (Firefox bug 1501418).

  • Thebreak-* properties have been implemented, and the legacypage-break-* properties have been aliased to them (Firefox bug 775618):

  • Theoverflow-wrap property'sanywhere value has been implemented (Firefox bug 1505786).

  • The new step position keywordsjump-start,jump-end,jump-none, andjump-both — usable inside thesteps() timing function — have been implemented (Firefox bug 1496619). This also coincides with the removal of theframes() timing function, which was the previous way of implementing such functionality, now deprecated.

  • Some new-webkit-appearance values have been added, for compatibility with other browsers. In particular:

    • meter, which is now used as the default value for<meter> elements in UA stylesheets. The existing valuemeterbar is now an alias formeter (Firefox bug 1501483).
    • progress-bar, which is now used as the default value for<progress> elements in UA stylesheets. The existing valueprogressbar is now an alias forprogress-bar (Firefox bug 1501506).
    • textarea, which is now used as the default value for<textarea> elements in UA stylesheets. The existing valuetextfield-multiline is now an alias fortextarea (Firefox bug 1507905).
  • The behavior ofuser-select has been changed to make it align more with other browsers (Firefox bug 1506547). Specifically:

    • user-select: all set on an element no longer overrides other values ofuser-select set on children of that element. So for example in the following snippet:

      html
      <div>  All  <div>None</div></div>

      The<div> withnone set on it is now non-selectable. Previously this value would have been overridden by theall value set on the parent element.

    • non-contenteditable elements nested insidecontenteditable elements are now selectable.

    • user-select now behaves consistently inside and outside shadow DOM.

    • The proprietary-moz-text value has been removed.

  • CSS environment variables (theenv() function) have been implemented (Firefox bug 1462233).

Removals

SVG

No changes.

JavaScript

APIs

New APIs

DOM

DOM events

Web workers

Fetch and Service workers

Media, Web Audio, and WebRTC

Canvas and WebGL

Removals

  • Mutation events have been disabled in shadow trees (Firefox bug 1489858).
  • The non-standardMediaStream propertycurrentTime has been removed (Firefox bug 1502927).
  • Thedom.webcomponents.shadowdom.enabled anddom.webcomponents.customelements.enabled prefs have been removed — Shadow DOM and Custom Elements can no longer be disabled inabout:config (Firefox bug 1503019).
  • The non-standard DOMtext event — fired to notify the browser editor UI of IME composition string data and selection range — has been removed (Firefox bug 1288640).
  • Thekeypress event is no longer fired fornon-printable keys (Firefox bug 968056), except for theEnter key, and theShift +Enter andCtrl +Enter key combinations (these were kept for cross-browser compatibility purposes).

Security

Networking

No changes.

Plugins

No changes.

WebDriver conformance (Marionette)

API changes

  • WebDriver:ElementSendKeys now handles<input type=file> more relaxed for interactability checks, and allows those elements to be hidden without raising anot interactable error anymore. If a strict interactability check is wanted the capabilitystrictFileInteractability can be used (Firefox bug 1502864).

Bug fixes

  • The window manipulation commandsWebDriver:FullscreenWindow,WebDriver:MinimizeWindow,WebDriver:MaximizeWindow, andWebDriver:SetWindowRect have been made more stable (Firefox bug 1492499). It means that under special conditions they don't cause an infinite hang anymore, but instead timeout after 5s if the requested window state cannot be reached (Firefox bug 1521527).
  • WebDriver:ElementClick now correctly calculates the center point of the element to click, which allows interactions with dimensions of 1x1 pixels (Firefox bug 1499360).

Others

Other

  • Support forWebP images has been added (Firefox bug 1294490).

    • In addition, to facilitate cross-browser compatibility in certain situations the WebP MIMEType (image/webp) has been added to the standard HTTP RequestAccept header for HTML files (Firefox bug 1507691).
  • The AV1 codec is now supported by default on Windows (Firefox bug 1452146).

Changes for add-on developers

API changes

Tabs

  • Thetabs API has been enhanced to support tab successors — a tab can have a successor assigned to it, which is the ID of the tab that will be active once it is closed (Firefox bug 1500479, also seethis blog post for more information). In particular:
    • Thetabs.Tab type now has asuccessorId property, which can be used to store/retrieve the ID of the tab's successor.
    • Thetabs.onActivated event listener's callback has a new parameter available,previousTabId, which contains the ID of the previous activated tab, if it is still open.
    • Thetabs.update() function'supdateProperties object has a new optional property available on it,successorTabId, so can be used to update it.
    • successorTabId is also returned by functions liketabs.get() andtabs.query().
    • The new functiontabs.moveInSuccession() allows manipulation of tab successors in bulk.

Manifest changes

No changes.

Other

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp