45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
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
|
|
|