Commit b756e310 authored by Devlin Cronin's avatar Devlin Cronin Committed by Commit Bot

[Extensions] Make runtime.onMessageExternal unmanaged

All messaging events (runtime.onMessage, runtime.onMessageExternal,
extension.onRequest, extension.onRequestExternal) are handled directly
by custom messaging bindings, rather than by the EventRouter. However,
runtime.onMessageExternal wasn't marked as unmanaged in the schema. Fix
this.

Bug: None
Change-Id: I438b273c4046f91367fd44e9fcfd8a537ae7f13e
Reviewed-on: https://chromium-review.googlesource.com/786899Reviewed-by: default avatarIstiaque Ahmed <lazyboy@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#519866}
parent a6c2ffd7
...@@ -541,6 +541,7 @@ ...@@ -541,6 +541,7 @@
"name": "onMessageExternal", "name": "onMessageExternal",
"type": "function", "type": "function",
"nocompile": true, "nocompile": true,
"options": { "unmanaged": true },
"description": "Fired when a message is sent from another extension/app (by $(ref:runtime.sendMessage)). Cannot be used in a content script.", "description": "Fired when a message is sent from another extension/app (by $(ref:runtime.sendMessage)). Cannot be used in a content script.",
"parameters": [ "parameters": [
{"name": "message", "type": "any", "optional": true, "description": "The message sent by the calling script."}, {"name": "message", "type": "any", "optional": true, "description": "The message sent by the calling script."},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment