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

Unified Diff: LayoutTests/inspector/timeline/timeline-bound-function.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-bound-function.html
diff --git a/LayoutTests/inspector/timeline/timeline-bound-function.html b/LayoutTests/inspector/timeline/timeline-bound-function.html
deleted file mode 100644
index acf3870f01dadc8a37b77a4dd72408f578bed401..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/timeline/timeline-bound-function.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/timeline-test.js"></script>
-<script>
-
-function original() { }
-
-function performActions()
-{
- var b = document.getElementById("btn");
- var foo = original.bind();
- b.onclick = foo;
- b.click();
-}
-
-function test()
-{
- InspectorTest.evaluateWithTimeline("performActions()", finish);
-
- function finish()
- {
- function formatter(record)
- {
- if (record.type() === "FunctionCall") {
- var scriptName = record.data().scriptName;
- var scriptNameShort = scriptName.substring(scriptName.lastIndexOf("/") + 1);
- if (scriptNameShort !== "InjectedScript")
- InspectorTest.addResult(record.type() + " " + scriptNameShort + ":" + record.data().scriptLine);
- }
- }
- InspectorTest.printTimelineRecords(null, formatter);
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests extracting information about original functions from bound ones
-</p>
-<button id="btn"></button>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698