faameunier / tk-chrome

Tabby (aka project tabkiller) is a Chrome extension that aims at automatically deleting all your useless tabs.
https://www.tabby.us/
0 stars 0 forks source link

Error: Illegal URL: about:debugging on restore #96

Closed faameunier closed 4 years ago

faameunier commented 4 years ago

In memory.js:

      logger(this, 'Creating shell tab');
      tab = await browser.tabs.create({ url: restoredTab.full_url, active: false }).catch((error) => {
        logger('Unable to create shell tab !');
        throw error; // should this really hard crash ?
       });

It is illegal in some browser to create pages with some internal url. Example in Firefox: image

In such case the link has still disappeared from the front but nothing happens and the information is lost. Related to #95

faameunier commented 4 years ago

109 should do.

We can add forbidden elements as we discover them