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

Issue 229002: DevTools: added a new test for console evaluation on call frame. (Closed)

Created:
11 years, 3 months ago by yurys
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, darin (slow to review), pam+watch_chromium.org, Ben Goodger (Google), tim (not reviewing), Paweł Hajdan Jr.
Visibility:
Public.

Description

DevTools: added a new test for console evaluation on call frame. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26913

Patch Set 1 #

Total comments: 11

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -52 lines) Patch
M chrome/browser/debugger/devtools_sanity_unittest.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M webkit/glue/devtools/js/tests.js View 1 2 3 4 chunks +173 lines, -47 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
yurys
11 years, 3 months ago (2009-09-23 12:09:32 UTC) #1
mnaganov (inactive)
LGTM with comments http://codereview.chromium.org/229002/diff/1/3 File webkit/glue/devtools/js/tests.js (right): http://codereview.chromium.org/229002/diff/1/3#newcode525 Line 525: scriptResource = options[scriptSelect.selectedIndex].representedObject; I guess ...
11 years, 3 months ago (2009-09-23 12:26:18 UTC) #2
apavlov
LGTM http://codereview.chromium.org/229002/diff/1/3 File webkit/glue/devtools/js/tests.js (right): http://codereview.chromium.org/229002/diff/1/3#newcode529 Line 529: if (options[i].text == scriptName) { should we ...
11 years, 3 months ago (2009-09-23 12:29:48 UTC) #3
yurys
http://codereview.chromium.org/229002/diff/1/3 File webkit/glue/devtools/js/tests.js (right): http://codereview.chromium.org/229002/diff/1/3#newcode525 Line 525: scriptResource = options[scriptSelect.selectedIndex].representedObject; On 2009/09/23 12:26:18, Michail Naganov ...
11 years, 3 months ago (2009-09-23 12:34:24 UTC) #4
yurys
11 years, 3 months ago (2009-09-23 12:41:10 UTC) #5
http://codereview.chromium.org/229002/diff/1/3
File webkit/glue/devtools/js/tests.js (right):

http://codereview.chromium.org/229002/diff/1/3#newcode525
Line 525: scriptResource =
options[scriptSelect.selectedIndex].representedObject;
On 2009/09/23 12:26:18, Michail Naganov wrote:
> I guess the second case is more common so you can drop this one for
simplicity.

Done.

http://codereview.chromium.org/229002/diff/1/3#newcode529
Line 529: if (options[i].text == scriptName) {
On 2009/09/23 12:29:49, apavlov wrote:
> should we use "===" whenever possible?

Done.

http://codereview.chromium.org/229002/diff/1/3#newcode546
Line 546: scriptResource.url.search(new RegExp(scriptName + '$')) != -1,
On 2009/09/23 12:29:49, apavlov wrote:
> You can use just ...search(scriptName + '$') - this will be converted into a
> RegExp for you.
Done.Thanks.

Powered by Google App Engine
This is Rietveld 408576698