Skip to content

Commit f13abbb

Browse files
authored
Fix copy functionality in Firefox (#32077)
## Summary This pull request addresses an issue where the copy functionality was not working in Firefox. The root cause was the absence of the 'clipboardWrite' permission in the manifest. To ensure consistency across all supported browsers, the 'clipboardWrite' permission has been added to the manifests for Chrome, Edge, and Firefox extensions. Closes #31422 ## How did you test this change? I ran the modified extension in all browsers (MacOS) and verified that the copy functionality works in each. https://github.com/user-attachments/assets/a41ff14b-3d65-409c-ac7f-1ccd72fa944a
1 parent 43d18bc commit f13abbb

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

packages/react-devtools-extensions/chrome/manifest.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
"permissions": [
4444
"scripting",
4545
"storage",
46-
"tabs"
46+
"tabs",
47+
"clipboardWrite"
4748
],
4849
"host_permissions": [
4950
"<all_urls>"

packages/react-devtools-extensions/edge/manifest.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
"permissions": [
4444
"scripting",
4545
"storage",
46-
"tabs"
46+
"tabs",
47+
"clipboardWrite"
4748
],
4849
"host_permissions": [
4950
"<all_urls>"

packages/react-devtools-extensions/firefox/manifest.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
"permissions": [
5151
"scripting",
5252
"storage",
53-
"tabs"
53+
"tabs",
54+
"clipboardWrite"
5455
],
5556
"host_permissions": [
5657
"<all_urls>"

0 commit comments

Comments
 (0)