MouseEvent isTrusted property is set to true for programmatic event invocations; should be false

Fixed Issue #7290411

Details

Author
Jesse B.
Created
Apr 21, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Standard affected
W3C DOM4

Found in build #
13
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Select an element on the page in console
  2. $0.addEventListener('click’, function(event) {console.log(event.isTrusted);});
  3. $0.click();
  4. Note that the value returned is true. Firefox and Chrome both return false in this scenario. Only user-initiated clicks should be marked as trusted. A click invoked through script should not be marked as trusted.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Ibrahim O.”

      Changed Assigned To to “Travis L.”

      Changed Title from “MouseEvent isTrusted property is set to true for programmatic event invocations; should be false” to “MouseEvent isTrusted property is set to true for programmatic event invocations; should be false”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed” to “Fixed”

    • Thank you!

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

    Sign in