You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/02/02 10:49:09 UTC

DO NOT REPLY [Bug 26593] New: - Javascript error in junit-frames.xsl

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26593>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26593

Javascript error in junit-frames.xsl

           Summary: Javascript error in junit-frames.xsl
           Product: Ant
           Version: 1.6.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Other
        AssignedTo: dev@ant.apache.org
        ReportedBy: stein@xtramind.com


Not all browsers return the document object on document.open.
Namely, Safari produces a JavaScript error and does not write
to the newly opened window. The following patch remedies the
problem:

-          var doc = win.document.open();
+          var doc = win.document;
+          doc.open();

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org