Exception on event listeners prevents selection

Issue #16618746 • Assigned to Travis L.

Details

Author
Kagami R.
Created
Mar 28, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
17.17128
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Go https://codepen.io/SaschaNaz/pen/KoZrdW
  2. Select text

Expected: Text selection should work as in Firefox and Chrome
Actual: It doesn’t

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

  • Hi Kagami,

    I was able to repro this in 16299.371.  I also tested this in a recent development build and the issue has been fixed.  If you have access to the recent inside Skip Ahead release, you can test again there and verify if this is no repro.

    Thank you for the submission and let me know what you find,

    Steve

  • Hi Steven!

    I found the issue with selectstart has been fixed on build 17650, but I also found that’s not all. I updated the codepen sample, would you try that again?

  • Interesting.  I ran your new repro.  The same behavior exists in our current development build and 16299.371.

    It appears that throwing an uncaught exception is causing this issue.  JavaScript is getting closer to Java’s behavior.  :->

    I verified this by adding try catch blocks around the addEventListener() call that self throws a new Error.  I have attached this updated version if you want to look at it.

    Appreciate the submission and follow-up,

    Steve

  • Microsoft Edge Team

    Changed Assigned To to “Travis L.”

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

Sign in