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

    XMLWordPrintable

Details

    • Fully Compatible

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: