| OLD | NEW |
| 1 <?php | 1 <?php |
| 2 header('HTTP/1.0 200 OK'); | 2 header('HTTP/1.0 200 OK'); |
| 3 header('Content-type: text/html'); | 3 header('Content-type: text/html'); |
| 4 header('Refresh: 0;URL=javascript:window.top.location="about:blank"'); | 4 header('Refresh: 0;URL=javascript:window.top.location="about:blank"'); |
| 5 ?> | 5 ?> |
| 6 | 6 <!DOCTYPE html> |
| 7 <head> | |
| 8 <meta http-equiv='refresh' content='0;URL=javascript:window.top.location="about:
blank"'/> | |
| 9 </head> | |
| 10 <body> | 7 <body> |
| 11 This is the viewsource iframe. | 8 <script> |
| 9 if (window.testRunner) |
| 10 testRunner.dumpAsText(); |
| 11 </script> |
| 12 This it the content that appears in place of a refresh. |
| 12 </body> | 13 </body> |
| OLD | NEW |