DescriptionMerge 140539
> Web Inspector: only allow evaluateForTestInFrontend for front-ends under test.
> https://bugs.webkit.org/show_bug.cgi?id=107523
>
> Reviewed by Yury Semikhatsky.
>
> Source/WebCore:
>
> * inspector/InspectorController.cpp:
> (WebCore::InspectorController::InspectorController):
> (WebCore::InspectorController::isUnderTest):
> (WebCore):
> (WebCore::InspectorController::evaluateForTestInFrontend):
> * inspector/InspectorController.h:
> (InspectorController):
> * inspector/InspectorFrontendClient.h:
> (InspectorFrontendClient):
> * inspector/InspectorFrontendClientLocal.cpp:
> (WebCore::InspectorFrontendClientLocal::canAttachWindow):
> (WebCore::InspectorFrontendClientLocal::isUnderTest):
> (WebCore):
> * inspector/InspectorFrontendClientLocal.h:
> (InspectorFrontendClientLocal):
> * inspector/InspectorFrontendHost.cpp:
> (WebCore::InspectorFrontendHost::isUnderTest):
> (WebCore):
> * inspector/InspectorFrontendHost.h:
> (InspectorFrontendHost):
> * inspector/InspectorFrontendHost.idl:
> * inspector/front-end/DOMExtension.js:
> * inspector/front-end/InspectorFrontendHostStub.js:
> (.WebInspector.InspectorFrontendHostStub.prototype.canInspectWorkers):
> (.WebInspector.InspectorFrontendHostStub.prototype.isUnderTest):
> * inspector/front-end/TestController.js:
> (.invokeMethod):
> (WebInspector.evaluateForTestInFrontend):
> * inspector/front-end/externs.js:
>
> Source/WebKit/chromium:
>
> * public/WebDevToolsFrontendClient.h:
> (WebKit::WebDevToolsFrontendClient::isUnderTest):
> (WebDevToolsFrontendClient):
> * src/InspectorFrontendClientImpl.cpp:
> (WebKit::InspectorFrontendClientImpl::isUnderTest):
> * src/InspectorFrontendClientImpl.h:
> (InspectorFrontendClientImpl):
>
> Tools:
>
> * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
> (DRTDevToolsClient::isUnderTest):
> (DRTDevToolsClient::call):
> * DumpRenderTree/chromium/DRTDevToolsClient.h:
> (DRTDevToolsClient):
TBR=pfeldman@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142085
Patch Set 1 #Messages
Total messages: 1 (0 generated)
|