ignore executeScript errors e.g. due to frame removal
This commit is contained in:
parent
a88996be6f
commit
02bd682135
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user