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

Issue 140763008: Add a UMA stat to track if the Browser blacklist is Set on the Renderer (Closed)

Created:
6 years, 10 months ago by csharp
Modified:
6 years, 10 months ago
CC:
chromium-reviews, jar (doing other things), jam, joi+watch-content_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, caitkp+watch_chromium.org, Ilya Sherman
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add a UMA stat to track if the Browser blacklist is Set on the Renderer This shouldn't be happening, but we got some crash reports suggesting it does. Unable to repo locally so this stat will verify it does occur and then can be used to verify our fixes actually fix it. BUG=329023 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250828

Patch Set 1 #

Total comments: 6

Patch Set 2 : Responding to comments #

Patch Set 3 : #

Patch Set 4 : Add to test #

Total comments: 5

Patch Set 5 : #

Patch Set 6 : Moving blacklist check to chrome/renderer #

Total comments: 2

Patch Set 7 : Rebase #

Patch Set 8 : Update isolate files #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -2 lines) Patch
M chrome/chrome_renderer.gypi View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/interactive_ui_tests.isolate View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 2 comments Download
M chrome/renderer/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/unit_tests.isolate View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome_elf/blacklist/blacklist.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome_elf/blacklist/blacklist.cc View 1 2 3 4 5 6 3 chunks +11 lines, -0 lines 0 comments Download
M chrome_elf/blacklist/test/blacklist_test.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M chrome_elf/blacklist/test/blacklist_test_main_dll.def View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome_elf/chrome_elf.def View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (0 generated)
csharp
6 years, 10 months ago (2014-02-06 18:32:10 UTC) #1
robertshield
https://codereview.chromium.org/140763008/diff/1/chrome_elf/blacklist/blacklist.cc File chrome_elf/blacklist/blacklist.cc (right): https://codereview.chromium.org/140763008/diff/1/chrome_elf/blacklist/blacklist.cc#newcode32 chrome_elf/blacklist/blacklist.cc:32: bool blacklist_patched = false; g_blacklist_patched https://codereview.chromium.org/140763008/diff/1/chrome_elf/blacklist/blacklist.h File chrome_elf/blacklist/blacklist.h (right): ...
6 years, 10 months ago (2014-02-06 18:55:23 UTC) #2
csharp
https://codereview.chromium.org/140763008/diff/1/chrome_elf/blacklist/blacklist.cc File chrome_elf/blacklist/blacklist.cc (right): https://codereview.chromium.org/140763008/diff/1/chrome_elf/blacklist/blacklist.cc#newcode32 chrome_elf/blacklist/blacklist.cc:32: bool blacklist_patched = false; On 2014/02/06 18:55:23, robertshield wrote: ...
6 years, 10 months ago (2014-02-06 20:03:57 UTC) #3
robertshield
On 2014/02/06 20:03:57, csharp wrote: > https://codereview.chromium.org/140763008/diff/1/chrome_elf/blacklist/blacklist.cc > File chrome_elf/blacklist/blacklist.cc (right): > > https://codereview.chromium.org/140763008/diff/1/chrome_elf/blacklist/blacklist.cc#newcode32 > ...
6 years, 10 months ago (2014-02-06 20:30:38 UTC) #4
csharp
Add the initialized check to the test and moved around where the variable was defined ...
6 years, 10 months ago (2014-02-06 21:36:19 UTC) #5
robertshield
lgtm
6 years, 10 months ago (2014-02-06 21:41:57 UTC) #6
csharp
asvitkine@ for owner's approval of histograms.xml jamesr@ for owner's approval of content/render/*
6 years, 10 months ago (2014-02-06 21:49:01 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/140763008/diff/100002/content/renderer/renderer_main.cc File content/renderer/renderer_main.cc (right): https://codereview.chromium.org/140763008/diff/100002/content/renderer/renderer_main.cc#newcode248 content/renderer/renderer_main.cc:248: UMA_HISTOGRAM_BOOLEAN("Blacklist.PatchedInRenderer", true); I would actually suggest: UMA_HISTOGRAM_BOOLEAN("Blacklist.PatchedInRenderer", blacklist::IsBlacklistInitialized()); That ...
6 years, 10 months ago (2014-02-06 22:12:29 UTC) #8
csharp
https://codereview.chromium.org/140763008/diff/100002/content/renderer/renderer_main.cc File content/renderer/renderer_main.cc (right): https://codereview.chromium.org/140763008/diff/100002/content/renderer/renderer_main.cc#newcode248 content/renderer/renderer_main.cc:248: UMA_HISTOGRAM_BOOLEAN("Blacklist.PatchedInRenderer", true); On 2014/02/06 22:12:29, Alexei Svitkine wrote: > ...
6 years, 10 months ago (2014-02-06 22:21:58 UTC) #9
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/140763008/diff/100002/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/140763008/diff/100002/tools/metrics/histograms/histograms.xml#newcode1281 tools/metrics/histograms/histograms.xml:1281: + blacklist patch. Maybe expand comment to mention ...
6 years, 10 months ago (2014-02-06 22:26:04 UTC) #10
jamesr
Why don't you histogram this in the blacklist init code? It doesn't seem right to ...
6 years, 10 months ago (2014-02-07 05:39:48 UTC) #11
jamesr
https://codereview.chromium.org/140763008/diff/100002/content/renderer/DEPS File content/renderer/DEPS (right): https://codereview.chromium.org/140763008/diff/100002/content/renderer/DEPS#newcode2 content/renderer/DEPS:2: "+chrome_elf", not lgtm on this part in particular. content/ ...
6 years, 10 months ago (2014-02-07 05:40:17 UTC) #12
csharp
The blacklist setup code happens really early in the process setup (before histograms and a ...
6 years, 10 months ago (2014-02-07 14:56:25 UTC) #13
csharp
On 2014/02/07 14:56:25, csharp wrote: > The blacklist setup code happens really early in the ...
6 years, 10 months ago (2014-02-10 14:52:49 UTC) #14
jamesr
On 2014/02/10 14:52:49, csharp wrote: > Ping Who are you pinging specifically? As I've said ...
6 years, 10 months ago (2014-02-10 22:47:54 UTC) #15
robertshield
On 2014/02/10 22:47:54, jamesr wrote: > On 2014/02/10 14:52:49, csharp wrote: > > Ping > ...
6 years, 10 months ago (2014-02-11 14:51:31 UTC) #16
csharp
Adding sky@ for owner's approval of chrome/renderer changes ChromeContentRendererClient seems to be a correct home ...
6 years, 10 months ago (2014-02-11 15:07:02 UTC) #17
sky
LGTM
6 years, 10 months ago (2014-02-11 15:10:03 UTC) #18
sky
https://codereview.chromium.org/140763008/diff/500001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/140763008/diff/500001/chrome/renderer/chrome_content_renderer_client.cc#newcode371 chrome/renderer/chrome_content_renderer_client.cc:371: UMA_HISTOGRAM_BOOLEAN("Blacklist.PatchedInRenderer", true); Actually, one comment. Don't you want to ...
6 years, 10 months ago (2014-02-11 15:10:58 UTC) #19
csharp
https://codereview.chromium.org/140763008/diff/500001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/140763008/diff/500001/chrome/renderer/chrome_content_renderer_client.cc#newcode371 chrome/renderer/chrome_content_renderer_client.cc:371: UMA_HISTOGRAM_BOOLEAN("Blacklist.PatchedInRenderer", true); On 2014/02/11 15:10:59, sky wrote: > Actually, ...
6 years, 10 months ago (2014-02-11 15:17:01 UTC) #20
sky
LGTM
6 years, 10 months ago (2014-02-11 15:25:03 UTC) #21
csharp
The CQ bit was checked by csharp@chromium.org
6 years, 10 months ago (2014-02-11 15:45:46 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/140763008/660001
6 years, 10 months ago (2014-02-11 15:45:51 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-11 16:44:56 UTC) #24
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=261462
6 years, 10 months ago (2014-02-11 16:44:56 UTC) #25
csharp
The CQ bit was checked by csharp@chromium.org
6 years, 10 months ago (2014-02-11 19:37:58 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/140763008/660001
6 years, 10 months ago (2014-02-11 19:39:18 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/140763008/660001
6 years, 10 months ago (2014-02-11 21:29:21 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/140763008/660001
6 years, 10 months ago (2014-02-11 22:06:31 UTC) #29
csharp
The CQ bit was unchecked by csharp@chromium.org
6 years, 10 months ago (2014-02-11 23:54:39 UTC) #30
csharp
The CQ bit was checked by csharp@chromium.org
6 years, 10 months ago (2014-02-12 15:03:58 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/140763008/660001
6 years, 10 months ago (2014-02-12 15:04:42 UTC) #32
csharp
The CQ bit was unchecked by csharp@chromium.org
6 years, 10 months ago (2014-02-12 15:04:54 UTC) #33
csharp
maruel@ for quick sanity check of .isolate changes
6 years, 10 months ago (2014-02-12 17:40:10 UTC) #34
M-A Ruel
lgtm https://codereview.chromium.org/140763008/diff/1010001/chrome/interactive_ui_tests.isolate File chrome/interactive_ui_tests.isolate (right): https://codereview.chromium.org/140763008/diff/1010001/chrome/interactive_ui_tests.isolate#newcode79 chrome/interactive_ui_tests.isolate:79: '<(PRODUCT_DIR)/chrome_elf.dll', Is it there always? It's currently not ...
6 years, 10 months ago (2014-02-12 17:44:26 UTC) #35
csharp
https://codereview.chromium.org/140763008/diff/1010001/chrome/interactive_ui_tests.isolate File chrome/interactive_ui_tests.isolate (right): https://codereview.chromium.org/140763008/diff/1010001/chrome/interactive_ui_tests.isolate#newcode79 chrome/interactive_ui_tests.isolate:79: '<(PRODUCT_DIR)/chrome_elf.dll', On 2014/02/12 17:44:28, M-A Ruel wrote: > Is ...
6 years, 10 months ago (2014-02-12 17:51:31 UTC) #36
csharp
The CQ bit was checked by csharp@chromium.org
6 years, 10 months ago (2014-02-12 17:51:41 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/140763008/1010001
6 years, 10 months ago (2014-02-12 17:54:43 UTC) #38
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-12 19:09:15 UTC) #39
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=262642
6 years, 10 months ago (2014-02-12 19:09:16 UTC) #40
csharp
The CQ bit was checked by csharp@chromium.org
6 years, 10 months ago (2014-02-12 19:14:53 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/140763008/1010001
6 years, 10 months ago (2014-02-12 19:16:54 UTC) #42
commit-bot: I haz the power
6 years, 10 months ago (2014-02-12 23:16:58 UTC) #43
Message was sent while issue was closed.
Change committed as 250828

Powered by Google App Engine
This is Rietveld 408576698