Estoy creando extensiones de Chrome usando javascript. Tengo algunos problemas con addEventListeners. Por favor revise el siguiente código
var SpellCheck = document.getElementById('spellCheck') SpellCheck.addEventListener('click', async () => { let [tab] = await chrome.tabs.query({ active: true, currentWindow: true }); var w = 600; var h = 550; var left = (screen.width / 2) - (w / 2); var top = (screen.height / 2) - (h / 2); chrome.windows.create({ 'url': 'onboarding.html', 'type': 'popup', 'width': w, 'height': h, 'left': left, 'top': top }, function (window) { }); }); pero recibí el siguiente error, ayúdame a solucionar este problema. 