| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script> | |
| 5 if (window.testRunner) { | |
| 6 testRunner.dumpAsText(); | |
| 7 testRunner.waitUntilDone(); | |
| 8 } | |
| 9 | |
| 10 function test() { | |
| 11 performance.webkitMark("startTask1"); | |
| 12 performance.webkitMark("endTask1"); | |
| 13 | |
| 14 var perfEntries = performance.webkitGetEntriesByType("mark"); | |
| 15 testRunner.notifyDone(); | |
| 16 } | |
| 17 | |
| 18 window.addEventListener("load", test); | |
| 19 </script> | |
| 20 </head> | |
| 21 <body> | |
| 22 <p>Calling prefixed <code>window.performance</code> APIs should generate | |
| 23 deprecation warnings.</p> | |
| 24 </body> | |
| 25 </html> | |
| OLD | NEW |