ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: ant/src/etc junit-frames-xalan1.xsl junit-frames.xsl junit-noframes.xsl
Date Thu, 11 Nov 2004 16:04:44 GMT
sbailliez    2004/11/11 08:04:44

  Modified:    src/etc  junit-frames-xalan1.xsl junit-frames.xsl
                        junit-noframes.xsl
  Log:
  Make it compatible with Safari.. the open function does not return any document.
  Thanks to Ingmar Stein
  PR: 26953
  
  Revision  Changes    Path
  1.2       +2 -1      ant/src/etc/junit-frames-xalan1.xsl
  
  Index: junit-frames-xalan1.xsl
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/junit-frames-xalan1.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- junit-frames-xalan1.xsl	25 Jun 2004 13:42:09 -0000	1.1
  +++ junit-frames-xalan1.xsl	11 Nov 2004 16:04:42 -0000	1.2
  @@ -202,7 +202,8 @@
          <script type="text/javascript" language="JavaScript"><![CDATA[
           function displayProperties (name) {
             var win = window.open('','JUnitSystemProperties','scrollbars=1,resizable=1');
  -          var doc = win.document.open();
  +          var doc = win.document;
  +          doc.open();
             doc.write("<html><head><title>Properties of " + name + "</title>");
             doc.write("<style type=\"text/css\">");
             doc.write("body {font:normal 68% verdana,arial,helvetica; color:#000000; }");
  
  
  
  1.22      +2 -1      ant/src/etc/junit-frames.xsl
  
  Index: junit-frames.xsl
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/junit-frames.xsl,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- junit-frames.xsl	25 Jun 2004 13:42:09 -0000	1.21
  +++ junit-frames.xsl	11 Nov 2004 16:04:43 -0000	1.22
  @@ -202,7 +202,8 @@
          <script type="text/javascript" language="JavaScript"><![CDATA[
           function displayProperties (name) {
             var win = window.open('','JUnitSystemProperties','scrollbars=1,resizable=1');
  -          var doc = win.document.open();
  +          var doc = win.document;
  +          doc.open();
             doc.write("<html><head><title>Properties of " + name + "</title>");
             doc.write("<style type=\"text/css\">");
             doc.write("body {font:normal 68% verdana,arial,helvetica; color:#000000; }");
  
  
  
  1.15      +2 -1      ant/src/etc/junit-noframes.xsl
  
  Index: junit-noframes.xsl
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/junit-noframes.xsl,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- junit-noframes.xsl	8 Jun 2004 13:52:23 -0000	1.14
  +++ junit-noframes.xsl	11 Nov 2004 16:04:43 -0000	1.15
  @@ -92,7 +92,8 @@
          <script type="text/javascript" language="JavaScript"><![CDATA[
           function displayProperties (name) {
             var win = window.open('','JUnitSystemProperties','scrollbars=1,resizable=1');
  -          var doc = win.document.open();
  +          var doc = win.document;
  +          doc.open();
             doc.write("<html><head><title>Properties of " + name + "</title>");
             doc.write("<style>")
             doc.write("body {font:normal 68% verdana,arial,helvetica; color:#000000; }");
  
  
  

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


Mime
View raw message