test262/test/language/statements
Mike Pennisi 2fe074134a Add tests for function `name` attribute
This change set includes tests for most invocations of the
SetFunctionName abstract operation in the ES2015 specification.
Practical testing considerations preclude the introduction of tests for
certain invocations:

- The project is still vetting methods to sustainably test the semantics
  of the Destructuring Binding pattern across all valid productions.
  - 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
  - 13.3.3.7 Runtime Semantics: KeyedBindingInitialization
- Without a loader, there is no way to access a function object declared
  in an ExportDeclaration, so `name` assignment cannot be tested in
  these cases
  - 14.1.19 Runtime Semantics: InstantiateFunctionObject
  - 14.4.12 Runtime Semantics: InstantiateFunctionObject
  - 14.5.15 Runtime Semantics: BindingClassDeclarationEvaluation
  - 15.2.3.11 Runtime Semantics: Evaluation
2015-07-21 20:05:34 -04:00
..
block Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
break Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
class Add tests for function `name` attribute 2015-07-21 20:05:34 -04:00
const Add tests for function `name` attribute 2015-07-21 20:05:34 -04:00
continue Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
do-while Add 'var' declarations for strict mode 2014-12-10 16:37:05 -08:00
empty Reorganize ./test 2014-12-07 15:33:09 -08:00
expression Strict eval variable declarations are lexically scoped, assign expected result value to a previously declared global (issue #35) 2015-04-08 15:54:58 -07:00
for Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
for-in Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
for-of - Remove inline license 2015-07-17 19:55:00 +02:00
function Add tests for function `name` attribute 2015-07-21 20:05:34 -04:00
generators Add tests for function `name` attribute 2015-07-21 20:05:34 -04:00
if Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
labeled Add tests for Unicode escape sequences 2015-07-09 18:52:22 -04:00
let Add tests for function `name` attribute 2015-07-21 20:05:34 -04:00
return Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
switch Reorganize ./test 2014-12-07 15:33:09 -08:00
throw Prefer explicit error checking where possible 2015-07-10 14:12:57 -04:00
try Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
variable Add tests for function `name` attribute 2015-07-21 20:05:34 -04:00
while Add 'var' declarations for strict mode 2014-12-10 16:37:05 -08:00
with Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00