mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
3a714f5e54
We need to retain a check for low Firefox versions after all to avoid spoofed version assertion failures (I added in another bug). Some add-on tests set the Firefox version to low numbers like 1 or 42, which causes the spoofed version calculation's unsigned int subtraction to wrap around zero to Firefox versions like 4294967287. This function should always return an ESR version, so return kKnownEsrVersion for those cases. Replace ESR version spoofing's hardcoded Firefox versions 68 and 78 with kKnownEsrVersion. Differential Revision: https://phabricator.services.mozilla.com/D76445 |
||
---|---|---|
.. | ||
tests | ||
KeyCodeConsensus_En_US.h | ||
moz.build | ||
nsRFPService.cpp | ||
nsRFPService.h | ||
RelativeTimeline.cpp | ||
RelativeTimeline.h | ||
RFPHelper.jsm |