[Feature request] Extend WebExtensions API to add ability to create tabs with unloaded (discarded) state


It would be nice to have an option to create discarded tabs (unloaded). Tabs should find favicon from cache if available. If not, use just default or provided favIconUrl. There should be parameters for titles, and favicons, as an array that should match the url’s array length.

In case of windows.create, first tab should be loaded, as usual.
chrome.windows.create({url: [], title: [], favIconUrl: [], discarded: true}, function(window) {});

In case of a single tab:
chrome.tabs.create({url: “your url here”, title: “your title here”, favIconUrl: “your favIcon url here” , discarded: true, active: false}, function(tab) {});

(Martin Giger) #2

This has been suggested in https://bugzilla.mozilla.org/show_bug.cgi?id=1378647


Awesome find! Thanks.