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

Issue 1950303004: [DevTools] Add additional accessor check in InjectedScriptSource.js (Closed)

Created:
4 years, 7 months ago by kozy
Modified:
4 years, 7 months ago
Reviewers:
dgozman, lushnikov, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, kinuko+watch, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Add additional accessor check in InjectedScriptSource.js Let's check that getter doesn't have user defined source code additionally. BUG=613777 R=lushnikov@chromium.org,pfeldman@chromium.org Committed: https://crrev.com/720dc263ae351cb79b2de6ba4be59e091718bd93 Cr-Commit-Position: refs/heads/master@{#395367}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -19 lines) Patch
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties.html View 11 chunks +36 lines, -16 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp View 1 2 3 4 5 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
kozy
please take a look!
4 years, 7 months ago (2016-05-06 01:28:52 UTC) #1
lushnikov
https://codereview.chromium.org/1950303004/diff/20001/third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt File third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt (left): https://codereview.chromium.org/1950303004/diff/20001/third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt#oldcode19 third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt:19: caller: (...) how come this got removed? https://codereview.chromium.org/1950303004/diff/20001/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js File ...
4 years, 7 months ago (2016-05-06 04:28:11 UTC) #2
kozy
all done. please take a look. https://codereview.chromium.org/1950303004/diff/20001/third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt File third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt (left): https://codereview.chromium.org/1950303004/diff/20001/third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt#oldcode19 third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt:19: caller: (...) On ...
4 years, 7 months ago (2016-05-06 15:24:55 UTC) #3
lushnikov
Thanks, lgtm https://codereview.chromium.org/1950303004/diff/40001/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js File third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js (right): https://codereview.chromium.org/1950303004/diff/40001/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js#newcode466 third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js:466: var canFormatAccessorsAsProperty = !(isGetterFunction ? InjectedScriptHost.hasFunctionSource(descriptor.get) : ...
4 years, 7 months ago (2016-05-06 17:58:56 UTC) #4
kozy
All done! Pavel, please take a look! https://codereview.chromium.org/1950303004/diff/40001/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js File third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js (right): https://codereview.chromium.org/1950303004/diff/40001/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js#newcode466 third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js:466: var canFormatAccessorsAsProperty ...
4 years, 7 months ago (2016-05-06 18:02:19 UTC) #5
kozy
Add new check instead replace old. Please take a look!
4 years, 7 months ago (2016-05-07 02:15:44 UTC) #7
kozy
ping? :)
4 years, 7 months ago (2016-05-20 17:20:40 UTC) #8
kozy
Dmitry, please take a look.
4 years, 7 months ago (2016-05-20 22:43:16 UTC) #10
dgozman
The bug number is wrong. Let's have more description. https://codereview.chromium.org/1950303004/diff/70001/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties.html File third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties.html (right): https://codereview.chromium.org/1950303004/diff/70001/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties.html#newcode186 third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties.html:186: ...
4 years, 7 months ago (2016-05-21 01:22:37 UTC) #11
kozy
Added another issue number. https://codereview.chromium.org/1950303004/diff/70001/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties.html File third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties.html (right): https://codereview.chromium.org/1950303004/diff/70001/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties.html#newcode186 third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties.html:186: var expression = "var e ...
4 years, 7 months ago (2016-05-21 01:43:48 UTC) #13
dgozman
lgtm https://codereview.chromium.org/1950303004/diff/70001/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp File third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp (right): https://codereview.chromium.org/1950303004/diff/70001/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp#newcode74 third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp:74: if (!info[1]->IsFunction()) How this could be possible? Why ...
4 years, 7 months ago (2016-05-23 15:53:04 UTC) #14
kozy
All done. https://codereview.chromium.org/1950303004/diff/70001/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp File third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp (right): https://codereview.chromium.org/1950303004/diff/70001/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp#newcode74 third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp:74: if (!info[1]->IsFunction()) On 2016/05/23 15:53:03, dgozman wrote: ...
4 years, 7 months ago (2016-05-23 17:05:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950303004/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950303004/90001
4 years, 7 months ago (2016-05-23 17:05:39 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:90001)
4 years, 7 months ago (2016-05-23 18:23:48 UTC) #20
commit-bot: I haz the power
4 years, 7 months ago (2016-05-23 18:24:50 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/720dc263ae351cb79b2de6ba4be59e091718bd93
Cr-Commit-Position: refs/heads/master@{#395367}

Powered by Google App Engine
This is Rietveld 408576698