Author: ptw
Date: 2007-12-19 12:15:19 -0800 (Wed, 19 Dec 2007)
New Revision: 7620
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/debugger/platform/dhtml/kernel.js
Log:
Change 20071218-ptw-f by [EMAIL PROTECTED] on 2007-12-18 16:53:38 EST
in /Users/ptw/OpenLaszlo/ringding-2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Deal with rhino
Bugs Fixed:
LPP-5288: 'failing lztest-node-initsequence and lztest-node-options'
Technical Reviewer: [EMAIL PROTECTED] (message://<[EMAIL PROTECTED]>)
QA Reviewer: mamye (pending)
Details:
Ignore errors setting up debug console in rhino
Tests:
ant runlztest
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/debugger/platform/dhtml/kernel.js
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/debugger/platform/dhtml/kernel.js
2007-12-19 19:32:47 UTC (rev 7619)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/debugger/platform/dhtml/kernel.js
2007-12-19 20:15:19 UTC (rev 7620)
@@ -23,8 +23,12 @@
*/
Debug.makeDebugWindow = function () {
// The application and debugger are sibling iframes in the
- // embedding.
- this.DebugWindow = window.parent.frames['LaszloDebugger'];
+ // dhtml embedding.
+ try {
+ this.DebugWindow = window.parent.frames['LaszloDebugger'];
+ } catch (e) {
+ // But not in Rhino
+ };
// Name all global singletons
var module = $modules.lz;
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins