Bug 1284564 - correct update behavior section of system add-on spec r?Osmose draft
authorRobert Helmer <rhelmer@mozilla.com>
Tue, 05 Jul 2016 09:59:22 -0700
changeset 384140 e1568d7be3c10effe3336bd8fb28d40173afb13a
parent 384139 3f7577ec0b2c407e6be478ee21a727b06cad468e
child 524618 cd13965b0527805ffaa5c8396c071c84f8090967
push id22177
push userrhelmer@mozilla.com
push dateTue, 05 Jul 2016 16:59:39 +0000
reviewersOsmose
bugs1284564
milestone50.0a1
Bug 1284564 - correct update behavior section of system add-on spec r?Osmose MozReview-Commit-ID: JtncY5gvcN7
toolkit/mozapps/extensions/docs/SystemAddons.rst
--- a/toolkit/mozapps/extensions/docs/SystemAddons.rst
+++ b/toolkit/mozapps/extensions/docs/SystemAddons.rst
@@ -82,21 +82,21 @@ AUS should respond with an XML document 
 ``version``
   Version number of the add-on
 
 Update Behavior
 ---------------
 After receiving the update response, Firefox modifies the **update** add-ons
 according to the following algorithm:
 
-1. If the ``<addons>`` tag is missing in the response,
+1. If the ``<addons>`` tag is empty (``<addons></addons>``) in the response,
    **disable all system add-ons**, including both the **update** and **default**
    sets.
-2. If no add-ons were specified in the response (i.e. the ``<addons>`` tag has
-   no children but is present), do nothing and finish.
+2. If no add-ons were specified in the response (i.e. the ``<addons>`` tag
+   is not present), do nothing and finish.
 3. If the **update** add-on set is equal to the set of add-ons specified in the
    update response, do nothing and finish.
 4. If the set of **default** add-ons is equal to the set of add-ons specified in
    the update response, remove all the  **update** add-ons and finish.
 5. Download each add-on specified in the update response and store them in the
    "downloaded add-on set". A failed download **must** abort the entire system
    add-on update.
 6. Validate the downloaded add-ons. The following **must** be true for all