Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-script-id.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-script-id.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-script-id.html |
deleted file mode 100644 |
index ac751ccf2023cea19e85bff1f05e1af458defc8d..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-script-id.html |
+++ /dev/null |
@@ -1,70 +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, startTimeline); |
- |
- function startTimeline() |
- { |
- InspectorTest.invokeAsyncWithTimeline("performActions", finish); |
- } |
- |
- var linkifier = new WebInspector.Linkifier(); |
- |
- var recordTypes = new Set(["TimerInstall", "TimerRemove", "FunctionCall"]); |
- function formatter(event) |
- { |
- if (!recordTypes.has(event.name)) |
- return; |
- |
- var detailsText = WebInspector.TimelineUIUtils.buildDetailsTextForTraceEvent(event, InspectorTest.timelineModel().target()); |
- InspectorTest.addResult("detailsTextContent for " + event.name + " event: '" + detailsText + "'"); |
- |
- var details = WebInspector.TimelineUIUtils.buildDetailsNodeForTraceEvent(event, InspectorTest.timelineModel().target(), linkifier); |
- if (!details) |
- return; |
- InspectorTest.addResult("details.textContent for " + event.name + " event: '" + details.textContent.replace(/VM[\d]+/, "VM") + "'"); |
- } |
- |
- function finish() |
- { |
- InspectorTest.walkTimelineEventTree(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> |