Merge pull request #8523 from koloboid/patch-1

Change chrome.runtime.onConnectExternal type
This commit is contained in:
Masahiro Wakame
2016-03-16 00:06:24 +09:00

2
chrome/chrome.d.ts vendored
View File

@@ -5312,7 +5312,7 @@ declare module chrome.runtime {
* Fired when a connection is made from another extension.
* @since Chrome 26.
*/
var onConnectExternal: RuntimeEvent;
var onConnectExternal: ExtensionConnectEvent;
/** Sent to the event page just before it is unloaded. This gives the extension opportunity to do some clean up. Note that since the page is unloading, any asynchronous operations started while handling this event are not guaranteed to complete. If more activity for the event page occurs before it gets unloaded the onSuspendCanceled event will be sent and the page won't be unloaded. */
var onSuspend: RuntimeEvent;
/**