Changes between Version 5 and Version 6 of ProposedWebInspectorRearchitecting


Ignore:
Timestamp:
Sep 13, 2008 9:25:14 PM (14 years ago)
Author:
timothy@apple.com
Comment:

Define some of the Console API.

Legend:

Unmodified
Added
Removed
Modified
  • ProposedWebInspectorRearchitecting

    v5 v6  
    2424== Console ==
    2525
    26 InspectorController.Console
     26=== Functions ===
     27
     28{{{InspectorController.Console.evaluate(expression)}}}[[BR]]
     29''evaluates the expression in the global context of the inspected page''
     30
     31{{{InspectorController.Console.messages()}}}[[BR]]
     32''requests an array of all recent messages up to the messageLimit''
     33
     34{{{InspectorController.Console.clearMessages()}}}[[BR]]
     35''requests that all messages should be removed''
     36
     37{{{InspectorController.Console.messageLimit()}}}[[BR]]
     38''requests the current message limit''
     39
     40{{{InspectorController.Console.setMessageLimit(limit)}}}[[BR]]
     41''requests the current message limit''
     42
     43=== Responses ===
     44
     45The evaluate, messages and messageLimit functions above will have responses that are sent to any message observers. (We need to define a message observer API.)
     46
     47''Define what is contained in each of the responses for the above functions.''
    2748
    2849== Profiler ==