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

Unified Diff: LayoutTests/fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months 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/fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html
diff --git a/LayoutTests/fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html b/LayoutTests/fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html
deleted file mode 100644
index 1b39c1da177bcaea3121302e1ebec665693c6352..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<html>
-<head>
-<script src="resources/profiler-test-JS-resources.js"></script>
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-if (window.internals)
- internals.setJavaScriptProfilingEnabled(true);
-
-function startTest()
-{
- indirection();
- functionWichStartsAndStopsTheProfiler();
- endTest();
-}
-
-function indirection()
-{
- functionWichStartsAndStopsTheProfiler();
-}
-
-var firstTime = true;
-function functionWichStartsAndStopsTheProfiler()
-{
- if (firstTime) {
- console.profile("Calling the same function where the profile started from another function");
- firstTime = false;
- }
-
- for (var i = 0; i < 10000000; i++)
- var b = i + 2;
-}
-
-</script>
-</head>
-
-<body onload="startTest()">
-This page's JavaScript starts profiling from within a function which is then called
-later from another context.
-<br>
-<br>
-To run this test manually, load it in the browser then load the WebInspector and look at
-the profile. In the profiler you should see a call to indirection() and
-functionWichStartsAndStopsTheProfiler()
-<div id="output"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698