@@ -207,8 +207,6 @@ chrome.runtime.onConnect.addListener((port) => {
207207 // ---------------------------------------------------------------
208208 const { action, payload, tabId } = msg ;
209209
210- console . log ( 'background.js: port listener' ) ;
211-
212210 switch ( action ) {
213211 // import action comes through when the user uses the "upload" button on the front end to import an existing snapshot tree
214212 case 'import' : // create a snapshot property on tabId and set equal to tabs object
@@ -250,8 +248,6 @@ chrome.runtime.onConnect.addListener((port) => {
250248 return true ;
251249
252250 case 'jumpToSnap' :
253- // chrome.debugger.detach({ tabId: tabId });
254- // console.log('background.js: jumpToSnap:', getAccessibilityTree(tabId));
255251 chrome . tabs . sendMessage ( tabId , msg ) ;
256252 return true ; // attempt to fix message port closing error, consider return Promise
257253
@@ -303,10 +299,8 @@ chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
303299 if ( isReactTimeTravel && ! ( tabId in tabsObj ) ) {
304300 tabsObj [ tabId ] = createTabObj ( tabTitle ) ;
305301 }
306- console . log ( 'background.js: chrome.runtime event listener action:' , action ) ;
307302 switch ( action ) {
308303 case 'recordAXSnap' : {
309- console . log ( 'background.js reached action case' ) ;
310304 chrome . debugger . attach ( { tabId : tabId } , '1.3' , ( ) => {
311305 chrome . debugger . sendCommand ( { tabId : tabId } , 'Accessibility.enable' , ( ) => {
312306 chrome . debugger . sendCommand (
0 commit comments