Open
Bug 1402252
Opened 8 years ago
Updated 3 years ago
[e10s] document.execCommand("copy") does not work for onchange event
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
NEW
People
(Reporter: sanat.gersappa, Unassigned)
Details
(Keywords: nightly-community)
Attachments
(1 file)
267 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20170921220243
Steps to reproduce:
Attach an event handler to the onchange event of a select. In the event handler, do a ddocument.execCommand("copy").
Actual results:
Console error - document.execCommand(‘cut’/‘copy’) was denied because it was not called from inside a short running user-generated event handler.
Expected results:
the execCommand should have executed without error just like it works for an onclick event.
Reporter | ||
Updated•8 years ago
|
Summary: document.execCommand("copy") does not work for onchange event → document.execCommand("copy") does not work for onchange event #nightly-community
Component: Untriaged → DOM: Events
Keywords: nightly-community
Product: Firefox → Core
Summary: document.execCommand("copy") does not work for onchange event #nightly-community → document.execCommand("copy") does not work for onchange event
Updated•8 years ago
|
Component: DOM: Events → Editor
Comment 1•8 years ago
|
||
Is this a regression?
Reporter | ||
Comment 2•8 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #1)
> Is this a regression?
Possible. Since it works fine in FF 55.
Comment 3•8 years ago
|
||
looks like e10s specific issue.
it works on 58 and 55 non-e10s, and doesn't work on e10s 55.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: document.execCommand("copy") does not work for onchange event → [e10s] document.execCommand("copy") does not work for onchange event
Comment 4•8 years ago
|
||
here's testcase.
changing select value triggers warning in console, only on e10s.
Updated•8 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•