fix integer overflow warnings when '--safe_firefox_profile' is passed to emrun (#6953)

This commit is contained in:
hujiajie 2018-08-07 01:09:40 +08:00 коммит произвёл Alon Zakai
Родитель 34066d7b30
Коммит ecea5aaf2b
1 изменённых файлов: 12 добавлений и 12 удалений

Просмотреть файл

@ -257,18 +257,18 @@ user_pref("browser.tabs.warnOnClose", false);
user_pref("dom.allow_scripts_to_close_windows", true);
// Set various update timers to a large value in the future in order to not
// trigger a large mass of update HTTP traffic on each Firefox run on the clean profile.
// "01/01/2100" is 4102437600 as seconds since Unix epoch.
user_pref("app.update.lastUpdateTime.addon-background-update-timer", 4102437600);
user_pref("app.update.lastUpdateTime.background-update-timer", 4102437600);
user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 4102437600);
user_pref("app.update.lastUpdateTime.browser-cleanup-thumbnails", 4102437600);
user_pref("app.update.lastUpdateTime.experiments-update-timer", 4102437600);
user_pref("app.update.lastUpdateTime.search-engine-update-timer", 4102437600);
user_pref("app.update.lastUpdateTime.xpi-signature-verification", 4102437600);
user_pref("extensions.getAddons.cache.lastUpdate", 4102437600);
user_pref("media.gmp-eme-adobe.lastUpdate", 4102437600);
user_pref("media.gmp-gmpopenh264.lastUpdate", 4102437600);
user_pref("datareporting.healthreport.nextDataSubmissionTime", 4102437600439);
// 2147483647 seconds since Unix epoch is sometime in the year 2038, and this is the max integer accepted by Firefox.
user_pref("app.update.lastUpdateTime.addon-background-update-timer", 2147483647);
user_pref("app.update.lastUpdateTime.background-update-timer", 2147483647);
user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 2147483647);
user_pref("app.update.lastUpdateTime.browser-cleanup-thumbnails", 2147483647);
user_pref("app.update.lastUpdateTime.experiments-update-timer", 2147483647);
user_pref("app.update.lastUpdateTime.search-engine-update-timer", 2147483647);
user_pref("app.update.lastUpdateTime.xpi-signature-verification", 2147483647);
user_pref("extensions.getAddons.cache.lastUpdate", 2147483647);
user_pref("media.gmp-eme-adobe.lastUpdate", 2147483647);
user_pref("media.gmp-gmpopenh264.lastUpdate", 2147483647);
user_pref("datareporting.healthreport.nextDataSubmissionTime", "2147483647000");
// Detect directly when executing if asm.js does not validate by throwing an error.
user_pref("javascript.options.throw_on_asmjs_validation_failure", true);
// Sending Firefox Health Report Telemetry data is not desirable, since these are automated runs.