Firefox 3.5 para desenvolvedores

  • Revision slug: Firefox_3.5_para_desenvolvedores
  • Revision title: Firefox 3.5 para desenvolvedores
  • Revision id: 131433
  • Created:
  • Creator: Verruckt
  • Is current revision? Não
  • コメント 11 words added, 10 words removed

Revision Content

Firefox 3.5 introduces a number of new features, as well as additional and improved support for a wide variety of web standards.  This article offers an extensive list, with links to articles covering the major improvements.

New developer features in Firefox 3.5

For web site and application developers

HTML 5 support

Using audio and video in Firefox
Firefox 3.5 adds support for the HTML 5 audio and video elements.
Offline resources in Firefox
Firefox 3.5 now fully supports the HTML 5 offline resource specification.
Drag and drop
The HTML 5 drag and drop API allows support for dragging and dropping items within and between web sites.  This also provides a simpler API for use by extensions and Mozilla-based applications.

Newly-supported CSS features

Downloadable fonts support
The new @font-face @rule lets web pages provide downloadable fonts, so that sites can be rendered exactly as the page author expects.
CSS media queries
Firefox 3.5 now supports CSS media queries, which enhance support for media-dependent style sheets.
::before and ::after updated to CSS 2.1
The ::before and ::after pseudo-elements have been updated to full CSS 2.1 support, adding support for the position, float, list-style-*, and some display properties.
opacity
The -moz-opacity Mozilla extension to CSS has been removed in favor of the standard opacity property.
text-shadow
The text-shadow property, which allows web content to specify shadow effects to apply to text and text decorations, is now supported.
word-wrap
This newly-supported property lets content specify whether or not lines may be broken within words in order to prevent overflow when an otherwise unbreakable string is too long to fit on one line.
-moz-box-shadow
-moz-border-image
-moz-column-rule
-moz-column-rule-width
-moz-column-rule-style
-moz-column-rule-color
-moz-column-gap
Firefox 3.5 adds support for these Mozilla extensions to CSS.
The -moz-nativehyperlinktext color value
This new color value represents the user's system's default hyperlink color.
The new -moz-window-shadow and -moz-system-metric(mac-graphite-theme) properties
These new CSS properties were added to facilitate theming.
New values for -moz-appearance
The -moz-win-glass and -moz-mac-unified-toolbar values have been added to -moz-appearance.
Using CSS transforms
Firefox 3.5 supports CSS transforms.  See -moz-transform and -moz-transform-origin for details.
:nth-child
:nth-last-child
:nth-of-type
:nth-last-of-type
:first-of-type
:last-of-type
:only-of-type
These selectors are all newly-supported in Firefox 3.5.

New DOM features

Using DOM workers
Firefox 3.5 supports DOM workers to allow easy multi-threading support in web applications.
Using geolocation
Firefox 3.5 supports the Geolocation API, which allows web applications to obtain information about the user's current location if a provider for that information is installed and enabled.
Using JSON in Firefox
Support for JSON is now integrated into the DOM.
Locating DOM elements using selectors
The selectors API allows querying a document to locate the elements that match a given selection rule.
The NodeIterator object
The NodeIterator object provides support for iterating over the list of the nodes in a DOM subtree.
The MozAfterPaint event
This new DOM event is sent after painting updates in windows.
The MozMousePixelScroll event
This new DOM event allows detection of pixel-based mouse scroll wheel events instead of line-based scroll events.

New JavaScript features

Object.getPrototypeOf()
This new method returns the prototype of a specified object.
New trim methods on the String object
The String object now has trim(), trimLeft(), and trimRight() methods.

Networking

Cross-site access controls for HTTP
In Firefox 3.5, it's now possible for HTTP requests, including those made by XMLHttpRequest, to work across domains if the server supports it.
Progress events for XMLHttpRequest
Progress events are now offered to enable extensions to monitor the progress of requests.
Improved Synchronous XMLHttpRequest support
DOM Timeout and Input Events are now suppressed during a synchronous XMLHttpRequest.
Controlling DNS prefetching
Firefox 3.5 provides DNS prefetching, whereby it performs domain name resolution ahead of time for links included in the current page, in order to save time when links are actually clicked.  This article describes how you can tune your web site to disable prefetching, or to adjust how prefetching operates.

New Canvas features

HTML 5 text API for canvas elements
Canvas elements now support the HTML 5 text API.
Shadow effects in a canvas
Canvas shadow effects are now supported.
moz-opaque attribute
Added the moz-opaque DOM attribute, which lets the canvas know whether or not translucency will be a factor.  If the canvas knows there's no translucency, painting performance can be optimized.

New SVG features

Applying SVG effects to HTML content
You can now apply SVG effects to HTML and XHTML content; this article describes how.

Miscellaneous new features

ICC color correction in Firefox
Firefox 3.5 now supports ICC color correction for tagged images.
The defer attribute is now supported on script elements
This attribute indicates to the browser that it may choose to continue to parse and render the page without waiting for the script to finish executing.

Other improvements

  • The ch unit can now be used anywhere that accepts a unit of length; "1 ch" is the width of the "0" character.
  • The white-space property now accepts the pre-line value.
  • The Text node's wholeText property and replaceWholeText() method have been implemented.
  • The property element.children has been added. It returns a collection of child elements of the given element.
  • The Element Traversal API is now supported by the DOM Element object.
  • HTML nodes may now be cloned using cloneNode().
  • Dispatched DOM events can now be re-dispatched.  This makes Firefox 3.5 pass Acid 3 test 30.
  • Improvements have been made to DOM 2 Range handling.
  • In non-chrome scope, caught objects in exceptions are now the actual thrown object instead of an XPConnect wrapper containing the thrown object.
  • SVG ID references are now live.
  • SVG filters now work for foreignObject.
  • The GetSVGDocument() method has been added to object and iframe elements for compatibility.

For XUL and add-on developers

If you're an extension developer, you should start by reading Updating extensions for Firefox 3.5, which offers a helpful overview of what changes may affect your extension.

New components and functionality

Supporting private browsing mode
Firefox 3.5 offers Private Browsing mode, which doesn't record the user's activities.  Extensions may support private browsing following the guidelines offered by this article.
Security changes in Firefox 3.5
This article covers security-related changes in Firefox 3.5.
Theme changes in Firefox 3.5
This article covers theme-related changes in Firefox 3.5.

Notable changes and improvements

  • The XUL textbox widget now offers a search type, for use as search fields.
  • In order to support dragging and dropping tabs between windows, the browser widget now has a swapDocShells() method.
  • Added the level attribute to the panel element; this specifies whether panels appear on top of other applications, or just on top of the window the panel is contained within.
  • XUL elements now support the clientXXX and scrollXXX properties.
  • keysets now include a disabled attribute.
  • In addition, keysets can now be removed using the node's removeChild() method.
  • mozIStorageStatement had the initialize() method removed; consumers should use the createStatement() method instead to get a new statement object.
  • The Storage API now offers support for asynchronous requests.
  • The nsICookie2 interface now exposes the time at which cookies were created in its new creationTime attribute.
  • Added a flag to nsIProtocolHandler (URI_IS_LOCAL_RESOURCE) that is checked during chrome registration to make sure a protocol is allowed to be registered.
  • Firefox now looks for plugins in /usr/lib/mozilla/plugins on Linux, as well as the previously supported locations.
  • The plugin API has been updated to include support for private browsing mode; you may now use NPN_GetValue() to query the state of private browsing mode using the variable NPNVprivateModeBool.

Novas características para usuários finais

Experiência do usuário

Segurança e Privacidade

Performance

See also

{{ languages( {"en":"En/Firefox_3.5_for_developers", "ja":"Ja/Firefox_3.5_for_developers",  "fr": "fr/Firefox_3.5_pour_les_développeurs", "zh-tw": "Zh_tw/Firefox_3.1_技術文件"} ) }}

Revision Source

<p>Firefox 3.5 introduces a number of new features, as well as additional and improved support for a wide variety of web standards.  This article offers an extensive list, with links to articles covering the major improvements.</p>
<h2>New developer features in Firefox 3.5</h2>
<h3>For web site and application developers</h3>
<h4>HTML 5 support</h4>
<dl><dt><a class="internal" href="/En/Using_audio_and_video_in_Firefox" title="En/Using audio and video in Firefox">Using audio and video in Firefox</a><br>
</dt><dd>Firefox 3.5 adds support for the HTML 5 <a class="internal" href="/En/HTML/Element/Audio" title="En/HTML/Element/Audio"><code>audio</code></a> and <a class="internal" href="/En/HTML/Element/Video" title="En/HTML/Element/Video"><code>video</code></a> elements.</dd><dt><a class="internal" href="/en/Offline_resources_in_Firefox" title="En/Offline resources in Firefox">Offline resources in Firefox</a><br>
</dt><dd>Firefox 3.5 now fully supports the HTML 5 offline resource specification.</dd><dt><a class="internal" href="/En/DragDrop/Drag_and_Drop" title="En/DragDrop/Drag and Drop">Drag and drop</a><br>
</dt><dd>The HTML 5 drag and drop API allows support for dragging and dropping items within and between web sites.  This also provides a simpler API for use by extensions and Mozilla-based applications.</dd></dl>
<h4>Newly-supported CSS features</h4>
<dl><dt><a class="internal" href="/en/CSS/@font-face" title="En/CSS/@font-face">Downloadable fonts support</a><br>
</dt><dd>The new <code>@font-face</code> @rule lets web pages provide downloadable fonts, so that sites can be rendered exactly as the page author expects.<br>
</dd><dt><a class="internal" href="/En/CSS/Media_queries" title="En/CSS/Media queries">CSS media queries</a><br>
</dt><dd>Firefox 3.5 now supports CSS media queries, which enhance support for media-dependent style sheets.</dd><dt><a class="internal" href="/en/CSS/:before" title="En/CSS/:before"><code>::before</code></a> and <a class="internal" href="/en/CSS/:after" title="En/CSS/:after"><code>::after</code></a> updated to CSS 2.1<br>
</dt><dd>The <code>::before</code> and <code>::after</code> pseudo-elements have been updated to full CSS 2.1 support, adding support for the <code>position</code>, <code>float</code>, <code>list-style-*</code>, and some <code>display</code> properties.</dd><dt><a class="internal" href="/en/CSS/opacity" title="En/CSS/Opacity"><code>opacity</code></a></dt><dd>The <code>-moz-opacity</code> Mozilla extension to CSS has been removed in favor of the standard <code>opacity</code> property.</dd><dt><a class="internal" href="/en/CSS/text-shadow" title="En/CSS/Text-shadow"><code>text-shadow</code></a></dt><dd>The <code>text-shadow</code> property, which allows web content to specify shadow effects to apply to text and text decorations, is now supported.</dd><dt><a class="internal" href="/En/CSS/Word-wrap" title="En/CSS/Word-wrap"><code>word-wrap</code></a></dt><dd>This newly-supported property lets content specify whether or not lines may be broken within words in order to prevent overflow when an otherwise unbreakable string is too long to fit on one line.</dd><dt><a class="internal" href="/en/CSS/-moz-box-shadow" title="En/CSS/-moz-box-shadow"><code>-moz-box-shadow</code></a></dt><dt><a class="internal" href="/En/CSS/-moz-border-image" title="En/CSS/-moz-border-image"><code>-moz-border-image</code></a><br>
</dt><dt><a class="internal" href="/En/CSS/-moz-column-rule" title="En/CSS/-moz-column-rule"><code>-moz-column-rule</code></a><br>
</dt><dt><a class="internal" href="/En/CSS/-moz-column-rule-width" title="En/CSS/-moz-column-rule-width"><code>-moz-column-rule-width</code></a><br>
</dt><dt><a class="internal" href="/En/CSS/-moz-column-rule-style" title="En/CSS/-moz-column-rule-style"><code>-moz-column-rule-style</code></a><br>
</dt><dt><a class="internal" href="/En/CSS/-moz-column-rule-color" title="En/CSS/-moz-column-rule-color"><code>-moz-column-rule-color</code></a><br>
</dt><dt><a class="internal" href="/en/CSS/-moz-column-gap" title="En/CSS/-moz-column-gap"><code>-moz-column-gap</code></a><br>
</dt><dd>Firefox 3.5 adds support for these Mozilla extensions to CSS.</dd><dt><a class="internal" href="/en/CSS/color#Mozilla_Specific_Colors" title="En/CSS/color#Mozilla Specific Colors">The <code>-moz-nativehyperlinktext</code> color value</a><br>
</dt><dd>This new color value represents the user's system's default hyperlink color.<br>
</dd><dt>The new <a class="internal" href="/En/CSS/-moz-window-shadow" title="En/CSS/-moz-window-shadow"><code>-moz-window-shadow</code></a> and <a class="internal" href="/En/CSS/:-moz-system-metric(mac-graphite-theme)" title="En/CSS/:-moz-system-metric(mac-graphite-theme)"><code>-moz-system-metric(mac-graphite-theme)</code></a> properties<br>
</dt><dd>These new CSS properties were added to facilitate theming.</dd><dt>New values for <a class="internal" href="/en/CSS/-moz-appearance" title="En/CSS/-moz-appearance"><code>-moz-appearance</code></a><br>
</dt><dd>The <code>-moz-win-glass</code> and <code>-moz-mac-unified-toolbar</code> values have been added to <code>-moz-appearance</code>.<br>
</dd><dt><a class="internal" href="/En/CSS/Using_CSS_transforms" title="En/CSS/Using CSS transforms">Using CSS transforms</a><br>
</dt><dd>Firefox 3.5 supports CSS transforms.  See <a class="internal" href="/En/CSS/-moz-transform" title="En/CSS/-moz-transform"><code>-moz-transform</code></a> and <a class="internal" href="/En/CSS/-moz-transform-origin" title="En/CSS/-moz-transform-origin"><code>-moz-transform-origin</code></a> for details.<br>
</dd><dt><a class="internal" href="/en/CSS/:nth-child" title="En/CSS/:nth-child"><code>:nth-child</code></a><br>
</dt><dt><code><a class="internal" href="/en/CSS/:nth-last-child" title="En/CSS/:nth-last-child">:nth-last-child</a><br>
</code></dt><dt><code><a class="internal" href="/en/CSS/:nth-of-type" title="En/CSS/:nth-of-type">:nth-of-type</a><br>
</code></dt><dt><code><a class="internal" href="/en/CSS/:nth-last-of-type" title="En/CSS/:nth-last-of-type">:nth-last-of-type</a><br>
</code></dt><dt><code><a class="internal" href="/en/CSS/:first-of-type" title="En/CSS/:first-of-type">:first-of-type</a><br>
</code></dt><dt><code><a class="internal" href="/en/CSS/:nth-last-of-type" title="En/CSS/:nth-last-of-type">:last-of-type</a><br>
</code></dt><dt><a class="internal" href="/en/CSS/:only-of-type" title="En/CSS/:only-of-type"><code>:only-of-type</code></a><br>
</dt><dd>These selectors are all newly-supported in Firefox 3.5.</dd></dl>
<h4>New DOM features</h4>
<dl><dt><a class="internal" href="/En/Using_web_workers" title="En/Using DOM workers">Using DOM workers</a><br>
</dt><dd>Firefox 3.5 supports DOM workers to allow easy multi-threading support in web applications.</dd><dt><a class="internal" href="/En/Using_geolocation" title="En/Using geolocation">Using geolocation</a><br>
</dt><dd>Firefox 3.5 supports the Geolocation API, which allows web applications to obtain information about the user's current location if a provider for that information is installed and enabled.</dd><dt><a class="internal" href="/En/Using_JSON_in_Firefox" title="En/Using JSON in Firefox">Using JSON in Firefox</a><br>
</dt><dd>Support for <a class="internal" href="/en/JSON" title="En/JSON">JSON</a> is now integrated into the DOM.<br>
</dd><dt><a class="internal" href="/En/DOM/Locating_DOM_elements_using_selectors" title="en/DOM/Locating DOM elements using selectors">Locating DOM elements using selectors</a><br>
</dt><dd>The selectors API allows querying a document to locate the elements that match a given selection rule.</dd><dt><a class="internal" href="/En/DOM/NodeIterator" title="En/DOM/NodeIterator">The <code>NodeIterator</code> object</a><br>
</dt><dd>The <code>NodeIterator</code> object provides support for iterating over the list of the nodes in a DOM subtree.</dd><dt><a class="internal" href="/en/Gecko-Specific_DOM_Events#MozAfterPaint" title="en/Gecko-Specific DOM Events#MozAfterPaint">The MozAfterPaint event</a><br>
</dt><dd>This new DOM event is sent after painting updates in windows.</dd><dt><a class="internal" href="/en/Gecko-Specific_DOM_Events#MozMousePixelScroll" title="en/Gecko-Specific DOM Events#MozMousePixelScroll">The MozMousePixelScroll event</a><br>
</dt><dd>This new DOM event allows detection of pixel-based mouse scroll wheel events instead of line-based scroll events.</dd></dl>
<h4>New JavaScript features</h4>
<dl><dt><a class="internal" href="/En/Core_JavaScript_1.5_Reference/Global_Objects/Object/GetPrototypeOf" title="En/Core JavaScript 1.5 Reference/Global Objects/Object/GetPrototypeOf"><code>Object.getPrototypeOf()</code></a><br>
</dt><dd>This new method returns the prototype of a specified object.</dd><dt>New trim methods on the String object<br>
</dt><dd>The <a class="internal" href="/en/Core_JavaScript_1.5_Reference/Global_Objects/String" title="en/Core JavaScript 1.5 Reference/Global Objects/String"><code>String</code></a> object now has <a class="internal" href="../../../../En/Core_JavaScript_1.5_Reference/Global_Objects/String/Trim" rel="internal"><code>trim()</code></a>, <a class="internal" href="../../../../En/Core_JavaScript_1.5_Reference/Global_Objects/String/TrimLeft" rel="internal"><code>trimLeft()</code></a>, and <a class="internal" href="../../../../En/Core_JavaScript_1.5_Reference/Global_Objects/String/TrimRight" rel="internal"><code>trimRight()</code></a> methods.</dd></dl>
<h4>Networking</h4>
<dl><dt><a class="internal" href="/En/HTTP_access_control" title="En/HTTP access control">Cross-site access controls for HTTP</a><br>
</dt><dd>In Firefox 3.5, it's now possible for HTTP requests, including those made by <a class="internal" href="/en/XMLHttpRequest" title="En/XMLHttpRequest"><code>XMLHttpRequest</code></a>, to work across domains if the server supports it.</dd><dt><a class="internal" href="/En/Using_XMLHttpRequest#Monitoring_progress" title="En/Using XMLHttpRequest#Monitoring progress">Progress events for </a><code><a class="internal" href="/En/Using_XMLHttpRequest#Monitoring_progress" title="En/Using XMLHttpRequest#Monitoring progress">XMLHttpRequest</a></code><br>
</dt><dd>Progress events are now offered to enable extensions to monitor the progress of requests.</dd><dt>Improved Synchronous <code>XMLHttpRequest</code> support</dt><dd><a class="link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=340345" title="https://bugzilla.mozilla.org/show_bug.cgi?id=340345">DOM Timeout</a> and <a class="link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=333198" title="https://bugzilla.mozilla.org/show_bug.cgi?id=333198">Input Events</a> are now suppressed during a synchronous <code>XMLHttpRequest</code>.<br>
</dd><dt><a class="internal" href="/En/Controlling_DNS_prefetching" title="en/Controlling DNS prefetching">Controlling DNS prefetching</a><br>
</dt><dd>Firefox 3.5 provides DNS prefetching, whereby it performs domain name resolution ahead of time for links included in the current page, in order to save time when links are actually clicked.  This article describes how you can tune your web site to disable prefetching, or to adjust how prefetching operates.</dd></dl>
<h4>New Canvas features</h4>
<dl><dt><a class="internal" href="/en/Drawing_text_using_a_canvas" title="en/Drawing text using a canvas">HTML 5 text API for <code>canvas</code> elements</a><br>
</dt><dd>Canvas elements now support the HTML 5 text API.</dd><dt><a class="internal" href="/en/Canvas_tutorial/Applying_styles_and_colors#Shadows" title="en/Canvas tutorial/Applying styles and colors#Shadows">Shadow effects in a <code>canvas</code></a><br>
</dt><dd>Canvas shadow effects are now supported.</dd><dt><code>moz-opaque</code> attribute</dt><dd>Added the <code>moz-opaque</code> DOM attribute, which lets the canvas know whether or not translucency will be a factor.  If the canvas knows there's no translucency, painting performance can be optimized.</dd></dl>
<h4>New SVG features</h4>
<dl><dt><a class="internal" href="/En/Applying_SVG_effects_to_HTML_content" title="en/Applying SVG effects to HTML content">Applying SVG effects to HTML content</a><br>
</dt><dd>You can now apply SVG effects to HTML and XHTML content; this article describes how.</dd></dl>
<h4>Miscellaneous new features</h4>
<dl><dt><a class="internal" href="/En/ICC_color_correction_in_Firefox" title="en/ICC color correction in Firefox">ICC color correction in Firefox</a></dt><dd>Firefox 3.5 now supports ICC color correction for tagged images.</dd><dt>The <code>defer</code> attribute is now supported on <a class="internal" href="/En/HTML/Element/Script" title="En/HTML/Element/script"><code>script</code></a> elements</dt><dd>This attribute indicates to the browser that it <em>may</em> choose to continue to parse and render the page without waiting for the script to finish executing.</dd></dl>
<h3>Other improvements</h3>
<ul> <li>The <code>ch</code> unit can now be used anywhere that accepts a <a class="internal" href="/en/length" title="En/Length">unit of length</a>; "1 ch" is the width of the "0" character.</li> <li>The <a class="internal" href="/en/CSS/white-space" title="En/CSS/White-space"><code>white-space</code></a> property now accepts the <code>pre-line</code> value.</li> <li>The Text node's <code><a class="internal" href="../../../../En/DOM/Text.wholeText" rel="internal">wholeText</a></code> property and <code><a class="internal" href="../../../../En/DOM/Text.replaceWholeText" rel="internal">replaceWholeText()</a></code> method have been implemented.</li> <li>The property <code><a class="internal" href="../../../../En/DOM/Element.children" rel="internal">element.children</a></code> has been added. It returns a <em>collection</em> of child elements of the given element.</li> <li>The Element Traversal API is now supported by the DOM <a class="internal" href="../../../../en/DOM/element" rel="internal">Element</a> object.</li> <li>HTML nodes may now be cloned using <a class="internal" href="/En/DOM/Node/CloneNode" title="En/DOM/Node/CloneNode"><code>cloneNode()</code></a>.</li> <li>Dispatched DOM events can now be re-dispatched.  This makes Firefox 3.5 pass Acid 3 test 30.</li> <li>Improvements have been made to DOM 2 Range handling.</li> <li>In non-chrome scope, caught objects in exceptions are now the actual thrown object instead of an <a class="internal" href="/en/XPConnect" title="En/XPConnect">XPConnect</a> wrapper containing the thrown object.</li> <li>SVG ID references are now live.</li> <li>SVG filters now work for <code>foreignObject</code>.</li> <li>The <code>GetSVGDocument()</code> method has been added to <a class="internal" href="/en/HTML/Element/object" title="En/HTML/Element/Object"><code>object</code></a> and <a class="internal" href="/en/HTML/Element/Iframe" title="en/HTML/Element/Iframe"><code>iframe</code></a> elements for compatibility.</li>
</ul>
<h3>For XUL and add-on developers</h3>
<p>If you're an extension developer, you should start by reading <a class="internal" href="/En/Updating_extensions_for_Firefox_3.5" title="En/Updating extensions for Firefox 3.5">Updating extensions for Firefox 3.5</a>, which offers a helpful overview of what changes may affect your extension.</p>
<h4>New components and functionality</h4>
<dl><dt><a class="internal" href="/En/Supporting_private_browsing_mode" title="En/Supporting private browsing mode">Supporting private browsing mode</a><br>
</dt><dd>Firefox 3.5 offers Private Browsing mode, which doesn't record the user's activities.  Extensions may support private browsing following the guidelines offered by this article.</dd><dt><a class="internal" href="/En/Security_changes_in_Firefox_3.5" title="En/Security changes in Firefox 3.5">Security changes in Firefox 3.5</a><br>
</dt><dd>This article covers security-related changes in Firefox 3.5.</dd><dt><a class="internal" href="/En/Theme_changes_in_Firefox_3.5" title="En/Theme changes in Firefox 3.5">Theme changes in Firefox 3.5</a><br>
</dt><dd>This article covers theme-related changes in Firefox 3.5.</dd></dl>
<h4>Notable changes and improvements</h4>
<ul> <li>The XUL <code><a class="internal" href="../../../../en/XUL/textbox" rel="internal">textbox</a></code> widget now offers a <code><a class="internal" href="../../../../en/XUL/Attribute/textbox.type" rel="internal">search</a></code> type, for use as search fields.</li> <li>In order to support dragging and dropping tabs between windows, the <a class="internal" href="/en/XUL/browser" title="En/XUL/Browser"><code>browser</code></a> widget now has a <a class="internal" href="/En/XUL/Method/SwapDocShells" title="En/XUL/Method/SwapDocShells"><code>swapDocShells()</code></a> method.</li> <li>Added the <a class="internal" href="/En/XUL/Attribute/Panel.level" title="en/XUL/Attribute/panel.level"><code>level</code></a> attribute to the <a class="internal" href="/en/XUL/panel" title="En/XUL/Panel"><code>panel</code></a> element; this specifies whether panels appear on top of other applications, or just on top of the window the panel is contained within.</li> <li>XUL elements now support the <code>clientXXX</code> and <code>scrollXXX</code> properties.</li> <li><a class="internal" href="/en/XUL/keyset" title="En/XUL/Keyset"><code>keyset</code></a>s now include a <code>disabled</code> attribute.</li> <li>In addition, <code>keyset</code>s can now be removed using the node's <a class="internal" href="/En/DOM/Node.removeChild" title="En/DOM/Node.removeChild"><code>removeChild()</code></a> method.</li> <li><span class="lang lang-en"><code><a href="../../../../en/mozIStorageStatement" rel="internal">mozIStorageStatement</a></code> </span> had the <code>initialize()</code> method removed; consumers should use the <span class="lang lang-en"><code><a href="../../../../en/mozIStorageConnection#createStatement%28%29" rel="internal">createStatement()</a></code> </span> method instead to get a new statement object.</li> <li>The <a class="internal" href="/en/Storage" title="En/Storage">Storage</a> API now offers support for asynchronous requests.</li> <li>The <a class="internal" href="/en/nsICookie2" title="En/NsICookie2"><code>nsICookie2</code></a> interface now exposes the time at which cookies were created in its new <code>creationTime</code> attribute.</li> <li>Added a flag to <code><a class="internal" href="../../../../en/nsIProtocolHandler" rel="internal">nsIProtocolHandler</a></code> (<code>URI_IS_LOCAL_RESOURCE</code>) that is checked during chrome registration to make sure a protocol is allowed to be registered.</li> <li>Firefox now looks for plugins in <code>/usr/lib/mozilla/plugins</code> on Linux, as well as the previously supported locations.</li> <li>The plugin API has been updated to include support for private browsing mode; you may now use <a class="internal" href="/en/NPN_GetValue" title="En/NPN GetValue"><code>NPN_GetValue()</code></a> to query the state of private browsing mode using the variable <code>NPNVprivateModeBool</code>.</li>
</ul>
<h2>Novas características para usuários finais</h2>
<h3>Experiência do usuário</h3>
<h3>Segurança e Privacidade</h3>
<h3>Performance</h3><h2>See also</h2>
<ul> <li><a class="internal" href="/en/Firefox_3_for_developers" title="En/Firefox 3 for developers">Firefox 3 for developers</a></li> <li><a class="internal" href="/en/Firefox_2_for_developers" title="En/Firefox 2 for developers">Firefox 2 for developers</a></li> <li><a class="internal" href="/en/Firefox_1.5_for_developers" title="En/Firefox 1.5 for developers">Firefox 1.5 for developers</a></li>
</ul>
<p>{{ languages( {"en":"En/Firefox_3.5_for_developers", "ja":"Ja/Firefox_3.5_for_developers",  "fr": "fr/Firefox_3.5_pour_les_développeurs", "zh-tw": "Zh_tw/Firefox_3.1_技術文件"} ) }}</p>
Revert to this revision