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

Issue 7565008: DevTools: don't show the unresponsive dialog for inspected tabs (Closed)

Created:
9 years, 4 months ago by yurys
Modified:
9 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, Avi (use Gerrit), brettw-cc_chromium.org, jam
Visibility:
Public.

Description

DevTools: don't show the unresponsive dialog for inspected tabs BUG=66458 TEST=DevToolsManagerTest.NoUnresponsiveDialogInInspectedTab Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95798

Patch Set 1 #

Patch Set 2 : Renamed the test #

Patch Set 3 : Renamed the test #

Total comments: 11

Patch Set 4 : Comments addressed #

Total comments: 2

Patch Set 5 : Don't reset DevToolsManager #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -2 lines) Patch
M chrome/test/testing_browser_process.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/testing_browser_process.cc View 1 2 3 4 chunks +8 lines, -2 lines 0 comments Download
M content/browser/debugger/devtools_manager_unittest.cc View 1 2 3 4 3 chunks +58 lines, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
yurys
9 years, 4 months ago (2011-08-03 15:18:57 UTC) #1
jam
tab_contents.cc lgtm
9 years, 4 months ago (2011-08-03 16:17:05 UTC) #2
pfeldman1
http://codereview.chromium.org/7565008/diff/4001/content/browser/debugger/devtools_manager.h File content/browser/debugger/devtools_manager.h (right): http://codereview.chromium.org/7565008/diff/4001/content/browser/debugger/devtools_manager.h#newcode67 content/browser/debugger/devtools_manager.h:67: bool IsBeingDebugged(RenderViewHost* inspected_rvh); Call site could use GetDevToolsClientHostFor instead. ...
9 years, 4 months ago (2011-08-03 16:28:49 UTC) #3
Paweł Hajdan Jr.
Drive-by with testing comments (chrome/test/OWNERS, you need approval for modifying TestingBrowserProcess). http://codereview.chromium.org/7565008/diff/4001/content/browser/debugger/devtools_manager_unittest.cc File content/browser/debugger/devtools_manager_unittest.cc (right): ...
9 years, 4 months ago (2011-08-03 16:50:29 UTC) #4
yurys
http://codereview.chromium.org/7565008/diff/4001/content/browser/debugger/devtools_manager.h File content/browser/debugger/devtools_manager.h (right): http://codereview.chromium.org/7565008/diff/4001/content/browser/debugger/devtools_manager.h#newcode67 content/browser/debugger/devtools_manager.h:67: bool IsBeingDebugged(RenderViewHost* inspected_rvh); On 2011/08/03 16:28:50, pfeldman1 wrote: > ...
9 years, 4 months ago (2011-08-04 08:59:14 UTC) #5
pfeldman1
lgtm http://codereview.chromium.org/7565008/diff/6001/content/browser/debugger/devtools_manager_unittest.cc File content/browser/debugger/devtools_manager_unittest.cc (right): http://codereview.chromium.org/7565008/diff/6001/content/browser/debugger/devtools_manager_unittest.cc#newcode170 content/browser/debugger/devtools_manager_unittest.cc:170: testing_browser_process_.get()->SetDevToolsManager(NULL); You should not need this now.
9 years, 4 months ago (2011-08-04 10:11:32 UTC) #6
yurys
http://codereview.chromium.org/7565008/diff/6001/content/browser/debugger/devtools_manager_unittest.cc File content/browser/debugger/devtools_manager_unittest.cc (right): http://codereview.chromium.org/7565008/diff/6001/content/browser/debugger/devtools_manager_unittest.cc#newcode170 content/browser/debugger/devtools_manager_unittest.cc:170: testing_browser_process_.get()->SetDevToolsManager(NULL); On 2011/08/04 10:11:32, pfeldman1 wrote: > You should ...
9 years, 4 months ago (2011-08-04 11:39:19 UTC) #7
yurys
Paweł are you OK with the changes to TestingBrowserProcess ?
9 years, 4 months ago (2011-08-05 06:15:12 UTC) #8
Paweł Hajdan Jr.
9 years, 4 months ago (2011-08-05 18:02:55 UTC) #9
LGTM

I'm not really happy with the way the unit test is written, but feel free to
test your luck. ;-)

Powered by Google App Engine
This is Rietveld 408576698