Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/tracing/timeline-script-parse.html

Issue 1807193003: Show v8.parseOnBackground in DevTools Timeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated caseq's comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698