Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix missing Xpcom prefixes

  • Loading branch information...
commit 694eb350eb2a3104d8517c89bf2d7800e3708165 1 parent e0e71af
Jan Odvarko authored June 08, 2012
9  extension/content/firebug/cookies/cookieModule.js
@@ -859,7 +859,7 @@ Firebug.CookieModule = Obj.extend(Firebug.ActivableModule,
859 859
     {
860 860
         try 
861 861
         {
862  
-            var fp = CCIN("@mozilla.org/filepicker;1", "nsIFilePicker");
  862
+            var fp = Xpcom.CCIN("@mozilla.org/filepicker;1", "nsIFilePicker");
863 863
             fp.init(window, null, Ci.nsIFilePicker.modeSave);
864 864
             fp.appendFilters(Ci.nsIFilePicker.filterAll | Ci.nsIFilePicker.filterText);
865 865
             fp.filterIndex = 1;
@@ -868,7 +868,7 @@ Firebug.CookieModule = Obj.extend(Firebug.ActivableModule,
868 868
             var rv = fp.show();
869 869
             if (rv == Ci.nsIFilePicker.returnOK || rv == Ci.nsIFilePicker.returnReplace)
870 870
             {
871  
-                var foStream = CCIN("@mozilla.org/network/file-output-stream;1", "nsIFileOutputStream");
  871
+                var foStream = Xpcom.CCIN("@mozilla.org/network/file-output-stream;1", "nsIFileOutputStream");
872 872
                 foStream.init(fp.file, 0x02 | 0x08 | 0x20, 0666, 0); // write, create, truncate
873 873
 
874 874
                 var e = cookieManager.enumerator;
@@ -907,7 +907,7 @@ Firebug.CookieModule = Obj.extend(Firebug.ActivableModule,
907 907
     {
908 908
         try 
909 909
         {
910  
-            var fp = CCIN("@mozilla.org/filepicker;1", "nsIFilePicker");
  910
+            var fp = Xpcom.CCIN("@mozilla.org/filepicker;1", "nsIFilePicker");
911 911
             fp.init(window, null, Ci.nsIFilePicker.modeSave);
912 912
             fp.appendFilters(Ci.nsIFilePicker.filterAll | Ci.nsIFilePicker.filterText);
913 913
             fp.filterIndex = 1;
@@ -916,7 +916,8 @@ Firebug.CookieModule = Obj.extend(Firebug.ActivableModule,
916 916
             var rv = fp.show();
917 917
             if (rv == Ci.nsIFilePicker.returnOK || rv == Ci.nsIFilePicker.returnReplace)
918 918
             {
919  
-                var foStream = CCIN("@mozilla.org/network/file-output-stream;1", "nsIFileOutputStream");
  919
+                var foStream = Xpcom.CCIN("@mozilla.org/network/file-output-stream;1",
  920
+                    "nsIFileOutputStream");
920 921
                 foStream.init(fp.file, 0x02 | 0x08 | 0x20, 0666, 0); // write, create, truncate
921 922
 
922 923
                 var panel = context.getPanel(panelName, true);

0 notes on commit 694eb35

Please sign in to comment.
Something went wrong with that request. Please try again.