Remove shared-nonint-views.js files (#2314)

Ref #2103
This commit is contained in:
Leo Balter 2019-08-28 16:23:07 -03:00 committed by GitHub
parent e48bf299a6
commit 1c2bd105fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 0 additions and 190 deletions

View File

@ -1,18 +0,0 @@
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.add
description: >
Test Atomics.add on shared non-integer TypedArrays
includes: [testTypedArray.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/
const buffer = new SharedArrayBuffer(1024);
testWithTypedArrayConstructors(function(TA) {
assert.throws(TypeError, function() {
Atomics.add(new TA(buffer), 0, 0);
}, '`Atomics.add(new TA(buffer), 0, 0)` throws TypeError');
}, floatArrayConstructors);

View File

@ -1,18 +0,0 @@
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.and
description: >
Test Atomics.and on shared non-integer TypedArrays
includes: [testTypedArray.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/
const buffer = new SharedArrayBuffer(1024);
testWithTypedArrayConstructors(function(TA) {
assert.throws(TypeError, function() {
Atomics.and(new TA(buffer), 0, 0);
}, '`Atomics.and(new TA(buffer), 0, 0)` throws TypeError');
}, floatArrayConstructors);

View File

@ -1,18 +0,0 @@
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.compareexchange
description: >
Test Atomics.compareExchange on shared non-integer TypedArrays
includes: [testTypedArray.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/
var buffer = new SharedArrayBuffer(1024);
testWithTypedArrayConstructors(function(TA) {
assert.throws(TypeError, function() {
Atomics.compareExchange(new TA(buffer), 0, 0, 0);
}, '`Atomics.compareExchange(new TA(buffer), 0, 0, 0)` throws TypeError');
}, floatArrayConstructors);

View File

@ -1,18 +0,0 @@
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.exchange
description: >
Test Atomics.exchange on shared non-integer TypedArrays
includes: [testTypedArray.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/
var buffer = new SharedArrayBuffer(1024);
testWithTypedArrayConstructors(function(TA) {
assert.throws(TypeError, function() {
Atomics.exchange(new TA(buffer), 0, 0);
}, '`Atomics.exchange(new TA(buffer), 0, 0)` throws TypeError');
}, floatArrayConstructors);

View File

@ -1,17 +0,0 @@
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.load
description: >
Test Atomics.load on shared non-integer TypedArrays
includes: [testTypedArray.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/
const buffer = new SharedArrayBuffer(1024);
testWithTypedArrayConstructors(function(TA) {
assert.throws(TypeError, function() {
Atomics.load(new TA(buffer), 0);
}, '`Atomics.load(new TA(buffer), 0)` throws TypeError');
}, floatArrayConstructors);

View File

@ -1,21 +0,0 @@
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.notify
description: >
Test Atomics.notify on shared non-integer TypedArrays
includes: [testTypedArray.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/
var buffer = new SharedArrayBuffer(1024);
testWithTypedArrayConstructors(function(TA) {
assert.throws(TypeError, function() {
Atomics.notify(new TA(buffer), 0, 0);
}, '`Atomics.notify(new TA(buffer), 0, 0)` throws TypeError');
}, floatArrayConstructors);

View File

@ -1,20 +0,0 @@
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.or
description: >
Test Atomics.or on shared non-integer TypedArrays
includes: [testTypedArray.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/
var buffer = new SharedArrayBuffer(1024);
testWithTypedArrayConstructors(function(TA) {
assert.throws(TypeError, function() {
Atomics.or(new TA(buffer), 0, 0);
}, '`Atomics.or(new TA(buffer), 0, 0)` throws TypeError');
}, floatArrayConstructors);

View File

@ -1,21 +0,0 @@
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.store
description: >
Test Atomics.store on shared non-integer TypedArrays
includes: [testTypedArray.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/
var buffer = new SharedArrayBuffer(1024);
testWithTypedArrayConstructors(function(TA) {
assert.throws(TypeError, function() {
Atomics.store(new TA(buffer), 0, 0);
}, '`Atomics.store(new TA(buffer), 0, 0)` throws TypeError');
}, floatArrayConstructors);

View File

@ -1,21 +0,0 @@
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.sub
description: >
Test Atomics.sub on shared non-integer TypedArrays
includes: [testTypedArray.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/
var buffer = new SharedArrayBuffer(1024);
testWithTypedArrayConstructors(function(TA) {
assert.throws(TypeError, function() {
Atomics.sub(new TA(buffer), 0, 0);
}, '`Atomics.sub(new TA(buffer), 0, 0)` throws TypeError');
}, floatArrayConstructors);

View File

@ -1,18 +0,0 @@
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-atomics.xor
description: >
Test Atomics.xor on shared non-integer TypedArrays
includes: [testTypedArray.js]
features: [Atomics, SharedArrayBuffer, TypedArray]
---*/
var buffer = new SharedArrayBuffer(1024);
testWithTypedArrayConstructors(function(TA) {
assert.throws(TypeError, function() {
Atomics.xor(new TA(buffer), 0, 0);
}, '`Atomics.xor(new TA(buffer), 0, 0)` throws TypeError');
}, floatArrayConstructors);