Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-timer-fired-from-eval-call-site.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-timer-fired-from-eval-call-site.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-timer-fired-from-eval-call-site.html |
deleted file mode 100644 |
index 22569e8305c70b5aa39c5889312f57f7364343a9..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/inspector/tracing/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].traceEvent().args["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> |