News for hackers. Stuff that matters.
Re:Firefox 38 released by TazeTSchnitzel on Tuesday May 12, 2015 @09:19PM (#9536128)
> Perhaps, but I'm not sure how any of this is different to the various media extension proposals/standards we're starting to see more recently.

Encrypted Media Extensions is an open standard. The small DRM plugins that use it aren't open, but the core standard is. You've moved from a closed, proprietary system for the entire application, to a closed system for just the DRM and nothing else. That's huge progress.

> Please forgive me if I don't take their word for it. The thing is, Flash has run -- and reasonably well -- on numerous other mobile devices, even some from quite a few years ago

No it hasn't. "Flash Lite" worked, but slowly, and it couldn't do anything useful. The killer app for Flash was largely video and games, both of which don't work well in Flash on phones.

> Even if they had been true for early generations of smartphones and tablets, the performance of these types of device was always expected to increase significantly over time, as indeed it has.

By the time Flash could run well on the iPhone, the web had largely gotten rid of Flash and it was fast becoming a legacy technology, so there was no point in supporting it.

> If the performance would still be a problem on today's iOS devices then presumably Apple's users would opt for other implementations instead

The performance is now irrelevant because the web has moved on from Flash.

> browsers are a constant security and stability headache.

Yes, they are! But adding an extra attack surface for those two fronts is never a good idea if you can avoid it.

If you can avoid adding a binary blob to your browser that has frequent security issues, why wouldn't you do so?

> As I said before, there seems little reason to expect better results just because someone shifts things like video rendering and DRM technologies to a slightly different bit of low-level, native, closed source, patent-encumbered, even-the-browser-devs-don't-see-it code written in an error-prone language by the same kinds of development team that wrote the plug-ins.

No video rendering is done by EME, and EME doesn't and probably never will run on the iPhone.

Re:Firefox 38 released by Silhouette on Tuesday May 12, 2015 @11:36PM (#9536599)
You've moved from a closed, proprietary system for the entire application, to a closed system for just the DRM and nothing else. That's huge progress.

Is it, really? You're still supporting DRM, because that's the basic requirement here. You're still therefore running unknown, closed source code that is prima facie working against your interests as a user. You still have an extra potential attack vector for malware. Sure, the scale may (or may not) be smaller, but qualitatively it seems the key facts are still the same.

The killer app for Flash was largely video and games, both of which don't work well in Flash on phones.

Flash on phones only really lasted for about two years, and given that the earliest phones somewhere around 2010 were running something like 1GHz low-power processors, it's not entirely surprising that the initial performance wasn't great.

The game was basically over by mid-2012 and Jelly Bean, but by that time, there had been quite a few reasonable investigations into how many of the reputed performance problems were real, and how many were either out-of-date or just plain false. Various video hosting sites that had been reported to perform badly in earlier criticism were debunked, with evidence that the other junk on the sites was causing more of a problem than the Flash video itself and that similar Flash videos could play just fine on devices of the 2011-2012 era. Likewise claims that Flash seriously reduced battery life didn't stand up to careful scrutiny over several days of investigation in some cases; battery life was generally found to be reduced, by sometimes by no more than a few minutes.

And that was with mobile technology from 3-5 years ago, which of course had quite a bit less processing power and lower battery life than the modern equivalents.

By the time Flash could run well on the iPhone, the web had largely gotten rid of Flash and it was fast becoming a legacy technology

When did Flash ever run on the iPhone?

The performance is now irrelevant because the web has moved on from Flash.

Given the number of sites I run into that still don't work properly on an iPad, I have to disagree. Maybe the sites you visit regularly have moved on, but there are a lot more sites using Flash than YouTube and other similarly large video sites with similarly large budgets to update their sites and convert their content to the brave new world of HTML5 video.

If you can avoid adding a binary blob to your browser that has frequent security issues, why wouldn't you do so?

Because I have concerns beyond just security. I don't run a browser so I can be secure. I run a browser so I can browse. When you take security so far that you break the basic functionality of your system, you aren't so much securing it as... breaking the basic functionality of your system.

In any case, with the new model using media extensions, we still will be adding binary blobs to the browser, and as I've said before, I see no reason to expect that these ones will somehow not turn into security vulnerabilities sooner or later the same way just about every other web technology in history has.

Re:Firefox 38 released by TazeTSchnitzel on Wednesday May 13, 2015 @12:00AM (#9536676)
> Is it, really? You're still supporting DRM, because that's the basic requirement here. You're still therefore running unknown, closed source code that is prima facie working against your interests as a user.

On far, far less websites, however. One or two video streaming services have DRM. Banner ads in most pages will not be using EME.

> You still have an extra potential attack vector for malware.

This is true, but one with a smaller surface area. One that might not even be installed, in many cases.

> Flash on phones only really lasted for about two years, and given that the earliest phones somewhere around 2010 were running something like 1GHz low-power processors, it's not entirely surprising that the initial performance wasn't great.

1GHz is slow, now? Wow, Flash must have sucked even more than I thought.

> Various video hosting sites that had been reported to perform badly in earlier criticism were debunked, with evidence that the other junk on the sites was causing more of a problem than the Flash video itself and that similar Flash videos could play just fine on devices of the 2011-2012 era. Likewise claims that Flash seriously reduced battery life didn't stand up to careful scrutiny over several days of investigation in some cases; battery life was generally found to be reduced, by sometimes by no more than a few minutes.

Links? I'd be highly sceptical of this claim: software video decoding is not good for battery life, for example. Of course if it's H.264 I'm sure Flash would use the hardware support, but why would you use Flash in that case?

> When did Flash ever run on the iPhone?

Never, but I mean by the time that the iPhone was powerful enough that getting Flash to run on it might be reasonable.

> Given the number of sites I run into that still don't work properly on an iPad, I have to disagree.

Most of the web has moved on. There are still plenty of sites that don't work with mobile devices and require plugin downloads to be used modern browsers, it's true, but it's a number that is continually decreasing.

> Because I have concerns beyond just security. I don't run a browser so I can be secure. I run a browser so I can browse. When you take security so far that you break the basic functionality of your system, you aren't so much securing it as... breaking the basic functionality of your system.

Flash support isn't "basic functionality". It's a bonus. Mobile devices can't and shouldn't support browsing every website made for a PC in existence, they just need to support most reasonably well, and that they do. After all, PCs still exist.

Mobile devices also don't support simulating right-clicks, Java applets, the Unity web player, ActiveX controls, and so on.

> In any case, with the new model using media extensions, we still will be adding binary blobs to the browser,

Smaller ones with much more limited scope, used in far less places, and which you can blacklist without breaking a lot of websites.