| Index: third_party/WebKit/LayoutTests/http/tests/inspector/tracing/timeline-script-parse.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/tracing/timeline-script-parse.html b/third_party/WebKit/LayoutTests/http/tests/inspector/tracing/timeline-script-parse.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ce66fb88f603de41c340ef3b08569581a0510f3f
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/tracing/timeline-script-parse.html
|
| @@ -0,0 +1,37 @@
|
| +<html>
|
| +<head>
|
| +<script src="../inspector-test.js"></script>
|
| +<script src="../timeline-test.js"></script>
|
| +<script src="../network-test.js"></script>
|
| +<script>
|
| +
|
| +function performActions(callback)
|
| +{
|
| + var script = document.createElement("script");
|
| + script.src = "resources/timeline-script-parse.php";
|
| + script.async = true;
|
| + script.onload = callback;
|
| + document.body.appendChild(script);
|
| +}
|
| +
|
| +function test()
|
| +{
|
| + InspectorTest.invokeAsyncWithTimeline("performActions", finish);
|
| +
|
| + function finish()
|
| + {
|
| + InspectorTest.printTimelineRecordsWithDetails("v8.parseOnBackground");
|
| + InspectorTest.completeTest();
|
| + }
|
| +}
|
| +
|
| +</script>
|
| +</head>
|
| +
|
| +<body onload="runTest()">
|
| +<p>
|
| +Tests the Timeline events for v8.parseOnBackground
|
| +</p>
|
| +
|
| +</body>
|
| +</html>
|
|
|