Chromium Code Reviews| 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..cd8c05b400b1e1c61c8acef8561654196ceb6af6 |
| --- /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'); |
|
caseq
2016/03/25 02:00:59
double quotes please!
horo
2016/03/25 04:51:45
Done.
|
| + script.src = 'resources/timeline-script-parse.php'; |
|
caseq
2016/03/25 02:00:59
ditto.
horo
2016/03/25 04:51:45
Done.
|
| + 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> |