Sony jumps on the Mozilla bandwagon, will launch Firefox OS device in 2014
thenextweb.com
thenextweb.com
How does FF OS handle this? I believe if there is absolutely no native code execution involved, it should not be a security concern. Is that so? Is it currently possible to have fast js execution in UIWebView iOS apps?
Nothing prevents exploits that utilize existing web platform which is the basis of FFOS exclusively.
Having said that, main goal appears to be not bringing web to the mobile, but freeing mobile into the web so eventually browsers can have a de facto standards for hardware capabilites. Yet another mobile sandbox is not a goal, as I see it.
FFOS cannot be compared to any other OS for mobile until now, in terms of goals and politics.
The security reason is mainly BS to keep off competing browsers from the platform.
Actually, it's mainly BS to ensure control over code signing and distribution.
W|X pages would mean that you could download and run arbitrary native code, and Apple can't have that.
It does also provide some nominal security advantage, but I think that's a pretty ridiculous trade-off overall.
They already have a clause for third party browsers in the submission/review guidelines so there is no need for the existence of a technical reason to enforce that.
I truly think the real reason is security. The problem with allowing rwx pages in an iOS process via WebKit is that they can be used by the native app to load rogue code in.
This is a really difficult problem to solve and I honestly think Apple chose the easy way out: disallow it all.
I do think a solution is coming though. Already in iOS6 a bunch of ViewControllers are running out of process. See the link below. I think this will lead to out of process, and fully JITted WebKit in a future release.
Many times people think Apple is making some weird technical decision on purpose to annoy developers it is really just a pragmatic decision to get a product out of the door on time. This happens all the time and everywhere. At Google, Mozilla, Apple, Blackberry and Canonical.
http://oleb.net/blog/2012/10/remote-view-controllers-in-ios-...
I'm not saying that WP was definitely the right choice, but it's not a simple calculation, especially when you factor in the money MS is giving Nokia.
And now when faced with the elephant in the room that is Samsung, they are forced to retreat to, well only Samsung can make profits, but no-one else can. But if they couldn't predict Samsung, why would we listen to what they've got to say about the future now?
(Just out of curiousity, did you correctly predict that Samsung would make so much money from Android?)