Passthroughs must only evaluate in strict mode

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Server Serverless 2023-07-10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the process of migrating some override methods to modules, I discovered that a number of passthroughs are passing eval as a variable to the global test runner scope instead of evaluating the script in the context of the global scope. For example:

      This is because strict mode is automatically enabled when async/await or modules are used in a script. These additional rules must be obeyed, and should be fixed in this ticket:

      • can't assign to an unknown value (must define it using var or member assignment to globalThis)

            Assignee:
            Matt Broadstone
            Reporter:
            Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: