зеркало из https://github.com/mozilla/gecko-dev.git
09d19b6c47
Currently, you can create a pref that only has a user value, and then later give it a default value with a different type. The entire pref is then recorded as having this second type. This causes problems later when interpreting the user value. This patch makes SetValue() fail if it tries to set a default value whose type differs from an existing user value. It also expands an existing test to cover this case and some similar ones. MozReview-Commit-ID: 89tvISQ7RNT --HG-- extra : rebase_source : 6cf34da0ff24f5b90a88003445a4a7c88b1f3907 |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libbz2 | ||
libjar | ||
libmar | ||
libpref | ||
pdfium | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |