| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 { | 6 { |
| 7 "namespace": "test", | 7 "namespace": "test", |
| 8 "description": "none", | 8 "description": "none", |
| 9 "functions": [ | 9 "functions": [ |
| 10 { | 10 { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 }, | 88 }, |
| 89 { | 89 { |
| 90 "name": "notifyPass", | 90 "name": "notifyPass", |
| 91 "type": "function", | 91 "type": "function", |
| 92 "description": "Notifies the browser process that test code running in t
he extension passed. This is only used for internal unit testing.", | 92 "description": "Notifies the browser process that test code running in t
he extension passed. This is only used for internal unit testing.", |
| 93 "parameters": [ | 93 "parameters": [ |
| 94 {"type": "string", "name": "message", "optional": true} | 94 {"type": "string", "name": "message", "optional": true} |
| 95 ] | 95 ] |
| 96 }, | 96 }, |
| 97 { | 97 { |
| 98 "name": "resetQuota", | |
| 99 "type": "function", | |
| 100 "description": "Resets all accumulated quota state for all extensions.
This is only used for internal unit testing.", | |
| 101 "parameters": [] | |
| 102 }, | |
| 103 { | |
| 104 "name": "log", | 98 "name": "log", |
| 105 "type": "function", | 99 "type": "function", |
| 106 "description": "Logs a message during internal unit testing.", | 100 "description": "Logs a message during internal unit testing.", |
| 107 "parameters": [ | 101 "parameters": [ |
| 108 {"type": "string", "name": "message"} | 102 {"type": "string", "name": "message"} |
| 109 ] | 103 ] |
| 110 }, | 104 }, |
| 111 { | 105 { |
| 112 "name": "sendMessage", | 106 "name": "sendMessage", |
| 113 "type": "function", | 107 "type": "function", |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 "properties": { | 409 "properties": { |
| 416 "data": { "type": "string", "description": "Additional information
." }, | 410 "data": { "type": "string", "description": "Additional information
." }, |
| 417 "lastMessage": { "type": "boolean", "description": "True if this w
as the last message for this test" } | 411 "lastMessage": { "type": "boolean", "description": "True if this w
as the last message for this test" } |
| 418 } | 412 } |
| 419 } | 413 } |
| 420 ] | 414 ] |
| 421 } | 415 } |
| 422 ] | 416 ] |
| 423 } | 417 } |
| 424 ] | 418 ] |
| OLD | NEW |