Gabriel Ivăncescu : jscript: Handle PROP_IDX in jsdisp_get_own_property.

Alexandre Julliard julliard at winehq.org
Mon Apr 11 15:55:00 CDT 2022


Module: wine
Branch: master
Commit: 67fef476c7551514891ca799821eac235e637891
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=67fef476c7551514891ca799821eac235e637891

Author: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Date:   Mon Apr 11 18:58:50 2022 +0300

jscript: Handle PROP_IDX in jsdisp_get_own_property.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/jscript/dispex.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/jscript/dispex.c b/dlls/jscript/dispex.c
index ef13e295f0b..32265d34b9d 100644
--- a/dlls/jscript/dispex.c
+++ b/dlls/jscript/dispex.c
@@ -2546,6 +2546,7 @@ HRESULT jsdisp_get_own_property(jsdisp_t *obj, const WCHAR *name, BOOL flags_onl
     switch(prop->type) {
     case PROP_BUILTIN:
     case PROP_JSVAL:
+    case PROP_IDX:
         desc->mask |= PROPF_WRITABLE;
         desc->explicit_value = TRUE;
         if(!flags_only) {




More information about the wine-cvs mailing list