Changes between Version 6 and Version 7 of ProposedWebInspectorRearchitecting


Ignore:
Timestamp:
Sep 13, 2008, 10:53:28 PM (16 years ago)
Author:
timothy@apple.com
Comment:

Defines some messages for Console.

Legend:

Unmodified
Added
Removed
Modified
  • ProposedWebInspectorRearchitecting

    v6 v7  
    2222We'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.
    2323
     24== Message Observers ==
     25We will need an API for observing messages by name.
     26
    2427== Console ==
    25 
    2628=== Functions ===
    2729
     
    3032
    3133{{{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''
    3335
    3436{{{InspectorController.Console.clearMessages()}}}[[BR]]
     
    4143''requests the current message limit''
    4244
    43 === Responses ===
     45=== Response Messages ===
     46The {{{evaluate}}}, {{{messages}}} and {{{messageLimit}}} functions above will have response messages that are sent to observers.
    4447
    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''
    4650
    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 ===
     58The 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''
    4862
    4963== Profiler ==
     
    88102
    89103https://bugs.webkit.org/show_bug.cgi?id=20801 - Infinite console logging opt-in
    90