code: async function unloadFrame(tabId, frameId) {
  	if (typeof tabId !== 'number') { tabId = (await getActiveTabId()); }
  	const frames = tabs.get(tabId);
  	const frame = frames && frames.get(frameId || 0);
  	frame && (await frame).destroy();
  }
docs: Detaches all content scripts from the given context. Specifically, it performs the same steps for that context as when the extension is unloaded.
  That is, it fires the onUnload event (both on the frame reference and in the content script),
  deletes the global define and require functions and closes the loader connection.
  @param  {natural|null}     tabId    The id of the tab to run in. Default to an active tab, preferably in the current window.
  @param  {natural|null}     frameId  The id of the frame within the tab to run in. Defaults to the top level frame.