Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35061

Javascript sleep should always emit an error when interrupted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.10, 4.0.0-rc1, 4.1.1
    • Component/s: JavaScript
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6
    • Sprint:
      Platforms 2018-05-21, Platforms 2018-06-04
    • Linked BF Score:
      11

      Description

      If a Javascript operation is interrupted while sleeping, it should not be possible for the sleep to be interrupted and the script to complete without an error. Instead, the script should terminate with an error.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: