File:  [mozdev] / savefileto / www / test / index.html
Revision 1.7: download - view: text, annotated - select for diffs - revision graph
Sun Feb 7 09:40:00 2010 UTC (10 years, 3 months ago) by atte
Branches: MAIN
CVS tags: HEAD
added redirect with no content disposition test

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    2: <html>
    3: 
    4: <head>
    5: <title>Save File to - Test Page</title>
    6: 
    7: <style type="text/css">
    8: 
    9: thead > tr > td { text-align: center; font-weight: bold; }
   10: 
   11: td { padding-left: 0.3em; padding-right: 0.3em; }
   12: 
   13: .center { text-align: center; }
   14: 
   15: </style>
   16: 
   17: </head>
   18: 
   19: <body>
   20: 
   21: <table>
   22: 
   23: <thead>
   24: <tr>
   25: <td></td>
   26: <td>link</td>
   27: <td>details</td>
   28: <td>proper<br/>filename</td>
   29: <td>script<br/>source</td>
   30: </tr>
   31: </thead>
   32: 
   33: <tbody>
   34: <tr>
   35: <td>1</td>
   36: <td class="center"><a href="file.png">link</a></td>
   37: <td>original png file</td>
   38: <td class="center">yes</td>
   39: </tr>
   40: <tr>
   41: <td>2</td>
   42: <td class="center"><a href="file_png_no_cd.php">link</a></td>
   43: <td>script: png file, no content-disposition</td>
   44: <td class="center">no</td>
   45: <td><a href="http://www.mozdev.org/source/browse/savefileto/www/test/file_png_no_cd.php?rev=HEAD;content-type=text%2Fplain">source</a></td>
   46: </tr>
   47: <tr>
   48: <td>3</td>
   49: <td class="center"><a href="file_png_no_cd space.php">link</a></td>
   50: <td>script: png file, no content-disposition, space in name</td>
   51: <td class="center">no</td>
   52: <td><a href="http://www.mozdev.org/source/browse/savefileto/www/test/file_png_no_cd%20space.php?rev=HEAD;content-type=text%2Fplain">source</a></td>
   53: </tr>
   54: <tr>
   55: <td>4</td>
   56: <td class="center"><a href="file_png_cd.php">link</a></td>
   57: <td>script: png file, content-disposition</td>
   58: <td class="center">yes</td>
   59: <td><a href="http://www.mozdev.org/source/browse/savefileto/www/test/file_png_cd.php?rev=HEAD;content-type=text%2Fplain">source</a></td>
   60: </tr>
   61: <tr>
   62: <td>5</td>
   63: <td class="center"><a href="file_png_cd space.php">link</a></td>
   64: <td>script: png file, content-disposition, space in name</td>
   65: <td class="center">yes</td>
   66: <td><a href="http://www.mozdev.org/source/browse/savefileto/www/test/file_png_cd%20space.php?rev=HEAD;content-type=text%2Fplain">source</a></td>
   67: </tr>
   68: <tr>
   69: <td>6</td>
   70: <td class="center"><a href="file_png_cd_delay.php">link</a></td>
   71: <td>script: png file, content-disposition, delay</td>
   72: <td class="center">no</td>
   73: <td><a href="http://www.mozdev.org/source/browse/savefileto/www/test/file_png_cd_delay.php?rev=HEAD;content-type=text%2Fplain">source</a></td>
   74: </tr>
   75: <tr>
   76: <td>7</td>
   77: <td class="center"><a href="file_png_redirect_no_cd.php">link</a></td>
   78: <td>script: png file, redirect, no content-disposition</td>
   79: <td class="center">yes</td>
   80: <td><a href="http://www.mozdev.org/source/browse/savefileto/www/test/file_png_redirect_no_cd.php?rev=HEAD;content-type=text%2Fplain">source</a></td>
   81: </tr>
   82: <tr>
   83: <td>8</td>
   84: <td class="center"><a href="file_png_redirect_cd.php">link</a></td>
   85: <td>script: png file, redirect, content-disposition</td>
   86: <td class="center">yes</td>
   87: <td><a href="http://www.mozdev.org/source/browse/savefileto/www/test/file_png_redirect_cd.php?rev=HEAD;content-type=text%2Fplain">source</a></td>
   88: </tr>
   89: </tbody>
   90: 
   91: </table>
   92: 
   93: <p><b>proper filename</b>: Whether or not <i>Save File to</i> can determine proper filename for the downloaded file.</p>
   94: 
   95: <p>Content-Dispostion filename is properly determined in save dialog starting from Firefox 3.</p>
   96: 
   97: </body>
   98: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>