| Index: chrome/common/extensions/api/runtime.json
|
| diff --git a/chrome/common/extensions/api/runtime.json b/chrome/common/extensions/api/runtime.json
|
| index 5920cdc2cf6f2407df5a06c60ddd6006cc579723..24a554efebbd0e77061b79b22294043f0158920f 100644
|
| --- a/chrome/common/extensions/api/runtime.json
|
| +++ b/chrome/common/extensions/api/runtime.json
|
| @@ -41,7 +41,6 @@
|
| "type": "object",
|
| "optional": true,
|
| "description": "This will be defined during an API method callback if there was an error",
|
| - "unprivileged": true,
|
| "properties": {
|
| "message": {
|
| "optional": true,
|
| @@ -52,8 +51,7 @@
|
| },
|
| "id": {
|
| "type": "string",
|
| - "description": "The ID of the extension/app.",
|
| - "unprivileged": true
|
| + "description": "The ID of the extension/app."
|
| }
|
| },
|
| "functions": [
|
| @@ -84,7 +82,6 @@
|
| "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>.",
|
| "type": "function",
|
| - "unprivileged": true,
|
| "parameters": [],
|
| "returns": {
|
| "type": "object",
|
| @@ -96,7 +93,6 @@
|
| {
|
| "name": "getURL",
|
| "type": "function",
|
| - "unprivileged": true,
|
| "description": "Converts a relative path within an app/extension install directory to a fully-qualified URL.",
|
| "parameters": [
|
| {
|
| @@ -114,13 +110,11 @@
|
| "name": "reload",
|
| "description": "Reloads the app or extension.",
|
| "type": "function",
|
| - "unprivileged": true,
|
| "parameters": []
|
| },
|
| {
|
| "name": "requestUpdateCheck",
|
| "type": "function",
|
| - "unprivileged": true,
|
| "description": "Requests an update check for this app/extension.",
|
| "parameters": [
|
| {
|
| @@ -152,7 +146,6 @@
|
| {
|
| "name": "connect",
|
| "type": "function",
|
| - "unprivileged": true,
|
| "description": "Attempts to connect to other listeners within the extension/app (such as the background page), or other extensions/apps. This is useful for content scripts connecting to their extension processes. 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/app you want to connect to. If omitted, default is your own extension."},
|
| @@ -191,7 +184,6 @@
|
| "name": "sendMessage",
|
| "type": "function",
|
| "allowAmbiguousOptionalArguments": true,
|
| - "unprivileged": true,
|
| "description": "Sends a single message to onMessage event listeners within the extension (or another extension/app). Similar to chrome.runtime.connect, but only sends a single message with an optional response. The $ref:runtime.onMessage event is fired in each extension page of the 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 extension ID of the extension you want to connect to. If omitted, default is your own extension."},
|
| @@ -315,7 +307,6 @@
|
| {
|
| "name": "onConnect",
|
| "type": "function",
|
| - "unprivileged": true,
|
| "anonymous": true,
|
| "description": "Fired when a connection is made from either an extension process or a content script.",
|
| "parameters": [
|
| @@ -335,7 +326,6 @@
|
| "name": "onMessage",
|
| "type": "function",
|
| "anonymous": true,
|
| - "unprivileged": true,
|
| "description": "Fired when a message is sent from either an extension process or a content script.",
|
| "parameters": [
|
| {"name": "message", "type": "any", "description": "The message sent by the calling script."},
|
|
|