From 7915708b583699f16412d5eeab6a42602319e720 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 25 Nov 2012 19:27:58 +0000 Subject: update event handler to cope with nsgenbind changes --- javascript/jsapi/window.bnd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/jsapi/window.bnd b/javascript/jsapi/window.bnd index e439980b9..3fe2afddf 100644 --- a/javascript/jsapi/window.bnd +++ b/javascript/jsapi/window.bnd @@ -201,9 +201,9 @@ getter self %{ %} getter EventHandler %{ - JSLOG("propname:%s %s", propname, JS_GetTypeName(cx, JS_TypeOfValue(cx, propname_jsval))); + JSLOG("propname[%d] %s %s", tinyid , jsclass_properties[tinyid].name, JS_GetTypeName(cx, JS_TypeOfValue(cx, tinyid_jsval))); %} setter EventHandler %{ - JSLOG("propname:%s %s", propname, JS_GetTypeName(cx, JS_TypeOfValue(cx, propname_jsval))); + JSLOG("propname[%d] %s %s", tinyid, jsclass_properties[tinyid].name, JS_GetTypeName(cx, JS_TypeOfValue(cx, tinyid_jsval))); %} -- cgit v1.2.3