News for hackers. Stuff that matters.
Re:Firefox for iOS now available by torgoguys on Thursday November 12, 2015 @11:54AM (#10554317)
>"Apps that download code in any way or form will be rejected."

Doesn't seem like they are super-consistent. We're talking mobile web browsers here. Doesn't javascript fit this description?

Re:Firefox for iOS now available by dunham on Thursday November 12, 2015 @01:08PM (#10554897)
The actual license agreement (§3.3.2) provides an exception for scripts executed by JavascriptCore or WebKit. (The summary document that was quoted above doesn't appear to mention that exception.)

That said, it can be really fuzzy where the line is between code and data (e.g. spreadsheet formulas).

As far as mobile web browsers go, they're required to use WebKit, so they'd get a pass. (E.g., Chrome uses UIWebKit, but has its own network layer, which made it immune to a bug in iOS's networking layer that cached POST requests.)

Re:Firefox for iOS now available by arm on Thursday November 12, 2015 @12:06PM (#10554416)
Well, according to this¹:

“According to Apple, formulas in Numbers and functions in PCalc are OK. So is JavaScript, as many apps embed a Web view or communicate with a server component via JSON. But reading XML files and executing Python code are not OK. Landon Fuller points out the absurdity and wonders about executing Python via JavaScriptCore.”

But after reading chkuendig’s comment (which makes sense), I’m wondering if the above interpretation is completely accurate.

――――――

¹ — http://mjtsai.com/blog/2014/06/12/pythonista-in-app-store-pe...

Re:Firefox for iOS now available by chkuendig on Thursday November 12, 2015 @12:00PM (#10554376)
Javascript interpretation is only allowed within a webkit webview. So you cant use your own interpreter.
Re:Firefox for iOS now available by cdrx on Thursday November 12, 2015 @12:14PM (#10554465)
That isn't the case. There are a whole host of tools, like Reactive Native and Appcelerator Titanium that interpret and execute JS on the device outside of UIWebView.
Re:Firefox for iOS now available by soapdog on Thursday November 12, 2015 @01:00PM (#10554839)
but they are not downloading the JS from the net right? You can interpret python, JS, whatever as long as all the source for these scripts is present in the bundle at build time...