Address review comment for Bug 680113 that I missed when checking in. r=Unfocused
authorJustin Wood <Callek@gmail.com>
Wed, 14 Sep 2011 06:33:12 -0400
changeset 78251 20d65201c7ff0850940de1b9f1bd268a32eb6438
parent 78250 0159e317b73568c1fbb9c2d85f9ec6e10365f061
child 78252 0a6d1368cd972ef89e2680cde667d4ffddb3e01a
child 78272 131496f18137900fa4531381381c2836becf3f75
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersUnfocused
bugs680113
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Address review comment for Bug 680113 that I missed when checking in. r=Unfocused
toolkit/mozapps/extensions/test/browser/browser_select_selection.js
--- a/toolkit/mozapps/extensions/test/browser/browser_select_selection.js
+++ b/toolkit/mozapps/extensions/test/browser/browser_select_selection.js
@@ -73,19 +73,19 @@ function getString(aName) {
 }
 
 function getSourceString(aSource) {
   if (!aSource)
     return "";
 
   var strings = Services.strings.createBundle("chrome://mozapps/locale/extensions/selectAddons.properties");
   switch (aSource) {
-    case AddonManager.SCOPE_APPLICATION:
+    case APP:
       return strings.GetStringFromName("source.bundled");
-    case AddonManager.SCOPE_PROFILE:
+    case PROFILE:
       return strings.GetStringFromName("source.profile");
     default:
       return strings.GetStringFromName("source.other");
   }
 }
 
 function test() {
   waitForExplicitFinish();