ignore executeScript errors e.g. due to frame removal

This commit is contained in:
tophf 2021-01-19 09:36:53 +03:00
parent a88996be6f
commit 02bd682135

View File

@ -1,5 +1,5 @@
/* global API */// msg.js
/* global CHROME */// toolbox.js
/* global CHROME ignoreChromeError */// toolbox.js
/* global prefs */
'use strict';
@ -72,7 +72,7 @@
frameId: req.frameId,
runAt: 'document_start',
code: `(${injectedCode})(${data.str})`,
});
}, ignoreChromeError);
if (!state.xhr) cleanUp(req);
}
}