|
| 1 | +<span class="comment">/** |
| 2 | + * A list of ConsoleMessages. |
| 3 | + * |
| 4 | + * @since 2.1 |
| 5 | + */</span> |
| 6 | +message <span class="message">ConsoleMessageList</span> |
| 7 | +{ |
| 8 | + message <span class="message">ConsoleMessage</span> |
| 9 | + { |
| 10 | + <span class="comment">/** |
| 11 | + * The window ID is shared across scope. Notably, it's the same as in the ecmascript debugger. |
| 12 | + * INTERNAL: The value is from Window::id |
| 13 | + */</span> |
| 14 | + required <span class="number">uint32</span> windowID = 1; |
| 15 | + <span class="comment">/** |
| 16 | + * |
| 17 | + * The number of seconds since 1970-01-01T00:00:00Z. |
| 18 | + */</span> |
| 19 | + required <span class="number">uint32</span> time = 2; |
| 20 | + <span class="comment">/** |
| 21 | + * Description of the error. Sometimes this message only makes sense when |
| 22 | + * displayed in a monospace font. |
| 23 | + */</span> |
| 24 | + required <span class="string">string</span> description = 3; |
| 25 | + <span class="comment">/** |
| 26 | + * The URL of the entity (document, script, style file, etc) that caused the |
| 27 | + * message to be generated. |
| 28 | + */</span> |
| 29 | + optional <span class="string">string</span> uri = 4; |
| 30 | + <span class="comment">/** |
| 31 | + * The context in which the message was generated; it is intended for human |
| 32 | + * consumption and provides additional information about the context for the |
| 33 | + * message. |
| 34 | + */</span> |
| 35 | + optional <span class="string">string</span> context = 5; |
| 36 | + <span class="comment">/** |
| 37 | + * The component in Opera that generated the message |
| 38 | + * One of: |
| 39 | + * - "ecmascript" |
| 40 | + * - "java" |
| 41 | + * - "m2" |
| 42 | + * - "network" |
| 43 | + * - "xml" |
| 44 | + * - "html" |
| 45 | + * - "css" |
| 46 | + * - "xslt" |
| 47 | + * - "svg" |
| 48 | + * - "bittorrent" |
| 49 | + * - "voice" |
| 50 | + * - "widget" |
| 51 | + * - "selftest" |
| 52 | + */</span> |
| 53 | + optional <span class="string">string</span> source = 6; |
| 54 | + <span class="comment">/** |
| 55 | + * One of: |
| 56 | + * - "debug" |
| 57 | + * - "verbose" |
| 58 | + * - "information" |
| 59 | + * - "error" |
| 60 | + * - "critical" |
| 61 | + */</span> |
| 62 | + optional <span class="string">string</span> severity = 7; |
| 63 | + } |
| 64 | + repeated <span class="message">ConsoleMessage</span> consoleMessageList = 1; |
| 65 | +} |
0 commit comments