Can't create DragEvent with constructor

Issue #14156632 • Assigned to Travis L.

Details

Author
Steven A.
Created
Oct 10, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
40.15063
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

This is similar to issue #7598786. I can’t instantiate a DragEvent by calling the constructor. See console:

typeof DragEvent
“function”
new DragEvent("", null)
Function expected

Note however, that this appears to work for MouseEvent objects, like this:

new MouseEvent("", null)
[object MouseEvent]{altKey: false, AT_TARGET: 2, bubbles: false, BUBBLING_PHASE: 3, button: 0, buttons: 0, cancelable (…)]

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “travil”

      Changed Assigned To from “travil” to “Travis L.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in