@samitouri / QOS-React / commits / f13abbbb44

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

Szymon Chmal committed Jan 15, 2025 at 19:41 UTC f13abbbb4466572afdb3932760ae64e12354a3c3
3 files changed +6 -3
packages/react-devtools-extensions/chrome/manifest.json
+2 -1
@@ -43,7 +43,8 @@
43 "permissions": [
44 "scripting",
45 "storage",
46 - "tabs"
46 + "tabs",
47 + "clipboardWrite"
48 ],
49 "host_permissions": [
50 "<all_urls>"
packages/react-devtools-extensions/edge/manifest.json
+2 -1
@@ -43,7 +43,8 @@
43 "permissions": [
44 "scripting",
45 "storage",
46 - "tabs"
46 + "tabs",
47 + "clipboardWrite"
48 ],
49 "host_permissions": [
50 "<all_urls>"
packages/react-devtools-extensions/firefox/manifest.json
+2 -1
@@ -50,7 +50,8 @@
50 "permissions": [
51 "scripting",
52 "storage",
53 - "tabs"
53 + "tabs",
54 + "clipboardWrite"
55 ],
56 "host_permissions": [
57 "<all_urls>"