Changes between Version 10 and Version 11 of ProposedWebInspectorRearchitecting
- Timestamp:
- Sep 17, 2008, 11:08:01 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProposedWebInspectorRearchitecting
v10 v11 26 26 * `WebInspector`, created on the JS side and used by !WebKit to talk back to inspector. Only a small fraction of `WebInspector`'s methods is actually used for this. 27 27 28 For instance, when the messages in the console are cleared by the user, the `InspectorController.clearMessages()` is invoked to reset the corresponding `m_consoleMessages` in !WebKit. Conversely, whenever !WebKit has a new message to display on the console, it creates a `ConsoleMessage` JS object and then invokes `WebInspector.addMessageToConsole()` with that object as an argument. 28 For instance, when the messages in the console are cleared by the user, the `InspectorController.clearMessages()` is invoked to reset the corresponding `m_consoleMessages` in !WebKit. Conversely, whenever !WebKit has a new message to display on the console, it creates a `ConsoleMessage` JS object and then invokes `WebInspector.addMessageToConsole()` with that object as an argument. It is up to Inspector's JS code to initialize `WebInspector` object and its methods. 29 29 30 30 = APIs to implement =