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

Issue 1617393002: [DevTools] Not use with statement for evaluated console command (Closed)

Created:
4 years, 11 months ago by kozy
Modified:
4 years, 11 months ago
Reviewers:
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, blink-reviews-bindings_chromium.org, sergeyv+blink_chromium.org, 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] Not use with statement for evaluated console command Inject command line API with API symbol. With this CL let, const and use_strict work in console correctly. BUG=542594, 110163 R=pfeldman@chromium.org Committed: https://crrev.com/38b555367eaa0f03931b75ea9134148659e45bd7 Cr-Commit-Position: refs/heads/master@{#371110}

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Patch Set 4 : fix $1-$4, $_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -107 lines) Patch
A third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.html View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api-expected.txt View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-eval-exception-report-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-eval-syntax-error-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-eval-throw-expected.txt View 1 chunk +10 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-eval-undefined-override-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
D third_party/WebKit/LayoutTests/inspector/console/console-native-function-to-string.html View 1 1 chunk +0 lines, -40 lines 0 comments Download
D third_party/WebKit/LayoutTests/inspector/console/console-native-function-to-string-expected.txt View 1 1 chunk +0 lines, -25 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-table-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/worker-eval-contains-stack-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-console/debug-console-command-expected.txt View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/inspect-function-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp View 1 2 3 3 chunks +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScriptSource.js View 1 2 3 chunks +3 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.cpp View 1 2 3 3 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
kozy
ptal
4 years, 11 months ago (2016-01-22 02:29:40 UTC) #1
pfeldman
https://codereview.chromium.org/1617393002/diff/20001/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp File third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp (right): https://codereview.chromium.org/1617393002/diff/20001/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp#newcode67 third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp:67: revert https://codereview.chromium.org/1617393002/diff/20001/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp#newcode330 third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp:330: v8::Isolate* isolate = info.GetIsolate(); This code ...
4 years, 11 months ago (2016-01-22 18:26:31 UTC) #2
kozy
All done! https://codereview.chromium.org/1617393002/diff/20001/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp File third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp (right): https://codereview.chromium.org/1617393002/diff/20001/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp#newcode67 third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp:67: On 2016/01/22 18:26:30, pfeldman wrote: > revert ...
4 years, 11 months ago (2016-01-22 19:48:23 UTC) #3
pfeldman
lgtm
4 years, 11 months ago (2016-01-23 00:23:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1617393002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1617393002/80001
4 years, 11 months ago (2016-01-23 00:36:56 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, no build URL)
4 years, 11 months ago (2016-01-23 00:44:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1617393002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1617393002/80001
4 years, 11 months ago (2016-01-23 00:48:31 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 11 months ago (2016-01-23 01:16:06 UTC) #14
commit-bot: I haz the power
4 years, 11 months ago (2016-01-23 01:17:34 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/38b555367eaa0f03931b75ea9134148659e45bd7
Cr-Commit-Position: refs/heads/master@{#371110}

Powered by Google App Engine
This is Rietveld 408576698