You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ErrorBoundary clipboard write has no permission check or fallback #153
The "Copy Diagnostics" button calls navigator.clipboard.writeText() without checking if the Clipboard API is available or if the user has granted permission. In restricted contexts (iframes, older browsers), this throws an error.
When the clipboard API is unavailable, the copy button fails silently or throws, leaving users unable to share error diagnostics with support. A fallback using document.execCommand('copy') or a textarea would be more robust.
Activity