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

Issue 1324523008: Windows sbox: Warmup locales before sandbox lockdown (and tests) (Closed)

Created:
5 years, 3 months ago by liamjm (20p)
Modified:
5 years, 2 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, rickyz+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add sbox tests related to warming up of locales. Warm up locales in LowerToken() after RevertToSelf() as existing warmup was not working on Win 8.1 x64. Remove existing warmup which was done outside of LowerToken(). BUG=464430 Committed: https://crrev.com/1b10aabba1f519e1484f61c1d46caf4ac49a1f36 Cr-Commit-Position: refs/heads/master@{#347857}

Patch Set 1 #

Total comments: 1

Patch Set 2 : add explicit checks of returned values from Win32 calls #

Patch Set 3 : only to GetUserDefaultLocaleName on vista and above #

Patch Set 4 : load GetUserDefaultLocaleName dynamically #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -7 lines) Patch
M components/nacl/loader/nacl_main_platform_delegate_win.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/renderer_main_platform_delegate_win.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M sandbox/win/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/win/sandbox_win.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A sandbox/win/src/lpc_policy_test.cc View 1 2 3 1 chunk +86 lines, -0 lines 0 comments Download
M sandbox/win/src/sandbox_policy.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sandbox/win/src/sandbox_types.h View 1 chunk +1 line, -0 lines 0 comments Download
M sandbox/win/src/target_services.cc View 1 2 3 2 chunks +41 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (3 generated)
liamjm (20p)
5 years, 3 months ago (2015-09-02 23:06:36 UTC) #2
Will Harris
https://codereview.chromium.org/1324523008/diff/1/sandbox/win/src/lpc_policy_test.cc File sandbox/win/src/lpc_policy_test.cc (right): https://codereview.chromium.org/1324523008/diff/1/sandbox/win/src/lpc_policy_test.cc#newcode24 sandbox/win/src/lpc_policy_test.cc:24: ::GetUserDefaultLangID(); is there a way of verifying the return ...
5 years, 3 months ago (2015-09-03 20:58:03 UTC) #3
liamjm (20p)
On 2015/09/03 20:58:03, Will Harris wrote: > https://codereview.chromium.org/1324523008/diff/1/sandbox/win/src/lpc_policy_test.cc > File sandbox/win/src/lpc_policy_test.cc (right): > > https://codereview.chromium.org/1324523008/diff/1/sandbox/win/src/lpc_policy_test.cc#newcode24 ...
5 years, 3 months ago (2015-09-04 17:46:20 UTC) #4
liamjm (20p)
5 years, 3 months ago (2015-09-04 17:47:25 UTC) #5
jschuh
I am not here, but if I were I would note that the sandbox should ...
5 years, 3 months ago (2015-09-04 22:26:25 UTC) #7
Ilya Sherman
histograms.xml lgtm
5 years, 3 months ago (2015-09-04 22:28:28 UTC) #8
Will Harris
On 2015/09/04 22:26:25, jschuh (very slow) wrote: > I am not here, but if I ...
5 years, 3 months ago (2015-09-04 22:43:28 UTC) #9
jschuh
On 2015/09/04 22:43:28, Will Harris wrote: > On 2015/09/04 22:26:25, jschuh (very slow) wrote: > ...
5 years, 3 months ago (2015-09-04 22:52:59 UTC) #10
liamjm (20p)
On 2015/09/04 22:52:59, jschuh (very slow) wrote: > On 2015/09/04 22:43:28, Will Harris wrote: > ...
5 years, 3 months ago (2015-09-04 23:13:58 UTC) #11
jschuh
Ah, serves me right for not reading the whole CL. Sounds like a reasonable solution ...
5 years, 3 months ago (2015-09-04 23:49:33 UTC) #12
jochen (gone - plz use gerrit)
components & content lgtm
5 years, 3 months ago (2015-09-08 12:29:09 UTC) #13
Will Harris
lgtm
5 years, 3 months ago (2015-09-09 00:26:16 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1324523008/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1324523008/20001
5 years, 3 months ago (2015-09-09 00:33:49 UTC) #16
liamjm (20p)
5 years, 3 months ago (2015-09-09 00:33:56 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-09 08:57:41 UTC) #18
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/1b10aabba1f519e1484f61c1d46caf4ac49a1f36 Cr-Commit-Position: refs/heads/master@{#347857}
5 years, 3 months ago (2015-09-09 08:59:03 UTC) #19
liamjm (20p)
Reverted in https://chromium.googlesource.com/chromium/src/+/5bd897d39d2a36399944f4d3c87f6a62455db2f7 Re-opening to make fixes.
5 years, 3 months ago (2015-09-11 20:09:05 UTC) #20
jochen (gone - plz use gerrit)
can you please create a new CL for the fixes? just upload the original patch ...
5 years, 3 months ago (2015-09-14 09:48:13 UTC) #21
liamjm (20p)
5 years, 2 months ago (2015-10-21 01:19:25 UTC) #22
On 2015/09/14 09:48:13, jochen wrote:
> can you please create a new CL for the fixes?
> 
> just upload the original patch as first patchset.

Sure.
Here is the new CL
https://codereview.chromium.org/1419483002/

Powered by Google App Engine
This is Rietveld 408576698