[Laszlo-checkins] r11308 - openlaszlo/trunk/WEB-INF/lps/lfc/services

hqm@openlaszlo.org hqm at openlaszlo.org
Wed Oct 1 20:17:57 PDT 2008


Author: hqm
Date: 2008-10-01 20:17:56 -0700 (Wed, 01 Oct 2008)
New Revision: 11308

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/services/LzModeManager.lzs
Log:
Change 20081001-hqm-Z by hqm at badtzmaru.home on 2008-10-01 21:41:38 EDT
    in /Users/hqm/openlaszlo/trunk/WEB-INF/lps/lfc
    for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc

Summary: fix LzModeManager bug with swf9 debugger window 

New Features:

Bugs Fixed: LPP-7105

Technical Reviewer: pbr
QA Reviewer: mamye
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    
+ Debug now points to an instance of LzDebugService, so code that
expects to be operating on the Debug window needs to go look at
Debug.console, which now is an object which obeys the "console"
interface, and actually may or may not even be an LzView ( if
remote debugging is being used, for example)


Tests:

test case in bug no longer gives runtime error in swf9



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/services/LzModeManager.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/services/LzModeManager.lzs	2008-10-02 03:14:23 UTC (rev 11307)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/services/LzModeManager.lzs	2008-10-02 03:17:56 UTC (rev 11308)
@@ -141,7 +141,7 @@
             var mView = this.modeArray[ i-- ];
             // exclude the debugger from the mode
             if ($debug) {
-                if (view && Debug && view.childOf(Debug))
+                if (view && Debug && (Debug.console is LzView) && view.childOf(Debug.console))
                     break;
             }
 



More information about the Laszlo-checkins mailing list