Skip to content

Commit 3aec2aa

Browse files
author
Juan Tejada
committed
Remove all references to passing extensionId in postMessage
1 parent 93e3b5d commit 3aec2aa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/react-devtools-extensions/src/contentScript.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
'use strict';
44

5-
import {CURRENT_EXTENSION_ID} from './constants';
6-
75
let backendDisconnected: boolean = false;
86
let backendInitialized: boolean = false;
97

@@ -12,7 +10,6 @@ function sayHelloToBackend() {
1210
{
1311
source: 'react-devtools-content-script',
1412
hello: true,
15-
extensionId: CURRENT_EXTENSION_ID,
1613
},
1714
'*',
1815
);
@@ -23,7 +20,6 @@ function handleMessageFromDevtools(message) {
2320
{
2421
source: 'react-devtools-content-script',
2522
payload: message,
26-
extensionId: CURRENT_EXTENSION_ID,
2723
},
2824
'*',
2925
);
@@ -53,7 +49,6 @@ function handleDisconnect() {
5349
type: 'event',
5450
event: 'shutdown',
5551
},
56-
extensionId: CURRENT_EXTENSION_ID,
5752
},
5853
'*',
5954
);

0 commit comments

Comments
 (0)