From: Gabriel Ivăncescu gabrielopcode@gmail.com
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/jscript/function.c | 1 + dlls/mshtml/tests/documentmode.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/jscript/function.c b/dlls/jscript/function.c index 2e811b857cd..8f4b836ff76 100644 --- a/dlls/jscript/function.c +++ b/dlls/jscript/function.c @@ -978,6 +978,7 @@ HRESULT create_source_function(script_ctx_t *ctx, bytecode_t *code, function_cod
static const builtin_prop_t HostFunction_props[] = { {L"arguments", NULL, 0, Function_get_arguments}, + {L"caller", NULL, 0, Function_get_caller}, };
static const builtin_info_t HostFunction_info = { diff --git a/dlls/mshtml/tests/documentmode.js b/dlls/mshtml/tests/documentmode.js index e7c2db6508a..5f9892a0713 100644 --- a/dlls/mshtml/tests/documentmode.js +++ b/dlls/mshtml/tests/documentmode.js @@ -395,7 +395,7 @@ sync_test("builtin_obj", function() { e = window.toString.call(external.nullDisp); ok(e === "[object Window]", "window.toString with nullDisp context = " + e);
- test_own_props(f, "createElement", [ "arguments", "caller", "prototype" ], [ "caller", "prototype" ]); + test_own_props(f, "createElement", [ "arguments", "caller", "prototype" ], [ "prototype" ]); ok(f.arguments === null, "createElement arguments = " + f.arguments); }