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

Create a test which enumerates the objects available in server side JS environments

    • Fully Compatible

      We know the current list of available JS objects in the server side environment. These should change very infrequently. A JS test which called Object.getOwnPropertyNames(this) and Object.getOwnPropertySymbols(this), and asserted the list matched that known today, would ensure that new ones were not added by accident.

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: