Cancel redirects for the same requestIds and urls if originating from the same tabId
Fixes #940
This commit is contained in:
+2
-2
@@ -91,11 +91,11 @@ global.buildPopupDom = async (options = {}) => {
|
||||
global.afterEach(() => {
|
||||
if (global.background) {
|
||||
global.background.dom.window.close();
|
||||
delete global.background.dom;
|
||||
delete global.background;
|
||||
}
|
||||
|
||||
if (global.popup) {
|
||||
global.popup.dom.window.close();
|
||||
delete global.popup.dom;
|
||||
delete global.popup;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user