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

Unified Diff: chrome/common/extensions/docs/templates/articles/messaging.html

Issue 12223068: Fix some typos, broken links and other issues in extension docs (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 months 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
Index: chrome/common/extensions/docs/templates/articles/messaging.html
===================================================================
--- chrome/common/extensions/docs/templates/articles/messaging.html (revision 181647)
+++ chrome/common/extensions/docs/templates/articles/messaging.html (working copy)
@@ -154,10 +154,10 @@
<p>
You may want to find out when a connection is closed, for example if you are
maintaining separate state for each open port. For this you can listen to the
-$ref:runtime.Port
+$ref:runtime.Port.onDisconnect
event. This event is fired either when the other side of the channel manually
calls
-$ref:runtime.Port, or when the page
+$ref:runtime.Port.disconnect, or when the page
containing the port is unloaded (for example if the tab is navigated).
onDisconnect is guaranteed to be fired only once for any given port.

Powered by Google App Engine
This is Rietveld 408576698