Alexandre Julliard pushed to branch master at wine / wine Commits: 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. - - - - - 2 changed files: - dlls/vbscript/tests/run.c - dlls/vbscript/vbdisp.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/412289d54b9b4b245e623e4431c67e... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/412289d54b9b4b245e623e4431c67e... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help