Bug 1247052 - Use proper octal constant syntax in test_bug235432.js. r=rkent a=jorgk
authorISHIKAWA, Chiaki <ishikawa@yk.rim.or.jp>
Tue, 09 Feb 2016 13:04:00 +0100
changeset 26764 6853aa4334952a8107b88be1ec9c0791adf5cf27
parent 26763 626a4c5c5c88e448ad8082c2a635fe7c7be531bd
child 26765 d79fb6f7dc0f5e5d3b2aa6ec57dc006bbcbd8e7d
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrkent, jorgk
bugs1247052, 235432
Bug 1247052 - Use proper octal constant syntax in test_bug235432.js. r=rkent a=jorgk
mailnews/compose/test/unit/test_bug235432.js
--- a/mailnews/compose/test/unit/test_bug235432.js
+++ b/mailnews/compose/test/unit/test_bug235432.js
@@ -72,17 +72,17 @@ function copyFileMessageInLocalFolder(aM
 }
 
 // The attatchment file can not be obtained from js test,
 // so we have to generate the file name here.
 function createExpectedTemporaryFile() {
   function createTemporaryFile() {
     let file = Services.dirsvc.get("TmpD", Ci.nsIFile);
     file.append("nsmail.tmp");
-    file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0600);
+    file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0o600);
     return file;
   }
 
   let dummyFile = createTemporaryFile();
   do_register_cleanup(function() {
     dummyFile.remove(false);
   });