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

Unified Diff: LayoutTests/inspector/timeline/timeline-script-id.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-script-id.html
diff --git a/LayoutTests/inspector/timeline/timeline-script-id.html b/LayoutTests/inspector/timeline/timeline-script-id.html
deleted file mode 100644
index 954fa389c9b4614bb2eb8464ed0a4b2b2f371899..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/timeline/timeline-script-id.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/timeline-test.js"></script>
-<script>
-
-function test()
-{
- function performActions(callback)
- {
- var timerOne = setTimeout("1 + 1", 10);
- var timerTwo = setInterval(intervalTimerWork, 20);
- var iteration = 0;
-
- function intervalTimerWork()
- {
- if (++iteration < 2)
- return;
- clearInterval(timerTwo);
- callback();
- }
- }
-
- var source = performActions.toString();
- source += "\n//@ sourceURL=performActions.js";
- InspectorTest.evaluateInPage(source);
-
- InspectorTest.invokeAsyncWithTimeline("performActions", finish);
-
- var linkifier = new WebInspector.Linkifier();
-
- var recordTypes = ["TimerInstall", "TimerRemove", "FunctionCall"];
- function formatter(record)
- {
- if (recordTypes.indexOf(record.type()) === -1)
- return;
-
- var details = WebInspector.TimelineUIUtilsImpl.buildDetailsNode(record, linkifier, false);
- if (details)
- InspectorTest.addResult("details.textContent for " + record.type() + " event: '" + details.textContent + "'");
- }
-
- function finish()
- {
- InspectorTest.printTimelinePresentationRecords(null, formatter);
- InspectorTest.completeTest();
- }
-}
-
-if (!window.testRunner)
- setTimeout(performActions, 2000);
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Test that checks location resolving mechanics for TimerInstall TimerRemove and FunctionCall events with scriptId.
-</p><p>
-It expects two FunctionCall for InjectedScript, two TimerInstall events, two FunctionCall events and one TimerRemove event to be logged with performActions.js script name and some line number.
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698