commit 1aeb666ddcb29fe80cecaa01d8239e63e4593e5f Author: Georg Koppen g.koppen@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