-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=107883 Patch by Ken Kania <kkania@chromium.org> on 2013-02-01 Reviewed by Pavel Feldman. Introduce support for being notified when a JavaScript modal dialog is opening and closing, as well as a new command for accepting or dismissing the dialog. Source/WebCore: Test: inspector-protocol/page/willRunJavaScriptDialog.html * inspector/Inspector.json: * inspector/InspectorClient.h: (WebCore::InspectorClient::handleJavaScriptDialog): (InspectorClient): * inspector/InspectorInstrumentation.cpp: (WebCore): (WebCore::InspectorInstrumentation::willRunJavaScriptDialogImpl): (WebCore::InspectorInstrumentation::didRunJavaScriptDialogImpl): * inspector/InspectorInstrumentation.h: (InspectorInstrumentation): (WebCore::InspectorInstrumentation::willRunJavaScriptDialog): (WebCore): (WebCore::InspectorInstrumentation::didRunJavaScriptDialog): * inspector/InspectorPageAgent.cpp: (WebCore::InspectorPageAgent::willRunJavaScriptDi...
417bc8fc