2009-11-10 02:19:04 +00:00
|
|
|
Test to ensure correct behaviour of prototype caching with dictionary prototypes
|
|
|
|
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
|
|
|
|
|
|
PASS protoTest(o) is 'PASS'
|
|
|
|
PASS protoTest(o) is undefined.
|
2009-11-10 03:35:34 +00:00
|
|
|
PASS protoKeys is [1,2,3]
|
|
|
|
PASS protoKeys is [1,2,3]
|
2009-12-11 02:22:07 +00:00
|
|
|
PASS testFunction(subclass1) is true
|
|
|
|
PASS testFunction(subclass2) is true
|
|
|
|
PASS testFunction(subclass2) is true
|
2009-11-10 02:19:04 +00:00
|
|
|
PASS successfullyParsed is true
|
|
|
|
|
|
|
|
TEST COMPLETE
|
|
|
|
|