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

Issue 2770823003: [inspector] Increased chances of successful InjectedScriptSource compilation (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] Increased chances of successful InjectedScriptSource compilation - added InspectorTest.setupInjectedScriptEnvironment method which mutates current context, - clear prototype of InjectedScript function and domAttributesWithObservableSideEffectOnGet. Second point increases chances that injected-script-source would be successfully compiled. BUG=chromium:693338 R=dgozman@chromium.org,luoe@chromium.org Review-Url: https://codereview.chromium.org/2770823003 Cr-Commit-Position: refs/heads/master@{#44081} Committed: https://chromium.googlesource.com/v8/v8/+/2629f811ea2f784e810ea9a38c1d290097cfa8e3

Patch Set 1 #

Total comments: 3

Patch Set 2 : addressed comments #

Patch Set 3 : fixed .isolate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -5 lines) Patch
M src/inspector/injected-script-source.js View 2 chunks +6 lines, -5 lines 0 comments Download
M src/inspector/injected_script_externs.js View 1 chunk +5 lines, -0 lines 0 comments Download
M src/inspector/v8-injected-script-host.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/inspector/v8-injected-script-host.cc View 2 chunks +13 lines, -0 lines 0 comments Download
M test/inspector/console/destroy-context-during-log.js View 2 chunks +2 lines, -0 lines 0 comments Download
M test/inspector/inspector.isolate View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/inspector/protocol-test.js View 1 1 chunk +35 lines, -0 lines 0 comments Download
A test/inspector/runtime/runtime-evaluate-with-dirty-context.js View 1 1 chunk +11 lines, -0 lines 0 comments Download
A test/inspector/runtime/runtime-evaluate-with-dirty-context-expected.txt View 1 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
kozy
Dmitry and Erik, please take a look. First of all, this CL addresses linked issue. ...
3 years, 9 months ago (2017-03-22 22:52:49 UTC) #3
kozy
https://codereview.chromium.org/2770823003/diff/1/test/inspector/protocol-test.js File test/inspector/protocol-test.js (right): https://codereview.chromium.org/2770823003/diff/1/test/inspector/protocol-test.js#newcode345 test/inspector/protocol-test.js:345: InspectorTest.log('WARNING: InspectorTest.makeContextDirty with debug flag for debugging only and ...
3 years, 9 months ago (2017-03-22 22:54:54 UTC) #4
dgozman
lgtm https://codereview.chromium.org/2770823003/diff/1/test/inspector/runtime/runtime-evaluate-with-dirty-context.js File test/inspector/runtime/runtime-evaluate-with-dirty-context.js (right): https://codereview.chromium.org/2770823003/diff/1/test/inspector/runtime/runtime-evaluate-with-dirty-context.js#newcode7 test/inspector/runtime/runtime-evaluate-with-dirty-context.js:7: Protocol.Runtime.evaluate({expression: 'console.log(42)'}) Let's also listen to consoleAPICalled and ...
3 years, 9 months ago (2017-03-23 21:05:22 UTC) #5
kozy
all done, thanks! https://codereview.chromium.org/2770823003/diff/1/test/inspector/runtime/runtime-evaluate-with-dirty-context.js File test/inspector/runtime/runtime-evaluate-with-dirty-context.js (right): https://codereview.chromium.org/2770823003/diff/1/test/inspector/runtime/runtime-evaluate-with-dirty-context.js#newcode7 test/inspector/runtime/runtime-evaluate-with-dirty-context.js:7: Protocol.Runtime.evaluate({expression: 'console.log(42)'}) On 2017/03/23 21:05:22, dgozman ...
3 years, 9 months ago (2017-03-24 00:30:48 UTC) #6
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/2770823003/20001
3 years, 9 months ago (2017-03-24 00:31:01 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/19124) v8_linux64_avx2_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 9 months ago (2017-03-24 00:48:04 UTC) #12
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/2770823003/40001
3 years, 9 months ago (2017-03-24 01:09:42 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 01:33:19 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/2629f811ea2f784e810ea9a38c1d290097c...

Powered by Google App Engine
This is Rietveld 408576698