Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Properties

这篇翻译不完整。请帮忙从英语翻译这篇文章

 

Properties

archive
Full local path of the archive after it is downloaded to the platform specific temp folder. (e.g. C:\TEMP\argstest.xpi)
arguments
args can be passed in through the triggering APIs by attaching a ? and then the rg string to the xpi URL: (e.g. startSoftwareUpdate("https://webserver/argstest.xpi?ARGUMENT_STRING") will result in the value of Install.arguments being ARGUMENT_STRING #). Note that spaces in the arg string are legal. Everything after the question mark is treated as one string which becomes the Install.arguments property.
buildID
The application build ID in the form 20041231. Note that due to branching (different versions of Gecko with different feature sets might be built on the same day), using this property to "detect" the application version may produce false results. Additionally, the build ID can be 0 for custom builds.
jarfile
Alias for archive
platform
Contains information about the platform XPInstall was compiled for/runs on. For example, the value could begin with "Windows", "Macintosh" or "X11" (for Unix/Linux). For more details, see the corresponding code living in the GetInstallPlatform method of class nsInstall.
url
The fully qualified URL of the xpi (file URL, http URL, ftp URL, etc.) (e.g. https://dolfin/sgehani/zzz/ip.xpi). Note, even if triggered using relative URLs this will show the full URL (after qualification).

文档标签和贡献者

 此页面的贡献者: teoli, ziyunfei, Duwei
 最后编辑者: teoli,