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

Issue 1455583002: Pass current script context to InspectorWrapper::unwrap (Closed)

Created:
5 years, 1 month ago by jochen (gone - plz use gerrit)
Modified:
5 years, 1 month ago
Reviewers:
haraken, yurys
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, sergeyv+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass current script context to InspectorWrapper::unwrap Also make sure, we're always in the script context when invoking unwrap (as opposed to the debugger context) BUG=none R=haraken@chromium.org Committed: https://crrev.com/5a3367a795a0fe9f2ca90da911dab5ed54e55e5a Cr-Commit-Position: refs/heads/master@{#360546}

Patch Set 1 #

Total comments: 1

Patch Set 2 : updates #

Total comments: 3

Messages

Total messages: 16 (3 generated)
jochen (gone - plz use gerrit)
5 years, 1 month ago (2015-11-17 13:23:48 UTC) #1
jochen (gone - plz use gerrit)
I've split this out into a separate CL so https://codereview.chromium.org/1419313003 doesn't get too big
5 years, 1 month ago (2015-11-17 13:24:28 UTC) #2
haraken
LGTM
5 years, 1 month ago (2015-11-17 14:03:21 UTC) #3
yurys
https://codereview.chromium.org/1455583002/diff/1/third_party/WebKit/Source/core/inspector/v8/InspectorWrapper.cpp File third_party/WebKit/Source/core/inspector/v8/InspectorWrapper.cpp (right): https://codereview.chromium.org/1455583002/diff/1/third_party/WebKit/Source/core/inspector/v8/InspectorWrapper.cpp#newcode53 third_party/WebKit/Source/core/inspector/v8/InspectorWrapper.cpp:53: void* InspectorWrapperBase::unwrap(v8::Local<v8::Context> context, v8::Local<v8::Object> object, const char* name) Can ...
5 years, 1 month ago (2015-11-17 17:39:12 UTC) #5
jochen (gone - plz use gerrit)
ptal
5 years, 1 month ago (2015-11-18 12:29:44 UTC) #6
yurys
https://codereview.chromium.org/1455583002/diff/20001/third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp File third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp (right): https://codereview.chromium.org/1455583002/diff/20001/third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp#newcode1113 third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp:1113: chain = AsyncCallChain::create(debugger().isPaused() ? debugger().pausedContext() : m_isolate->GetCurrentContext(), adoptRef(new AsyncCallStack(description, ...
5 years, 1 month ago (2015-11-18 18:35:00 UTC) #7
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1455583002/diff/20001/third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp File third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp (right): https://codereview.chromium.org/1455583002/diff/20001/third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp#newcode1113 third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp:1113: chain = AsyncCallChain::create(debugger().isPaused() ? debugger().pausedContext() : m_isolate->GetCurrentContext(), adoptRef(new AsyncCallStack(description, ...
5 years, 1 month ago (2015-11-18 19:02:04 UTC) #8
yurys
lgtm https://codereview.chromium.org/1455583002/diff/20001/third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp File third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp (right): https://codereview.chromium.org/1455583002/diff/20001/third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp#newcode1113 third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp:1113: chain = AsyncCallChain::create(debugger().isPaused() ? debugger().pausedContext() : m_isolate->GetCurrentContext(), adoptRef(new ...
5 years, 1 month ago (2015-11-18 19:11:24 UTC) #9
jochen (gone - plz use gerrit)
On 2015/11/18 at 19:11:24, yurys wrote: > lgtm > > https://codereview.chromium.org/1455583002/diff/20001/third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp > File third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp (right): ...
5 years, 1 month ago (2015-11-18 19:39:28 UTC) #10
jochen (gone - plz use gerrit)
actually, it's empty - this call site: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/inspector/v8/V8DebuggerImpl.cpp&rcl=1447771613&l=638 puts the context to use in the ...
5 years, 1 month ago (2015-11-18 20:36:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455583002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455583002/20001
5 years, 1 month ago (2015-11-19 07:56:20 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-19 10:35:30 UTC) #15
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 10:37:06 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5a3367a795a0fe9f2ca90da911dab5ed54e55e5a
Cr-Commit-Position: refs/heads/master@{#360546}

Powered by Google App Engine
This is Rietveld 408576698