}
private void sendCustomMessageResponseToInspector(String response) {
if (domInspectorIframe.getContentDocument() != null
&& domInspectorIframe.getContentWindow() != null) {
CustomEvent evt = (CustomEvent) domInspectorIframe.getContentDocument().createEvent(
"CustomEvent");
evt.initCustomEvent(DEBUGGER_CUSTOM_MESSAGE_RESPONSE, true, true, response);
domInspectorIframe.getContentWindow().dispatchEvent(evt);
}
}