Chrome Developer Tools: Remote Debugging - Google Chrome Developer Tools - Google Code - 0 views
-
Gary Edwards on 20 May 11Incredible. I'm wondering if either Jason or florian has thought about using the Chrome JSON messaging layer to expose docx conversions to OTXML? Essentially, when Florian breaks a .docx document, he only deals with the objects and how they are positioned (layout) on a page. Once captured and described, these xObjects could then be converted to JSON. The Chrome web client/ web server port (9222) could then, theoretically be used to observe the JSON xObjects? Interesting. intro: Under the hood, Chrome Developer Tools is a web application written in HTML, JavaScript and CSS. It has a special binding available at JavaScript runtime that allows interacting with chrome pages and instrumenting them. Interaction protocol consists of commands that are sent to the page and events that the page is generating. Although Chrome Developer Tools is the only client of this protocol, there are ways for third parties to bypass it and start instrumenting browser pages explicitly. We will describe the ways it could be done below. Contents Protocol Debugging over the wire Using debugger extension API