Reviewers: kozyatinskiy, haraken
CL:
https://codereview.chromium.org/2112593003/Message:
Could you please take a look?
haraken - at bindings, core.
kozyatinskiy - at devtools, inspector.
Thanks,
Dmitry
Description:
[DevTools] Remove [V8] from InspectorInstrumentation.
We issue a fine-grained runtimeEnabled/runtimeDiabled notification.
Introduced a new setting forceMainWorldInitialization, which inspector
uses to force contexts in all frames to be able to evaluate there.
BUG=580337
Base URL:
https://chromium.googlesource.com/chromium/src.git@masterAffected files (+74, -117 lines):
M third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
M third_party/WebKit/Source/core/dom/Document.h
M third_party/WebKit/Source/core/dom/Document.cpp
M third_party/WebKit/Source/core/dom/ExecutionContext.h
M third_party/WebKit/Source/core/frame/Settings.in
M third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp
M third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py
M third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h
M third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl
M third_party/WebKit/Source/core/inspector/InspectorSession.h
M third_party/WebKit/Source/core/inspector/InspectorSession.cpp
M third_party/WebKit/Source/core/loader/FrameLoader.cpp
M third_party/WebKit/Source/core/testing/NullExecutionContext.h
M third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
M third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
M third_party/WebKit/Source/core/workers/WorkletGlobalScope.h
M third_party/WebKit/Source/core/workers/WorkletGlobalScope.cpp
M third_party/WebKit/Source/devtools/front_end/common/Settings.js
M third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
M third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp
M third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.h
M third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.cpp
M third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp
M third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp
M third_party/WebKit/Source/platform/v8_inspector/public/V8InspectorSessionClient.h
M third_party/WebKit/Source/web/FrameLoaderClientImpl.h
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
M third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
M third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp