| Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-record-reload.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-record-reload.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-record-reload.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0a9c09f9b26268d49fd4acead22c38a6425e0a48
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-record-reload.html
|
| @@ -0,0 +1,31 @@
|
| +<html>
|
| +<head>
|
| +<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| +<script src="../../../http/tests/inspector/console-test.js"></script>
|
| +<script src="../../../http/tests/inspector/timeline-test.js"></script>
|
| +<script>
|
| +
|
| +function test()
|
| +{
|
| + var panel = UI.panels.timeline;
|
| +
|
| + InspectorTest.runWhenTimelineIsReady(recordingStopped);
|
| +
|
| + panel._millisecondsToRecordAfterLoadEvent = 1;
|
| + panel._recordReload();
|
| +
|
| + function recordingStopped()
|
| + {
|
| + InspectorTest.addResult("Recording stopped");
|
| + InspectorTest.completeTest();
|
| + }
|
| +}
|
| +
|
| +</script>
|
| +</head>
|
| +
|
| +<body onload="runTest()">
|
| +<p>Test recording page reload works in Timeline.</p>
|
| +
|
| +</body>
|
| +</html>
|
|
|