News for hackers. Stuff that matters.
Re:Why the Nitro JavaScript Engine Isn’t Available to Other ... by msbarnett on Thursday March 17, 2011 @05:54PM (#2338309)
Because if I write an app for iOS, I can't mess with Safari's address space. But if I have a UIWebView in my address space and I can use it to get a hold of memory pages with their executable bits marked, I could use that to do all manner of things that are normally forbidden.
Re:Why the Nitro JavaScript Engine Isn’t Available to Other ... by jevinskie on Thursday March 17, 2011 @05:59PM (#2338331)
Then why not allow at the home screen web apps to use Nitro? The entire app is within the UIWebView and controls nothing outside of it. I fail to see how a home screen web app is any different than one within MobileSafari.
Re:Why the Nitro JavaScript Engine Isn’t Available to Other ... by msbarnett on Thursday March 17, 2011 @06:03PM (#2338343)
That's a reasonable question, and for all we know, the failure of Nitro in that use case may well be a bug.