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

Issue 2432163004: Avoid using stale InspectedContext pointers (Closed)

Created:
4 years, 2 months ago by robwu
Modified:
4 years, 1 month ago
CC:
devtools-reviews_chromium.org, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Avoid using stale InspectedContext pointers BUG=657568 TEST=Manually, see bug report Committed: https://crrev.com/cb2a39d36762da3a800d9b5e734319d1141070b9 Cr-Commit-Position: refs/heads/master@{#40605}

Patch Set 1 #

Patch Set 2 : Fix typo and PRESUBMIT warning (AUTHORS & format) #

Patch Set 3 : Add tests #

Total comments: 14

Patch Set 4 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -6 lines) Patch
M AUTHORS View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/inspector/injected-script.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/inspector/inspected-context.h View 1 chunk +1 line, -1 line 0 comments Download
M src/inspector/inspected-context.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M src/inspector/v8-inspector-session-impl.cc View 1 chunk +1 line, -2 lines 0 comments Download
A test/inspector/console/destroy-context-during-log.js View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A test/inspector/console/destroy-context-during-log-expected.txt View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M test/inspector/inspector-test.cc View 1 2 3 3 chunks +57 lines, -1 line 0 comments Download

Messages

Total messages: 39 (25 generated)
robwu
4 years, 2 months ago (2016-10-19 22:37:30 UTC) #8
kozy
lgtm
4 years, 2 months ago (2016-10-20 00:16:59 UTC) #11
kozy
I added blink bot to check that our layout tests in Chrome will pass with ...
4 years, 2 months ago (2016-10-20 00:20:55 UTC) #12
robwu
I added unit tests, please take another look. I generated the test expectation as follows: ...
4 years, 2 months ago (2016-10-20 23:08:45 UTC) #15
robwu
+jochen for rubberstamp review of AUTHORS.
4 years, 2 months ago (2016-10-20 23:12:28 UTC) #17
jochen (gone - plz use gerrit)
lgtm
4 years, 2 months ago (2016-10-21 11:01:18 UTC) #20
kozy
https://codereview.chromium.org/2432163004/diff/40001/test/inspector/console/destroy-context-during-log-expected.txt File test/inspector/console/destroy-context-during-log-expected.txt (right): https://codereview.chromium.org/2432163004/diff/40001/test/inspector/console/destroy-context-during-log-expected.txt#newcode4 test/inspector/console/destroy-context-during-log-expected.txt:4: Attaching context. Please don't dump dettaching/attaching context. It can ...
4 years, 2 months ago (2016-10-21 15:06:53 UTC) #21
robwu
https://codereview.chromium.org/2432163004/diff/40001/test/inspector/console/destroy-context-during-log-expected.txt File test/inspector/console/destroy-context-during-log-expected.txt (right): https://codereview.chromium.org/2432163004/diff/40001/test/inspector/console/destroy-context-during-log-expected.txt#newcode4 test/inspector/console/destroy-context-during-log-expected.txt:4: Attaching context. On 2016/10/21 15:06:53, kozyatinskiy wrote: > Please ...
4 years, 2 months ago (2016-10-21 20:32:45 UTC) #24
kozy
lgtm https://codereview.chromium.org/2432163004/diff/40001/test/inspector/console/destroy-context-during-log.js File test/inspector/console/destroy-context-during-log.js (right): https://codereview.chromium.org/2432163004/diff/40001/test/inspector/console/destroy-context-during-log.js#newcode32 test/inspector/console/destroy-context-during-log.js:32: expression, On 2016/10/21 20:32:45, robwu wrote: > On ...
4 years, 2 months ago (2016-10-21 20:41:26 UTC) #25
robwu
Thanks for the reviews. Are the new tests automatically run on a try bot, or ...
4 years, 2 months ago (2016-10-21 20:47:37 UTC) #26
kozy
On 2016/10/21 20:47:37, robwu wrote: > Thanks for the reviews. > > Are the new ...
4 years, 1 month ago (2016-10-25 15:23:05 UTC) #31
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/2432163004/60001
4 years, 1 month ago (2016-10-26 19:54:43 UTC) #36
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-26 20:27:02 UTC) #37
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:14:48 UTC) #39
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cb2a39d36762da3a800d9b5e734319d1141070b9
Cr-Commit-Position: refs/heads/master@{#40605}

Powered by Google App Engine
This is Rietveld 408576698