Bug 1567329 - Change some mentions of StaticPrefList.h to StaticPrefList.yaml. r=erahm

This is fall-out from bug 1564724.

Differential Revision: https://phabricator.services.mozilla.com/D38602
This commit is contained in:
Nicholas Nethercote
2019-07-22 02:09:36 +00:00
parent 429b8f37e1
commit 1895375aa5
2 changed files with 3 additions and 4 deletions

View File

@@ -31,8 +31,7 @@ const { getComputedStyle } = require("./markup");
// This canvas size value is the safest we can use because most GPUs can handle it. // This canvas size value is the safest we can use because most GPUs can handle it.
// It's also far from the maximum canvas memory allocation limit (4096x4096x4 is // It's also far from the maximum canvas memory allocation limit (4096x4096x4 is
// 67.108.864 bytes, where the limit is 500.000.000 bytes, see // 67.108.864 bytes, where the limit is 500.000.000 bytes, see
// gfx_max_alloc_size_do_not_use_directly in: // gfx_max_alloc_size in modules/libpref/init/StaticPrefList.yaml.
// modules/libpref/init/StaticPrefList.h.
// //
// Note: // Note:
// Once bug 1232491 lands, we could try to refactor this code to use the values from // Once bug 1232491 lands, we could try to refactor this code to use the values from

View File

@@ -8,7 +8,7 @@
* such as browser/app/profile/firefox.js or mobile/android/app/mobile.js. * such as browser/app/profile/firefox.js or mobile/android/app/mobile.js.
* *
* NOTE: Not all prefs should be defined in this (or any other) data file. * NOTE: Not all prefs should be defined in this (or any other) data file.
* Static prefs, especially VarCache prefs, are defined in StaticPrefList.h. * Static prefs, especially VarCache prefs, are defined in StaticPrefList.yaml.
* Those prefs should *not* appear in this file. * Those prefs should *not* appear in this file.
* *
* For the syntax used by this file, consult the comments at the top of * For the syntax used by this file, consult the comments at the top of
@@ -894,7 +894,7 @@ pref("toolkit.asyncshutdown.log", false);
pref("toolkit.content-background-hang-monitor.disabled", false); pref("toolkit.content-background-hang-monitor.disabled", false);
// Enable JS dump() function. // Enable JS dump() function.
// IMPORTANT: Keep this in condition in sync with StaticPrefList.h. The value // IMPORTANT: Keep this in condition in sync with StaticPrefList.yaml. The value
// of MOZILLA_OFFICIAL is different between full and artifact builds, so without // of MOZILLA_OFFICIAL is different between full and artifact builds, so without
// it being specified, dump is disabled in artifact builds (see Bug 1490412). // it being specified, dump is disabled in artifact builds (see Bug 1490412).
#ifdef MOZILLA_OFFICIAL #ifdef MOZILLA_OFFICIAL