| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <body> |
| 3 <script src="/js-test-resources/js-test.js"></script> | 3 <script src="/js-test-resources/js-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) { |
| 6 testRunner.dumpAsText(); |
| 7 testRunner.waitUntilDone(); |
| 8 } |
| 5 | 9 |
| 6 performance.onwebkitresourcetimingbufferfull = function() { | 10 performance.onwebkitresourcetimingbufferfull = function() { |
| 7 window.stop(); | 11 window.stop(); |
| 8 document.body.innerHTML = "PASS. No crash when stop loading on resource timing
buffer full."; | 12 document.body.innerHTML = "PASS. No crash when stop loading on resource timing
buffer full."; |
| 9 setTimeout("testRunner.notifyDone()", 0); | 13 setTimeout("testRunner.notifyDone()", 0); |
| 10 }; | 14 }; |
| 11 | 15 |
| 12 performance.webkitSetResourceTimingBufferSize(1); | 16 performance.webkitSetResourceTimingBufferSize(1); |
| 13 </script> | 17 </script> |
| 14 </head> | |
| 15 <body> | |
| 16 <script> | |
| 17 if (window.testRunner) { | |
| 18 testRunner.dumpAsText(); | |
| 19 testRunner.waitUntilDone(); | |
| 20 } | |
| 21 </script> | |
| 22 </body> | 18 </body> |
| 23 </html> | 19 </html> |
| OLD | NEW |