Why is Apple special about these applications?

I just noticed this: http://opensource.apple.com/source/WebCore/WebCore-1298/platform/RuntimeApplicationChecksIPhone.h

It lists checks for various Apple apps and other apps:

bool applicationIsMobileMail(); bool applicationIsMobileSafari(); bool applicationIsDumpRenderTree(); bool applicationIsMobileStore(); bool applicationIsWebApp(); bool applicationIsOkCupid(); bool applicationIsSolarWalk(); bool applicationIsFacebook(); bool applicationIsFacebookTouchHD(); bool applicationIsEpicurious(); bool applicationIsDaijisenDictionary(); bool applicationIsNASAHD(); bool applicationIsMASH(); bool applicationIsTheEconomistOnIPhone(); 

Why are these applications handled by WebCore differently? When other applications are forbidden to interact with WebCore without resorting to various hacks to avoid Apple checking, why do they provide special applications for these applications?

All of these MASH, Epicurious, and FacebookTouchHD call panels are still present in the WebCore build in iOS 5.1.

+4
source share

Source: https://habr.com/ru/post/1391249/


All Articles