Jacek Caban (@jacek) commented about dlls/mshtml/htmlwindow.c:
case DISPATCH_PROPERTYPUT: { DISPID dispex_id;
if(This->event_target.dispex.jsdisp)
return IWineJSDispatch_OverrideExternalProp(This->event_target.dispex.jsdisp, prop->name, params->rgvarg);
Could we just return something like `S_FALSE` here and handle that in jscript's dispex? We already have the proper prop pointer there, so it would not even need to do the lookup.