[ http://issues.apache.org/jira/browse/XAP-1?page=all ]

Trevor Oldak closed XAP-1.
--------------------------


> Improvement to LogFactory.js
> ----------------------------
>
>                 Key: XAP-1
>                 URL: http://issues.apache.org/jira/browse/XAP-1
>             Project: XAP
>          Issue Type: Improvement
>         Environment: src\xap\util\LogFactory.js
>            Reporter: Peter Yee
>            Priority: Minor
>         Attachments: LogFactory.js
>
>
> When you close the debug window, you would get "Type Error Exception - 
> ConsoleLog.s_logWindow.document has no properties" for any scripts that 
> subsequently logs to the debug window.
> Moreover, performance of normal page scripts slows dramatically as the debug 
> log grows larger and larger.  This is because the entire innerHTML is being 
> replaced each time an output call is made.  I modified the output to use DOM 
> appending of text nodes to the end of the console document instead, and this 
> allows normal page scripts that include logging to run with little delay.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to