Doesn't seem like they are super-consistent. We're talking mobile web browsers here. Doesn't javascript fit this description?
Doesn't seem like they are super-consistent. We're talking mobile web browsers here. Doesn't javascript fit this description?
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.)
“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...