blob: 434782bfe8d026b304148bf67345da33f34ff281 (
plain)
1
2
3
4
5
6
7
8
9
10
|
var BUGNUMBER = 1180290;
var summary = 'ArrayBuffer getters should have get prefix';
print(BUGNUMBER + ": " + summary);
assertEq(Object.getOwnPropertyDescriptor(ArrayBuffer, Symbol.species).get.name, "get [Symbol.species]");
assertEq(Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength").get.name, "get byteLength");
if (typeof reportCompare === 'function')
reportCompare(true, true);
|