Firefox 22 released
mozilla.org
mozilla.org
Highlights: WebRTC, asm.js, flexbox, and web notifications are present and enabled by default.
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Rel...
The upcoming versions address this issue (in the end, it's all just CSS; for example: [0]).
[0] http://dxr.mozilla.org/mozilla-central/source/browser/themes...
[0] Opera, as far as I remember, has neither clipboard access nor a "paste" event, the POS.
Yes and no, the website can access clipboard data specifically when you're pasting as a user-triggered operation (C-v/M-v or "Paste" from a contextual menu) (that is the clipboard data is only accessible from the `paste` event).
This allows an application to access alternative representations (the clipboard can store multiple representations of the same data e.g. text and html and image and whatever, and the application can then pick the most appropriate — or all of them) and to pre-process clipboard data before inserting it programmatically. Very useful with e.g. RTE. Arbitrary clipboard access most definitely isn't allowed.
See http://www.w3.org/TR/clipboard-apis/#pasting-html-and-multi-... for security and privacy considerations.
> if yes, how can we disable this "feature"?
In firefox, probably by going to about:config and setting `dom.event.clipboardevents.enabled` to `false`. In webkit and MSIE (which have had the feature for ages) I have no idea.
document.body.addEventListener("paste", function(e){
console.log("paste event fired")
})
In Chrome, this will fire when you paste, in Firefox it will not.http://jsbin.com/odupog/1/edit
Either way, should alleviate some of the privacy concerns, as you can only get ClipboardData from elements where "paste" has a visible effect.
This is one of the ways that pasting images from your clipboard into, say, an image hosting site can work.
I had a difficult time finding fuller explanations of the capabilities - mostly because there isn't a standard API across browsers yet - but here[1] are the relevant Safari docs.
There's also a working draft[2] from the W3C for a standardized API.
[1] http://developer.apple.com/library/mac/documentation/AppleAp...
www.tokbox.com
disclaimer: BD @ tokbox
This is about the new syntax and current CR.
I'm not sure why you're asserting that when you're completely wrong. Not only did Firefox support the old flexbox, it still does as of Firefox 22: [0] still works and uses the old (and prefixed) flexbox syntax, and said old (and prefixed) syntax remains documented on MDN with a note that it's deprecated[1]
[0] http://www.the-haystack.com/2010/01/23/css3-flexbox-part-1/
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-box-fl...
The old flexbox draft is similar to XUL boxes in some ways, and quite different in other ways. Trying to use XUL boxes and expecting the old-flexbox behavior as a result will land you in trouble, as happens with depressing regularity when people use "display: -moz-box".
The MDN documentation is sadly wrong, because it ignores the fact that the properties _look_ similar but have totally different behavior. Thank you for pointing that out; I'll make sure it gets fixed.
Next, have a look at the Epic Citadel[2], which runs very smoothly in Firefox 22. Well done!
[1] http://kripken.github.io/lua.vm.js/lua.vm.js.html [2] http://www.unrealengine.com/html5/
That said, I'm very excited about asm.js (using it, in fact) and the performance in FF 22 blows me away as well. The V8 team appears to be working on asm.js optimisations, so soon we can have a fair contest :)
The best thing about asm.js is that the optimisations are really optional, unless your application is actually CPU-bound. The Unreal Engine probably is, to some degree. A simple 2D game like the one I'm working on certainly isn't. Not seeing it run any faster with FF 22, it's already smooth in older versions.
Actually Chrome has been optimizing for compiled C++ for a long time - Google even added Mandreel code to the Octane benchmark - and for asm.js specifically (which is a particular type of compiled C++) in recent months, as you can track here
http://arewefastyet.com/#machine=11&view=breakdown&suite=asm... http://arewefastyet.com/#machine=11&view=breakdown&suite=asm...
https://github.com/dvander/arewefastyet/blob/master/driver/b...
edit: btw, is there a simple way to build just the JSC shell on Linux? I can't find one.
I'm not familiar with building just JSC on Linux, but last time I looked in to it the only way to build JSC was as part of building all of WebKit.
python harness.py [SHELL_NAME]
and it runs all the benchmarks in that directory using that shell.
Regarding building, I've tried to build all of the Qt port on Linux (what the online guides mention), but always fail in the dependencies. Perhaps I'll try the gtk port.
1. Some of the tests use shell functions like "read" that jsc doesn't provide. This is easy enough to address.
2. I was mistaken about the quality of the typed array support in JavaScriptCore. While the interpreter has knowledge of typed arrays, the actual implementation that's used when running in-browser lives in WebCore rather than in JavaScriptCore. When running in the shell only a bare minimum typed array implementation, primarily intended for JSC-only regression tests, is available. This trips up some tests since the implementation is much less complete than the one in WebCore.
Am I correct in assuming that if JavaScriptCore starts successfully executing the tests, it'll automatically start showing up on the relevant part of arewefastyet.com?
I am not sure about automatically showing up, but that would be my guess. I can ask dvander (who runs awfy) for more details if that would be useful. In any case probably it is very easy to change (disable/enable).
Of course, the Lua VM test is compiled to asm.js, so of course Firefox does really well right now. Exciting nonetheless - this opens so many possibilities.
• Firefox nightly 25.0a1 (2013-06-26): 403 points
MBP i7 2.2Ghz
let square = x => x * x
Time to move over to stalking the Chrome devs...https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Also, TypeScript 0.9 is released, which includes niceties such as generics and type info overloading based on constant values passed in function parameters.
It's pretty slick, if only it could output code optimized for Google Closure's advanced mode, for tree-shaking awesomeness.
http://www.mozilla.org/en-US/firefox/aurora/
Aurora is basically the beta of Firefox. It seems to get incremental updates more regularly than Firefox. It very occasionally has issues with compatibility with plugins (usually when a version number is bumped) but I can't recall any stability issues in the few years I've been using it.http://www.mozilla.org/en-US/firefox/beta/
It doesn't update super frequently during the 6-week release cycle. Maybe once a week tops, I think? Hard to be sure, as I restart FF every few days anyway.
BTW, they must have more or less completely solved the add-ons version compatibility problem that was initially a big pain when they moved to the six week cycle; I haven't noticed any disabled or broken add-ons in a very long time.
The six-week cycle probably helped as well, since there is less changes between versions; not to mention improved auto-updating.
For example, the markup view itself from the Firefox Developer Tools is written in HTML [0] and JS [1]. Other tools like the Network Monitor use XUL.
[0] http://dxr.mozilla.org/mozilla-central/source/browser/devtoo... [1] http://dxr.mozilla.org/mozilla-central/source/browser/devtoo...
Also I just happened to occasionally hit plugin/add-on/etc bugs that would require me to kill and downgrade FF, losing ~10 minutes of work and my train of thought. It didn't take long for this to push me to the Beta channel.
Glad to hear Aurora is generally solid for you, though. Maybe I should give it another try.
It's becoming more and more rare for me to have to switch to Chrome to get a website to work correctly/acceptably, and I love it! Great job by the Mozilla team
Not sure why, but Firefox definitely seems to have a weak spot around 2d (SVG?) performance
I hope to do a lot more. I too, like you, am a Mozilla fanboy.
Unfortunately, in the last few months, I have a lot of pressure at my day-job (a few sudden departures). Nevertheless, I did contribute when I could spare the time and I urge you to do likewise. If there are enough of us, then there's always someone helping them out. It's a massive project and needs all the hands that kind developers are willing to spare.
At least on the versions I've tested...
I have an app that places a few hundred text labels on a canvas, and on Chrome I can do that smoothly in a single callback. For firefox I had to use a hack with a queue that is processed a few items at a time with setTimeout() to prevent it from stalling the UI for many seconds... Even so, the experience is still worse on Firefox.
Happy day.
"Plain text files displayed within Firefox will now word-wrap"
It was a pain to scroll sideways.
Anyone know how Mozilla is going to handle this? Are they going to use Google's recognizers in the cloud?
Edit : It's officially off. So much for the privacy concerns ..
http://www.computerworld.com/s/article/9240218/Mozilla_again...
Firefox is awesome.
So I went up the stack, every one except nightly is segfaulting.
Guess I'm on nightly for a while!
That, and Nightly is kind of painful because its a 60MB update daily. I'm probably going to be skipping a lot of updates on it =P
The other option is to `chown` the package directory, and Nightly will handle auto-updating. I only run on a 1 Mbit connection and I hardly notice when Nightly chooses to download the update on my Arch box, even while I'm actively browsing.
> its a 60MB update daily
The entire binary is ~32-33MB...I've never received an update that large.
Version : 25.0a1-1
Description : Standalone web browser from mozilla.org, nightly build
Architecture : x86_64
URL : http://www.mozilla.org/projects/firefox
Licenses : MPL GPL LGPL
Groups : None
Provides : None
Depends On : alsa-lib libxt libnotify mime-types nss gtk2 sqlite dbus-glib
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 71562.00 KiB
Packager : Unknown Packager
Build Date : Wed 26 Jun 2013 08:31:12 AM EDT
Install Date : Wed 26 Jun 2013 08:31:51 AM EDT
Install Reason : Explicitly installed
Install Script : No
Validated By : None
The AUR nightly package on Arch is 71mb. It installs:
firefox-nightly /opt/firefox-25.0a1/ firefox-nightly /opt/firefox-25.0a1/Throbber-small.gif firefox-nightly /opt/firefox-25.0a1/application.ini firefox-nightly /opt/firefox-25.0a1/browser/ firefox-nightly /opt/firefox-25.0a1/browser/blocklist.xml firefox-nightly /opt/firefox-25.0a1/browser/chrome.manifest firefox-nightly /opt/firefox-25.0a1/browser/chrome/ firefox-nightly /opt/firefox-25.0a1/browser/chrome/icons/ firefox-nightly /opt/firefox-25.0a1/browser/chrome/icons/default/ firefox-nightly /opt/firefox-25.0a1/browser/chrome/icons/default/default16.png firefox-nightly /opt/firefox-25.0a1/browser/chrome/icons/default/default32.png firefox-nightly /opt/firefox-25.0a1/browser/chrome/icons/default/default48.png firefox-nightly /opt/firefox-25.0a1/browser/components/ firefox-nightly /opt/firefox-25.0a1/browser/components/components.manifest firefox-nightly /opt/firefox-25.0a1/browser/components/libbrowsercomps.so firefox-nightly /opt/firefox-25.0a1/browser/crashreporter-override.ini firefox-nightly /opt/firefox-25.0a1/browser/extensions/ firefox-nightly /opt/firefox-25.0a1/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/ firefox-nightly /opt/firefox-25.0a1/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/icon.png firefox-nightly /opt/firefox-25.0a1/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf firefox-nightly /opt/firefox-25.0a1/browser/icons/ firefox-nightly /opt/firefox-25.0a1/browser/icons/mozicon128.png firefox-nightly /opt/firefox-25.0a1/browser/omni.ja firefox-nightly /opt/firefox-25.0a1/browser/searchplugins/ firefox-nightly /opt/firefox-25.0a1/browser/searchplugins/amazondotcom.xml firefox-nightly /opt/firefox-25.0a1/browser/searchplugins/bing.xml firefox-nightly /opt/firefox-25.0a1/browser/searchplugins/eBay.xml firefox-nightly /opt/firefox-25.0a1/browser/searchplugins/google.xml firefox-nightly /opt/firefox-25.0a1/browser/searchplugins/twitter.xml firefox-nightly /opt/firefox-25.0a1/browser/searchplugins/wikipedia.xml firefox-nightly /opt/firefox-25.0a1/browser/searchplugins/yahoo.xml firefox-nightly /opt/firefox-25.0a1/chrome.manifest firefox-nightly /opt/firefox-25.0a1/components/ firefox-nightly /opt/firefox-25.0a1/components/components.manifest firefox-nightly /opt/firefox-25.0a1/components/libdbusservice.so firefox-nightly /opt/firefox-25.0a1/components/libmozgnome.so firefox-nightly /opt/firefox-25.0a1/crashreporter firefox-nightly /opt/firefox-25.0a1/crashreporter.ini firefox-nightly /opt/firefox-25.0a1/defaults/ firefox-nightly /opt/firefox-25.0a1/defaults/pref/ firefox-nightly /opt/firefox-25.0a1/defaults/pref/channel-prefs.js firefox-nightly /opt/firefox-25.0a1/dependentlibs.list firefox-nightly /opt/firefox-25.0a1/dictionaries/ firefox-nightly /opt/firefox-25.0a1/dictionaries/en-US.aff firefox-nightly /opt/firefox-25.0a1/dictionaries/en-US.dic firefox-nightly /opt/firefox-25.0a1/firefox firefox-nightly /opt/firefox-25.0a1/firefox-bin firefox-nightly /opt/firefox-25.0a1/icons/ firefox-nightly /opt/firefox-25.0a1/icons/updater.png firefox-nightly /opt/firefox-25.0a1/libfreebl3.chk firefox-nightly /opt/firefox-25.0a1/libfreebl3.so firefox-nightly /opt/firefox-25.0a1/libmozalloc.so firefox-nightly /opt/firefox-25.0a1/libmozsqlite3.so firefox-nightly /opt/firefox-25.0a1/libnspr4.so firefox-nightly /opt/firefox-25.0a1/libnss3.so firefox-nightly /opt/firefox-25.0a1/libnssckbi.so firefox-nightly /opt/firefox-25.0a1/libnssdbm3.chk firefox-nightly /opt/firefox-25.0a1/libnssdbm3.so firefox-nightly /opt/firefox-25.0a1/libnssutil3.so firefox-nightly /opt/firefox-25.0a1/libplc4.so firefox-nightly /opt/firefox-25.0a1/libplds4.so firefox-nightly /opt/firefox-25.0a1/libsmime3.so firefox-nightly /opt/firefox-25.0a1/libsoftokn3.chk firefox-nightly /opt/firefox-25.0a1/libsoftokn3.so firefox-nightly /opt/firefox-25.0a1/libssl3.so firefox-nightly /opt/firefox-25.0a1/libxul.so firefox-nightly /opt/firefox-25.0a1/mozilla-xremote-client firefox-nightly /opt/firefox-25.0a1/omni.ja firefox-nightly /opt/firefox-25.0a1/platform.ini firefox-nightly /opt/firefox-25.0a1/plugin-container firefox-nightly /opt/firefox-25.0a1/precomplete firefox-nightly /opt/firefox-25.0a1/removed-files firefox-nightly /opt/firefox-25.0a1/run-mozilla.sh firefox-nightly /opt/firefox-25.0a1/update-settings.ini firefox-nightly /opt/firefox-25.0a1/updater firefox-nightly /opt/firefox-25.0a1/updater.ini firefox-nightly /opt/firefox-25.0a1/webapprt-stub firefox-nightly /opt/firefox-25.0a1/webapprt/ firefox-nightly /opt/firefox-25.0a1/webapprt/omni.ja firefox-nightly /opt/firefox-25.0a1/webapprt/webapprt.ini firefox-nightly /usr/ firefox-nightly /usr/bin/ firefox-nightly /usr/bin/firefox-nightly firefox-nightly /usr/share/ firefox-nightly /usr/share/applications/ firefox-nightly /usr/share/applications/firefox-nightly-safe.desktop firefox-nightly /usr/share/applications/firefox-nightly.desktop firefox-nightly /usr/share/pixmaps/ firefox-nightly /usr/share/pixmaps/firefox-nightly-icon.png
And since it doesn't do incremental patch diffs in the pkgbuild it is a 70mb update every time. I'll try chowning /opt/firefox.
Is that a Linux/Arch specific problem? On OSX it'll download partial updates at just a few MB -- at least so long as you really do keep it updated nightly.
Basically I just felt like I lost a lot of screen real-estate when surfing the news, like I was back in 1356x768 country.
There needs to be some toggles which can be disabled or some other middle ground here.
Firefox 21 and 22 support streaming MP4 in HTML5.
OS X is a bit more complicated due to needing to poke at Quicktime for the codecs.
Still waiting on Opera to make a move for mp4...especially with the promises that H.265 make in regards to reduced file sizes with great qualities.
Although I know mp4 is patent encumbered, it's too prevalent to ignore (thanks to Apple and Microsoft products).
I'm being melodramatic is all. The Selenium FF driver lags a little behind Firefox releases (totally understandable).
Not a problem on my actual test boxes as I control the FF version on those, but it will lead to a week or so of devs (with FF auto-update set) complaining that tests are breaking locally. (Despite the fact that this situation and its remedy has been explained to them repeatedly.)
It is possible that S2.33 will work fine with FF22, making all this moot. And it's just a passing annoyance. I have nothing but love for both applications.
maps.google.com with route determined. Hackers News, this story.
and the offending site, cycletrader.com where I chose a random ad from the front page that had more than one photo. All I did was cycle through the photos and leave the tab open.
Internet Explorer to the same sites does not even come close to the memory usage. In the time it took me to write this I have seen firefox go from 235m to 1.2g memory and IE stayed steady at 100m
My window size became massively zoomed.
Pentadactyl will work, with some minor regressions (e.g. Google home page search box now steals focus) and 's' (google search) command prints error message: Error: TypeError: keywords in null, but the search works.
But otherwise everything else seems to work.
There are various extensions floating around that claim to do this but they generally target much older versions of Firefox and don't work very well.
> The stack trace is now shown as a breadcrumb near the top
Who thought this was a good idea? This leaves room for about 3 items, whereas most stacks nowadays are much larger. A normal vertical list makes much more sense than a horizontal breadcrumb, IMHO.
Not what I was looking for, I wanted the Rules on the side in a column, and the inspector along the bottom like it used to be.
Disappointed.
Having a huge amount of issues with the flash plugin at the moment, not sure if that's their fault or Adobe's though.
Though sadly it coincides with me having to pull something offline I cross-compiled to asm.js, due to GPL violations. But that's another story.
You're sure you're using the UX nightly? The normal nightly doesn't have the new tab design.
The solution was to hack userchrome.css or install OpenBook add on.
However it is no longer being kept up to date with Firefox.
A possible update for it is to use Edit Bookmark Plus instead.
Some information here, https://bugzilla.mozilla.org/show_bug.cgi?id=418864
I also recall that Firefox leaked a lot of memory, not sure if that's been fixed now.
If it's the case that IE is now a decent browser and Windows people use that or Chrome, and Mac people using Safari, I'm just wondering what spot or niche Firefox fills. I suppose in the Linux world, Firefox and Chrome are the only major options.
I really love Tab Utilities (https://addons.mozilla.org/en-US/firefox/addon/tab-utilities...), which helps me use my browser despite my 914 open tabs by making the New Tab command open the new tab directly to the right of the current tab, not all the way at the right. Other extensions that can only exist in Firefox include Copy Urls Expert (http://www.kashiif.com/firefox-extensions/copy-urls-expert/) and Tree Style Tab (https://addons.mozilla.org/en-US/firefox/addon/tree-style-ta...).
It has. See https://wiki.mozilla.org/Performance/MemShrink for details.