Skip to content
Snippets Groups Projects
Commit e9c7608f authored by Gorkem Yakin's avatar Gorkem Yakin
Browse files

Merge pull request #517 from bocoup/typedarray-prototype

parents 5a77ac86 7445d77d
No related branches found
No related tags found
No related merge requests found
Showing
with 168 additions and 0 deletions
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.lastindexof
description: >
_TypedArray_.prototype has no own property "lastIndexOf"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("lastIndexOf"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-get-%typedarray%.prototype.length
description: >
_TypedArray_.prototype has no own property "length"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("length"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.map
description: >
_TypedArray_.prototype has no own property "map"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("map"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-get-%typedarray%.prototype.reduce
description: >
_TypedArray_.prototype has no own property "reduce"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("reduce"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.reduceright
description: >
_TypedArray_.prototype has no own property "reduceRight"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("reduceRight"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.reverse
description: >
_TypedArray_.prototype has no own property "reverse"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("reverse"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.set
description: >
_TypedArray_.prototype has no own property "set"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("set"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.slice
description: >
_TypedArray_.prototype has no own property "slice"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("slice"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.some
description: >
_TypedArray_.prototype has no own property "some"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("some"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.sort
description: >
_TypedArray_.prototype has no own property "sort"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("sort"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.subarray
description: >
_TypedArray_.prototype has no own property "subarray"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("subarray"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.tolocalestring
description: >
_TypedArray_.prototype has no own property "toLocaleString"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("toLocaleString"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.tostring
description: >
_TypedArray_.prototype has no own property "toString"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("toString"), false);
});
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-%typedarray%.prototype.values
description: >
_TypedArray_.prototype has no own property "values"
includes: [testTypedArray.js]
---*/
testWithTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("values"), false);
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment