News for hackers. Stuff that matters.
Re:Chromium-based Edge preview builds by kerng on Monday April 08, 2019 @07:13PM (#19610076)
Stupid question probably... since I haven't had an iPhone for a couple years. Is Safari there still a thing? On my Mac I'm not using Safari at all. Havent opened it a single time since i got my latest MacBook - well I must have to download firefox but I dont remember.

I remember at one point Apple wouldnt allow any other browsers rendering engines on iOS - is that still the case?

Re:Chromium-based Edge preview builds by javagram on Monday April 08, 2019 @07:22PM (#19610137)
Safari is still a thing and still under active development.

All iOS browsers use Safari WebKit under the hood.

Re:Chromium-based Edge preview builds by atombender on Monday April 08, 2019 @07:34PM (#19610217)
iOS apps can use whatever rendering engine they want. The restriction is on JIT -- Apple doesn't allow apps to compile native code on the fly, which modern JavaScript engines like V8 do. The exception is Apple's own JavaScriptCore, which works with WebKit.

In theory you could have Firefox Quantum as a tenderer with JavaScriptCore as the JS engine, but that might be more work than it's worth.

Re:Chromium-based Edge preview builds by est31 on Monday April 08, 2019 @11:16PM (#19611464)
> iOS apps can use whatever rendering engine they want. The restriction is on JIT

Wrong.

> 4.7 HTML5 Games, Bots, etc.

> your app must use WebKit and JavaScript Core to run third party software and should not attempt to extend or expose native platform APIs to third party software

https://developer.apple.com/app-store/review/guidelines/

Re:Chromium-based Edge preview builds by atombender on Tuesday April 09, 2019 @12:54AM (#19611900)
You're not contradicting me. The section you're quoting is not about this, by the way. You want section 2.5.2:

"Apps should be self-contained in their bundles, and may not read or write data outside the designated container area, nor may they download, install, or execute code which introduces or changes features or functionality of the app, including other apps."

Re:Chromium-based Edge preview builds by qalmakka on Tuesday April 09, 2019 @03:30AM (#19612541)
Yeah, but if you read carefully, section 4.7 explicitly says that you must use WebKit and JSC to run third party software. Therefore, you can use your own engine to render your app (see games or Google's Flutter), but you cannot use it to render third-party content (thus making impossible to create a browser)
Re:Chromium-based Edge preview builds by est31 on Tuesday April 09, 2019 @10:46PM (#19621346)
Oh interesting.
Re:Chromium-based Edge preview builds by j16sdiz on Tuesday April 09, 2019 @02:55AM (#19612409)
There is 2.5.6 > Apps that browse the web must use the appropriate WebKit framework and WebKit Javascript.

https://developer.apple.com/app-store/review/guidelines/