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

Issue 13705: Do not access WebInspector.panels.scripts panel while it's disabled in Chrome... (Closed)

Created:
12 years ago by Please use yurys#chromium.org
Modified:
9 years, 7 months ago
Reviewers:
Søren Thygesen Gjesse, dglazkov, sgjesse, ojan
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Do not access WebInspector.panels.scripts panel while it's disabled in Chrome. BUG=5158 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6780 (by sgjesse@chromium.org)

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M third_party/WebKit/WebCore/inspector/front-end/Console.js View 1 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Please use yurys#chromium.org
12 years ago (2008-12-10 12:12:27 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/13705/diff/1/2 File third_party/WebKit/WebCore/inspector/front-end/Console.js (right): http://codereview.chromium.org/13705/diff/1/2#newcode271 Line 271: if (WebInspector.panels.scripts.paused) Maybe change condition to WebInspector.panels.scripts ...
12 years ago (2008-12-10 12:57:47 UTC) #2
Please use yurys#chromium.org
12 years ago (2008-12-10 14:53:38 UTC) #3
http://codereview.chromium.org/13705/diff/1/2
File third_party/WebKit/WebCore/inspector/front-end/Console.js (right):

http://codereview.chromium.org/13705/diff/1/2#newcode271
Line 271: if (WebInspector.panels.scripts.paused)
On 2008/12/10 12:57:48, Søren Gjesse wrote:
> Maybe change condition to 
> 
> WebInspector.panels.scripts && WebInspector.panels.scripts.paused
> 
> instead of commenting out the code.

Done.

http://codereview.chromium.org/13705/diff/1/2#newcode400
Line 400: if (WebInspector.panels.scripts.paused)
On 2008/12/10 12:57:48, Søren Gjesse wrote:
> See comment above.

Done.

Powered by Google App Engine
This is Rietveld 408576698