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

Unified Diff: chrome/common/extensions/docs/manifest.html

Issue 371030: Document restrictions on integers in the version. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « no previous file | chrome/common/extensions/docs/static/manifest.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/manifest.html
===================================================================
--- chrome/common/extensions/docs/manifest.html (revision 31304)
+++ chrome/common/extensions/docs/manifest.html (working copy)
@@ -122,6 +122,7 @@
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
<li><a href="xhr.html">Cross-Origin XHR</a></li>
+ <li><a href="messaging.html">Message Passing</a></li>
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
@@ -368,9 +369,16 @@
<p>
One to four dot-separated integers
identifying the version of this extension.
-Examples:
+A couple of rules apply to the integers:
+they must be between 0 and 65535, inclusive,
+and non-zero integers can't start with 0.
+For example, 99999 and 032 are both invalid.
</p>
+<p>
+Here are some examples of valid versions:
+</p>
+
<ul>
<li> <code>"version": "1"</code> </li>
<li> <code>"version": "1.0"</code> </li>
@@ -392,12 +400,12 @@
If those integers are equal,
the integers to the right are compared,
and so on.
-For example, 1.2.0 is a newer version than 1.1.9.99999.
+For example, 1.2.0 is a newer version than 1.1.9.9999.
</p>
<p>
A missing integer is equal to zero.
-For example, 1.1.9.99999 is newer than 1.1.
+For example, 1.1.9.9999 is newer than 1.1.
</p>
<p>
« no previous file with comments | « no previous file | chrome/common/extensions/docs/static/manifest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698