| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 if (window.testRunner) { | 4 if (window.testRunner) { |
| 5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
| 6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
| 7 } | 7 } |
| 8 | 8 |
| 9 loadedFirstURL = false; | 9 loadedFirstURL = false; |
| 10 | 10 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 if (parts[i].match(/^Content-Type:/)) | 89 if (parts[i].match(/^Content-Type:/)) |
| 90 rtn += parts[i]; | 90 rtn += parts[i]; |
| 91 | 91 |
| 92 return rtn; | 92 return rtn; |
| 93 } | 93 } |
| 94 </script> | 94 </script> |
| 95 </head> | 95 </head> |
| 96 <body onload="test()"> | 96 <body onload="test()"> |
| 97 <embed name="plg" type="application/x-webkit-test-netscape" src="/plugins/resour
ces/load-me-1.txt" onstreamload="streamLoaded()"></embed> | 97 <embed name="plg" type="application/x-webkit-test-netscape" src="/plugins/resour
ces/load-me-1.txt" onstreamload="streamLoaded()"></embed> |
| 98 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=13029">bug 13029<a/
>: | 98 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=13029">bug 13029<a/
>: |
| 99 Permit NPAPI plug-ins to see HTTP response headers.</p> | 99 Permit NPAPI plugins to see HTTP response headers.</p> |
| 100 <p>Expected result below is two HTTP response extracts, one for the initial stre
am specified in the "src" | 100 <p>Expected result below is two HTTP response extracts, one for the initial stre
am specified in the "src" |
| 101 attribute, the other for an NPN_GetURLNotify request. Each block should contain
the URL; the status line, | 101 attribute, the other for an NPN_GetURLNotify request. Each block should contain
the URL; the status line, |
| 102 which should say "HTTP 200 OK"; and the MIME-type, which should say "Content-Typ
e: text/plain".</p> | 102 which should say "HTTP 200 OK"; and the MIME-type, which should say "Content-Typ
e: text/plain".</p> |
| 103 <p>----------</p> | 103 <p>----------</p> |
| 104 <p id="result1">Running test, result should appear here in a very short time...<
/p> | 104 <p id="result1">Running test, result should appear here in a very short time...<
/p> |
| 105 <p>----------</p> | 105 <p>----------</p> |
| 106 <p id="result2">Running test, result should appear here in a very short time...<
/p> | 106 <p id="result2">Running test, result should appear here in a very short time...<
/p> |
| 107 </body> | 107 </body> |
| 108 </html> | 108 </html> |
| OLD | NEW |