Hello Konrad, Thanks a lot for your reply.
Actually I am trying to establish communication with the WebCore without launching Web Inspector. What I did, write a small html application and include all the JavaScript files (taken from the WebInspector) which are required for sending and receiving message to backend. This html application is being launched by using GtkLauncher (a Webkit browser). But I am unable to do so, as my application is calling InspectorFronendHost.sendMessageToBackend() which has empty body. Is it possible to communicate with the Webcore using JSON without invoking the WebInspector, by using its existing javascript files? Thanks in advance. Regards, Deb From: Konrad Piascik [mailto:kpias...@rim.com] Sent: Wednesday, August 29, 2012 6:41 PM To: Debojyoti Pal (WT01 - PES); webkit-help@lists.webkit.org Subject: Re: [webkit-help] Regd. Communication path from Web Inspector Front-end to WebCore The communication protocol that is used is JSON sent over WebSockets. This protocol is defined in Source/WebCore/inspector/inspector.json also there is a DerivedSource file called InspectorBackendDispatcher.cpp which is where the JSON is parsed and from which calls into the Inspector*Agent classes are made. These Agent classes can make calls to the front-end via an InspectorFrontendChannel that each WebKit port then implements. Hope this helps, Konrad Sent from my BlackBerry on the Rogers Wireless Network From: debojyoti....@wipro.com [mailto:debojyoti....@wipro.com] Sent: Wednesday, August 29, 2012 01:23 AM To: webkit-help@lists.webkit.org <webkit-help@lists.webkit.org> Subject: [webkit-help] Regd. Communication path from Web Inspector Front-end to WebCore Hello, I am trying to understand the communication link between Web Inspector front-end and backend. What I have observed that in the InspectorBackendStub.js file, there is a method sendMessageToBackend, which is being called to dispatch any method from WebInspector front-end to Webcore. But the strange observation is in the InspectorBackend.sendMessageToBackend() method, it calls InspectorFronendHost.sendMessageToBackend() method, whose implementation is empty in InspectorFronendHostStub.js. It is also observed that in the WebInspector.loaded() method in inspector.js file the Websocket is not getting called. So I am really curious to know the communication link from front-end to backend, it would be really helpful, if you kindly give some information regarding this. Thanks in advance. Regards, Deb The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
_______________________________________________ webkit-help mailing list webkit-help@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-help