In some cases, MediaWikiModuleStore can be quite large (over 1 MB). This can lead to local storage becoming full and causing random problems like T66716. According to https://support.mozilla.org/en-US/questions/963825 Firefox shares local storage space across all hosts on a single domain name, so this may be especially problematic for Firefox.
In theory, this shouldn't be an issue since people should always have some sort of fall-back behavior if there are problems with local storage, but in the interests of defensive programming, perhaps we should put a cap on the maximum size of MediaWikiModuleStore.
See Also:
- T66716: DismissableSiteNotice: Notice should still be hidden on the current page even if saving cookie fails (bug 64716)
- T67566: Pre and post-edit anonymous editor acquisition tours are displaying multiple times (bug 65566)
Upstream;