Traducción en curso

Este artículo provee información sobre los cambios de Firefox 62 que van a afectar a los programadores. Firefox 62 ha sido lanzado en 5 de septiembre, 2018.

Cambios para programadores de red

Herramientas para programadores

  • La editor de formas ya está disponible por defecto -- vea a Editar formas en CSS para más informacion.
  • You can now split the Rules view out into its own pane, separate from the other tabs on the CSS pane. See Page inspector 3-pane mode for more details.
  • The Grid inspector has updated features, and all new documentation — see CSS Grid Inspector: Examine grid layouts.
  • You now have four options for the location of the Developer Tools. In addition to the default location on the bottom of the window, you can choose to locate the tools on either the left or right sides of the main window or in a separate window (error 1192642).
  • The Accessibility inspector has had a couple of minor updates:
    • It no longer exposes the help property, which isn't properly implemented in Gecko (error 1467643).
    • The keyboardShortcut property now correctly exposes any keyboard shortcut available to activate the currently inspected node (error 1467381).
  • A close button has been added to the split console toolbar.
  • If the option to "Select an iframe as the currently targeted document" is checked, the icon will appear in the toolbar while the Settings tab is displayed, even if the current page doesn't include any iframes (error 1456069).
  • The Network Monitor's Cookies tab now shows the cookie samesite attribute (error 1452715).
  • Responsive design mode now works inside container tabs (error 1306975).
  • When CORS errors occur and are reported on the console, Firefox now provides a link to the corresponding page in our CORS error documentation (error 1475391).
  • Create a screenshot of the current page (with an optional filename) from the Console tab (error 1464461) using the following command:

    :screenshot <filename.png> --fullpage

    where <filename.png> is the desired filename. The file will be saved to your downloads folder. The --fullpage parameter is optional, but if included, it will save the full web page. This option also adds -fullpage to the name of the file. For a list of all options available for this command, enter: :screenshot --help

Removals

  • The Developer Toolbar/GCLI (accessed with Shift + F2), has been removed from Firefox (error 1461970). Both the Developer Toolbar UI and the GCLI upstream library have become unmaintained, some of its features are broken (some ever since e10s), it is blocking the unsafeSetInnerHTML work, usage numbers are very low, alternatives exist for the most used commands.

HTML

No changes.

CSS

Removals

SVG

No changes.

JavaScript

Removals

  • The DOMPoint and DOMPointReadOnly constructors no longer support an input parameter of type DOMPointInit; the values of the properties must be specified using the x, y, z, and w parameters (error 1186265).
  • The URL.createObjectURL() method no longer supports creating object URLs to represent a MediaStream. This capability has been obsolete for some time now, since you can now simply set HTMLMediaElement.srcObject to the MediaStream directly (error 1454889).

APIs

New APIs

DOM

DOM events

No changes.

Service workers

No changes.

Media, Web Audio, and WebRTC

  • The "media.autoplay.enabled" preference now controls automatic playback of both audio and video media, instead of just video media (error 1413098).
  • The ChannelSplitterNode has been fixed to correctly default to having 6 channels with the channelInterpretation set to "discrete" and the channelCountMode set to "explicit", as per the specification (error 1456265).

Removals

HTTP

Removals

Security

No changes.

Plugins

No changes.

WebDriver conformance (Marionette)

New features

  • Command "WebDriver:ElementSendKeys" has been made WebDriver conforming for file uploads (error 1448792)

  • User prompts as raised by "beforeunload" events are automatically dismissed for "WebDriver:Get", "WebDriver:Back", "WebDriver:Forward", "WebDriver:Refresh", and "WebDriver:Close" commands (error 1434872)

  • "WebDriver:PerformActions" for Ctrl + Click synthesizes a contextmenu event (error 1421323)

API changes

  • Removed obsolete endpoints including "getWindowPosition", "setWindowPosition", "getWindowSize", and "setWindowSize" (error 1348145)
  • WebDriver commands which return success with data "null" now return an empty dictionary (error 1461463)

Bug fixes

Other

No changes.

Changes for add-on developers

API changes

Manifest changes

Theme changes

  • New tab_background_separator property of the theme manifest key enables extensions to change the color of the tab separator (error 1459455).

Removals

  • Support for unpacked sideloaded extensions has been removed (error 1385057).
  • The warning about browser_style displayed when temporarily loading an extension for testing is no longer displayed (error 1404724).

See also

Older versions

Etiquetas y colaboradores del documento

Colaboradores en esta página: laptou
Última actualización por: laptou,