Hi!

The attached patch makes the StackeTrace class work in Konqueror. The .caller property is supported in KHTML for quite some time now.

Harri.
Index: framework/source/class/qx/dev/StackTrace.js

=========================
=========================
=================

--- framework/source/class/qx/dev/StackTrace.js (revision 12542)

+++ framework/source/class/qx/dev/StackTrace.js (working copy)

@@ -39,7 +39,7 @@

      *   <li> Mozilla combines the output of [EMAIL PROTECTED] 
#getStackTraceFromEr
ror}

      *        and [EMAIL PROTECTED] getStackTraceFromCaller} and thus 
generates 
the richest trace.

      *   </li>

-     *   <li> Internet Explorer and WebKit always use [EMAIL PROTECTED] 
getStackTra
ceFromCaller}</li>

+     *   <li> Internet Explorer, KHTML and WebKit always use [EMAIL PROTECTED] 
getStackTraceFromCaller}</li>

      *   <li> Opera is able to return file/class names and line 
numbers.</li>

      * </ul>

      *

@@ -98,7 +98,7 @@

         }

       },

 

-      "mshtml|webkit" : function()

+      "mshtml|webkit|khtml" : function()

       {

         return this.getStackTraceFromCaller(arguments);

       },

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to