Developers › Desktop Team blog

Full ECMAScript (JavaScript) 5.1 support

September 13, 2011 · by Haavard

This build adds full support for the ECMAScript (JavaScript) 5.1 specification.

At time of writing the test262 test suite is reporting one error from a total of 10927 tests on the Windows and Mac platforms. As a comparison, Opera 11.51 on Windows has 3865 failures. See the known issues below for information on Linux.

Keep in mind that the test262 test suite is undergoing active development and far from complete. Even a perfect score in the current version of the test suite does not guarantee perfect ES 5.1 conformance. Results may also vary depending on when the test was run, as tests could be added, removed, fixed or otherwise altered at any time. Case in point: The only test that fails in this snapshot, S11.1.1_A2, is invalid.

That leaves Opera with a "perfect score" on Windows, Mac and 64-bit Linux in the current test262, while still keeping the unstable nature of the test suite in mind.

In addition to full ES 5.1 support, we have added a native implementation of ECMAScript typed arrays. This offers increased performance when dealing with things like binary data, and will be noticeable when, for example, using emulators or playing games using Canvas.

This build also adds support for <video muted> to mute HTML5 videos by default, and Linux users can enjoy GTK+3 support which means that Opera looks native again on Gnome 3 based systems (like Fedora).

Highlights
  • CORE-28638 Implement full support for new ECMAScript 5 features
  • CORE-38784 Native implementation of ECMAScript typed arrays for increased performance
  • CORE-40275 Implement <video muted>
  • DSK-343260 Support GTK+3 on Linux
  • CORE-33418 Update to the Unicode 6.0.0 specification

Known issues
  • Two valid tests in the test262 test suite fail on 32-bit Linux (works on 64-bit systems)

WARNING: This is a development snapshot: It contains the latest changes, but may also have severe known issues, including crashes, and data loss situations. In fact, it may not work at all.

Download

Changelog

Desktop
  • DSK-342300 Manually stopping Link should completely "unlink" the client from the synchronization process
  • DSK-318061 Dragging address badge to address or search field replaces page address with page's meta description
  • DSK-332429 Intranet hosts not remembered in opera:config#UserPrefs|IntranetHosts and info bar doesn't go away on first click

Core
  • CORE-39787 SVG element styled as table-row-group leaks memory
  • CORE-40441 Identical floated tables not always positioned in the same place alongside floated block
  • CORE-10745 Style updates to <col> don't cause reflow
  • CORE-40472 Missing horizontal scrollbar on container with overflow:auto when a multicol container contains more columns than specified
  • CORE-40470 Properties recognized as a style rule when setting properties on style object for other rules
  • CORE-40409 IDN domains do not work
  • CORE-38784 Native implementation of ES typed arrays
  • CORE-40410 Crash at studivz.net
  • CORE-40387 'playing' is not fired after play() is called - progress spinner on top of video (YouTube/HTML5)
  • CORE-40353 Change in DOM causes focus to be moved to another contentEditable element within the page
  • CORE-35502 Don't send Accept-Encoding HTTP header for <video>
  • CORE-39892 Problem with horizontal padding calculation
  • CORE-40275 Implement <video muted>
  • CORE-39405 Spatnav then JavaScript focus() does not remove CSS :hover styling on previous item
  • CORE-22646 :enabled :disabled and :checked UI selectors fail with cloned nodes
  • CORE-28884 Inset box-shadow for <input>
  • CORE-34144 DOMAttrModified event dispatched for unchanged attribute
  • CORE-40593 arc function in canvas requires last argument (it should be optional)

Readers' comments

Comments left by My Opera members under the original post: the first 50, as archived.

  • Krzysztof HankiewiczlordmorgulTuesday, September 13, 2011 3:08:01 PM

    ohmygod
    I love you guys.
  • arnaud lautierGrouickTuesday, September 13, 2011 3:08:28 PM

    Neat trying it now
  • DustinKhadgarTuesday, September 13, 2011 3:12:02 PM

    I think I need to go change my pants. Excuse me.
  • Алексейkudesnik84Tuesday, September 13, 2011 3:12:23 PM

    Super Good!
  • Helder Jefferson Ferreira da LuzDante003Tuesday, September 13, 2011 3:13:15 PM

    I was waiting for some new features, but that really impressed me bigeyes
  • Алексейkudesnik84Tuesday, September 13, 2011 3:13:25 PM

    Super Good!
  • BS-HarouTuesday, September 13, 2011 3:13:40 PM

    smiling bigsmile
  • HenryAOTEAROAnzTuesday, September 13, 2011 3:16:59 PM

    bigsmile bigsmile
  • AndreioperaterrestrialTuesday, September 13, 2011 3:21:07 PM

    happy
  • Patrick O'Reillypaddy2kTuesday, September 13, 2011 3:25:16 PM

    Typed arrays must mean that WebGL support is close.
    Fabrice Bellard's browser based virtual machine zips along with this build. http://bellard.org/jslinux/
  • spancherBobTuesday, September 13, 2011 3:30:08 PM

    Mod edit: Please be specific and to the point if you want to report bugs.
  • QuHnoTuesday, September 13, 2011 3:34:41 PM

    Yes! 100% in the ECMA Test up party
  • David TsunamydavidtsunamyTuesday, September 13, 2011 3:38:44 PM

    Nice snapshot! and GTK3 support! bigsmile

    One bug: Flashplayer not hidden on Google Reader:


    I am using Opera on OS X Lion.
  • BinbiK-GergoTuesday, September 13, 2011 3:40:30 PM

    Native binary data WEbgl What????
  • Michael A. Puls IIburnout426Tuesday, September 13, 2011 3:41:37 PM

    Yippee! up
  • ClashCityRockerclashcityrockerTuesday, September 13, 2011 3:53:24 PM

    S11.1.1_A2 also fails on Windows here.

    Anyone told Microsoft about Microsoft's score? I'm guessing they won't be using test262 in their marketing anymore now, and move to some other cherry-picked benchmark.
  • Swapnil RustagiSwapnil99proTuesday, September 13, 2011 3:56:50 PM

    Thanks a lot! Opera 12 is the most fabulous release of Opera. Opera Software and it's employees rock!
  • Andrew FrazierAndrewDFrazierTuesday, September 13, 2011 3:56:52 PM

    Google image search seems to be working properly without having to mask as Firefox smile
  • mtaki14Tuesday, September 13, 2011 4:00:52 PM

    http://i.imgur.com/suPihl.jpg

    bigsmile

    p/s

    How do you post image previews here?
  • nimu_channimuchanTuesday, September 13, 2011 4:03:19 PM

    Thank you. Nice job!!up
  • Jordan TrillesCristallixTuesday, September 13, 2011 4:06:18 PM

    it's very cool!! thank you for this snapshot, testing wink
  • Marco MaierschwiebieTuesday, September 13, 2011 4:07:32 PM

    Thank you. up
  • AvolaTuesday, September 13, 2011 4:07:47 PM

    Opera crashed as I shut it down to install this build. I proceeded to install it, and then it said it 'crashed while trying to show the crash dialogue for a previous crash'. Had to reinstall everything. Anyway, this snapshot is nice. Maybe it's just from reinstalling, but it seems to startup/shutdown faster now?
  • blackcoderTuesday, September 13, 2011 4:12:14 PM

    yes Great Work.
  • Swapnil RustagiSwapnil99proTuesday, September 13, 2011 4:18:55 PM

    Originally posted by K-Gergo:

    Native binary data WEbgl What????


    What the hell do you want. Why are you unnecessary posting off-topic comments. Opera is working on WebGL; all know that. And won't be telling you anything about when it will be integrated into Opera snapshots. Is there any moderator free to delete the comment of K-gergo?
  • Szőts Ákosszotsaki2Tuesday, September 13, 2011 4:27:35 PM

    3 builds ago there was an error, that Opera didn't rendered the whole page.

    In one of the previous builds this was fixed, but after I installed this snapshot, this hit again instantly.

    OS: Linux x86_64

    hup.hu: http://img690.imageshack.us/img690/6929/operahalfrendering.png
    imageshack.us: http://img683.imageshack.us/img683/8158/operahalfrendering1.jpg

    In Dragonfly for the site hup.hu (http://tinyurl.com/6zth5p7 ) I see 11 requests and all of them were 200 or 304 except an ad company (403 because of Privoxy).
  • pepkin88Tuesday, September 13, 2011 4:28:11 PM

    YYYYYYYYYEEEEEEEEEEEAAAAAAAAAAAAAAHHHHHH
    Thank you smile
  • MichałPlMichalTuesday, September 13, 2011 4:30:15 PM

    nice job
  • Jordan TrillesCristallixTuesday, September 13, 2011 4:30:47 PM

    @Haavard: "CORE-28884 Inset box-shadow for <input>" I don't understand, this thing already working on previous version of Opera (at least since Opera 10.63) see here => http://laurent-fenetres.fr/html/espace_personnel.php

    inset box-shadow doesn't work on <select> element and border-radius works only on the border on this element.

    lastly, In the previous snapshot you add border-radius to < fieldset> when the < legend> element is here, but now when you have a border to the < fieldset> element the border continue under the < legend> element texte when he shouldn't do this.

    Does i should make bug repport?
  • sleepyheadbooz0rTuesday, September 13, 2011 4:40:04 PM

    Impressive work. Gonna test right now.
  • AlternatiwealternatiweTuesday, September 13, 2011 4:44:16 PM

    What about your article about test262?
    http://my.opera.com/haavard/blog/2011/07/01/test262
    It's a little bit strange to me. It seems the tests are barely changed since that.
  • nick_el_sonnickelsonTuesday, September 13, 2011 4:46:32 PM

    You should update copyright data smile

  • cascarudexTuesday, September 13, 2011 4:49:55 PM

    yes good news thx O.D.T.
  • HaavardhaavardTuesday, September 13, 2011 4:50:32 PM

    Originally posted by alternatiwe:

    What about your article about test262?
    http://my.opera.com/haavard/blog/2011/07/01/test262
    It's a little bit strange to me. It seems the tests are barely changed since that.

    Indeed, my points from that article still stand. In fact, I have repeated them in this blog post: The test suite is not finished, and using these results to market a browser as "the most JS compliant browser" would be misleading.

    You may notice that the post in my blog does not mention Opera. It is about how test262 results are being interpreted.

    Edit: I have posted a new blog post on the subject.
  • Francisco HerrerafherreravTuesday, September 13, 2011 4:50:41 PM

    This is really nice!
  • ugly95Tuesday, September 13, 2011 4:55:03 PM

    Opera crashed as I shut it down to install this build. I proceeded to install it, and then it said it 'crashed while trying to show the crash dialogue for a previous crash'. Had to reinstall everything. Anyway, this snapshot is nice. Maybe it's just from reinstalling, but it seems to startup/shutdown faster now?


    I had a similar issue. Although I'm pretty sure my 1060 build didn't crash when I closed it to install 1065.

    I had the same 'crashed while trying to show the crash dialogue for a previous crash' message.

    I couldn't even uninstall 1065. When I tried to uninstall through the Windows Add/Remove Programs I got the same crash message.

    I had to roll back to 1060, back-up all my bookmarks and settings, then do an uninstall of 1060, do a clean install of 1065, then restore my backed up settings and it worked.
  • John A. Bilicki IIIjabcreationsTuesday, September 13, 2011 4:57:26 PM

    NICE JOB! That number of test fixes must have taken a lot of effort! That was really the only benchmark Opera seemed to be weak on.

    If you folks want some more bragging rights how about edging out the WebKit team to be first for 100% compliance on the SVG test suite...
    http://www.w3.org/Graphics/SVG/Test/20061213/htmlObjectHarness/full-index.html

    ...and be the first browser to score 100% compliance on Jeff Schiller's page here? (not many tests left and you might be able to squeeze it in for the 12.0 release wink)
    http://www.codedread.com/svg-support.php
  • kapsiTuesday, September 13, 2011 5:04:54 PM

    Oh wow! Opera delivers again.
  • BrandonViperAFKTuesday, September 13, 2011 5:09:01 PM

    The GTK3 integration is looking great! Awesome work guys smile

    This build is a bit crashy for me though, it seems to crash somewhat consistently while I am adding pages to the speeddial.
  • Ola P. KleivenolakTuesday, September 13, 2011 5:22:41 PM

    Originally posted by Cristallix:


    lastly, In the previous snapshot you add border-radius to < fieldset> when the < legend> element is here, but now when you have a border to the < fieldset> element the border continue under the < legend> element texte when he shouldn't do this.

    Does i should make bug repport?

    No need to, already fixed internally.
  • ouzowtfouzoWTFTuesday, September 13, 2011 5:42:57 PM

    Nice one, guys smile up
  • Danielweep86Tuesday, September 13, 2011 5:43:22 PM

    Hello!

    What does this mean?

    Opera will be more compatible, or what?
  • metudeTuesday, September 13, 2011 5:43:28 PM

    It causes crash and stop working with Opera Voice. Opera Voice doesn't work at all in this build.

    Originally posted by avola:

    Opera crashed as I shut it down to install this build. I proceeded to install it, and then it said it 'crashed while trying to show the crash dialogue for a previous crash'. Had to reinstall everything. Anyway, this snapshot is nice. Maybe it's just from reinstalling, but it seems to startup/shutdown faster now?


    +1 same for me. But i think i found reason; Opera Voice Library.
  • David Manndnm240Tuesday, September 13, 2011 5:52:10 PM

    Wow, been watching that test suite for a long time.
    Quite impressive.

    +1 for targeting complete SVG compliance, though I understand it may not be highest priority
  • Esteban Manchado VelázquezemanchadoTuesday, September 13, 2011 5:56:13 PM

    The title for DSK-342300 is wrong :-) Or maybe the title is correct and the bug number is wrong, but I don't think so :-)
  • ClashCityRockerclashcityrockerTuesday, September 13, 2011 6:06:17 PM

    had some problems upgrading on one of my systems, it crashed on every start, I had to clear out caches and stuff, and then it started correctly.
  • Helena PolovinčákováhelenkaTuesday, September 13, 2011 6:18:03 PM

    Autoupdate on Mac still doesn't work.

    Standard user, Lion (updater should ask for authorization)
  • ugly95Tuesday, September 13, 2011 6:25:18 PM

    It causes crash and stop working with Opera Voice. Opera Voice doesn't work at all in this build.


    Originally posted by avola:

    Opera crashed as I shut it down to install this build. I proceeded to install it, and then it said it 'crashed while trying to show the crash dialogue for a previous crash'. Had to reinstall everything. Anyway, this snapshot is nice. Maybe it's just from reinstalling, but it seems to startup/shutdown faster now?

    +1 same for me. But i think i found reason; Opera Voice Library.


    That makes sense. I had voice enabled when I updated the first time and had the crashing issue, and didn't enable it on the clean install, which seems to work fine.

    And in 1065 when I try to enable voice I get a crash.
  • Michael ThompsonMichael83815Tuesday, September 13, 2011 6:25:56 PM

    Opera repeatedly crashed after installing. I deleted the Voice Library and the problem was solved...
  • netmainTuesday, September 13, 2011 6:32:32 PM

    Nice work guys, thanks for the snapshot smile

    seems like opera link causing crash here, everytime i activate it opera crash..

    keep up the good work

    w7 32bits SP1

About this article

Published inDesktop Team blog
DateSeptember 13, 2011
AuthorHaavard
OriginalInternet Archive