Sign in
webkit
/
WebKit
/
ccf8f7cdbfbfa46d99c5a9dcfbbf6cb2e9ec8c2c
/
.
/
JSTests
/
wasm
/
stress
/
web-assembly-constructors-should-not-override-global-object-property.js
blob: 1569bf53cbeecc0e3f21b7d2e97be4d72c2b4f4e [
file
] [
log
] [
blame
]
var
originalModule
=
globalThis
.
Module
=
{};
WebAssembly
.
Module
;
if
(
Module
!==
originalModule
)
throw
new
Error
(
'Global property `Module` was overwritten!'
);