-
Notifications
You must be signed in to change notification settings - Fork 47.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DevTools] RFC: Prevent errors/crashing when multiple installations o…
…f DevTools
- Loading branch information
Juan Tejada
committed
Oct 8, 2021
1 parent
5fa4d79
commit fec96f8
Showing
4 changed files
with
459 additions
and
353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
* @flow strict-local | ||
*/ | ||
|
||
declare var chrome: any; | ||
|
||
export const CHROME_WEBSTORE_EXTENSION_ID = 'fmkadmapgofadopljbjfkapdkoienihi'; | ||
export const CURRENT_EXTENSION_ID = chrome.runtime.id; | ||
export const IS_CHROME_WEBSTORE_EXTENSION = | ||
CURRENT_EXTENSION_ID === CHROME_WEBSTORE_EXTENSION_ID; | ||
export const EXTENSION_INSTALL_CHECK_MESSAGE = 'extension-install-check'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.