Chromium Code Reviews| Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
| index b491f6eb2b8d518f919620e3ceba3f44fabe2f29..4356fd9726f5d7d15ff873c063a85d3799aedc3b 100644 |
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
| @@ -996,7 +996,7 @@ void V8DebuggerAgentImpl::evaluateOnCallFrame(ErrorString* errorString, |
| return; |
| } |
| - v8::MaybeLocal<v8::Object> commandLineAPI = includeCommandLineAPI.fromMaybe(false) ? injectedScript->commandLineAPI(errorString) : v8::MaybeLocal<v8::Object>(); |
| + v8::MaybeLocal<v8::Object> commandLineAPI = (includeCommandLineAPI.fromMaybe(false) && false) ? injectedScript->commandLineAPI(errorString) : v8::MaybeLocal<v8::Object>(); |
|
dgozman
2016/04/04 22:45:34
Do we have a test?
kozy
2016/04/04 23:28:14
Yes, I've uploaded not last version. Fixed.
|
| if (includeCommandLineAPI.fromMaybe(false) && commandLineAPI.IsEmpty()) |
| return; |