files/en-us/mozilla/firefox/releases/20/index.md
Firefox 20 was released on April, 2nd 2013. This article provides information about the changes in this release that will affect developers.
download attribute on the {{HTMLElement("a")}} and {{HTMLElement("area")}} element has been added (Firefox bug 676619).auto for the global attribute dir has been implemented (Firefox bug 548206).contextmenu now works on Firefox for Android (Firefox bug 736321).WeakMap.prototype.clear() method, recently added to the Harmony (ECMAScript 2015) draft proposal has been added (Firefox bug 814562).Math.imul() method, a C-style 32-bit multiplication function. Though proposed for Harmony (ECMAScript 2015) it has not yet been accepted and still is non-standard (Firefox bug 808148).for each...in statement has been deprecated and should not be used. Consider using the new for...of statement (Firefox bug 804834).layout.css.flexbox.enabled about:config preference to true.mask-type property has been added (Firefox bug 793617).layout.css.scope-pseudo.enabled about:config preference to true (Firefox bug 648722).playbackRate (both read and write), with pitch correction. Pitch correction can be controlled using the property mozPreservesPitch (Firefox bug 495040).conditionText for {{domxref("CSSMediaRule")}} (Firefox bug 815021).parseFromStream and parseFromBuffer methods are no longer available from web content (Firefox bug 816410).XMLSerializer serializeToStream method is no longer available from web content (Firefox bug 816410).CSS.supports() method has been added, behind the layout.css.supports-rule.enabled pref (off by default) (Firefox bug 779917).Navigator.mozGetUserMedia is now activated by default.transfer argument of {{domxref("Window.postMessage")}} is now supported. It allows to transfer a sequence of transferable objects to the destination (Firefox bug 822094).overlay, color-burn, hue, etc. have been added to the Canvas {{domxref("CanvasRenderingContext2D.globalCompositeOperation")}} property (Firefox bug 748433).window.indexedDB — window.mozIndexedDB — was reintroduced to Gecko, so that bad cross-browser prefixing code (such as var indexedDB = window.indexedDB || window.webkitIndexedDB …) doesn't break in Firefox. A better approach is window.indexedDB = window.indexedDB || window.webkitIndexedDB … (see Firefox bug 770844.)contentScriptType and contentStyleType properties has been removed from SVGSVGElement along with the removal from SVG2 (Firefox bug 819731).scriptminsize attribute now accepts unitless values and percent values. They are interpreted as multiples of the default value (8pt).mathsize and fontsize attributes; they multiply the default value.nsIDOMParserJS interface no longer exists (Firefox bug 816410). See nsIDOMParser for alternatives.nsIContentPrefService interface is now deprecated and the asynchronous nsIContentPrefService2 storage API has been implemented.nsIProfile and nsIProfileChangeStatus interfaces have been removed, along with other code supporting the pre-Firefox profile management system. You probably weren't using these interfaces, but if you were, you should stop doing so. This prevents defunct parts of the profile management system from vetoing the shutdown process.nsIEventSource interface no longer exists (Firefox bug 819639).