files/en-us/mozilla/firefox/releases/53/index.md
Firefox 53 was released on April 19, 2017. This article lists key changes that are useful not only for web developers but also for Firefox and Gecko developers, as well as add-on developers.
mask-* longhand properties (see CSS Masks) are all supported and available by default (see Firefox bug 1251161).flow-root value to {{cssxref("display")}} property (Firefox bug 1322191).align-self/justify-self:stretch/normal doesn't work on <table> grid items (Firefox bug 1316051).clip-path: circle() with large reference box and percentage radius does not render correctly (Firefox bug 1324713.uppercase to Greek text, the accent on the disjunctive eta (ή) is no longer removed (see Firefox bug 1322989).contents value of {{cssxref("display")}} was controlled through the layout.css.display-contents.enabled pref. In Firefox 53, this pref has been removed altogether, so the value will always be available and can no longer be disabled (Firefox bug 1295788).var foo = function() {}) (Firefox bug 883377).for...of loop, for example (Firefox bug 1147371).length property of {{jsxref("TypedArray")}} objects was changed from 3 to 0 as per ES2016 (Firefox bug 1317306).Object.prototype.toString.call(Error.prototype) is now "[object Object]" instead of "[object Error]".) (Firefox bug 1213341).http://z.com/x?a=true&b=false, pathname would return "/x?a=true&b=false" and search would return "", rather than "/x" and "?a=true&b=false" respectively. This has now been fixed (Firefox bug 1310483).file type {{htmlelement("input")}} values has been implemented in Gecko, giving it parity with other browsers (see Firefox bug 1274596).Node.rootNode property (Firefox bug 1269155).persistent-storage — as used when making a {{domxref("Permissions.query()")}} (see Firefox bug 1270038). This allows an origin to use a persistent box (i.e., persistent storage) for its storage, as per the Storage API.RTCSessionDescriptionInit dictionary instead of returning an {{domxref("RTCSessionDescription")}} directly. Existing code will continue to work, but new code can be written more simply.RTCSessionDescriptionInit dictionary. Existing code continues to work, but can be simplified.Gecko now has a pref available in about:config to allow users to set their default {{HTTPHeader("Referrer-Policy")}} — network.http.referer.userControlPolicy (Firefox bug 1304623). Possible values are:
no-referrersame-originstrict-origin-when-cross-originno-referrer-when-downgrade (the default)Support for Next Protocol Negotiation (NPN) has been removed in favor of Application-Layer Protocol Negotiation (ALPN) — see Firefox bug 1248198.
The Large-Allocation HTTP header is now available by default, and no longer hidden behind a pref (Firefox bug 1331083).
dom.details_element.enabled pref — which controlled enabling/disabling {{htmlelement("details")}} and {{htmlelement("summary")}} element support in Firefox — has now been removed from about:config. These elements (first enabled by default in Firefox 49) can no longer be disabled. See Firefox bug 1271549.mozapp attribute of the {{htmlelement("iframe")}} element /{{domxref("HTMLIFrameElement")}} interface has been removed — this was used to enable a Firefox OS app to be embedded in a mozilla-prefixed Browser API <iframe> (Firefox bug 1310845).HTMLIFrameElement.setInputMethodActive() method and InputMethod interface (used to set and manage IMEs on Firefox OS apps) has been removed (Firefox bug 1313169).-moz prefixed variant of {{cssxref(":dir", ":dir()")}} pseudo-class (Firefox bug 1270406).-moz prefixed version of {{cssxref("text-align-last")}} got removed (Firefox bug 1276808).-moz prefixed variant of {{cssxref("calc", "calc()")}} method (Firefox bug 1331296).-moz-samplesize media fragment (added to aid in delivery of downsampled images to low memory Firefox OS devices; see Firefox bug 854795) has been removed (Firefox bug 1311246).legacycaller has been removed from the {{domxref("HTMLEmbedElement")}} and {{domxref("HTMLObjectElement")}} interfaces (Firefox bug 909656).New APIs:
Enhanced APIs:
storage.syncpage_action, browser_action, password, tab context types in contextMenuswebRequest.onBeforeRequest now supports requestBodytabs.insertCSS now supports cssOrigin, enabling you to insert user style sheets.