blob: ecad377dd2c3b7ce842434dab8cb631ffe67ccf7 [file] [log] [blame]
Tests wrappers for ArrayBuffer objects are not GCed when they shouldn't be
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Test subclassing
PASS foo.buffer instanceof C is true
PASS foo.buffer instanceof C is true
PASS foo.buffer instanceof C is true
PASS foo.buffer instanceof C is true
PASS foo.buffer instanceof C is true
PASS foo.buffer instanceof C is true
PASS foo.buffer instanceof C is true
PASS foo.buffer instanceof C is true
PASS foo.buffer instanceof C is true
PASS foo.buffer instanceof C is true
Test properties
PASS foo.buffer.bar is 1
PASS foo.buffer.bar is 1
PASS foo.buffer.bar is 1
PASS foo.buffer.bar is 1
PASS foo.buffer.bar is 1
PASS foo.buffer.bar is 1
PASS foo.buffer.bar is 1
PASS foo.buffer.bar is 1
PASS foo.buffer.bar is 1
PASS foo.buffer.bar is 1
Test WeakMap
PASS ws.has(foo.buffer) is true
PASS ws.has(foo.buffer) is true
PASS ws.has(foo.buffer) is true
PASS ws.has(foo.buffer) is true
PASS ws.has(foo.buffer) is true
PASS ws.has(foo.buffer) is true
PASS ws.has(foo.buffer) is true
PASS ws.has(foo.buffer) is true
PASS ws.has(foo.buffer) is true
PASS ws.has(foo.buffer) is true
PASS successfullyParsed is true
TEST COMPLETE