1 // |reftest| skip -- Float16Array is not supported
2 // Copyright (C) 2024 Kevin Gibbons. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
6 esid: sec-dataview.prototype.setfloat16
8 Throws a TypeError if this does not have a [[DataView]] internal slot
9 features: [Float16Array, Int8Array]
12 var setFloat16 = DataView.prototype.setFloat16;
14 assert.throws(TypeError, function() {
18 assert.throws(TypeError, function() {
22 var ab = new ArrayBuffer(1);
23 assert.throws(TypeError, function() {
27 var ta = new Int8Array();
28 assert.throws(TypeError, function() {