asyncawait-functionality.baseline 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. Executing test #1 - Async keyword with a lambda expressions
  2. Executing test #2 - Async keyword with a lambda expressions and local variable captured and shadowed
  3. Executing test #3 - Async function in a statement
  4. Test #3 - Success function #1 called with result = '30'
  5. Test #3 - Success function #5 called with result = '30'
  6. Executing test #4 - Async function in an object
  7. Test #4 - Success function in a object #2 called with result = '12'
  8. Executing test #5 - Async classes
  9. Test #5 - Success async in a class #8 called with result = '10'
  10. Test #5 - Success async in a class #9 called with result = '10'
  11. Executing test #6 - Await in an async function
  12. Executing test #7 - Await keyword with a lambda expressions
  13. Executing test #8 - Async function with default arguments's value
  14. Executing test #9 - Promise in an Async function
  15. Executing test #10 - %AsyncFunction% constructor creates async functions analogous to Function constructor
  16. Executing test #11 - local variables with same names as formal parameters have proper redeclaration semantics (non-error cases, var and function)
  17. Executing test #12 - this value in async functions behaves like it does in normal functions
  18. Executing test #13 - arguments value in async functions behaves like it does in normal functions
  19. Executing test #14 - super value in async methods behaves like it does in normal methods
  20. Executing test #15 - Async function with formal captured in a lambda
  21. Executing test #16 - Async function with formal captured in a nested function
  22. Executing test #17 - Async function with formal captured in eval
  23. Executing test #18 - Async function with formal capturing in param scope
  24. Executing test #19 - Async function with formal capturing in param scope with eval in the body
  25. Executing test #20 - Async function with duplicate variable declaration in the body with eval
  26. Executing test #21 - Async function with duplicate variable declaration in the body with child having eval
  27. Executing test #22 - Async function with more than one await
  28. Executing test #23 - Async function with more than one await with branching
  29. Executing test #24 - Async function with an exception in an await expression
  30. Executing test #25 - Async functions throws on an await
  31. Executing test #26 - Awaiting a function with multiple awaits
  32. Executing test #27 - Async function with nested try-catch in the body
  33. Executing test #28 - Async function with try-catch and try-finally in the body
  34. Executing test #29 - Async function and with
  35. Executing test #30 - Async and arguments.callee
  36. Executing test #31 - Async and arguments.caller
  37. Executing test #32 - Async and split scope
  38. Test #32 - Success initial value of the formal is the same as the default param value
  39. Test #32 - Success initial value of the body symbol is the same as the default param value
  40. Completion Results:
  41. Test #1 - Success lambda expression with no argument called with result = 'true'
  42. Test #1 - Success lambda expression with several arguments called with result = '60'
  43. Test #2 - Success lambda expression with single argument and no paren called with result = '12'
  44. Test #2 - Success lambda expression with a single argument a called with result = '12'
  45. Test #3 - Success function #2 called with result = '30'
  46. Test #3 - Success function #3 called with result = '-10'
  47. Test #3 - Success function #4 called with result = '12'
  48. Test #4 - Success function in a object #1 called with result = '12'
  49. Test #4 - Success function in a object #3 called with result = '12'
  50. Test #4 - Success function in a object #4 called with result = '12'
  51. Test #4 - Success function in a object #5 called with result = '12'
  52. Test #4 - Success function in a object #6 called with result = '12'
  53. Test #5 - Success async in a class #1 called with result = '10'
  54. Test #5 - Success async in a class #2 called with result = '10'
  55. Test #5 - Success async in a class #3 called with result = '12'
  56. Test #5 - Success async in a class #4 called with result = '12'
  57. Test #5 - Success async in a class #5 called with result = '12'
  58. Test #5 - Success async in a class #6 called with result = '12'
  59. Test #5 - Success async in a class #7 called with result = '10'
  60. Test #5 - Success async in a class #10 called with result = '10'
  61. Test #8 - Success async function with default arguments's value overwritten #1 called with result = 'true'
  62. Test #8 - Success async function with default arguments's value #3 called with result = 'true'
  63. Test #11 - Success inner var x overwrote formal parameter x only after the declaration statement
  64. Test #11 - Success inner function x() overwrote formal parameter x
  65. Test #12 - Success this value set to 5
  66. Test #12 - Success this value set to { af: af, b: "abc" }
  67. Test #13 - Success result is 'ab' from arguments 'a' + 'b'
  68. Test #14 - Success result is 'base derived' from derived method call
  69. Test #15 - Success lambda returns 1 when no arguments passed
  70. Test #16 - Success nested function returns 1 when no arguments passed
  71. Test #17 - Success eval returns 1 when no arguments passed
  72. Test #18 - Success inner function declaration captures the body variable
  73. Test #18 - Success function defined in the param scope captures the param scope variable
  74. Test #19 - Success inner function declaration captures the body variable with eval in the body
  75. Test #19 - Success function defined in the param scope captures the param scope variable with eval in the body
  76. Test #20 - Success inner variable declaration shadows the formal
  77. Test #21 - Success inner variable declaration shadows the formal with eval in child function
  78. Test #27 - Success Caught the expected exception inside the inner catch in async body
  79. Test #27 - Success Caught the expected exception inside catch in async body
  80. Test #28 - Success Caught the expected exception inside the inner catch in async body
  81. Test #28 - Success finally block is executed in async body
  82. Test #30 - Success async function and arguments.callee
  83. Test #33 - Success updated value of the formal is the same as the value returned from the second async function
  84. Test #33 - Success updated value of the body symbol is the same as the value returned from the second async function
  85. Test #6 - Success await in an async function #1 called with result = '-4'
  86. Test #6 - Success await in an async function #2 called with result = '2'
  87. Test #6 - Success await in an async function catch a rejected Promise in 'err'. Error = 'Error: My Error'
  88. Test #6 - Success await in an async function catch an error in 'err'. Error = '32'
  89. Test #7 - Success await keyword with a lambda expressions #1 called with result = '125'
  90. Test #7 - Success await keyword with a lambda expressions #1 called with result = '60'
  91. Test #9 - Success resolved promise in an async function #2 called with result = 'resolved'
  92. Test #10 - Success %AsyncFunction% created async function #1 called with result = '0'
  93. Test #23 - Success functions completes the first await call
  94. Test #23 - Success functions completes the second await call
  95. Test #24 - Success caught the expected exception
  96. Test #25 - Success caught the expected exception
  97. Test #31 - Success async function returned through caller property is the same as the original async function
  98. Test #33 - Success value returned through await is assigned to the formal
  99. Test #33 - Success value returned through await is not assigned to the formal
  100. Test #8 - Success async function with default arguments's value has been rejected as expected by 'err' #2 called with err = 'expected error'
  101. Test #9 - Success resolved promise in an async function #1 called with result = 'resolved'
  102. Test #9 - Success promise in an async function has been rejected as expected by 'err' #3 called with err = 'rejected'
  103. Test #22 - Success functions completes both await calls
  104. Test #29 - Success functions call inside with returns the right this object
  105. Test #31 - Success async function returned through caller property behaves the same way as the original async function
  106. Test #10 - Success %AsyncFunction% created async function #2 called with result = '6'
  107. Test #26 - Success Multiple awaits in the inner function completed