Software Update:updates.xml Format: Difference between revisions

Line 45: Line 45:
</table>
</table>


The schemes for the URL strings specified by the <code>licenseURL</code> and <code>detailsURL</code> attributes must be <code>http</code> or <code>https</code>.  For security concerns, the web pages pointed to by the <code>licenseURL</code> and <code>detailsURL</code> attributes will be unable to execute JS, prompt for auth, execute plugins, or have subframes.  (Meta redirects and images are allowed.)
'''Important Note:''' The schemes for the URL strings specified by the <code>licenseURL</code> and <code>detailsURL</code> attributes must be <code>http</code> or <code>https</code>.  For security concerns, the web pages pointed to by the <code>licenseURL</code> and <code>detailsURL</code> attributes will be unable to execute Javascript, prompt for auth, execute plugins, or have subframes.  (Meta redirects and images are allowed.) Additionally, any links in the page should have target=_blank, so that they will be parented in a new browser window, and not in XUL browser with in the software update UI.


If specified, the <code>licenseURL</code> must successfully load "in line" before the user can agree to it.  The user must agree to it in order to proceed with the upgrade.  (If the <code>licenseURL</code> fails to load, the user will be unable to agree to it, and therefore unable to upgrade.)  '''Note:''' if the <code>licenseURL</code> attribute does not change between major releases, the user will end up agreeing to the same license twice.  [https://bugzilla.mozilla.org/show_bug.cgi?id=348389#c44  See bug #348389 for details.]
If specified, the <code>licenseURL</code> must successfully load "in line" before the user can agree to it.  The user must agree to it in order to proceed with the upgrade.  (If the <code>licenseURL</code> fails to load, the user will be unable to agree to it, and therefore unable to upgrade.)  '''Note:''' if the <code>licenseURL</code> attribute does not change between major releases, the user will end up agreeing to the same license twice.  [https://bugzilla.mozilla.org/show_bug.cgi?id=348389#c44  See bug #348389 for details.]
234

edits