Aurora 8 is here

Download Aurora 8

Today we release Aurora Update 8. We’ve got even more HTML5 support, support for cross-origin textures in WebGL, support for insertAdjacentHTML() and reduced resource requirements for media elements.

Cross-origin WebGL textures

We disabled support for cross-origin textures in Firefox 5 due to security concerns. You can now use cross-origin textures in Aurora Update 8, although servers that serve the images need to use CORS headers to be sent with them.

insertAdjacentHTML()

This is a method first implemented in Internet Explorer 4 and was added to the
HTML5 standard. This function allows you to insert HTML strings inside a document, just like the innerHTML property, but is more flexible and is much faster.

We expect that JavaScript libraries will quickly adopt this because it’s faster and vastly simplifies DOM manipulation code.

Reduced memory usage

Media elements (<audio> and <video>) now use fewer threads and less memory. This is part of our efforts to reduce overall memory consumption of Firefox and it is a welcome improvement as websites switch to using native media elements.

Other changes

HTML

  • The <a href="https://developer.mozilla.org/en/DOM/HTMLImageElement">HTMLImageElement</a> crossOrigin property has been added. (see bug 664299)
  • The <a href="https://developer.mozilla.org/en/DOM/HTMLSelectElement#add%28%29">HTMLSelectElement.add()</a> method now supports either an item or index of an item that the new item should be inserted before. Previously it only supported an item. (see bug 666200)
  • The HTMLIsIndexElement constructor has been removed. No elements have implemented this interface since Firefox 4. (see bug 666665 and bug 611352)
  • The HTML5 “context menu” feature (contextmenu attribute), which lets you add custom element specific items to native context menu, is now supported. (the implementation is still experimental awaiting changes in the specification, see bug 617528)

DOM

  • The <a href="https://developer.mozilla.org/en/DOM/Element.insertAdjacentHTML">insertAdjacentHTML</a> method has been implemented. (see bug 613662)
  • <a href="https://developer.mozilla.org/en/DOM/BlobBuilder">BlobBuilder</a> now has a getFile() method that returns the content of the blob as a file (see bug 669437)
  • Event handling in nested <label>s has been fixed (see bug 646157)
  • Two bugs fixed when text insertion cursor is at the beginning of an editable text: bug 414526 and bug 442186
  • <a href="https://developer.mozilla.org/en/DOM/document.getSelection">document.getSelection()</a> now returns the same Selection object as <a href="https://developer.mozilla.org/en/DOM/window.getSelection">window.getSelection()</a>, instead of stringifying it (see bug 636512)
  • the HTML5 selectionDirection property makes it possible to define the direction of the selection in an editable text (see bug 674558)
  • Range and Selection are now behaving according to their specification when splitText() and normalize() are used (see bug 191864)
  • Media elements now have a seekable() method that return a TimeRange object (see bug 462960)
  • crossOrigin property defaults to “Anonymous” when an invalid value is used (see bug 676413)

CSS

  • <a href="https://developer.mozilla.org/en/CSS/resolution">resolution</a> now accepts <a href="https://developer.mozilla.org/en/CSS/number"><number></a>, not just <a href="https://developer.mozilla.org/en/CSS/integer"><integer></a> values as per the specification. (see bug 677642)

Layout

  • Hyphenation is now supported in many more languages (see bug 672320)

Audio & Video

  • New threading model for Audio and Video (see bug 592833)
  • Video thread stack size has been reduced (see bug 664341)

Network

  • Double quotes are no longer accepted as a delimiter for 2231/5987 encoding (see bug 651185)
  • Content-Disposition parser does not require presence of “=” anymore in parameters (see bug 670333)
  • Mixed-content is not allowed with WebSockets (see bug 662692)
  • Connection errors with WebSockets now trigger the onerror handler (see bug 676025)
  • WebSocket API has been updated to the latest draft of the specification (see bug 674890 , bug 674527 and bug 674716)
  • Script files are not any more downloaded when javascript has been disabled (see bug 668690)
  • DNS entries are now blacklisted when the first request failed (see bug 641937)

WebGL

  • Cross-domain textures can now be allowed with CORS approval (see bug 662599)
  • Cross-process rendering with Direct2d/Direct3d 10 (see bug 648484)

MathML

  • Support for the displaystyle attribute on the top-level <a href="https://developer.mozilla.org/en/MathML/Element/math"><math></a> element has been added.
  • The interpretation of negative rownumbers for the align attribute on <a href="https://developer.mozilla.org/en/MathML/Element/mtable"><mtable></a> has been corrected (see bug 601436).

About louisremi

Developer Relations Team, long time jQuery contributor and Open Web enthusiast. @louis_remi

More articles by louisremi…


10 comments

  1. mekal

    and the css 3D that’s when ?

    August 20th, 2011 at 10:27

    1. louisremi

      3d Transforms will be out when ready :-)

      August 21st, 2011 at 14:58

  2. Jason

    What’s with the blue menu button and other UI changes?

    August 22nd, 2011 at 11:43

  3. OrNot

    I tested Aurora for a case where I have three very big arrays, one is for random read, one seq read and one for seq write. The
    final performance is still not good as chrome.

    My case is for image processing where big image array is very common.

    I don’t know the underlying algorithm ,but the array implementation in firefox is still disappointing.

    August 22nd, 2011 at 18:58

    1. louisremi

      You should give typed arrays a try: https://developer.mozilla.org/en/JavaScript_typed_arrays

      August 23rd, 2011 at 01:56

  4. OrNot

    Hi,
    The typed array does not help much and even slower than normal array in some cases. I tested the ff6 and ff8 and there are no big differences on the array performance. You can find the test cases from

    http://blog.n01se.net/?p=248

    The ff9 suffers from the same issue.

    Hope this helps.

    Anyway, thanks for your good job. I love ff.

    August 23rd, 2011 at 04:09

  5. NeoFax

    I have had nothing but problems since installing. I constantly am stuck on connecting on multiple tabs and then it hangs and crashes. So I open it back up and now all of my tabs do not work from a restore. Great!

    August 24th, 2011 at 15:08

    1. Jose

      @NeoFax same here, was thinking it was just corruption on my part, but had too many tabs open. Have been using canary since. Still updating nightly, but to no avail. This is going back from the 10-14th of August.

      August 27th, 2011 at 06:08

  6. Cindy

    I am still having problems still with this, but haven’t seen anyone post lately about it. Seems to auto crash then can’t create a restore point. Not sure what’s up, will try to find a more recent post.

    September 20th, 2011 at 12:18

  7. Girish Mony

    Is crossOrigin property of HTMLImageElement disabled in Firefox 8 beta?

    This sample

    http://maplarge.com/CrossOriginImageTest.html

    fails with Firefox 8(beta). Works fine with Firefox 9 and 10.

    What am I missing here?

    October 24th, 2011 at 03:12

Comments are closed for this article.