Firefox 68 für Entwickler
Draft
This page is not complete.
This article provides information about the changes in Firefox 68 that will affect developers. Firefox 68 is the current Beta version of Firefox, and will ship on July 9, 2019.
Changes for web developers
Developer tools
- Die Einstellung, die die Sichtbarkeit interner Erweiterungen (System-Add-Ons und versteckte Erweiterungen) auf der about:debugging-Seite kontrolliert, wurde von
devtools.aboutdebugging.showSystemAddons
zudevtools.aboutdebugging.showHiddenAddons
geändert (Bug 1544372). - Die Konsole zeigt jetzt mehr Informationen über CSS-Warnungen inklusive einer Liste der Knoten der DOM-Elemente, die die Regel genutzt haben (Bug 1093953).
- Über die Anfragen-Liste der Netzwerkanalyse kann jetzt eine spezifische URL geblockt werden (Bug 1151368).
- Es ist jetzt möglich, eine Netzwerkanfrage erneut zu senden, ohne das Verfahren, die URL, die Parameter oder die Überschrift ändern zu müssen, indem der Resend-Befehl im Kontextmenü ausgeführt wird (Bug 1422014).
- Es ist jetzt möglich, die Breite der Spalten in der Netzwerkanalyse zu ändern, um dem Arbeitsalauf gerecht zu werden. (Bug 1358414).
- The context menu of the Headers tab now allows you to copy all or some of the header information to the clipboard in JSON format (Bug 1442249).
- A button has been added to the rules panel of the Page Inspector that allows you to toggle display of any print media queries (Bug 1534984).
- An icon will be displayed next to invalid or unsupported CSS rules in the Rules pane of the Page Inspector (Bug 1306054).
Removals
HTML
No changes.
Removals
CSS
- CSS Scroll Snapping has been updated to the latest version of the specification (Bug 1312163) and (Bug 1544136), this includes:
- The scroll-padding properties (Bug 1373832)
- The scroll-margin properties (Bug 1373833)
scroll-snap-align
(Bug 1373835)
- The
-webkit-line-clamp
property has been implemented for compatibility with other browsers (Bug 866102). - Support
::marker
pseudo-element (Bug 205202) and animation for ::marker pseudos (Bug 1538618) - Change
currentcolor
to be a computed value (except for color property) (Bug 760345). - Fix support for the 'ch' length unit to match spec (fallback for no '0' glyph, vertical metrics) (Bug 282126)
- The
counter-set
property has been implemented. (Bug 1518201) - Implement list numbering using a built-in 'list-item' counter - fixes list numbering bugs (Bug 288704)
- CSS Transforms are now supported in indirectly rendered things e.g.)
<mask>
,<marker>
,<pattern>
,<clipPath>
(Bug 1323962).
Removals
scroll-snap-coordinate
,scroll-snap-destination
,scroll-snap-type-x
andscroll-snap-type-y
have been removed.- The
scroll-snap-type
property has become a longhand, so the old shorthand syntax likescroll-snap-type:mandatory
will stop working. See the Firefox Site Compatability note.
SVG
No changes.
Removals
JavaScript
No changes.
Removals
APIs
No changes.
New APIs
- Implement Resize Observer API (Bug 1272409).
DOM
- The Visual Viewport API has now been enabled by default on Android (Bug 1512813). Adding this API to desktop versions of Firefox is being tracked in Bug 1551302.
- The
decode()
element on images is now implemented. this can be used to trigger loading and decoding of an image prior to adding it to the DOM (Bug 1501794). - The Notifications API now requires that the user interact with the page before it can request permission to send notifications (Bug 1524619).
XMLHttpRequest
has been updated to no longer accept the non-standardmoz-chunked-arraybuffer
value forresponseType
. Code still using it should be updated to use the Fetch API as a stream (Bug 1120171).XMLHttpRequest
now outputs a warning to console if you perform a synchronous request while handling anunload
,beforeunload
, orpagehide
event (Bug 980902).- The
cookie
property has moved from theHTMLDocument
interface to theDocument
interface, allowing documents other than HTML to use cookies (Bug 144795).
DOM events
Service workers
Media, Web Audio, and WebRTC
- WebRTC has been updated to recognize that a
null
candidate passed into theicecandidate
event handler, indicating the receipt of a candidate, instead indicates that there are no further candidates coming; when this happens the ICE gathering (iceGatheringState
) state reachescomplete
(Bug 1318167). - The
RTCRtpReceiver
methodsgetContributingSources()
andgetSynchronizationSources()
now support video tracks; previously they only worked on audio (Bug 1534466). -
getUserMedia()
may no longer be used from a non-secure context; attempting to do so now throws aNotAllowedError
result. Secure contexts are those loaded using HTTPS, those located using thefile:///
scheme, and those loaded fromlocalhost
. For now, if you must, you can re-enable the ability to perform insecure calls togetUserMedia()
by setting the preferencemedia.getusermedia.insecure.enabled
totrue
(Bug 1335740).Note: In the future, Firefox will also remove the
navigator.mediaDevices
property on insecure contexts, preventing all access to theMediaDevices
APIs; see Bug for the status of this work. This is already the case in Nightly builds.
Canvas and WebGL
Removals
- Removed the non-standard
XMLDocument.load()
method (Bug 332175). - Removed the non-standard
XMLDocument.async
property (Bug 1328138).
Security
No changes.
Removals
Plugins
No changes.
Removals
Other
No changes.
Removals
Changes for add-on developers
API changes
- The The proxy.register() and proxy.unregister() functions have been deprecated and will be removed from Firefox 71 (Bug 1545811).
Removals
Manifest changes
No changes.
Removals
See also
Older versions
- Firefox 67 for developers
- 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