phoboslab / JavaScriptCore-iOS

Apple's JavaScript Engine, with modified project files for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade to an iOS 8-era version of JavaScriptCore

ingo opened this issue · comments

I'd like to investigate what it would take to use an iOS-8 version of WebKit, in particular what seems to be the version shipping with iOS 8 and 8.1, https://trac.webkit.org/browser/tags/Safari-600.1.4

What would be involved in making that update? We'd be interested in helping with that effort.

The problem is, the build process is different every time. In the tag you linked, there at least seems to be an iOS build target included now, which should make things easier. However, I still couldn't get it to build as a static library. The 'llvm for JSC' target seems especially problematic - and we can't use llvm anyway.

So, if you can figure out how to build the "vanilla" version, I can add my changes for the TypedArray API on top.

@phoboslab Telerik just released their NativeScript product, which uses JSC compiled as a static library, and I think their version is newer than the one currently used in this project (at least it contains a ChangeLog file from 2014-02-20). From their commit messages it looks like they've been able to compile it as a static library. Perhaps that can be used as a starting point to add the TypedArray API things on top?

https://github.com/NativeScript/ios-runtime-jsc/