News for hackers. Stuff that matters.
Re:Firefox 36.0 released by Karunamon on Tuesday February 24, 2015 @10:13AM (#9100947)
While it's nice to see the progress being made here, it's a little bit.. what's the word here? Strange? Disheartening? Annoying? Infuriating?

..to see long-standing issues being ignored or back-burnered in the march to add all the new features. Duplicate SSL certs still cause sites to be unviewable without stupid and security-breaking workarounds that are not necessary in other browsers, for nearly 7 years now[1], making the browser completely unsuited to enterprise administration uses. One misbehaving tab can still kill your entire session. I understand that they're working on this with the electrolysis project, but end of 2015 goal?[2] I don't mean to be overly snarky here, but congratulations on getting to where Chrome/ium was back in 2008.

I seriously question how the priorities are being decided at Mozilla. These are basic usability things that were solved in other browsers a long time ago.

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=435013

[2]: https://wiki.mozilla.org/Electrolysis

Re:Firefox 36.0 released by sp332 on Tuesday February 24, 2015 @10:19AM (#9100987)
Adding multi-process to a large project that was not designed for multi-process is an astronomical amount of work. And Firefox's approach has advantages over Chrome's, so they're not simply playing catch-up.
Re:Firefox 36.0 released by wbkang on Tuesday February 24, 2015 @10:30AM (#9101069)
Even Internet Explorer has been multi-process since IE8. All other browsers do it, except Firefox.
Re:Firefox 36.0 released by WaltPurvis on Tuesday February 24, 2015 @10:59AM (#9101346)
Which is one of the main reasons I still use Firefox.
Re:Firefox 36.0 released by joshstrange on Tuesday February 24, 2015 @11:52AM (#9101795)
Please explain this line of reasoning. As is it reads as "I still use Firefox because I like that 1 tab can bring down the the whole browser"
Re:Firefox 36.0 released by mmebane on Tuesday February 24, 2015 @01:33PM (#9102553)
Chrome is utterly unsuited to the use case of leaving hundreds of tabs open, which happens often to me, as I only bother updating/cleaning my bookmarks a couple of times a year. There's three main issues with Chrome:

1) Nothing I've found that works nearly as well as Tree Style Tab.

2) Chrome always reloads all tabs when the browser starts up. Firefox, at least with Session Manager, will only load old tabs when I activate them.

3) Chrome takes up way more memory. That's partly due to #2, but partly inherent in the multi-process model.

The Chrome UI also gets weird under load. With Firefox, it's easy to tell when it's laggy. With Chrome, the UI seems asynchronous, but there's no consideration for actions taking a long time, so you can get the annoying feeling of clicking with nothing obvious happening.

Re:Firefox 36.0 released by sp332 on Tuesday February 24, 2015 @12:07PM (#9101915)
Chrome chews through a lot of resources on my machine. Firefox is a lot lighter. And I think it will still be lighter since they're targeting a 2-process model instead of Chrome's (let me count) 17 that it just launched on startup.
Re:Firefox 36.0 released by joshstrange on Tuesday February 24, 2015 @01:04PM (#9102345)
Thank you! That makes sense, I still think I'd rather have per-tab isolation but I was genuinely interested in why FF would be preferable in this use-case.
Re:Firefox 36.0 released by Karunamon on Tuesday February 24, 2015 @10:21AM (#9101000)
Understood, but I'm speaking from the viewpoint of a user, here. It's a massive annoyance for a crashed tab to annihilate the other 49. (And the session restore being activated is generally grounds for a smoke break, because your system will be tied up for a while...)
Re:Firefox 36.0 released by Ded7xSEoPKYNsDd on Tuesday February 24, 2015 @10:33AM (#9101086)
Session restore in Firefox has been lazy for a long time now (the tab only loads when you activate it). It doesn't take longer than loading a single page.

How often do tabs crash for you? That's the real issue if you ask me. I'm on Nightly (with Electrolysis!) and the last crash was over 2 months ago.

Re:Firefox 36.0 released by iopq on Tuesday February 24, 2015 @10:57AM (#9101332)
I have a crash probably every day. Usual culprit is Flash.
Re:Firefox 36.0 released by cookiecaper on Tuesday February 24, 2015 @01:16PM (#9102416)
Counter-anecdote: I use Firefox all day every day and usually have 100s of tabs open. I haven't had a legitimate full-browser crash in years. I've had a hang that resulted in me having to kill the process probably 3 times in the last year. I usually don't enable Flash, but when I do, it usually doesn't crash, and when it does, it just takes out all instances of Flash currently running; doesn't bring down the whole browser. I'm on Linux.

If you're getting a lot of Flash-induced crashing, you may want to check into alternate implementations of Flash, like Gnash, Lightspark, or even Mozilla's Shumway.

Re:Firefox 36.0 released by icebraining on Tuesday February 24, 2015 @11:21AM (#9101554)
That's weird, since Flash runs on its own process (plugin-container). Is it actually crashing the whole browser?
Re:Firefox 36.0 released by oblio on Tuesday February 24, 2015 @11:42AM (#9101722)
It shouldn't. At least on Windows I've gotten used to killing the plugin container about once ever 2 days. Firefox itself crashes once per month, maybe less.

Firefox = rock solid. Flash = porous rock, at best :)

Re:Firefox 36.0 released by RyanMcGreal on Tuesday February 24, 2015 @12:33PM (#9102116)
I find when Flash (plugin-container) goes down, it takes both Firefox and Chrome down with it. Running Windows 7 at work.
Re:Firefox 36.0 released by iopq on Tuesday February 24, 2015 @11:53PM (#9105365)
It locks up the entire browser so I have to force kill it. I'm on Windows 7.
Re:Firefox 36.0 released by msujaws on Tuesday February 24, 2015 @11:28AM (#9101608)
You should go to about:support and use Refresh Firefox which will probably fix most of your crashes (outside of Flash-related ones which should only be affecting the plugin and not the browser).
Re:Firefox 36.0 released by bobcostas55 on Tuesday February 24, 2015 @11:09AM (#9101451)
>It doesn't take longer than loading a single page.

Yeah, because it only loads a single page. It doesn't actually restore anything. Sometimes the pages it restores aren't even the live version but a cached one, I have no idea when or why it does that. It's absolutely infuriating.

Re:Firefox 36.0 released by HelloMcFly on Tuesday February 24, 2015 @11:43AM (#9101731)
Infuriating? It's one of the main reasons I've switched back to FF (that, and tab groups)! I didn't like have every single tab reload on restore as I don't need 90% of them until much later.
Re:Firefox 36.0 released by sp332 on Tuesday February 24, 2015 @12:11PM (#9101947)
Right-click any tab -> Reload All Tabs. If you want a permanent solution, go to about:config and double-click browser.sessionstore.restore_on_demand.
Re:Firefox 36.0 released by Dylan16807 on Tuesday February 24, 2015 @01:18PM (#9102433)
No need to use about:config, it's on the first page of options.
Re:Firefox 36.0 released by sp332 on Tuesday February 24, 2015 @01:25PM (#9102481)
Oh! You know I was staring at that... Yeah, just click "Options" and then uncheck "Don't load tabs until selected". Thanks!
Re:Firefox 36.0 released by kevincrane on Tuesday February 24, 2015 @10:34AM (#9101103)
Speaking as a different user, one who looks at the task manager a decent amount, I really appreciate not having 49 different Firefox processes. This is definitely an issue of personal preference as it's been debated back and forth here a good amount, so no side is really "right" regarding single process v. multi process, but I'm firmly in the former camp.
Re:Firefox 36.0 released by sp332 on Tuesday February 24, 2015 @10:43AM (#9101182)
Firefox multiprocess, by default, has just one process for all the tab content and one for the "chrome". You can increase the number of processes used for tab content manually in about:config.
Re:Firefox 36.0 released by cgtyoder on Tuesday February 24, 2015 @12:54PM (#9102274)
What's the preference name?
Re:Firefox 36.0 released by sp332 on Tuesday February 24, 2015 @01:09PM (#9102376)
dom.ipc.processCount
Re:Firefox 36.0 released by agumonkey on Tuesday February 24, 2015 @10:28AM (#9101058)
Since 38a (previous nightly) electrolysis e10s is enable by defualt IIRC. That's the main reason I favor Firefox instead of Chromium these days, since I'd love to provide them with automatic user feedback as much as possible. Multithreading isolates from crashes half the time, but some times everything will go down. Also there seem to be concurrent issues and threading overhead, for mundane page loading can become very very sluggish.
Re:Firefox 36.0 released by pwr22 on Tuesday February 24, 2015 @10:36AM (#9101126)
I'd rather they make the code more robust to make crashes unlikely enough that they can actually debug and fix them when they occur, rather than going multi-process as a band aid to make recovery easier on a user

That said, it is easy to recover from simply by re-opening FF and you're right back where you were and I haven't had a total browser crash in a long time. I do experience lock up issues though

Re:Firefox 36.0 released by pekk on Tuesday February 24, 2015 @10:37AM (#9101136)
There are other users you probably don't represent.
Re:Firefox 36.0 released by sp332 on Tuesday February 24, 2015 @10:21AM (#9101007)
But the issue isn't ignored or back-burnered.
Re:Firefox 36.0 released by Karunamon on Tuesday February 24, 2015 @10:25AM (#9101034)
That was more directed at the F-ING SSL issue, but still, end of 2015 to have a feature that's considered standard nowadays and introduced 7 years ago?

How much of the work that went into deprecating certs and removing obscure command line flags and setting up HTTP/2 (which isn't even really used by anyone yet) could have went into electrolysis?

Re:Firefox 36.0 released by mccr8 on Tuesday February 24, 2015 @10:44AM (#9101192)
None of it. The work on multiprocess Firefox is primarily an issue in the front end UI code (written in JS), and does not have much to do with networking or crypto.

Another thing to keep in mind is that patch notes are a list of user-facing changes, not a breakdown of where the engineering effort went in a particular 5 week release cycle. Removing the command line flag probably took an engineer an hour or two to do. In the same time frame, I spent weeks analyzing and fixing a variety of leaks that only show up in multiprocess Firefox, but none of that shows up in the patch notes.

Re:Firefox 36.0 released by blfr on Tuesday February 24, 2015 @10:34AM (#9101100)
SPDY indicator[1] tells me that HTTP/2 is active on all Google properties, including YouTube. That's a nice chunk of the web right there.

I agree with you on older bugs just lingering around. This is a serious issue for many open source projects. JWZ was complaining about it years ago[2]. My favourite example is the problem of putting the tabs at the bottom of the window in gnome-terminal[3], which has been reported over 12 ago, has a patch available posted in the bugzilla, and it's still not fixed.

[1] https://addons.mozilla.org/en-US/firefox/addon/spdy-indicato...

[2] http://www.jwz.org/doc/cadt.html

[3] https://bugzilla.gnome.org/show_bug.cgi?id=75420

Re:Firefox 36.0 released by tshtf on Tuesday February 24, 2015 @10:22AM (#9101013)
Chrome's first public release, which included multiprocess tabs, was on December 11, 2008. There has been more than enough time for Mozilla to catch up.
Re:Firefox 36.0 released by dblohm7 on Tuesday February 24, 2015 @12:11PM (#9101950)
They didn't have an addon ecosystem to contend with back then.
Re:Firefox 36.0 released by Millennium on Tuesday February 24, 2015 @05:18PM (#9103923)
Note the words "first public release". Not to knock Chrome's achievements in this area, but it's an inescapable fact that they did not have any previous architecture to migrate from. Taking any nontrivial program that has had years to assume a single-process architecture, and updating it to work in a multiprocess manner, is hard. It takes time to do properly.
Re:Firefox 36.0 released by acdha on Tuesday February 24, 2015 @10:35AM (#9101115)
Your complaint seems to be that they haven't shipped a huge project which a bunch of people are working on and adding a backwards-compatibility hack for people who use older network hardware which generates incorrect self-signed SSL certs but also choose not to install valid certificates on this device.

I mean, it would be great for a few people if they added the ability to ignore this check but it's not a surprise that it's a lower priority compared to implementing HTML5/ES6 features which will provide a better web experience for millions of people.

Re:Firefox 36.0 released by JohnTHaller on Tuesday February 24, 2015 @10:30AM (#9101068)
For the curious, the duplicate SSL cert issue is in regards to some buggy routers and wireless printers with broken firmware. They send out invalid SSL certificates. Firefox doesn't have a way to provide an exception to allow access when security is compromised in this way but the user doesn't care and wants to access it anyway.

The only reason tabs generally misbehave is if Flash crashes. Firefox separates Flash out to a separate process so it won't crash the browser, even the tab the crashed Flash plugin is in. It just takes it a few more seconds than I'd like to realize the crash. (You can adjust the timing yourself, though). I haven't had a non-Flash-related Firefox issue in a very long time.

Re:Firefox 36.0 released by Karunamon on Tuesday February 24, 2015 @10:33AM (#9101088)
No, the certs are otherwise valid, but the problem is that once Firefox has seen a cert for a given address, if another address presents an identical cert, the second address cannot be browsed to without shutting down the browser and deleting the entire cert store.

Other offenders off the top of my head: BMC interface on Intel boards, HP iLO for blade management, F5 load balancers.

Yeah, they shouldn't be doing that, but the only thing being asked for here is a bleeding override button.

Re:Firefox 36.0 released by acdha on Tuesday February 24, 2015 @10:41AM (#9101167)
I find it curious that the people complaining about this don't instead install valid certificates. That was routine for us even a decade ago because otherwise you're literally training your admin staff to ignore errors and enter sensitive passwords every time a security warning pops up.

That's never good and it feels dangerously close to professional negligence when it's a password which gives privileged access to a server.

EDIT: just to be clear, I don't think this is “these people are crazy” so much as “what reason is good enough to justify leaving yourself exposed like this?” Even the cheap devices I bought in the early 2000s allowed you to install SSL certs and installing something real was a routine part of the first-time install.

Re:Firefox 36.0 released by mook on Wednesday February 25, 2015 @02:00AM (#9105639)
People probably don't install valid certificates because they can't. Consumer routers (think Linksys) are locked-down devices and things like SSL certificates are baked into the firmware. I'm curious what sorts of cheap devices you bought supported custom certificates; were they consumer-oriented? (That wasn't rhetorical; actually interested.)

Personally, I usually end up using plain unencrypted http instead, which is a net negative in terms of security (doesn't even protect against passive adversaries), but that seems to be what the SSL implementers prefer.

Re:Firefox 36.0 released by acdha on Wednesday February 25, 2015 @10:18AM (#9107083)
I've definitely run into consumer devices which allowed me to upload an SSL cert somewhere in the advanced settings but mostly I was thinking about the people on the bug commenting that their enterprise network, server management, etc. gear had bad certs. Even in the late 90s you could do this because .mil/.gov and many corporate purchasing contracts tended to require it.