search for: mysecretid

Displaying 6 results from an estimated 6 matches for "mysecretid".

2007 Aug 21
0
2 commits - test/trace
...p] != undefined) + trace ("ERROR: Couldn't delete temporary __proto__[\"" + prop + "\"]"); + return result; + } +} +#endif function new_info () { return new_empty_object (); @@ -95,11 +122,13 @@ function is_blaclisted (o, prop) if (prop == "mySecretId" || prop == "globalSecretId") return true; +#if __SWF_VERSION__ >= 6 if (o == _global.Camera && prop == "names") return true; if (o == _global.Microphone && prop == "names") return true; +#endif return false; } @@...
2007 Aug 22
0
3 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c test/trace
...\"] back to old value"); + trace ("Error: Couldn't set __proto__[\"" + prop + + "\"] back to old value"); if (constant) ASSetPropFlags (o.__proto__, prop, 4); @@ -123,12 +192,15 @@ function is_blaclisted (o, prop) if (prop == "mySecretId" || prop == "globalSecretId") return true; -#if __SWF_VERSION__ >= 6 if (o == _global.Camera && prop == "names") return true; if (o == _global.Microphone && prop == "names") return true; + +#if __SWF_VERSION__ < 6 +...
2007 Aug 15
3
2 commits - libswfdec/swfdec_as_object.c test/trace
libswfdec/swfdec_as_object.c | 62 +++++++++++++++------- test/trace/Makefile.am | 9 +++ test/trace/addProperty-set-prototypes-5.swf |binary test/trace/addProperty-set-prototypes-5.swf.trace | 4 + test/trace/addProperty-set-prototypes-6.swf |binary test/trace/addProperty-set-prototypes-6.swf.trace | 5 +
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...level) } } -function generate_names (o, prefix, identifier) +function generate_names (o, prefix, identifier, output) { // mark the ones that are not hidden var nothidden = new Array (); @@ -368,6 +368,9 @@ function generate_names (o, prefix, identifier) } else { o[prop]["mySecretId"] = prefix + (prefix != "" ? "." : "") + identifier + "." + prop; + if (output == true) { + trace (" [\"" + prefix + (prefix != "" ? "." : "") + identifier + "\", \"" + prop + "...
2007 Aug 22
0
5 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_math.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_script_function.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h
...prefix, id generate_names (_global.Object, "_global", "Object"); generate_names (_global, "", "_global"); - generate_names (o, prefix, identifier); - if (typeof (o) == "object" || typeof (o) == "function") { + if (o["mySecretId"] == undefined) { + o["mySecretId"] = prefix + (prefix != "" ? "." : "") + identifier; + generate_names (o, prefix, identifier); + } + if (prefix + (prefix != "" ? "." : "") + identifier == o["mySecret...
2007 Sep 11
0
8 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_strings.c test/trace
...ion and Function.prototype properly diff --git a/test/trace/trace_properties.as b/test/trace/trace_properties.as index ec5b08c..7fb630c 100644 --- a/test/trace/trace_properties.as +++ b/test/trace/trace_properties.as @@ -406,8 +406,12 @@ function trace_properties (o, prefix, id { _global["mySecretId"] = "_global"; _global.Object["mySecretId"] = "_global.Object"; + _global.Function["mySecretId"] = "_global.Function"; + _global.Function.prototype["mySecretId"] = "_global.Function.prototype"; _global.XMLNode["...