| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 09a85fd commit eb4f130
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -126,6 +126,7 @@ export default [ | |||
| 126 | 126 | DecompressionStream: 'readonly', | |
| 127 | 127 | EventSource: 'readable', | |
| 128 | 128 | fetch: 'readonly', | |
| 129 | + Float16Array: 'readonly', | ||
| 129 | 130 | FormData: 'readonly', | |
| 130 | 131 | navigator: 'readonly', | |
| 131 | 132 | ReadableStream: 'readonly', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,15 +1,10 @@ | |||
| 1 | - // Flags: --js-float16array | ||
| 2 | - // TODO(LiviaMedeiros): once `Float16Array` is unflagged in v8, remove the line above | ||
| 3 | 1 | 'use strict'; | |
| 4 | 2 | ||
| 5 | 3 | const common = require('../common'); | |
| 6 | 4 | const vm = require('node:vm'); | |
| 7 | 5 | const assert = require('node:assert'); | |
| 8 | 6 | const { describe, it } = require('node:test'); | |
| 9 | 7 | ||
| 10 | - // TODO(LiviaMedeiros): once linter recognizes `Float16Array`, remove next line | ||
| 11 | - const { Float16Array } = globalThis; | ||
| 12 | - | ||
| 13 | 8 | const x = ['x']; | |
| 14 | 9 | ||
| 15 | 10 | function createCircularObject() { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,14 +1,9 @@ | |||
| 1 | - // Flags: --js-float16array | ||
| 2 | - // TODO(LiviaMedeiros): once `Float16Array` is unflagged in v8, remove the line above | ||
| 3 | 1 | 'use strict'; | |
| 4 | 2 | ||
| 5 | 3 | require('../common'); | |
| 6 | 4 | const assert = require('assert'); | |
| 7 | 5 | const { test, suite } = require('node:test'); | |
| 8 | 6 | ||
| 9 | - // TODO(LiviaMedeiros): once linter recognizes `Float16Array`, remove next line | ||
| 10 | - const { Float16Array } = globalThis; | ||
| 11 | - | ||
| 12 | 7 | function makeBlock(f) { | |
| 13 | 8 | const args = Array.prototype.slice.call(arguments, 1); | |
| 14 | 9 | return function() { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,4 @@ | |||
| 1 | - // Flags: --experimental-vm-modules --expose-internals --allow-natives-syntax --js-float16array | ||
| 2 | - // TODO(LiviaMedeiros): once `Float16Array` is unflagged in v8, remove `--js-float16array` above | ||
| 1 | + // Flags: --experimental-vm-modules --expose-internals --allow-natives-syntax | ||
| 3 | 2 | 'use strict'; | |
| 4 | 3 | const common = require('../common'); | |
| 5 | 4 | const assert = require('assert'); | |
@@ -10,9 +9,6 @@ const { JSStream } = internalBinding('js_stream'); | |||
| 10 | 9 | ||
| 11 | 10 | const external = (new JSStream())._externalStream; | |
| 12 | 11 | ||
| 13 | - // TODO(LiviaMedeiros): once linter recognizes `Float16Array`, remove next line | ||
| 14 | - const { Float16Array } = globalThis; | ||
| 15 | - | ||
| 16 | 12 | for (const [ value, _method ] of [ | |
| 17 | 13 | [ external, 'isExternal' ], | |
| 18 | 14 | [ new Date() ], | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - // Flags: --expose-internals --js-float16array | ||
| 1 | + // Flags: --expose-internals | ||
| 2 | 2 | ||
| 3 | 3 | 'use strict'; | |
| 4 | 4 | ||
@@ -7,9 +7,6 @@ const { internalBinding } = require('internal/test/binding'); | |||
| 7 | 7 | const assert = require('assert'); | |
| 8 | 8 | const v8 = require('v8'); | |
| 9 | 9 | const os = require('os'); | |
| 10 | - // TODO(bartlomieju): once `Float16Array` is available in stable V8, | ||
| 11 | - // remove this line and `--js-float16array` flag up top | ||
| 12 | - const { Float16Array } = globalThis; | ||
| 13 | 10 | ||
| 14 | 11 | const circular = {}; | |
| 15 | 12 | circular.circular = circular; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,3 @@ | |||
| 1 | - // Flags: --js-float16array | ||
| 2 | - // TODO(LiviaMedeiros): once `Float16Array` is unflagged in v8, remove the line above | ||
| 3 | 1 | 'use strict'; | |
| 4 | 2 | ||
| 5 | 3 | const common = require('../common'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments