News for hackers. Stuff that matters.
Re:Multiprocess Firefox by nly on Saturday May 16, 2015 @08:18PM (#9558143)
Chromium circa 2008?
Re:Multiprocess Firefox by Excavator on Saturday May 16, 2015 @08:35PM (#9558183)
A browser being built from the ground up around one process per tab has an easier time implementing said feature than one with years of history? Who would've thought‽
Re:Multiprocess Firefox by wanderr on Saturday May 16, 2015 @11:32PM (#9558586)
The fact that they spent years arguing against its necessity rather than working on it certainly didn't help.
Re:Multiprocess Firefox by frik on Sunday May 17, 2015 @07:55AM (#9559684)
There is a lot of old cruft in its web engine "gecko" (http://en.wikipedia.org/wiki/Gecko_(software) , http://en.wikipedia.org/wiki/XUL , http://en.wikipedia.org/wiki/XPCOM). Many addons are XUL based and have had problems with the multi process mode. In 1-2 years hopefully Servo is ready combined with a simple HTML based UI to do what Firefox/Firebird/Phoenix did with Mozilla Suite: http://en.wikipedia.org/wiki/History_of_Firefox#Naming
Re:Multiprocess Firefox by glass- on Sunday May 17, 2015 @08:14AM (#9559726)
And yet if you read the comments in this thread there are still people arguing against its necessity.
Re:Multiprocess Firefox by ethana on Saturday May 16, 2015 @08:50PM (#9558219)
Or IE7 circa 2006. IE7 separated its UI and browser content in different processes. IE8+ group several tabs into one process when passing a threshold. This is much better for battery life compare to Chrome process-per-tab.
Re:Multiprocess Firefox by timothya on Saturday May 16, 2015 @09:07PM (#9558254)
Chrome also groups multiple tabs on single process, based on a number of factors: https://www.chromium.org/developers/design-documents/process...
Re:Multiprocess Firefox by frik on Sunday May 17, 2015 @08:01AM (#9559695)
IE7 or IE8 introduced multi-process sandbox in Vista (not on XP). Afterwards, Google did the same with their first Chrome release.

In both IE 8-11 and Chrome 1+ there are several tabs per sub-process. Chrome comes even with its own "Taskmanager" where you can see which tab sits in which process and how many resources it takes. You can find the Taskmanager in the Chrome's "Tools" sub-menu.

Re:Multiprocess Firefox by forrestthewoods on Saturday May 16, 2015 @09:12PM (#9558276)
Yes. Exactly like that. Firefox is damn near a full decade behind the curve.
Re:Multiprocess Firefox by _wmd on Saturday May 16, 2015 @09:25PM (#9558308)
Multiprocess isn't some magical panacea, its use is essentially to contain buggy code which shouldn't exist in the first place (this is true for its use as introducing extra security context for page content as well as its improvements to robustness against hangs). In both instances, a safer implementation language, or moving rendering and JS interpretation off the UI thread could be said to be far more elegant solutions. Mozilla is about a decade ahead of the curve here, with Rust and Servo providing both.
Re:Multiprocess Firefox by yborg on Saturday May 16, 2015 @10:06PM (#9558395)
This. I am a SW tester and regularly use all the major browsers. I frankly do not see any lack in the current non-multiprocess FF in terms of the majority of browsing scenarios. If you really want the browser to be the operating system multi-processing is important, but for those not as interested in Google's agenda it isn't nearly as pertinent.
Re:Multiprocess Firefox by StavrosK on Saturday May 16, 2015 @11:38PM (#9558600)
Really? I switched to FF from Chrome and it's my #1 gripe. I can't load a YouTube video without the entire browser freezing, it's ridiculous.
Re:Multiprocess Firefox by cpeterso on Sunday May 17, 2015 @01:16AM (#9558818)
Are the freezing YouTube videos using Flash or HTML5 video? What OS are you on?
Re:Multiprocess Firefox by StavrosK on Sunday May 17, 2015 @12:17PM (#9560570)
I'm on Linux. I have HTML5 videos enabled, so I think it's mostly that, but I can check later if you want.
Re:Multiprocess Firefox by cpeterso on Sunday May 17, 2015 @04:18PM (#9561551)
(I'm a program manager on Mozilla's video team, so I'm definitely interested in your YouTube problems. :) YouTube playback is common user complaint, but it can be very configuration dependent.)

When you say the browser freezes, is it permanently deadlocked or does the video eventually start playing? Firefox 38 on Linux does not support MSE (Media Source Extensions), so YouTube's HTML5 video player can't use adaptive streaming. YouTube is blocked on Firefox's download and rate estimation of the video. It sounds like the YouTube player or Firefox might be stuck in a busy loop downloading the video.

To test whether the video download is causing the problem, you could try flipping the "media.mediasource.enabled" to about:config pref to true and "media.mediasource.whitelist" about:config pref to false (and restarting Firefox) to see if MSE helps. Alternately, MSE is enabled on Linux in Firefox Nightly (41) and Dev Edition (40) so you could just try them.

Does Flash play without freezing, if you have Flash installed? Flash on Linux supports H.264, but Firefox only supports VP8, VP9, and WebM unless you have gstreamer's H.264 decoder installed (but it has its own problems).

Re:Multiprocess Firefox by StavrosK on Sunday May 17, 2015 @04:34PM (#9561611)
Nope, it starts playing after a bit. I'm afraid I won't be at my desktop, where this is more egregious, for about a week, but I'll investigate and reply again when I'm back. It does sound like the problem is what you describe, although I think I'm running Aurora on the desktop.
Re:Multiprocess Firefox by cpeterso on Monday May 18, 2015 @12:24PM (#9565275)
Thanks for your help. Feel free to contact me at cpeterson at mozilla dot com if you have more details or questions.
Re:Multiprocess Firefox by forrestthewoods on Saturday May 16, 2015 @10:19PM (#9558425)
Buggy code shouldn't exist. Buggy code exists. When the buggy code in question isn't written by the browser then it's up to the browser to properly deal with that buggy code. Firefox doesn't. Other browsers do, but Firefox doesn't. Thus as a user I can either use Firefox and have a bad time or not use Firefox and have a good time. The choice is easy.

Maybe Mozilla is planning for the future better than all others. Perhaps in another 10 years Firefox won't be a shitty user experience. I will gladly switch if that becomes the case. I'm not holding my breath.

Re:Multiprocess Firefox by fencepost on Sunday May 17, 2015 @12:16AM (#9558680)
It's not that it's a full decade behind the curve, it's a decade behind where your perceived curve. There are advantages and disadvantages to both monolithic kernel and microkernel operating systems^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H browsers.