test: remove Float16Array flag
PR-URL: https://github.com/nodejs/node/pull/58184 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
da69d13623
commit
1350adeeaf
@ -126,6 +126,7 @@ export default [
|
||||
DecompressionStream: 'readonly',
|
||||
EventSource: 'readable',
|
||||
fetch: 'readonly',
|
||||
Float16Array: 'readonly',
|
||||
FormData: 'readonly',
|
||||
navigator: 'readonly',
|
||||
ReadableStream: 'readonly',
|
||||
|
@ -1,5 +1,3 @@
|
||||
// Flags: --js-float16array
|
||||
// TODO(LiviaMedeiros): once `Float16Array` is unflagged in v8, remove the line above
|
||||
'use strict';
|
||||
|
||||
const common = require('../common');
|
||||
@ -7,9 +5,6 @@ const vm = require('node:vm');
|
||||
const assert = require('node:assert');
|
||||
const { describe, it } = require('node:test');
|
||||
|
||||
// TODO(LiviaMedeiros): once linter recognizes `Float16Array`, remove next line
|
||||
const { Float16Array } = globalThis;
|
||||
|
||||
const x = ['x'];
|
||||
|
||||
function createCircularObject() {
|
||||
|
@ -1,14 +1,9 @@
|
||||
// Flags: --js-float16array
|
||||
// TODO(LiviaMedeiros): once `Float16Array` is unflagged in v8, remove the line above
|
||||
'use strict';
|
||||
|
||||
require('../common');
|
||||
const assert = require('assert');
|
||||
const { test, suite } = require('node:test');
|
||||
|
||||
// TODO(LiviaMedeiros): once linter recognizes `Float16Array`, remove next line
|
||||
const { Float16Array } = globalThis;
|
||||
|
||||
function makeBlock(f) {
|
||||
const args = Array.prototype.slice.call(arguments, 1);
|
||||
return function() {
|
||||
|
@ -1,5 +1,4 @@
|
||||
// Flags: --experimental-vm-modules --expose-internals --allow-natives-syntax --js-float16array
|
||||
// TODO(LiviaMedeiros): once `Float16Array` is unflagged in v8, remove `--js-float16array` above
|
||||
// Flags: --experimental-vm-modules --expose-internals --allow-natives-syntax
|
||||
'use strict';
|
||||
const common = require('../common');
|
||||
const assert = require('assert');
|
||||
@ -10,9 +9,6 @@ const { JSStream } = internalBinding('js_stream');
|
||||
|
||||
const external = (new JSStream())._externalStream;
|
||||
|
||||
// TODO(LiviaMedeiros): once linter recognizes `Float16Array`, remove next line
|
||||
const { Float16Array } = globalThis;
|
||||
|
||||
for (const [ value, _method ] of [
|
||||
[ external, 'isExternal' ],
|
||||
[ new Date() ],
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Flags: --expose-internals --js-float16array
|
||||
// Flags: --expose-internals
|
||||
|
||||
'use strict';
|
||||
|
||||
@ -7,9 +7,6 @@ const { internalBinding } = require('internal/test/binding');
|
||||
const assert = require('assert');
|
||||
const v8 = require('v8');
|
||||
const os = require('os');
|
||||
// TODO(bartlomieju): once `Float16Array` is available in stable V8,
|
||||
// remove this line and `--js-float16array` flag up top
|
||||
const { Float16Array } = globalThis;
|
||||
|
||||
const circular = {};
|
||||
circular.circular = circular;
|
||||
|
@ -1,5 +1,3 @@
|
||||
// Flags: --js-float16array
|
||||
// TODO(LiviaMedeiros): once `Float16Array` is unflagged in v8, remove the line above
|
||||
'use strict';
|
||||
|
||||
const common = require('../common');
|
||||
|
Loading…
x
Reference in New Issue
Block a user