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

Unified Diff: LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site.html

Issue 709423002: DevTools: remove old Timeline front-end implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated LayoutTests/inspector/layers/layer-canvas-log.html Created 6 years, 1 month 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: LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site.html
diff --git a/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site.html b/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site.html
deleted file mode 100644
index 28453f121365ff49fd28edf02adb43d8b805720d..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/timeline-test.js"></script>
-<script>
-
-function performActions(callback)
-{
- window.callWhenDone = callback;
- var content = "" +
- "var fn2 = function() {" +
- " console.markTimeline(\"Script evaluated\");" +
- " window.callWhenDone();" +
- "};\\n" +
- "var fn1 = function() {" +
- " window.setTimeout(fn2, 1);" +
- "};\\n" +
- "window.setTimeout(fn1, 1);\\n" +
- "//# sourceURL=fromEval.js";
- content = "eval('" + content + "');";
- var scriptElement = document.createElement('script');
- var contentNode = document.createTextNode(content);
- scriptElement.appendChild(contentNode);
- document.body.appendChild(scriptElement);
- document.body.removeChild(scriptElement);
-}
-
-function test()
-{
- InspectorTest.invokeAsyncWithTimeline("performActions", finish);
-
- function finish()
- {
- function formatter(record)
- {
- if (record.type() === "TimerFire") {
- var fnCallSite = record.children()[0].data();
- InspectorTest.addResult(record.type() + " " + fnCallSite.scriptName + ":" + fnCallSite.scriptLine);
- }
- }
- InspectorTest.printTimelineRecords(null, formatter);
- InspectorTest.completeTest();
- }
-}
-
-if (!window.testRunner)
- setTimeout(performActions, 3000);
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests the Timeline API instrumentation of a TimerFired events inside evaluated scripts.
-</p>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698