Firefox 67 for developers
Este artículo provee información sobre los cambios en Firefox 67 que afectarán a los desarrolladores. Firefox 67 fue lanzado el 21 de Mayo de 2019.
Cambios para desarrolladores web
Herramientas de desarrollo
- Actualizaciones del depurador:
- Los puntos de interrupción de columna te permiten elegir el punto específico (o columna) en una línea de código donde quieres que el depurador pare (error 1528417).
- Los puntos de registro te permiten registrar información específica a la consola durante la ejecución de código sin pausar la ejecución y sin la necesidad de cambiar el código.
- The map scopes feature allows you to view the variables from the original source.
- You can debug service worker threads directly in the debugger.
- Web Console updates:
- Navigate details in the console using the keyboard (error 1424159).
- Cmd + K will now clear the console of its contents on macOS (error 1532939).
- When the user clears the console, the error messages cache is cleared as well (error 717611).
- The user can import existing modules into the current page using import (error 1517546).
- A new context menu item allows the user to use the Copy Link Location command (error 1457111).
- Clicking a link in the Console causes the same behavior that it would in a content window (error 1466040).
- Clicking the source link for a code file in the Console panel navigates to the Debugger if debugger knows the file (error 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 (error 1525821).
- Network Monitor enhancements:
- The Header panel of the Network monitor will now display a notification for resources belonging to a known tracker (error 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 (error 1454962).
Removals
- The following Developer Tools panels have been removed (see Deprecated tools for details):
- Canvas debugger (error 1403938).
- Shader editor (error 1342237).
- WebAudio editor (error 1403944).
- The following Developer Tools have been deprecated (see Deprecated tools for details):
- WebIDE (error 1539462).
- Connect... page (error 1539462).
HTML
<input>
elements withautocomplete="new-password"
set on them will no longer have previously saved passwords auto-filled (error 1119063).
CSS
- The
revert
keyword has been implemented (error 1215878). - The
break-word
value of theword-break
property is now supported (error 1296042). - The
prefers-color-scheme
media feature is now supported (error 1494034). - Custom
cursor
s of greater than 32px in size are now disallowed, to mitigate potential malware uses of large cursors (error 1445844).
Removals
- Use of the proprietary
-moz-binding
property is now restricted to chrome and UA-stylesheets (error 1523712).
SVG
No changes.
JavaScript
String.prototype.matchAll
has been implemented and enabled by default (error 1435829, error 1531830).- Support for the dynamic module
import()
proposal is now available by default (error 1517546). - The hashbang grammar proposal is now implemented (error 1519097).
APIs
DOM
- The default value for
Response.statusText
is now""
(error 1508996). - The default value for the
VTTCue
interface'spositionAlign
property is now auto (error 1528420). - User gestures are now preserved for rejected calls to
Document.requestStorageAccess
, as well as fulfilled calls (error 1522912).
DOM events
- CSS transition (error 1530239) and animation (error 1531605) events now fire on disabled (e.g. form) elements.
InputEvent.data
andInputEvent.dataTransfer
have been implemented (error 998941).- The
insertFromPasteAsQuotation
InputEvent.inputType
value is now supported (error 1532527).
Workers/Service workers
- Strict MIME type checks are now enforced on scripts imported by
WorkerGlobalScope.importScripts()
(error 1514680).
Media, Web Audio, and WebRTC
- dav1d is now the default media decoder for AV1 (see for example error 1533742 and error 1535038).
- Calling
RTCPeerConnection.addTrack()
without specifying any streams to which to add the new track now works as expected: it adds a streamless track to the connection. Each peer is responsible for managing the association between the track and any stream on its end (error 1231414). - The
MediaDeviceInfo.groupId
property is now implemented (error 1213453). While it has existed in Firefox since Firefox 39, it did not actually gather related devices together into the same group IDs. - The
RTCIceCandidate.usernameFragment
property is now implemented (error 1490658).
Canvas and WebGL
- The
EXT_float_blend
WebGL extension has been enabled by default (error 1535808).
Removals
- The deprecated
ShadowRoot.getElementsByTagName
,ShadowRoot.getElementsByTagNameNS
, andShadowRoot.getElementsByClassName
properties (part of Shadow DOM v0) have been removed (error 1535438). Document.createEvent("TouchEvent")
,Document.createTouch()
,Document.createTouchList()
, and theontouch*
event handler properties have been disabled on desktop to improve web compatibility on websites where touch support is used for mobile detection (error 1412485). In such cases, websites have been seen to behave incorrectly or unexpectedly on touchscreen laptops.
Security
- Notifications are now only available in a secure context (error 1429432).
- Firefox now blocks the loading of external protocol URLs in
<iframe>
s (error 1527882).
WebDriver conformance (Marionette)
API changes
- Made
WebDriver:SendAlertText
conformant to the WebDriver specification (error 1502360).
Corrección de errores
WebDriver:NewWindow
will no longer timeout because offocus
-related inconsistencies across platforms (error 1523234).
Otros
- Both
WebDriver:ExecuteScript
andWebDriver:ExecuteAsyncScript
now usePromises
internally (error 1398095). WebDriver:NewSession
returns Firefox'sBuildID
string as part of the capabilities object (error 1525829).
Changes for add-on developers
Cambios en API
- Using the
proxy.settings.set()
method to change
values will throw an exception unless the extension was granted private window access by the user (error 1525447).BrowserSetting
Cambios en manifiesto
- A new manifest key, incognito, defines the behavior of an extension in private browsing windows or tabs (error 1511636).
- The
toolbar_field_highlight
setting controls the background color used to indicate the current selection of text in the URL bar (error 1450114). - The
toolbar_field_highlight_text
setting controls the text color used to indicate the current selection of text in the URL bar (error 1450114).
Ver también
Versiones anteriores
- Firefox 66 for developers
- Firefox 65 for developers
- Firefox 64 for developers
- Firefox 63 for developers
- Firefox 62 for developers
- Firefox 61 for developers
- Firefox 60 for developers
- Firefox 59 for developers
- Firefox 58 for developers
- Firefox 57 for developers
- Firefox 56 for developers
- Firefox 55 for developers
- Firefox 54 for developers
- Firefox 53 for developers
- Firefox 52 for developers
- Firefox 51 for developers
- Firefox 50 for developers
- Firefox 49 for developers
- Firefox 48 for developers
- Firefox 47 for developers
- Firefox 46 for developers
- Firefox 45 for developers
- Firefox 44 for developers
- Firefox 43 for developers
- Firefox 42 for developers
- Firefox 41 for developers
- Firefox 40 for developers
- Firefox 39 for developers
- Firefox 38 for developers
- Firefox 37 for developers
- Firefox 36 for developers