Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Safari webkit build/revision

Tags:

safari

webkit

How can I check which revision (svn revision) of webkit is used in a specific Safari binary? For example, I'd like to know which revision is used in the newest Safari on Mac (snow leopard 10.6.7).

User-agent doesn't provide this information :(

like image 734
jsmith Avatar asked May 23 '11 12:05

jsmith


People also ask

Is WebKit still used?

Google's Chrome web browser was built on WebKit, an open source rendering engine developed by Apple that also underpins many other browsers, including Safari and Opera. But on Wednesday, Google told the world it will no longer use WebKit.

Does Safari use blink?

Google Chrome uses Blink rendering engine, while Safari uses WebKit. But, in iOS, Google Chrome uses WebKit.


1 Answers

You can get an approximation using the version tag of Webkit as it appears in User-Agent :

Let's take for example the following user-agent :

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13+ (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2

Webkit version is advertised here as 537.13+. This version tag is generated from following source file :

https://trac.webkit.org/browser/trunk/Source/WebCore/Configurations/Version.xcconfig

You could then take a look at which SVN revisions embeded this specifig version tag.

like image 165
Mickaël Le Baillif Avatar answered Nov 08 '22 19:11

Mickaël Le Baillif