Wrong "SCRIPT5022" error in developer tools for exception handled in Promise chain

Duplicate Issue #7113414 • See Issue #7112681

Details

Created
Apr 5, 2016
Privacy
This issue is public.
Duplicates
See progress on Bug #7112681
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Run this Promise chain with ms edge^
    Promise.resolve()
    .then(() => {
    throw new Error(“test exception”);
    })
    .catch(ex => console.log(“exception handled”))
    .then(() => console.log(“next job”));
  2. Ms edge developer tools will show “SCRIPT5022: test exception”
    It`s wrong behavior of developer tools due to the fact that “test exception” is handled in catch callback.
    Developer tools of another browsers does not show error for this code.
    Sample html attached

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Leo L.”

      Changed Status to “Duplicate”

    • Hello,

      This item appears to be a duplicate of an existing item of feedback and will be closed out to reflect this. Please follow the existing item here for updates on this issue:

      https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7112681/

      All the best,
      The MS Edge Team

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

    Sign in