@@ -207,8 +207,6 @@ chrome.runtime.onConnect.addListener((port) => {
207
207
// ---------------------------------------------------------------
208
208
const { action, payload, tabId } = msg ;
209
209
210
- console . log ( 'background.js: port listener' ) ;
211
-
212
210
switch ( action ) {
213
211
// import action comes through when the user uses the "upload" button on the front end to import an existing snapshot tree
214
212
case 'import' : // create a snapshot property on tabId and set equal to tabs object
@@ -250,8 +248,6 @@ chrome.runtime.onConnect.addListener((port) => {
250
248
return true ;
251
249
252
250
case 'jumpToSnap' :
253
- // chrome.debugger.detach({ tabId: tabId });
254
- // console.log('background.js: jumpToSnap:', getAccessibilityTree(tabId));
255
251
chrome . tabs . sendMessage ( tabId , msg ) ;
256
252
return true ; // attempt to fix message port closing error, consider return Promise
257
253
@@ -303,10 +299,8 @@ chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
303
299
if ( isReactTimeTravel && ! ( tabId in tabsObj ) ) {
304
300
tabsObj [ tabId ] = createTabObj ( tabTitle ) ;
305
301
}
306
- console . log ( 'background.js: chrome.runtime event listener action:' , action ) ;
307
302
switch ( action ) {
308
303
case 'recordAXSnap' : {
309
- console . log ( 'background.js reached action case' ) ;
310
304
chrome . debugger . attach ( { tabId : tabId } , '1.3' , ( ) => {
311
305
chrome . debugger . sendCommand ( { tabId : tabId } , 'Accessibility.enable' , ( ) => {
312
306
chrome . debugger . sendCommand (
0 commit comments