Skip to content

Commit e3a1236

Browse files
committed
working on background.js
1 parent d84a449 commit e3a1236

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/extension/background.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ class HistoryNode {
6767
// marks from what branch this node is originated
6868
this.branch = tabObj.currBranch;
6969
this.stateSnapshot = obj;
70+
this.axSnapshot;
7071
this.children = [];
7172
}
7273
}
@@ -248,7 +249,9 @@ chrome.runtime.onConnect.addListener((port) => {
248249
return true;
249250

250251
case 'jumpToSnap':
252+
console.log('background.js: tabsObj before jump:', tabsObj);
251253
chrome.tabs.sendMessage(tabId, msg);
254+
console.log('background.js: tabsObj after jump:', tabsObj);
252255
return true; // attempt to fix message port closing error, consider return Promise
253256

254257
case 'toggleRecord':

0 commit comments

Comments
 (0)