mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 1108261 - Use new to create cross compartment typed array. no-r,testonly
This commit is contained in:
parent
455f15535d
commit
87d731b076
@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
var global = newGlobal();
|
||||
var array = global.Int8Array(10);
|
||||
var array = new global.Int8Array(10);
|
||||
|
||||
assertEq(array.find(v => v == 1), undefined)
|
||||
assertEq(array.findIndex(v => v == 0), 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user