News for hackers. Stuff that matters.
Re:Firefox 70 by kemenaran on Tuesday October 22, 2019 @10:27AM (#21323940)
Not mentioned in this article (although it's in the Release Notes [1]): the amazing work done regarding the macOS compositor.

This should give pretty noticeable speed and battery improvements on Retina Macbooks.

[1] https://www.mozilla.org/en-US/firefox/70.0/releasenotes/#new

Re:Firefox 70 by re4ctor on Tuesday October 22, 2019 @11:05AM (#21324426)
Re:Firefox 70 by adfkbuvasdas on Tuesday October 22, 2019 @10:34AM (#21324029)
Game changer! Now from my POV Firefox is the best desktop browser, period. No caveats.
Re:Firefox 70 by redblacktree on Tuesday October 22, 2019 @11:24AM (#21324685)
Is there a good transition path for someone who uses a lot of Google products? In particular, I use Chrome across all my devices, and I depend on the ability to search my history/recent tabs/etc from anywhere. Will Firefox give me the same ability? Is the transition literally just: Install Firefox everywhere and start using it instead?
Re:Firefox 70 by alimbada on Tuesday October 22, 2019 @11:41AM (#21324925)
> Is the transition literally just: Install Firefox everywhere and start using it instead?

Yep. I did this about a year ago. You have to create a Mozilla account (if you haven't already) in order to sync your tabs and history across devices, but that should be a given.

I find the Firefox sync a bit clunky compared to Chromes though. I think Chrome sends udpates to Google on each change whereas Firefox polls and updates on a schedule which means sometimes if you put a device to sleep (or if you're on iOS and the app gets suspended) your history and tab state won't be propagated and it'll be missing on your other devices which can be frustrating when you're away from those devices.

Re:Firefox 70 by kevincrane on Tuesday October 22, 2019 @03:02PM (#21327354)
Agreed to what everyone else said, but to me the killer feature of Firefox Sync is that you can send tabs from one browser to another, so I can find links on my work computer and ship them directly to my home computer or phone to read later, and they'll just show up when it syncs next.
Re:Firefox 70 by Qqqwxs on Tuesday October 22, 2019 @09:41PM (#21330285)
I'm actually not sure if this is a native Chrome feature, but I can instantly send tabs to my other devices with right click > "send to your devices" > list of devices with a Google account signed in (Which is my phone and laptop for me on my desktop).
Re:Firefox 70 by helb on Wednesday October 23, 2019 @03:57AM (#21332248)
It's exactly the same in FF: https://i.vgy.me/vBP4rF.png
Re:Firefox 70 by toyg on Tuesday October 22, 2019 @11:57AM (#21325174)
> Will Firefox give me the same ability?

Yes.

> transition literally just: Install Firefox everywhere and start using it instead?

Almost. You will have to create a firefox account and export/import your bookmarks. That's it.

Re:Firefox 70 by jedieaston on Tuesday October 22, 2019 @11:30AM (#21324773)
Pretty much, yes. You’ll have to make a Firefox account, but then tabs and plugins will sync everywhere you log in.
Re:Firefox 70 by option_greek on Tuesday October 22, 2019 @12:05PM (#21325274)
Also, passwords.
Re:Firefox 70 by komali2 on Tuesday October 22, 2019 @12:10PM (#21325336)
The only feature you may miss is auto-fill of credit card info. It's saved my ass abroad before.
Re:Firefox 70 by jhatax on Wednesday October 23, 2019 @11:34AM (#21335686)
Firefox has credit card auto-fill capabilities: https://blog.mozilla.org/firefox/online-shopping-autofill-cr...
Re:Firefox 70 by m-p-3 on Tuesday October 22, 2019 @12:43PM (#21325745)
A good password manager will handle that easily.
Re:Firefox 70 by OJFord on Tuesday October 22, 2019 @11:38AM (#21324889)
As long as you use it everywhere in the same way you presently use Chrome everywhere, yes. You can also import a certain amount (history & bookmarks, not, I think, current & recent tabs) to get started.
Re:Firefox 70 by pwlb on Tuesday October 22, 2019 @11:28AM (#21324741)
Firefox Sync let's you syncronize Bookmarks, Open tabs, Logins, History, Add-ons and Preferences across devices by logging in once with username password
Re:Firefox 70 by mch82 on Tuesday October 22, 2019 @12:09PM (#21325320)
Here’s the Sync security FAQ to answer javajosh’s follow up question, which I can’t reply to directly.

“How Firefox Sync keeps your data safe even if TLS fails” https://support.mozilla.org/en-US/kb/how-firefox-sync-keeps-...

Re:Firefox 70 by jamiek88 on Tuesday October 22, 2019 @06:37PM (#21329165)
If you click on the 'x hours ago' part of the comment next to the username you will get a parent link and can then reply to and save individual comments.
Re:Firefox 70 by javajosh on Tuesday October 22, 2019 @11:59AM (#21325197)
Couple of questions about this: does FF import Chrome logins? Also, can Mozilla read the data or are they doing client-side-encryption?
Re:Firefox 70 by mnoorenberghe on Tuesday October 22, 2019 @01:49PM (#21326611)
Yes, it can now import logins/passwords from Chrome/Chromium on macOS, Windows support already existed for some years.

> Passwords can now be imported from Chrome on macOS in addition to existing support for Windows

https://www.mozilla.org/firefox/70.0/releasenotes/

Re:Firefox 70 by redblacktree on Tuesday October 22, 2019 @01:54PM (#21326670)
Wow. That's the final bit. Thank you!
Re:Firefox 70 by Vinnl on Tuesday October 22, 2019 @12:15PM (#21325399)
I'm not sure about the former, but the answer to your second question is yes, they do client-side encryption: https://support.mozilla.org/en-US/kb/how-firefox-sync-keeps-...
Re:Firefox 70 by mistermann on Tuesday October 22, 2019 @12:05PM (#21325279)
Can each of those be turned on or off per device, and dont get sneakily turned back on during upgrades?
Re:Firefox 70 by johnchristopher on Tuesday October 22, 2019 @12:58PM (#21325959)
edit: Sorry for anyone I misled. You can't opt a particular kind of data out of syncing per device. You can only enable/disable for the whole account.

Yes, each (bookmarks, history, passwords, tabs ) can be turned on or off per device basis.

Re:Firefox 70 by mnoorenberghe on Tuesday October 22, 2019 @01:50PM (#21326624)
This is incorrect AFAIK. The sync toggle for a data type is for the whole account, not per-device.
Re:Firefox 70 by johnchristopher on Tuesday October 22, 2019 @02:05PM (#21326808)
You are right. Always thought it worked like that but indeed it is for the whole account and not per device. My bad.
Re:Firefox 70 by maximente on Tuesday October 22, 2019 @12:22PM (#21325491)
by way of logging in/out, yes
Re:Firefox 70 by meerita on Wednesday October 23, 2019 @08:40AM (#21333946)
I'm doing this but it's painful. I am still stuck on GMail.
Re:Firefox 70 by nathancahill on Tuesday October 22, 2019 @10:47AM (#21324187)
This should be the headline feature. I've been following this bug for so long on Bugzilla. The energy improvement is really incredible.
Re:Firefox 70 by GhettoMaestro on Tuesday October 22, 2019 @10:35AM (#21324042)
The performance is what has kept me on Chrome on Mac. Going to re-install FF now and give it a whirl. Thanks for this info!
Re:Firefox 70 by lordnacho on Tuesday October 22, 2019 @10:56AM (#21324301)
I just tried this. Interestingly I'd left it on v68 and it cooked my MBP, fans all on max immediately. When I updated to 70 it seems to work perfectly. CPU temp in the 40s. Gonna leave it on in the background and see if it suddenly spikes.
Re:Firefox 70 by chenster on Tuesday October 22, 2019 @11:30AM (#21324769)
The same here. Have you tried with FF add-ons that normally are the culprit for CPU hogging?
Re:Firefox 70 by lordnacho on Tuesday October 22, 2019 @12:17PM (#21325428)
Yeah, they're all on. Seems to be fine thus far, and there's an article about what they actually did to fix it, so I'm ready to say it's fixed.

Only minor gripe is userChrome.css seems to not be used now.

Re:Firefox 70 by sharps1 on Tuesday October 22, 2019 @12:35PM (#21325652)
You need to enable it in about:config

Set this option to true: toolkit.legacyUserProfileCustomizations.stylesheets

Re:Firefox 70 by Karunamon on Tuesday October 22, 2019 @12:59PM (#21325976)
That's a slightly worrying precedent, they're calling the way to diaable certain bits of obnoxiousness (the header bar in Tree Style Tabs comes to mind) "legacy", which is usually a precursor to removal.

Is there a new method available/forthcoming, or is this more control planned to be wrenched out of user's hands?

Re:Firefox 70 by lordnacho on Tuesday October 22, 2019 @12:54PM (#21325897)
Was set to true already.
Re:Firefox 70 by carey on Wednesday October 23, 2019 @03:12AM (#21331957)
Was it referring to browser.xul? There’s no XUL left, so you might need to change that to browser.xhtml.
Re:Firefox 70 by chenster on Tuesday October 22, 2019 @11:35AM (#21324844)
You can also use Brave browser, it's basically Chrome with the ad tracking removed. With that, almost no reason to switch to another browser.
Re:Firefox 70 by needle0 on Tuesday October 22, 2019 @10:55PM (#21330636)
You’re still contributing to the Chromium engine monoculture, though.
Re:Firefox 70 by chenster on Wednesday October 23, 2019 @12:48AM (#21331140)
Guess we are dealing with purists here. Mind you that Chromium is free and open-source just like MySQL. A strategical move by the community to fork MySQL to MariaDB to ensure it remained free and open from the tech giant after it was acquired by Oracle. How Brave is any different? It made a similar move. Some people hate crypto. Fine. Personally I've never used the Brave crypto. Perhaps FF 70 has completely fixed its performance problem, sure, happy to switch. But before that really happens Brave is still a viable interim solution.
Re:Firefox 70 by rovr138 on Wednesday October 23, 2019 @04:44AM (#21332557)
The issue is the engine. There are few big engines out there and chromium is taking a lot of the market.

The issue with this is that they could start controlling the standards and everyone would have to follow behind instead of everyone working and doing what’s best for consumers.

While chromium is open source, that doesn’t mean they have to accept merges from the community. It only means that they have to provide the source code. Yes it can be forked, but now you have to maintain or develop your engine. If they’re the dominant ones and are setting standards, that won’t help much.

By using another one you are helping keep a neutral ground.

The difference between MySQL and MariaDB is that you have PostgreSQL, Oracle, SQLite, MSSQL among a bunch of others, https://en.wikipedia.org/wiki/Comparison_of_relational_datab...

So the issue isn’t forking or not, but the fact that it’s still close enough that gives chromium the competitive edge and could kill the market.

Re:Firefox 70 by devy on Tuesday October 22, 2019 @11:48AM (#21325041)
Brave looks amazing, the question I have is, just like how Google Chrome, can they be trusted as a private entity?
Re:Firefox 70 by TylerE on Tuesday October 22, 2019 @11:59AM (#21325200)
Well, they're shilling their own worthless cryptocurrency, so it is obvious to me that they cannot be.
Re:Firefox 70 by FillardMillmore on Tuesday October 22, 2019 @12:08PM (#21325318)
It is an opt-in system. They're not making you use it and you don't lose anything by choosing not to opt-in. What exactly are they doing that you would consider "shilling"?

https://brave.com/brave-rewards/

Re:Firefox 70 by TylerE on Tuesday October 22, 2019 @12:26PM (#21325557)
What would you call creating a new alt-coin and implying it will some day have value?

That entire industry is a dumpster fire of greed, fraud, and misrepresentation.

Re:Firefox 70 by eitland on Tuesday October 22, 2019 @12:59PM (#21325970)
A good chunk of HN is really fed up with cryptocurrencies.

Whoever are pushing them - including Telegram that I otherwise like - are damaging their reputation in my eyes.

Re:Firefox 70 by Angeo34 on Tuesday October 22, 2019 @10:33PM (#21330530)
>injects own custom http headers so advertisers can uniquely identify you even easier

>takes crypto donation hostage and opens funds in other people's names (i.e. scams crypto to artificially create demand for that BAT)

If you use Brave you literally are part of the problem.

Re:Firefox 70 by GhettoMaestro on Tuesday October 22, 2019 @03:17PM (#21327501)
Interesting. Any downside of Brave? Small userbase, etc ?
Re:Firefox 70 by xtracto on Thursday October 24, 2019 @05:03PM (#21349141)
I use it in my Android, because it allows me to have an ad blocking browser without rooting and without installing any additional software.

My gripe there is that it started showing push notifications of ads!!! Once I blocked all its notifications everything went to normality.

Re:Firefox 70 by moystard on Saturday October 26, 2019 @01:59PM (#21365174)
This would be a showstopper for me. Turning off the notifications addresses only part of the issue, I would never trust them again.

Why not use Firefox?

Re:Firefox 70 by chrischen on Tuesday October 22, 2019 @11:29AM (#21324764)
Battery life is my primary concern, and unless they release battery life benchmarks I’d be hard pressed to switch off of Safari.
Re:Firefox 70 by shantly on Tuesday October 22, 2019 @11:53AM (#21325109)
Last I checked it was looking like they would now be as "good" as Chrome, which is much worse than Safari. Hopefully that improved or will soon improve.
Re:Firefox 70 by Scarbutt on Tuesday October 22, 2019 @01:21PM (#21326232)
Safari means no ublock, the web without is annoying.
Re:Firefox 70 by lpuerto on Wednesday October 23, 2019 @08:19AM (#21333788)
There are other options (paid ones) that are equal —or even better since they are quite automatic— than ublock.

The only two things I'm missing in safari to be hones are:

- A no-script extension or similar.

- Sync part of my work is on a no macOS machines I don't have safari there, so no sync. I partially overcome this with bookmaster for bookmarks, but I still missing tabs and read it later list. However, firefox doesn't have this later feature on desktop —and I don't why.

Re:Firefox 70 by techwizrd on Wednesday October 23, 2019 @12:59PM (#21336551)
Firefox Sync syncs your tabs, bookmarks, passwords, etc. Your read it later list is synced through Pocket (which is owned by Mozilla). They exist on desktop and mobile.
Re:Firefox 70 by moystard on Saturday October 26, 2019 @02:00PM (#21365190)
Still using pinboard; one of the best investment I made in my entire life.
Re:Firefox 70 by lpuerto on Thursday October 24, 2019 @03:58PM (#21348573)
Pocket sucks big time!
Re:Firefox 70 by otherblocks on Tuesday October 22, 2019 @06:29PM (#21329103)
FWIW, I started using 1Blocker recently with Safari and have found it to be quite good. YMMV.
Re:Firefox 70 by Scarbutt on Tuesday October 22, 2019 @11:18PM (#21330732)
nice try.
Re:Firefox 70 by perditus on Wednesday October 23, 2019 @12:38AM (#21331088)
Disconnect works well enough.
Re:Firefox 70 by stevewodil on Tuesday October 22, 2019 @11:32AM (#21324795)
Yeah, I just switched to Safari recently because of battery life
Re:Firefox 70 by ztakeo on Tuesday October 22, 2019 @01:08PM (#21326069)
Recently switched from Safari to Firefox because of the awful extensions environment in Safari but definitely missing the battery life. Really wish one browser could just get everything right
Re:Firefox 70 by mosselman on Tuesday October 22, 2019 @01:41PM (#21326516)
This is what I am most excited about. I have been using the improvements through nightly since they were released, I think little more than a month, and I couldn't be happier. I'd hate to have to use Chrome and I welcome the competition to webkit.
Re:Firefox 70 by antihero on Tuesday October 22, 2019 @12:34PM (#21325635)
Trying it out and it absolutely flies!!
Re:Firefox 70 by danlugo92 on Tuesday October 22, 2019 @10:37AM (#21324072)
Would this bring it up to par with safari's power consumption?
Re:Firefox 70 by fpgaminer on Tuesday October 22, 2019 @11:09AM (#21324480)
I don't know about other usages, but energy consumption while using YouTube is important to me (usually have something playing while I work) so I just did a quick measurement.

Safari 13.0.2 versus Firefox 70.0 versus Chrome 77.0

Playing the same YouTube video at the same quality (1080p) and watching Energy Impact in Activity Monitor while the video played, I saw averages of: Safari used 20, Firefox used 45, Chrome used 45.

So on that task at least Safari is still king, but Firefox is on par with Chrome.

Re:Firefox 70 by rsynnott on Tuesday October 22, 2019 @11:53AM (#21325104)
You could try a plugin which forces h264 Youtube. Just about anything made in the last decade has mature hardware support for decoding h264, but not necessarily for VP8/9. This may be what's going on here.
Re:Firefox 70 by nathancahill on Tuesday October 22, 2019 @12:25PM (#21325537)
Re:Firefox 70 by bkor on Wednesday October 23, 2019 @05:42AM (#21332896)
See https://mozillagfx.wordpress.com/2019/10/22/dramatically-red...

More work is planned to reduce the energy usage for scrolling and full screen video. Though I guess for your example you don't watch things fullscreen.

Re:Firefox 70 by bluegreyred on Tuesday October 22, 2019 @11:18AM (#21324601)
I just checked with the Intel Power Gadget on a 2015 MBP 10.14.6, iGPU only, same video at 1080p, package power consumption (CPU + iGPU):

~6,4W average in Safari 13.0.3

~8,6W average in Firefox 70

Re:Firefox 70 by pier25 on Tuesday October 22, 2019 @11:17AM (#21324592)
Safari still uses significantly less CPU while decoding video.
Re:Firefox 70 by padenot on Tuesday October 22, 2019 @11:55AM (#21325132)
Safari does not support vp8 or vp9 when playing youtube, and youtube serves h264 instead. h264 is less efficient in terms of compression ratio (more to download for the same quality), but h264 is decoded in hardware on OSX, and VP8 or VP9 isn't, which explains what you see.

This is why, for example, Safari does not have 4k video on Youtube, while being perfectly capable of playing 4k videos in general.

Depending on the machine, VP9 can be decoded in hardware on Firefox on Windows, but chip support is limited.

All that said, we're working on our video playback performance as we speak, especially on OSX (because it was so bad a few release back), but also in general.

Re:Firefox 70 by pier25 on Tuesday October 22, 2019 @02:03PM (#21326781)
Thanks for the explanation.

I found this extension that forces FF to use H264 instead: https://addons.mozilla.org/en-US/firefox/addon/h264ify/

On my old MBP I'd rather consume more bandwidth than more more CPU.

Re:Firefox 70 by kzrdude on Wednesday October 23, 2019 @02:50AM (#21331811)
Thanks for the link. On Firefox/Linux nvidia drivers, I don't see much difference in h264 vs VP9
Re:Firefox 70 by padenot on Wednesday October 23, 2019 @08:11AM (#21333724)
We don't do hardware decoding on Linux for now, because we don't do hardware acceleration for graphics by default on Linux.

Web Render might allow doing it properly, since the rendering is not on the CPU anymore.

Re:Firefox 70 by bhj on Tuesday October 22, 2019 @11:46AM (#21325003)
Also from the Q&A at the end:

> Safari’s compositor is entirely Core Animation based; Safari basically skips step 2.

(Step 2 is "the Firefox “compositor” assembles Gecko layers to produce the rendering of the window")

Re:Firefox 70 by pier25 on Tuesday October 22, 2019 @11:50AM (#21325068)
You think this affects video decoding?

Anyway, I imagine that's the price to pay for being crossplatform. You can't implement everything for every platform. Safari only has to work on macOS/iOS.

Re:Firefox 70 by rwxsh on Tuesday October 22, 2019 @05:50PM (#21328816)
> You think this affects video decoding?

Speaking for Chrome's implementation, efficiently rendering video on macOS does require CALayer compositing, but it's not sufficient.

Only certain types of decoded frames can be efficiently scanned out (different from the types that can be used efficiently in OpenGL compositing). Actually entering the most efficient fullscreen video mode requires some magic. Matching macOS behavior exactly when a fallback to OpenGL compositing is required can be difficult (eg. colorspace bugs can result in flickering).

I have not looked at the new code in Firefox, but I would expect that not all of the benefit would be realized in a first release. In any case it's a huge undertaking to support a single platform; congrats to the team for making it happen!

Re:Firefox 70 by Angeo34 on Tuesday October 22, 2019 @10:31PM (#21330516)
Maybe just don't watch videos inside your Browser. You know there's youtube-dl+mpv?
Re:Firefox 70 by w1nst0nsm1th on Wednesday October 23, 2019 @01:41AM (#21331430)
iina can ply youtube stream without pre-downloading them. You have also Picture in Picture following you on all desktop.

iina is open source and have a lot of codec available.

I don't know if it change something on energy consumption, though.

Re:Firefox 70 by helb on Wednesday October 23, 2019 @04:03AM (#21332288)
I don't know what iina is, but youtube-dl + mpv mentioned by Angeo34 does exactly that (stream videos without pre-downloading them). Youtube-dl just gets the stream URL and mpv plays it. And it's easy to use, just:

    mpv https://www.youtube.com/watch?v=oHg5SJYRHA0
Re:Firefox 70 by swrobel on Thursday October 24, 2019 @04:44AM (#21342727)
Should this affect memory bloat? Because I still have to restart ffx regularly on my Mac because it uses upward of 8gb RAM over time
Re:Firefox 70 by jasin on Wednesday October 23, 2019 @03:05AM (#21331906)
After years of waiting, it's hard to believe it's finally fixed. Will try this out immediately.
Re:Firefox 70 by lucasverra on Wednesday October 23, 2019 @06:22AM (#21333111)
i am very very eager to test and use this. FF is my main driver but it's a heat machine on my mac 10.11.6. I wonder if i gain something to upgrade my macOS (4g ram :()
Re:Firefox 70 by s_k_ on Wednesday October 23, 2019 @04:17PM (#21338522)
anyone knows how firefox is on iOS? vs Safari/Chrome? :) Want to switch, but wondering whether it's worth it cross-platform
Re:Firefox 70 by volkk on Tuesday October 22, 2019 @11:34AM (#21324818)
does anybody know if all of these are available in nightly?
Re:Firefox 70 by padenot on Tuesday October 22, 2019 @11:47AM (#21325016)
Yes, Nightly is (I'm simplifying a bit but it's generally true) release + a few weeks of patches + different default settings, sometimes experimental things enabled, etc.

I'm running Nightly on OSX and I confirm all those improvements are there, but more are coming.