| Index: chrome/common/extensions/api/runtime.json
|
| diff --git a/chrome/common/extensions/api/runtime.json b/chrome/common/extensions/api/runtime.json
|
| index 55704f1e3029837453ad242c4319f7ac0f9c12db..a8bf758a053137090eb933ef7ab9a52fdb98f306 100644
|
| --- a/chrome/common/extensions/api/runtime.json
|
| +++ b/chrome/common/extensions/api/runtime.json
|
| @@ -82,7 +82,7 @@
|
| },
|
| {
|
| "name": "getManifest",
|
| - "description": "Returns details about the app or extension from the manifest. The object returned is a serialization of the full <a href=\"manifest.html\">manifest file</a>.",
|
| + "description": "Returns details about the app or extension from the manifest. The object returned is a serialization of the full <a href=\"manifest\">manifest file</a>.",
|
| "type": "function",
|
| "nocompile": true,
|
| "parameters": [],
|
| @@ -169,9 +169,9 @@
|
| "name": "connect",
|
| "type": "function",
|
| "nocompile": true,
|
| - "description": "Attempts to connect to connect listeners within an extension/app (such as the background page), or other extensions/apps. This is useful for content scripts connecting to their extension processes, inter-app/extension communication, and <a href=\"manifest/externally_connectable.html\">web messaging</a>. Note that this does not connect to any listeners in a content script. Extensions may connect to content scripts embedded in tabs via $(ref:tabs.connect).",
|
| + "description": "Attempts to connect to connect listeners within an extension/app (such as the background page), or other extensions/apps. This is useful for content scripts connecting to their extension processes, inter-app/extension communication, and <a href=\"manifest/externally_connectable\">web messaging</a>. Note that this does not connect to any listeners in a content script. Extensions may connect to content scripts embedded in tabs via $(ref:tabs.connect).",
|
| "parameters": [
|
| - {"type": "string", "name": "extensionId", "optional": true, "description": "The ID of the extension or app to connect to. If omitted, a connection will be attempted with your own extension. Required if sending messages from a web page for <a href=\"manifest/externally_connectable.html\">web messaging</a>."},
|
| + {"type": "string", "name": "extensionId", "optional": true, "description": "The ID of the extension or app to connect to. If omitted, a connection will be attempted with your own extension. Required if sending messages from a web page for <a href=\"manifest/externally_connectable\">web messaging</a>."},
|
| {
|
| "type": "object",
|
| "name": "connectInfo",
|
| @@ -211,7 +211,7 @@
|
| "allowAmbiguousOptionalArguments": true,
|
| "description": "Sends a single message to event listeners within your extension/app or a different extension/app. Similar to $(ref:runtime.connect) but only sends a single message, with an optional response. If sending to your extension, the $(ref:runtime.onMessage) event will be fired in each page, or $(ref:runtime.onMessageExternal), if a different extension. Note that extensions cannot send messages to content scripts using this method. To send messages to content scripts, use $(ref:tabs.sendMessage).",
|
| "parameters": [
|
| - {"type": "string", "name": "extensionId", "optional": true, "description": "The ID of the extension/app to send the message to. If omitted, the message will be sent to your own extension/app. Required if sending messages from a web page for <a href=\"manifest/externally_connectable.html\">web messaging</a>."},
|
| + {"type": "string", "name": "extensionId", "optional": true, "description": "The ID of the extension/app to send the message to. If omitted, the message will be sent to your own extension/app. Required if sending messages from a web page for <a href=\"manifest/externally_connectable\">web messaging</a>."},
|
| { "type": "any", "name": "message" },
|
| {
|
| "type": "object",
|
|
|