| Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-bound-function.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-bound-function.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-bound-function.html
|
| deleted file mode 100644
|
| index 2c0903a5b60187bb6a1e73325dd6a1bce12821d2..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/inspector/tracing/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 data = record.traceEvent().args["data"];
|
| - var scriptName = data.scriptName;
|
| - var scriptNameShort = scriptName.substring(scriptName.lastIndexOf("/") + 1);
|
| - InspectorTest.addResult(record.type() + " " + scriptNameShort + ":" + 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>
|
|
|