mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Revert logic for checking for duplicate installations of DevTools (#22638)
* Revert "Only show DevTools warning about unrecognized build in Chrome (#22571)" This reverts commitb72dc8e930. * Revert "Show warning in UI when duplicate installations of DevTools extension are detected (#22563)" This reverts commit930c9e7eeb. * Revert "Prevent errors/crashing when multiple installs of DevTools are present (#22517)" This reverts commit545d4c2de7. * Remove all references to passing extensionId in postMessage * Keep build changes * lint
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
import {CURRENT_EXTENSION_ID} from './constants';
|
||||
|
||||
let backendDisconnected: boolean = false;
|
||||
let backendInitialized: boolean = false;
|
||||
|
||||
@@ -12,7 +10,6 @@ function sayHelloToBackend() {
|
||||
{
|
||||
source: 'react-devtools-content-script',
|
||||
hello: true,
|
||||
extensionId: CURRENT_EXTENSION_ID,
|
||||
},
|
||||
'*',
|
||||
);
|
||||
@@ -23,7 +20,6 @@ function handleMessageFromDevtools(message) {
|
||||
{
|
||||
source: 'react-devtools-content-script',
|
||||
payload: message,
|
||||
extensionId: CURRENT_EXTENSION_ID,
|
||||
},
|
||||
'*',
|
||||
);
|
||||
@@ -53,7 +49,6 @@ function handleDisconnect() {
|
||||
type: 'event',
|
||||
event: 'shutdown',
|
||||
},
|
||||
extensionId: CURRENT_EXTENSION_ID,
|
||||
},
|
||||
'*',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user