Invoke runSafely for all external implscope methods

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.9, 4.0.4, 4.1.4
    • Affects Version/s: None
    • Component/s: JavaScript
    • None
    • Fully Compatible
    • v4.0, v3.6
    • Platforms 2018-09-24
    • 16
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Implscope provides a runSafely helper which wraps method calls and ensures that interruptions override other errors (amongst other features)

      We should extend that to all methods that are callable.

      _createFunction in particular is callable publically, which allows "method could not be called" to leak past interruption when parsing javascript for $where

            Assignee:
            Mira Carey
            Reporter:
            Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: