Bug 707786 - Use Services.prefs instead of preferences-service / gPrefService in SeaMonkey. (part3)
authorEdmund Wong <ewong@pw-wspx.org>
Tue, 20 Mar 2012 07:28:00 -0400
changeset 11324 b26e8f8161e27ec3c7726e39e739dbfb4980ec0a
parent 11323 f7430f8d47df75d8aec53b5e541f8c88e287e7ac
child 11325 9c608274d11632c3979e3e6e4bdbad07460b0515
push idunknown
push userunknown
push dateunknown
bugs707786
Bug 707786 - Use Services.prefs instead of preferences-service / gPrefService in SeaMonkey. (part3) Bug 707786 - Use Services.prefs instead of preferences-service / gPrefService in SeaMonkey. (part3) r=Neil a=Callek
suite/common/downloads/tests/chrome/test_ui_stays_open_on_alert_clickback.xul
--- a/suite/common/downloads/tests/chrome/test_ui_stays_open_on_alert_clickback.xul
+++ b/suite/common/downloads/tests/chrome/test_ui_stays_open_on_alert_clickback.xul
@@ -49,16 +49,17 @@
 
   <script type="application/javascript"
           src="chrome://mochikit/content/MochiKit/packed.js"/>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <script type="application/javascript">
   <![CDATA[
+Components.utils.import("resource://gre/modules/Services.jsm");
 
 function test()
 {
   var dm = Components.classes["@mozilla.org/download-manager;1"]
                      .getService(Components.interfaces.nsIDownloadManager);
 
   // Empty any old downloads
   dm.DBConnection.executeSimpleSQL("DELETE FROM moz_downloads");