Fix: remove unused ignoreChromeError

This commit is contained in:
eight 2018-10-14 18:39:28 +08:00
parent 2aff14e213
commit fea04d591f
2 changed files with 1 additions and 1 deletions

View File

@ -249,6 +249,7 @@ function createStyleTargetsElement({entry, style}) {
let numTargets = 0;
const displayed = new Set();
for (const type of TARGET_TYPES) {
// FIXME: what does it do?
const isExcluded = type === 'exclusions';
const sections = isExcluded ? [''] : style.sections;
if (isExcluded && !newUI.enabled && Object.keys(style.exclusions || {}).length > 0) {

View File

@ -125,7 +125,6 @@ function initPopup() {
if (pong) {
return;
}
ignoreChromeError();
// FF and some Chrome forks (e.g. CentBrowser) implement tab-on-demand
// so we'll wait a bit to handle popup being invoked right after switching
if (retryCountdown > 0 && (