The default setting in Firefox is to only store information for a maximum of 10 closed tabs. If you want to reach the maximum of 25 tabs, which again is a limitation of the WebExtensions API, then you have to increase the value of the browser.sessionstore.max_tabs_undo preference via about:config.