Skip to content
Snippets Groups Projects
  1. Nov 10, 2018
  2. Oct 26, 2017
  3. Apr 28, 2016
    • Mike Pennisi's avatar
      Add equivalent tests for fn param-body boundary · 74d0c1d1
      Mike Pennisi authored
      These tests are based on the files introduced in the commit titled, "Add
      tests for Lexical Environment management."
      74d0c1d1
    • Mike Pennisi's avatar
      Add tests for Lexical Environment management · 3b3bd068
      Mike Pennisi authored
      Add tests that assert the management of the running execution context's
      LexicalEnvironment and VariableEnvironment components, as created by the
      following abstract operations:
      
      - NewDeclarativeEnvironment
      - NewObjectEnvironment
      - NewFunctionEnvironment
      
      Many tests require the use of non-strict direct eval, meaning they may
      not be run in strict mode. This does not effect coverage because the
      semantics in these cases are not observable from strict mode code.
      
      Some situations require the creation of a binding, but this binding has
      no relevance to the test itself. In these cases, use names consisting
      solely of the underscore character (`_`).
      
      Avoid the use of Block statements wherever possible, as these trigger
      the creation of additional environments which may interfere with the
      behavior under test.
      3b3bd068
Loading