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

Issue 2767323002: [inspector] better isArrayLike for injected-script-source.js (Closed)

Created:
3 years, 9 months ago by kozy
Modified:
3 years, 9 months ago
Reviewers:
dgozman, luoe
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] better isArrayLike for injected-script-source.js We should never check existing of the property by typeof obj.name check. BUG=chromium:693338 R=dgozman@chromium.org,luoe@chromium.org Review-Url: https://codereview.chromium.org/2767323002 Cr-Commit-Position: refs/heads/master@{#44113} Committed: https://chromium.googlesource.com/v8/v8/+/6c2215325e34d6a311df5d7d65abb43e0a1edf05

Patch Set 1 #

Patch Set 2 : length on array should be own property #

Total comments: 10

Patch Set 3 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -11 lines) Patch
M src/inspector/injected-script-source.js View 1 2 4 chunks +10 lines, -11 lines 0 comments Download
M src/inspector/injected_script_externs.js View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/inspector/v8-injected-script-host.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/inspector/v8-injected-script-host.cc View 1 2 2 chunks +21 lines, -0 lines 0 comments Download
M test/inspector/protocol-test.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/inspector/runtime/evaluate-with-generate-preview.js View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M test/inspector/runtime/evaluate-with-generate-preview-expected.txt View 1 1 chunk +9 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (8 generated)
kozy
Dmitry and Erik, please take a look. This CL is example of using new method ...
3 years, 9 months ago (2017-03-22 23:17:05 UTC) #1
dgozman
https://codereview.chromium.org/2767323002/diff/20001/src/inspector/injected_script_externs.js File src/inspector/injected_script_externs.js (right): https://codereview.chromium.org/2767323002/diff/20001/src/inspector/injected_script_externs.js#newcode20 src/inspector/injected_script_externs.js:20: InjectedScriptHostClass.prototype.get = function(obj, name) {} getProperty https://codereview.chromium.org/2767323002/diff/20001/src/inspector/v8-injected-script-host.cc File src/inspector/v8-injected-script-host.cc ...
3 years, 9 months ago (2017-03-23 21:10:20 UTC) #2
kozy
Addressed all comments, please take another look. https://codereview.chromium.org/2767323002/diff/20001/src/inspector/injected_script_externs.js File src/inspector/injected_script_externs.js (right): https://codereview.chromium.org/2767323002/diff/20001/src/inspector/injected_script_externs.js#newcode20 src/inspector/injected_script_externs.js:20: InjectedScriptHostClass.prototype.get = ...
3 years, 9 months ago (2017-03-24 00:40:37 UTC) #3
dgozman
lgtm
3 years, 9 months ago (2017-03-24 16:50:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2767323002/40001
3 years, 9 months ago (2017-03-24 16:53:32 UTC) #10
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 17:38:26 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/6c2215325e34d6a311df5d7d65abb43e0a1...

Powered by Google App Engine
This is Rietveld 408576698