Firefox 7, based on Gecko 7.0, will ship in the third quarter of 2011. This article provides links to information about the changes that affect developers in this release. Nightly builds of what will become Firefox 7 are currently available on the Nightly channel (that is, mozilla-central).
Note: Items listed here are tentatively slated for Firefox 7; however, they may be held for a future release if testing shows they're not ready by the time Firefox 7 is due to ship. Please keep an eye on this page to stay up to date on the plans for Firefox 7.
Changes for web developers:
HTML
- The
HTMLHeadElement
profile
property has been removed, this property has been deprecated since Gecko 2.0. (see bug 664544 ) - The
HTMLImageElement
x
andy
properties have been removed. (see bug 587021 ) - The
HTMLSelectElement
add()
methodbefore
parameter is now optional. (see bug 182279 )
- The
Canvas improvements
- Specifying invalid values when calling
setTransform()
,bezierCurveTo()
, orarcTo()
no longer throws an exception; these calls are now correctly silently ignored. - Calling
strokeRect
with a zero width and height now correctly does nothing. (see bug 663190 ) - Calling
drawImage
with a zero width or height<canvas>
now throwsINVALID_STATE_ERR
. (see bug 663194 ) toDataURL()
method now accepts a second argument to control JPEG quality (see bug 564388 )
- Specifying invalid values when calling
CSS
-
text-overflow
is now supported. - The
-moz-orient
property has been fixed so that<progress>
elements that are vertically oriented have appropriate default dimensions.
-
MathML
- XLink href has been restored and the MathML3
href
attribute is now supported. Developers are encouraged to move to the latter syntax. - The top-level
<math>
element accepts any attributes of the<mstyle>
element. - The
medium
line thickness of fraction bars in<mfrac>
elements has been corrected to match the default thickness. - Names for negative spaces are now supported.
- XLink href has been restored and the MathML3
DOM
- The
File
interface's non-standard methodsgetAsBinary()
,getAsDataURL()
, andgetAsText()
have been removed as well as the non-standard propertiesfileName
andfileSize
. -
document.createEntityReference
has been removed. It was never properly implemented and is not implemented in most other browsers. (see bug 611983 ) document.normalizeDocument
has been removed. UseNode.normalize
instead. (see bug 641190 )-
DOMTokenList.item
now returnsundefined
if theindex
is out of bounds, previously it returnednull
. (see bug 529328 ) Node.getFeature
has been removed. (see bug 659053 )
- The
JavaScript
- The
Function.arity()
function has been removed; useFunction.length
instead. - The JSON parser has been re-written for improved speed and compliance. This includes a fix for bug 572279 .
- The
Changes for Mozilla and add-on developers:
Note: Firefox 7 requires that binary components be recompiled, as do all major releases of Firefox. See Binary Interfaces for details.
JavaScript code modules
FileUtils.jsm
- New method
openFileOutputStream()
opens a file output stream, the non-safe variant, for writing. (see bug 662253 )
User experience changes
- Extension options can now be displayed inside the Add-on Manager for both restartless and traditional extensions.
- The destination of downloads is now remembered on a site-by-site basis. This data can be accessed using DownloadLastDir.jsm.
Changes to the build system
- The ActiveX embedding API is no longer built and support has been removed from the build system. Supporting interfaces have also been removed, see Removed interfaces.
Interface changes
-
inIDOMUtils
has two new methods,inIDOMUtils.getChildrenForNode()
which returns a list of child nodes of a node andinIDOMUtils.getUsedFontFaces()
which returns a list of font faces used in a range. (see bug 467669 ) - The
nsIMarkupDocumentViewer_MOZILLA_2_0_BRANCH
interface has been merged into thensIMarkupDocumentViewer
interface. -
nsINavHistoryObserver
methods with URI parameters now require a GUID as well. -
nsITelemetry
has a new method,nsITelemetry.getHistogramById()
which returns a histogram by its ID, and a new attribute,canRecord
which when set tofalse
disables recording of telemetry statistics. Telemetry statistics are no longer recorded when in Private Browsing Mode. (see bug 661574 and bug 661573 )
New interfaces
-
nsIDOMFontFace
-
nsIDOMFontFaceList
Removed interfaces
The following interfaces were implementation details that are no longer needed:nsIDOM3Attr
(see bug 666968 )nsIDOM3Node
(see bug 659053 )nsIDOM3TypeInfo
(see bug 660539 )nsIDOM3Text
(see bug 641333 )nsIDOMDocumentStyle
(see bug 658904 )nsIDOMNSDocument
(see bug 658906 )nsIDOMNSFeatureFactory
(see bug 659053 )-
nsIDOMNSHTMLDocument
(see bug 659113 ) nsIDOMNSHTMLFormElement
(see bug 660433 )nsIDOMNSHTMLHRElement
(see bug 659990 )nsIDOMNSHTMLTextAreaElement
(see bug 660433 )
DITestScriptHelper
(see bug 662023 )DWebBrowserEvents
(see bug 662023 )DWebBrowserEvents2
(see bug 662023 )-
IDispatch
(see bug 662000 ) IMozControlBridge
(see bug 662023 )IMozPluginHostCtrl
(see bug 662023 )IWebBrowser
(see bug 662023 )IWebBrowser2
(see bug 662023 )IWebBrowserApp
(see bug 662023 )IXMLDocument
(see bug 662023 )IXMLElement
(see bug 662023 )IXMLElementCollection
(see bug 662023 )IXMLError
(see bug 662023 )nsIActiveXSecurityPolicy
(see bug 662000 )-
nsIDispatchSupport
(see bug 662000 ) nsIMozAxPlugin
(see bug 662023 )
DOWNLOAD HERE : Firefox 7.0a1 win32 Installer
SOURCE : https://developer.mozilla.org/en/Firefox_7_for_developers
SOURCE : https://developer.mozilla.org/en/Firefox_7_for_developers
Post a Comment