Bug 1341887 - Add fuzzing.enabled to gInitPrefs in FUZZING builds. r=billm draft
authorAndrew McCreight <continuation@gmail.com>
Wed, 22 Feb 2017 14:16:30 -0800
changeset 489308 3bbdaf8d3c45de6e9da9743db8870ee58ecf5234
parent 489307 c78baeb4a36b34a6239ac5c97c92e4a6be98a385
child 489316 e794147f30a037150b529e0c532c5a801b290527
push id46800
push userbmo:continuation@gmail.com
push dateFri, 24 Feb 2017 18:35:30 +0000
reviewersbillm
bugs1341887
milestone54.0a1
Bug 1341887 - Add fuzzing.enabled to gInitPrefs in FUZZING builds. r=billm MozReview-Commit-ID: Faw7Vohw6Lm
dom/ipc/ContentPrefs.cpp
--- a/dom/ipc/ContentPrefs.cpp
+++ b/dom/ipc/ContentPrefs.cpp
@@ -63,16 +63,19 @@ const char* mozilla::dom::ContentPrefs::
   "font.size.inflation.forceEnabled",
   "font.size.inflation.lineThreshold",
   "font.size.inflation.mappingIntercept",
   "font.size.inflation.maxRatio",
   "font.size.inflation.minTwips",
   "full-screen-api.allow-trusted-requests-only",
   "full-screen-api.enabled",
   "full-screen-api.unprefix.enabled",
+#ifdef FUZZING
+  "fuzzing.enabled",
+#endif
   "gfx.font_rendering.opentype_svg.enabled",
   "hangmonitor.timeout",
   "html5.flushtimer.initialdelay",
   "html5.flushtimer.subsequentdelay",
   "html5.offmainthread",
   "intl.charset.fallback.tld",
   "intl.ime.hack.on_ime_unaware_apps.fire_key_events_for_composition",
   "javascript.enabled",