Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes swfdec tests

  • Loading branch information...
commit 8800c25ef2237dbfd6222ce3675a2eec22a1beec 1 parent 1be3279
@yurydelendik yurydelendik authored
View
2  src/avm1/interpreter.js
@@ -652,7 +652,7 @@ function interpretActions(actionsData, scopeContainer,
throw e;
}
if (typeof catchTarget === 'string') {
- scope[catchTarget] = e.error;
+ scope.asSetPublicProperty(catchTarget, e.error);
} else {
registers[catchTarget] = e.error;
}
View
2  src/avm1lib/AS2Globals.as
@@ -355,7 +355,7 @@ public dynamic class AS2Globals {
// built-ins
public var NaN:Number = NaN;
- public var Infinity:Number = Infinity;
+ public var Infinity:Number = Number.POSITIVE_INFINITY;
public var isFinite:Function = isFinite;
public var isNaN:Function = isNaN;
public var parseFloat:Function = parseFloat;
View
BIN  src/avm2/generated/avm1lib/avm1lib.abc
Binary file not shown
View
8 test/swfdec_test_manifest.json
@@ -40,14 +40,6 @@
"/utils/swfdec/test/trace/definefunction2-overwrite.swf",
"/utils/swfdec/test/trace/definelocal-function-target-5.swf",
"/utils/swfdec/test/trace/definelocal-target-5.swf",
- "/utils/swfdec/test/trace/delete-object-5.swf",
- "/utils/swfdec/test/trace/delete-object-6.swf",
- "/utils/swfdec/test/trace/delete-object-7.swf",
- "/utils/swfdec/test/trace/delete-object-8.swf",
- "/utils/swfdec/test/trace/delete-prototypes-5.swf",
- "/utils/swfdec/test/trace/delete-prototypes-6.swf",
- "/utils/swfdec/test/trace/delete-prototypes-7.swf",
- "/utils/swfdec/test/trace/delete-prototypes-8.swf",
"/utils/swfdec/test/trace/empty-function-5.swf",
"/utils/swfdec/test/trace/empty-function-6.swf",
"/utils/swfdec/test/trace/empty-function-7.swf",
Please sign in to comment.
Something went wrong with that request. Please try again.