[tor-commits] [tor-browser/tor-browser-24.1.1esr-1] fixup! Build determinism fixes

mikeperry at torproject.org mikeperry at torproject.org
Mon Dec 2 09:46:34 UTC 2013


commit 1aeb666ddcb29fe80cecaa01d8239e63e4593e5f
Author: Georg Koppen <g.koppen at jondos.de>
Date:   Thu Nov 28 10:28:58 2013 +0100

    fixup! Build determinism fixes
    
    Bug 10235: fixing determinism issues when packaging (JavaScript) resources into omni.ja files; patch by Mike Hommey
---
 toolkit/mozapps/installer/precompile_cache.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolkit/mozapps/installer/precompile_cache.js b/toolkit/mozapps/installer/precompile_cache.js
index f57145b..9ac2ada 100644
--- a/toolkit/mozapps/installer/precompile_cache.js
+++ b/toolkit/mozapps/installer/precompile_cache.js
@@ -65,7 +65,7 @@ function get_modules_under(uri) {
 }
 
 function load_modules_under(spec, uri) {
-  var entries = get_modules_under(uri);
+  var entries = get_modules_under(uri).sort();
   // The precompilation of JS here sometimes reports errors, which we don't
   // really care about. But if the errors are ever reported to xpcshell's
   // error reporter, it will cause it to return an error code, which will break



More information about the tor-commits mailing list