[PATCH v3 6/7] jscript: Handle PROP_IDX in jsdisp_get_own_property.

Gabriel Ivăncescu gabrielopcode at gmail.com
Fri Mar 25 09:45:43 CDT 2022


Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
---

Tested in the next patch (we use the test_own_data_prop_desc helper to
avoid redundancy, which also checks enumerable).

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

diff --git a/dlls/jscript/dispex.c b/dlls/jscript/dispex.c
index ef13e29..32265d3 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) {
-- 
2.34.1




More information about the wine-devel mailing list