Changes between Version 6 and Version 7 of ProposedWebInspectorRearchitecting
- Timestamp:
- Sep 13, 2008, 10:53:28 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProposedWebInspectorRearchitecting
v6 v7 22 22 We'll put all these as objects on the InspectorController. These bits are probably easier to spec out when actually looking at making the change in the code. We can fill in these bits as we get to them. 23 23 24 == Message Observers == 25 We will need an API for observing messages by name. 26 24 27 == Console == 25 26 28 === Functions === 27 29 … … 30 32 31 33 {{{InspectorController.Console.messages()}}}[[BR]] 32 ''requests an array of all recent messages up to the messageLimit ''34 ''requests an array of all recent messages up to the messageLimit. this is used to populated the Console when opening the Inspector. new messages are gotten from the {{{new-messages}}} notification message'' 33 35 34 36 {{{InspectorController.Console.clearMessages()}}}[[BR]] … … 41 43 ''requests the current message limit'' 42 44 43 === Responses === 45 === Response Messages === 46 The {{{evaluate}}}, {{{messages}}} and {{{messageLimit}}} functions above will have response messages that are sent to observers. 44 47 45 The evaluate, messages and messageLimit functions above will have responses that are sent to any message observers. (We need to define a message observer API.) 48 {{{console:evaluate}}}[[BR]] 49 ''sent in response to an {{{evaluate()}}} call. contains a value or object representation of the expression's result'' 46 50 47 ''Define what is contained in each of the responses for the above functions.'' 51 {{{console:messages}}}[[BR]] 52 ''sent in response to a {{{messages()}}} call. contains an array of console message objects'' 53 54 {{{console:message-limit}}}[[BR]] 55 ''sent in response to a {{{messageLimit()}}} call. contains a number'' 56 57 === Notification Messages === 58 The Console will have a couple of notification messages that get sent to observers. 59 60 {{{console:new-message}}}[[BR]] 61 ''sent when a new message is generated for the inspected page. contains a console message object'' 48 62 49 63 == Profiler == … … 88 102 89 103 https://bugs.webkit.org/show_bug.cgi?id=20801 - Infinite console logging opt-in 90