mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Reformulate a for-in loop to a for loop in wasm.xWrap() to work around a downstream framework-level misbehavior, as reported in [forum:b549992634b55104|forum post b549992634b55104].
FossilOrigin-Name: dc58ed654928574ef254af289bd21c654c587aac80aea36ab96772c35d4ca754
This commit is contained in:
@ -2035,7 +2035,8 @@ globalThis.WhWasmUtilInstaller = function(target){
|
||||
arguments are, is _not_ part of the public interface and is
|
||||
_not_ stable.
|
||||
*/
|
||||
for(const i in args) args[i] = cxw.convertArgNoCheck(
|
||||
let i = 0;
|
||||
for(; i < args.length; ++i) args[i] = cxw.convertArgNoCheck(
|
||||
argTypes[i], args[i], args, i
|
||||
);
|
||||
return cxw.convertResultNoCheck(resultType, xf.apply(null,args));
|
||||
|
Reference in New Issue
Block a user