Closed Bug 1275595 Opened 4 years ago Closed 3 years ago

document.execCommand('cut'/'copy') was denied because it was not called from inside a short running user-generated event handler.

Categories

(bugzilla.mozilla.org :: User Interface, defect)

Production
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Unassigned)

Details

Attachments

(1 file)

javascript error when you load a bug-modal page:

document.execCommand('cut'/'copy') was denied because it was not called from inside a short running user-generated event handler.

this used to work :(
Attached patch 1275595_1.patchSplinter Review
Assignee: nobody → dylan
Attachment #8771228 - Flags: review?(dkl)
Comment on attachment 8771228 [details] [diff] [review]
1275595_1.patch

Review of attachment 8771228 [details] [diff] [review]:
-----------------------------------------------------------------

r=dkl
Attachment #8771228 - Flags: review?(dkl) → review+
To git@github.com:mozilla-bteam/bmo.git
   771a917..3105082  master -> master
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Assignee: dylan → nobody
Component: User Interface: Modal → User Interface
You need to log in before you can comment on or make changes to this bug.