Displaying 2 results from an estimated 2 matches for "f8a9623".
Did you mean:
389623
2007 Feb 19
0
2 commits - libswfdec/swfdec_script.c test/swfdec-extract.c
...282a1d866a2cf9e992e (from 842b4b558af7b8ad68f47fd7473989fc46fd23d6)
Author: Benjamin Otte <otte@gnome.org>
Date: Mon Feb 19 23:06:14 2007 +0100
Add a warning in CallMethod if a function doesn't exist
diff --git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c
index 824861b..f8a9623 100644
--- a/libswfdec/swfdec_script.c
+++ b/libswfdec/swfdec_script.c
@@ -675,6 +675,9 @@ swfdec_action_call_method (JSContext *cx
} else {
if (!JS_GetProperty (cx, obj, s, &fun))
return JS_FALSE;
+ if (!JSVAL_IS_OBJECT (fun)) {
+ SWFDEC_WARNING ("%s:%s is not a fun...
2007 Feb 22
0
3 commits - libswfdec/swfdec_js.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c
...565e5256023baaf079140 (from f5d0f071e911b84ac0c2c840d965a7d3f16c4be5)
Author: Benjamin Otte <otte@gnome.org>
Date: Thu Feb 22 18:34:09 2007 +0100
fix getting the current target, so that it works with scope chains
diff --git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c
index f8a9623..83dde3a 100644
--- a/libswfdec/swfdec_script.c
+++ b/libswfdec/swfdec_script.c
@@ -137,7 +137,10 @@ swfdec_action_has_register (JSContext *c
static SwfdecMovie *
swfdec_action_get_target (JSContext *cx)
{
- JSObject *object = cx->fp->thisp;
+ JSObject *object = cx->fp->scopeChain;...