From c67d1554f2026b4f99af8bd4e69c4653c24aeb22 Mon Sep 17 00:00:00 2001 From: "Xiaobin.Lu%eng.Sun.com" Date: Wed, 13 Jun 2001 01:03:25 +0000 Subject: [PATCH] Fix for bug 74482, Calling top.window.close() does not work Work done by Nikolay and me r=beard sr=brendan a=asa --- js/src/liveconnect/jsjava.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/liveconnect/jsjava.h b/js/src/liveconnect/jsjava.h index 7fc325d1238..c3bea37ccb9 100644 --- a/js/src/liveconnect/jsjava.h +++ b/js/src/liveconnect/jsjava.h @@ -129,7 +129,7 @@ typedef struct JSJCallbacks { #else JSBool (*enter_js_from_java)(JNIEnv *jEnv, char **errp); #endif - void (*exit_js)(JNIEnv *jEnv); + void (*exit_js)(JNIEnv *jEnv, JSContext *cx); /* Most LiveConnect errors are signaled by calling JS_ReportError(), but in some circumstances, the target JSContext for such errors is not