Index: chrome/common/extensions/api/runtime.json |
diff --git a/chrome/common/extensions/api/runtime.json b/chrome/common/extensions/api/runtime.json |
index 8c9b1dd6ef7e4fa1a89cc354b708e08635bb26fc..d2ef1deef51f9702203fbf7912bc6f002b65cb62 100644 |
--- a/chrome/common/extensions/api/runtime.json |
+++ b/chrome/common/extensions/api/runtime.json |
@@ -117,7 +117,12 @@ |
{ |
"name": "onSuspend", |
"type": "function", |
- "description": "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." |
+ "description": "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 occurs before it gets unloaded the onSuspendCanceled event will be sent and the page won't be unloaded. " |
benwells
2012/07/19 04:01:21
...more activity for the event *page* occurs...
koz (OOO until 15th September)
2012/07/19 06:52:11
Done.
|
+ }, |
+ { |
+ "name": "onSuspendCanceled", |
+ "type": "function", |
+ "description": "Sent after onSuspend() to indicate that the app won't be unloaded after all." |
} |
] |
} |