| <html> |
| <head> |
| <script src="../http/tests/inspector/inspector-test.js"></script> |
| <script> |
| |
| function doit() |
| { |
| function callback(result) { |
| output("Timeline started"); |
| notifyDone(); |
| } |
| evaluateInWebInspector("startTimeline()", callback); |
| } |
| |
| |
| // Frontend functions. |
| |
| function frontend_startTimeline() { |
| /* This test seems silly, but originally it tickled bug 31080 */ |
| InspectorController.startTimelineProfiler(); |
| return true; |
| } |
| |
| |
| </script> |
| </head> |
| |
| <body onload="onload()"> |
| <p> |
| Trivial use of inspector frontend tests |
| </p> |
| |
| </body> |
| </html> |