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)

57 Branch
defect

Tracking

()

People

(Reporter: sanat.gersappa, Unassigned)

Details

(Keywords: nightly-community)

Attachments

(1 file)

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.
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
Product: Firefox → Core
Summary: document.execCommand("copy") does not work for onchange event #nightly-community → document.execCommand("copy") does not work for onchange event
Component: DOM: Events → Editor
Is this a regression?
(In reply to Olli Pettay [:smaug] from comment #1) > Is this a regression? Possible. Since it works fine in FF 55.
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
Attached file testcase
here's testcase. changing select value triggers warning in console, only on e10s.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: