Bug 745702, fix OS deprecation when using snippets with newer attributes, r=rhelmer
git-svn-id: svn://10.0.0.236/trunk@263755 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
decb9ddc57
commit
2df124ebde
@ -198,3 +198,10 @@
|
||||
|build|channel|complete|partial|hasUpdate?|hasComplete?|hasPartial?|isValidXml?|hasBillboardURL?|isShowPrompt?|isShowNeverForVersion?|isShowSurvey?|hasActions?|hasOpenURL?|hasNotificationURL?|hasAlertURL?|
|
||||
|2000000001|channel|complete002|partial002|true|true|true|true|true|true|false|true|true|true|true|true|
|
||||
|2000000002|channel|complete002|partial002|true|true|true|true|true|false|true|true|true|true|true|true|
|
||||
|
||||
1 deprecated platform
|
||||
|aus.Verify|${host}|3|${product}|${version}|${platform}|${locale}|
|
||||
|build|channel|complete|partial|osVersion|hasUpdate?|hasComplete?|hasPartial?|isValidXml?|hasBillboardURL?|isShowPrompt?|isShowNeverForVersion?|isShowSurvey?|hasActions?|hasOpenURL?|hasNotificationURL?|hasAlertURL?|
|
||||
|2000000003|channel|complete002|partial002|Windows_NT 5.0|true|true|true|true|true|true|false|true|true|true|true|true|
|
||||
|2000000003|channel|complete002|partial002|Windows_95|false|false|false|true|false|false|false|false|false|false|false|false|
|
||||
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
version=2
|
||||
type=complete
|
||||
url=http://synthetic.1.0.platform.buildid.locale.channel/complete002
|
||||
hashFunction=SHA512
|
||||
hashValue=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
size=12345
|
||||
build=20000000001
|
||||
displayVersion=2.0
|
||||
appVersion=2.0
|
||||
platformVersion=2.0
|
||||
detailsUrl=http://detailsURL
|
||||
billboardURL=http://billboardURL
|
||||
openURL=http://openURL
|
||||
notificationURL=http://notificationURL
|
||||
alertURL=http://alertURL
|
||||
showPrompt=true
|
||||
showSurvey=true
|
||||
actions=showNotification showAlert
|
||||
@ -0,0 +1,18 @@
|
||||
version=2
|
||||
type=partial
|
||||
url=http://synthetic.1.0.platform.buildid.locale.channel/partial002
|
||||
hashFunction=SHA512
|
||||
hashValue=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
size=12345
|
||||
build=20000000001
|
||||
displayVersion=2.0
|
||||
appVersion=2.0
|
||||
platformVersion=2.0
|
||||
detailsUrl=http://detailsURL
|
||||
billboardURL=http://billboardURL
|
||||
openURL=http://openURL
|
||||
notificationURL=http://notificationURL
|
||||
alertURL=http://alertURL
|
||||
showPrompt=true
|
||||
showSurvey=true
|
||||
actions=showNotification showAlert
|
||||
@ -265,6 +265,10 @@ class Patch extends AUS_Object {
|
||||
// Store information found only in complete snippets.
|
||||
// This information is tied to the <update> element.
|
||||
if ($this->isComplete()) {
|
||||
# so that isSupported keeps working
|
||||
if (isset($this->appVersion)) {
|
||||
$this->setVar('updateExtensionVersion', $this->appVersion, true);
|
||||
}
|
||||
|
||||
if (isset($this->detailsUrl)) {
|
||||
$this->setVar('hasDetailsUrl', true, true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user