Bug 135549

Summary: REGRESSION: OS marketing version in iOS Simulator user-agent string is the host OS’s
Product: WebKit Reporter: mitz
Component: PlatformAssignee: mitz
Status: RESOLVED FIXED    
Severity: Normal CC: mrowe
Priority: P1 Keywords: InRadar, Regression
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Locate System/Library relative to the Simulator root mrowe: review+

Description mitz 2014-08-03 11:50:45 PDT
The OS marketing version number included in the default user-agent string is the OS X version of the host. It should be the iOS version of the Simulator.
Comment 1 mitz 2014-08-03 11:55:58 PDT
<rdar://problem/17897271>
Comment 2 mitz 2014-08-03 11:58:41 PDT
Created attachment 235947 [details]
Locate System/Library relative to the Simulator root
Comment 3 Mark Rowe (bdash) 2014-08-03 12:18:50 PDT
Comment on attachment 235947 [details]
Locate System/Library relative to the Simulator root

I'm surprised that NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSSystemDomainMask, YES) doesn't do the right thing automatically for iOS.
Comment 4 mitz 2014-08-03 12:19:05 PDT
<rdar://problem/17782529>
Comment 5 mitz 2014-08-03 12:22:25 PDT
Fixed in <http://trac.webkit.org/r171984>.