-
1d1c51f4
by Francis De Brabandere at 2026-05-26T22:38:26+02:00
vbscript/tests: Add tests for error reporting from a GetRef reference.
An error raised through a GetRef reference invoked from script under On
Error Resume Next must propagate to the caller; the same reference invoked
by an external object must instead be reported to the host.
-
f5c531ec
by Francis De Brabandere at 2026-05-26T22:38:26+02:00
vbscript: Run a script-invoked function reference as an internal call.
FuncRef_Invoke always ran the reference as an external caller, reporting
errors to the host even when called from running script. Route the engine's
own references through disp_call as internal calls, like class instances, so
a reference reaching FuncRef_Invoke is always an external caller.
-
669b7773
by Francis De Brabandere at 2026-05-26T22:38:26+02:00
vbscript/tests: Note the error HRESULT seen by an external caller.
When an external object invokes a script function reference or class method
while a script frame is on the stack and the host leaves the error
unhandled, native returns SCRIPT_E_RECORDED and DISP_E_EXCEPTION
respectively to the caller. Wine returns the raw error code instead; mark
these with todo_wine.