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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp

Issue 1855393003: [DevTools] Fix custom formatters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698