diff --git a/mozilla/webtools/aus/tests/Verify.txt b/mozilla/webtools/aus/tests/Verify.txt index cb6c798e062..a102521fbd0 100644 --- a/mozilla/webtools/aus/tests/Verify.txt +++ b/mozilla/webtools/aus/tests/Verify.txt @@ -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| + diff --git a/mozilla/webtools/aus/tests/data/3/Synthetic/1.0/platform/2000000003/locale/channel/complete.txt b/mozilla/webtools/aus/tests/data/3/Synthetic/1.0/platform/2000000003/locale/channel/complete.txt new file mode 100644 index 00000000000..968653ea70a --- /dev/null +++ b/mozilla/webtools/aus/tests/data/3/Synthetic/1.0/platform/2000000003/locale/channel/complete.txt @@ -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 diff --git a/mozilla/webtools/aus/tests/data/3/Synthetic/1.0/platform/2000000003/locale/channel/partial.txt b/mozilla/webtools/aus/tests/data/3/Synthetic/1.0/platform/2000000003/locale/channel/partial.txt new file mode 100644 index 00000000000..3711b1cce60 --- /dev/null +++ b/mozilla/webtools/aus/tests/data/3/Synthetic/1.0/platform/2000000003/locale/channel/partial.txt @@ -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 diff --git a/mozilla/webtools/aus/xml/inc/patch.class.php b/mozilla/webtools/aus/xml/inc/patch.class.php index 1a4f999433b..a3fef0684e1 100644 --- a/mozilla/webtools/aus/xml/inc/patch.class.php +++ b/mozilla/webtools/aus/xml/inc/patch.class.php @@ -265,6 +265,10 @@ class Patch extends AUS_Object { // Store information found only in complete snippets. // This information is tied to the 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);