mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1108261 - Use new to create cross compartment typed array. no-r,testonly
This commit is contained in:
parent
6e61fa1c76
commit
a9104d8a51
@ -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…
Reference in New Issue
Block a user