haikuwebkit/LayoutTests/js/static-scope-object-expecte...

12 lines
344 B
Plaintext

This test ensures that the correct "this" object is used when calling named function expressions or exceptions.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS namedFunctionExpression() is globalObject
PASS throwingFunctionAsException() is globalObject
PASS successfullyParsed is true
TEST COMPLETE