[Laszlo-checkins] r10665 - openlaszlo/trunk/WEB-INF/lps/lfc/debugger/platform/swf
bargull@openlaszlo.org
bargull at openlaszlo.org
Tue Aug 12 11:20:35 PDT 2008
Author: bargull
Date: 2008-08-12 11:20:33 -0700 (Tue, 12 Aug 2008)
New Revision: 10665
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/debugger/platform/swf/LzDebug.as
Log:
Change 20080812-bargull-A2m by bargull at dell--p4--2-53 on 2008-08-12 18:00:50
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix swf debugger warning
New Features:
Bugs Fixed: LPP-5573
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Some runtime objects haven't got a "__proto__" property, take care of this when constructing the debug-string.
Tests:
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/debugger/platform/swf/LzDebug.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/debugger/platform/swf/LzDebug.as 2008-08-12 18:20:11 UTC (rev 10664)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/debugger/platform/swf/LzDebug.as 2008-08-12 18:20:33 UTC (rev 10665)
@@ -337,11 +337,11 @@
if (s == null) { s = ''; }
}
} else if ((t == 'object') || (thing instanceof Object)) {
- var op = thing.__proto__;
+ var op = thing['__proto__'];
// No pretty if object.__constructor__ is not
// object.__proto__.constructor, as this indicates some sort of
// bizarre object
- if (this.constructorOf(thing) !== op.constructor) {
+ if (!op || this.constructorOf(thing) !== op.constructor) {
pretty = (! unique);
}
// Catch wrappers (but not subtypes of wrappers)
More information about the Laszlo-checkins
mailing list