|
|
|
|
|
by gte910h
5252 days ago
|
|
No, there is an optimized Javascript interpreter only in safari, then there is the UIWebView control which you can use a less-optimized javascript interpreter in your app. http://www.quora.com/JavaScript/Why-has-Apple-limited-the-Ni... Here is the why:
http://daringfireball.net/2011/03/nitro_ios_43 >It’s a trade-off. Most OSes allow marking memory pages as executable for performance reasons. iOS disallows it for security reasons. If you allow for pages of memory to be escalated from writable to executable (even if you require the page be made permanently read-only first), then you are enabling the execution of unsigned native code. It breaks the chain of trust. Allowing remote code to execute locally turns every locally exploitable security flaw into a remotely exploitable one. |
|