Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 223 "nocompile": true, | 223 "nocompile": true, |
| 224 "parameters": [ | 224 "parameters": [ |
| 225 {"type": "function", "name": "fn"}, | 225 {"type": "function", "name": "fn"}, |
| 226 { | 226 { |
| 227 "type": "object", | 227 "type": "object", |
| 228 "name": "self", | 228 "name": "self", |
| 229 "additionalProperties": {"type": "any"}, | 229 "additionalProperties": {"type": "any"}, |
| 230 "optional": true | 230 "optional": true |
| 231 }, | 231 }, |
| 232 {"type": "array", "items": {"type": "any"}, "name": "args"}, | 232 {"type": "array", "items": {"type": "any"}, "name": "args"}, |
| 233 {"type": "string", "name": "message", "optional": true} | 233 {"type": "any", "name": "message", "optional": true, |
|
not at google - send to devlin
2013/08/29 15:20:25
instead:
{"choices": [ {"type": "string"}, {"isIn
Jeffrey Yasskin
2013/08/29 21:46:43
More "isInstanceOf". Thanks!
I still had to speci
| |
| 234 "description": | |
| 235 "A string or RegExp that must match the exception's message"} | |
|
not at google - send to devlin
2013/08/29 15:20:25
indentation here looks weird; it looks like we don
Jeffrey Yasskin
2013/08/29 21:46:43
'k. I've removed the description again now that th
| |
| 234 ] | 236 ] |
| 235 }, | 237 }, |
| 236 { | 238 { |
| 237 "name": "callback", | 239 "name": "callback", |
| 238 "type": "function", | 240 "type": "function", |
| 239 "nocompile": true, | 241 "nocompile": true, |
| 240 "parameters": [ | 242 "parameters": [ |
| 241 {"type": "function", "name": "func", "optional": true}, | 243 {"type": "function", "name": "func", "optional": true}, |
| 242 {"type": "string", "name": "expectedError", "optional": true} | 244 {"type": "string", "name": "expectedError", "optional": true} |
| 243 ] | 245 ] |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 323 "properties": { | 325 "properties": { |
| 324 "data": { "type": "string", "description": "Additional information ." }, | 326 "data": { "type": "string", "description": "Additional information ." }, |
| 325 "lastMessage": { "type": "boolean", "description": "True if this w as the last message for this test" } | 327 "lastMessage": { "type": "boolean", "description": "True if this w as the last message for this test" } |
| 326 } | 328 } |
| 327 } | 329 } |
| 328 ] | 330 ] |
| 329 } | 331 } |
| 330 ] | 332 ] |
| 331 } | 333 } |
| 332 ] | 334 ] |
| OLD | NEW |