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

Unified Diff: extensions/common/api/runtime.json

Issue 800853006: Reject connection attempts without prompt if target app doesn't handle the event anyway. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: link to bug in comment Created 6 years 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.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/api/runtime.json
diff --git a/extensions/common/api/runtime.json b/extensions/common/api/runtime.json
index 009769f8fc8bebfbaf995a83f492f6b20b06b7ca..222267748ef5653261c3609ace0660bb26742702 100644
--- a/extensions/common/api/runtime.json
+++ b/extensions/common/api/runtime.json
@@ -424,9 +424,6 @@
"name": "onConnectExternal",
"type": "function",
"nocompile": true,
- "options": {
- "unmanaged": true
- },
"description": "Fired when a connection is made from another extension.",
"parameters": [
{"$ref": "Port", "name": "port"}
@@ -435,10 +432,10 @@
{
"name": "onMessage",
"type": "function",
+ "nocompile": true,
"options": {
"unmanaged": true
},
- "nocompile": true,
"description": "Fired when a message is sent from either an extension process or a content script.",
"parameters": [
{"name": "message", "type": "any", "optional": true, "description": "The message sent by the calling script."},
@@ -454,9 +451,6 @@
{
"name": "onMessageExternal",
"type": "function",
- "options": {
- "unmanaged": true
- },
"nocompile": true,
"description": "Fired when a message is sent from another extension/app. Cannot be used in a content script.",
"parameters": [
« no previous file with comments | « chrome/common/extensions/api/extension.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698