Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5544)

Unified Diff: chrome/common/extensions/api/test.json

Issue 12313142: Revert 184837 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/extension_api_unittest.cc ('k') | chrome/common/extensions/features/feature.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/test.json
===================================================================
--- chrome/common/extensions/api/test.json (revision 184858)
+++ chrome/common/extensions/api/test.json (working copy)
@@ -104,205 +104,6 @@
]
}
]
- },
- {
- "name": "callbackAdded",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": []
- },
- {
- "name": "runNextTest",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": []
- },
- {
- "name": "fail",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": [
- {"type": "any", "name": "message", "optional": true}
- ]
- },
- {
- "name": "succeed",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": [
- {"type": "any", "name": "message", "optional": true}
- ]
- },
- {
- "name": "assertTrue",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": [
- {
- "name": "test",
- "choices": [
- {"type": "string"},
- {"type": "boolean"}
- ]
- },
- {"type": "string", "name": "message", "optional": true}
- ]
- },
- {
- "name": "assertFalse",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": [
- {
- "name": "test",
- "choices": [
- {"type": "string"},
- {"type": "boolean"}
- ]
- },
- {"type": "string", "name": "message", "optional": true}
- ]
- },
- {
- "name": "assertBool",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": [
- {
- "name": "test",
- "choices": [
- {"type": "string"},
- {"type": "boolean"}
- ]
- },
- {"type": "boolean", "name": "expected"},
- {"type": "string", "name": "message", "optional": true}
- ]
- },
- {
- "name": "checkDeepEq",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "allowAmbiguousOptionalArguments": true,
- "parameters": [
- // These need to be optional because they can be null.
- {"type": "any", "name": "expected", "optional": true},
- {"type": "any", "name": "actual", "optional": true}
- ]
- },
- {
- "name": "assertEq",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "allowAmbiguousOptionalArguments": true,
- "parameters": [
- // These need to be optional because they can be null.
- {"type": "any", "name": "expected", "optional": true},
- {"type": "any", "name": "actual", "optional": true},
- {"type": "string", "name": "message", "optional": true}
- ]
- },
- {
- "name": "assertNoLastError",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": []
- },
- {
- "name": "assertLastError",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": [
- {"type": "string", "name": "expectedError"}
- ]
- },
- {
- "name": "callback",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": [
- {"type": "function", "name": "func", "optional": true},
- {"type": "string", "name": "expectedError", "optional": true}
- ]
- },
- {
- "name": "listenOnce",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": [
- // TODO(cduvall): Make this a $ref to events.Event.
- {"type": "any", "name": "event"},
- {"type": "function", "name": "func"}
- ]
- },
- {
- "name": "listenForever",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": [
- // TODO(cduvall): Make this a $ref to events.Event.
- {"type": "any", "name": "event"},
- {"type": "function", "name": "func"}
- ]
- },
- {
- "name": "callbackPass",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": [
- {"type": "function", "name": "func", "optional": true}
- ]
- },
- {
- "name": "callbackFail",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": [
- {"type": "string", "name": "expectedError"},
- {"type": "function", "name": "func", "optional": true}
- ]
- },
- {
- "name": "runTests",
- "type": "function",
- "unprivileged": true,
- "nocompile": true,
- "parameters": [
- {
- "type": "array",
- "name": "tests",
- "items": {"type": "function"}
- }
- ]
- },
- {
- "name": "getApiDefinitions",
- "type": "function",
- "nocompile": true,
- "parameters": [
- {
- "type": "array",
- "name": "apiNames",
- "optional": true,
- "items": {"type": "string"}
- }
- ]
}
],
"events": [
« no previous file with comments | « chrome/common/extensions/api/extension_api_unittest.cc ('k') | chrome/common/extensions/features/feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698