File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ chrome.runtime.onConnect.addListener(port => {
68
68
if ( Object . keys ( tabsObj ) . length > 0 ) {
69
69
port . postMessage ( {
70
70
action : 'initialConnectSnapshots' ,
71
- payload : { ... tabsObj , msg : 'connection to devgools made' } ,
71
+ payload : tabsObj ,
72
72
} ) ;
73
73
}
74
74
@@ -164,7 +164,7 @@ chrome.runtime.onMessage.addListener((request, sender) => {
164
164
// send a message to devtools
165
165
portsArr . forEach ( bg => bg . postMessage ( {
166
166
action : 'initialConnectSnapshots' ,
167
- payload : { ... tabsObj , msg : 'reload' } ,
167
+ payload : tabsObj ,
168
168
} ) ) ;
169
169
}
170
170
@@ -186,7 +186,7 @@ chrome.runtime.onMessage.addListener((request, sender) => {
186
186
if ( portsArr . length > 0 ) {
187
187
portsArr . forEach ( bg => bg . postMessage ( {
188
188
action : 'initialConnectSnapshots' ,
189
- payload : { ... tabsObj , msg : 'firstsnapshotreceived' } ,
189
+ payload : tabsObj ,
190
190
} ) ) ;
191
191
}
192
192
break ;
You can’t perform that action at this time.
0 commit comments