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

Issue 2705533002: [inspector] remove iterators and for...of loops from injected-script-source (Closed)

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

Description

[inspector] remove iterators and for...of loops from injected-script-source BUG=chromium:686003 Review-Url: https://codereview.chromium.org/2705533002 Cr-Commit-Position: refs/heads/master@{#43595} Committed: https://chromium.googlesource.com/v8/v8/+/3a20c322bbc26b453ce9c3c3b83094af2fb722f2

Patch Set 1 #

Patch Set 2 : add #

Patch Set 3 : fix overflow on entries #

Patch Set 4 : test expect #

Total comments: 10

Patch Set 5 : merged with dependency CL #

Patch Set 6 : ac #

Total comments: 2

Patch Set 7 : ac #

Total comments: 10

Patch Set 8 : ac #

Total comments: 2

Patch Set 9 : addPropertyIfNeeded required #

Patch Set 10 : tests #

Patch Set 11 : rebase #

Total comments: 2

Patch Set 12 : ac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1031 lines, -133 lines) Patch
M src/inspector/injected-script-source.js View 1 2 3 4 5 6 7 8 9 9 chunks +155 lines, -132 lines 0 comments Download
M test/inspector/inspector-impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M test/inspector/inspector-impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +14 lines, -0 lines 0 comments Download
M test/inspector/inspector-test.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +27 lines, -1 line 0 comments Download
M test/inspector/runtime/evaluate-with-generate-preview.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +62 lines, -0 lines 0 comments Download
M test/inspector/runtime/evaluate-with-generate-preview-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +727 lines, -0 lines 0 comments Download
M test/inspector/runtime/get-properties.js View 1 2 3 4 5 6 7 8 9 1 chunk +40 lines, -0 lines 0 comments Download
M test/inspector/runtime/get-properties-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (26 generated)
luoe
Please take a look
3 years, 10 months ago (2017-02-17 01:20:06 UTC) #3
kozy
https://codereview.chromium.org/2705533002/diff/60001/src/inspector/injected-script-source.js File src/inspector/injected-script-source.js (right): https://codereview.chromium.org/2705533002/diff/60001/src/inspector/injected-script-source.js#newcode239 src/inspector/injected-script-source.js:239: InjectedScript.defaultPropertyAdder.prototype = { We try to avoid using any ...
3 years, 10 months ago (2017-02-21 19:01:55 UTC) #4
luoe
ptal https://codereview.chromium.org/2705533002/diff/60001/src/inspector/injected-script-source.js File src/inspector/injected-script-source.js (right): https://codereview.chromium.org/2705533002/diff/60001/src/inspector/injected-script-source.js#newcode239 src/inspector/injected-script-source.js:239: InjectedScript.defaultPropertyAdder.prototype = { Yes, I think a customPush() ...
3 years, 10 months ago (2017-02-21 21:53:52 UTC) #5
kozy
https://codereview.chromium.org/2705533002/diff/100001/src/inspector/injected-script-source.js File src/inspector/injected-script-source.js (right): https://codereview.chromium.org/2705533002/diff/100001/src/inspector/injected-script-source.js#newcode476 src/inspector/injected-script-source.js:476: customPush(descriptors, nullifyObjectProto(descriptor)); let's use regular push and pass callback ...
3 years, 9 months ago (2017-02-23 23:27:15 UTC) #6
luoe
ptal https://codereview.chromium.org/2705533002/diff/100001/src/inspector/injected-script-source.js File src/inspector/injected-script-source.js (right): https://codereview.chromium.org/2705533002/diff/100001/src/inspector/injected-script-source.js#newcode476 src/inspector/injected-script-source.js:476: customPush(descriptors, nullifyObjectProto(descriptor)); After our offline discussion, I've removed ...
3 years, 9 months ago (2017-02-24 00:46:01 UTC) #7
kozy
https://codereview.chromium.org/2705533002/diff/120001/src/inspector/injected-script-source.js File src/inspector/injected-script-source.js (right): https://codereview.chromium.org/2705533002/diff/120001/src/inspector/injected-script-source.js#newcode429 src/inspector/injected-script-source.js:429: if (accessorPropertiesOnly || forPreview) Can we filter it inside ...
3 years, 9 months ago (2017-02-28 17:14:43 UTC) #8
luoe
ptal https://codereview.chromium.org/2705533002/diff/120001/src/inspector/injected-script-source.js File src/inspector/injected-script-source.js (right): https://codereview.chromium.org/2705533002/diff/120001/src/inspector/injected-script-source.js#newcode429 src/inspector/injected-script-source.js:429: if (accessorPropertiesOnly || forPreview) On 2017/02/28 17:14:43, kozy ...
3 years, 9 months ago (2017-02-28 21:46:39 UTC) #9
kozy
lgtm https://codereview.chromium.org/2705533002/diff/140001/src/inspector/injected-script-source.js File src/inspector/injected-script-source.js (right): https://codereview.chromium.org/2705533002/diff/140001/src/inspector/injected-script-source.js#newcode385 src/inspector/injected-script-source.js:385: addPropertyIfNeeded = addPropertyIfNeeded || function(descriptors, descriptor) { push(descriptors, ...
3 years, 9 months ago (2017-03-01 03:16:35 UTC) #10
luoe
https://codereview.chromium.org/2705533002/diff/140001/src/inspector/injected-script-source.js File src/inspector/injected-script-source.js (right): https://codereview.chromium.org/2705533002/diff/140001/src/inspector/injected-script-source.js#newcode385 src/inspector/injected-script-source.js:385: addPropertyIfNeeded = addPropertyIfNeeded || function(descriptors, descriptor) { push(descriptors, descriptor); ...
3 years, 9 months ago (2017-03-01 21:47:19 UTC) #11
kozy
Cool! lgtm % one nit. https://codereview.chromium.org/2705533002/diff/200001/test/inspector/inspector-test.cc File test/inspector/inspector-test.cc (right): https://codereview.chromium.org/2705533002/diff/200001/test/inspector/inspector-test.cc#newcode539 test/inspector/inspector-test.cc:539: if (args.Length() != 1) ...
3 years, 9 months ago (2017-03-03 18:20:35 UTC) #28
luoe
https://codereview.chromium.org/2705533002/diff/200001/test/inspector/inspector-test.cc File test/inspector/inspector-test.cc (right): https://codereview.chromium.org/2705533002/diff/200001/test/inspector/inspector-test.cc#newcode539 test/inspector/inspector-test.cc:539: if (args.Length() != 1) { Replaced the CHECK on ...
3 years, 9 months ago (2017-03-03 18:56:22 UTC) #29
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/2705533002/220001
3 years, 9 months ago (2017-03-03 19:29:03 UTC) #36
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 19:30:48 UTC) #39
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/v8/v8/+/3a20c322bbc26b453ce9c3c3b83094af2fb...

Powered by Google App Engine
This is Rietveld 408576698