Bug 135549 - REGRESSION: OS marketing version in iOS Simulator user-agent string is the host OS’s
Summary: REGRESSION: OS marketing version in iOS Simulator user-agent string is the ho...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: mitz@webkit.org
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2014-08-03 11:50 PDT by mitz@webkit.org
Modified: 2014-08-03 12:22 PDT (History)
1 user (show)

See Also:


Attachments
Locate System/Library relative to the Simulator root (1.80 KB, patch)
2014-08-03 11:58 PDT, mitz@webkit.org
mrowe: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz@webkit.org 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@webkit.org 2014-08-03 11:55:58 PDT
<rdar://problem/17897271>
Comment 2 mitz@webkit.org 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@webkit.org 2014-08-03 12:19:05 PDT
<rdar://problem/17782529>
Comment 5 mitz@webkit.org 2014-08-03 12:22:25 PDT
Fixed in <http://trac.webkit.org/r171984>.