Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Issue 14308003: Fix iossim's support for retina devices. (Closed)

Created:
7 years, 8 months ago by lliabraa
Modified:
7 years, 8 months ago
Reviewers:
TVL
CC:
chromium-reviews, sail+watch_chromium.org, stuartmorgan, rohitrao (ping after 24h)
Visibility:
Public.

Description

Fix iossim's support for retina devices. Mac 10.8 started caching prefs so even though iossim writes the SimulatorDevice value to the .plist on disk, the iPhone Simulator may not see that change and therefore not respect the -d (device) parameter passed to iossim. Using the CFPreferences API to set and sync the pref fixes the issue. BUG=224892 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194939

Patch Set 1 #

Total comments: 7

Patch Set 2 : Removed duplicate comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -6 lines) Patch
M testing/iossim/iossim.mm View 1 1 chunk +5 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
lliabraa
7 years, 8 months ago (2013-04-16 19:53:27 UTC) #1
TVL
https://codereview.chromium.org/14308003/diff/1/testing/iossim/iossim.mm File testing/iossim/iossim.mm (right): https://codereview.chromium.org/14308003/diff/1/testing/iossim/iossim.mm#newcode495 testing/iossim/iossim.mm:495: // for this setting to take effect. duplicate comment? ...
7 years, 8 months ago (2013-04-16 20:05:45 UTC) #2
lliabraa
https://chromiumcodereview.appspot.com/14308003/diff/1/testing/iossim/iossim.mm File testing/iossim/iossim.mm (right): https://chromiumcodereview.appspot.com/14308003/diff/1/testing/iossim/iossim.mm#newcode495 testing/iossim/iossim.mm:495: // for this setting to take effect. On 2013/04/16 ...
7 years, 8 months ago (2013-04-17 13:15:37 UTC) #3
TVL
https://chromiumcodereview.appspot.com/14308003/diff/1/testing/iossim/iossim.mm File testing/iossim/iossim.mm (right): https://chromiumcodereview.appspot.com/14308003/diff/1/testing/iossim/iossim.mm#newcode495 testing/iossim/iossim.mm:495: // for this setting to take effect. On 2013/04/17 ...
7 years, 8 months ago (2013-04-17 13:42:04 UTC) #4
lliabraa
https://chromiumcodereview.appspot.com/14308003/diff/1/testing/iossim/iossim.mm File testing/iossim/iossim.mm (right): https://chromiumcodereview.appspot.com/14308003/diff/1/testing/iossim/iossim.mm#newcode583 testing/iossim/iossim.mm:583: simHomePath = [[NSFileManager defaultManager] On 2013/04/17 13:42:04, TVL wrote: ...
7 years, 8 months ago (2013-04-17 16:52:03 UTC) #5
TVL
lgtm
7 years, 8 months ago (2013-04-17 17:03:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/14308003/5001
7 years, 8 months ago (2013-04-18 11:03:25 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=136184
7 years, 8 months ago (2013-04-18 13:41:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/14308003/5001
7 years, 8 months ago (2013-04-18 13:46:05 UTC) #9
commit-bot: I haz the power
7 years, 8 months ago (2013-04-18 16:18:09 UTC) #10
Message was sent while issue was closed.
Change committed as 194939

Powered by Google App Engine
This is Rietveld 408576698