Skip to content

window.execCommand execute failed but success event be triggered!! #865

@fengqinghuaYA

Description

@fengqinghuaYA

Have you read the Contributing Guidelines on issues?

Actual Behaviour

In the function fakeCopyAction, even if the execution of window.execCommand("copy") fails, the success event will still be triggered.

Expected Behaviour

I expected that when the execution of window.execCommand("copy") fails, the error event should be triggered.

To Reproduce

Browsers Affected

I tested on all major browsers and only IE 11 does not work.

Operational System

.....

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions