Commit 6e8490a5 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

jscript: Support PROPERTYGET in Date Value.

parent 5069cb7b
......@@ -1925,6 +1925,8 @@ static HRESULT Date_value(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, unsign
switch(flags) {
case INVOKE_FUNC:
return throw_type_error(ctx, JS_E_FUNCTION_EXPECTED, NULL);
case INVOKE_PROPERTYGET:
return dateobj_to_string( (DateInstance*)jsthis->u.jsdisp, r);
default:
FIXME("unimplemented flags %x\n", flags);
return E_NOTIMPL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment