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

Unified Diff: LayoutTests/fast/profiler/anonymous-functions-with-display-names.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/anonymous-functions-with-display-names.html
diff --git a/LayoutTests/fast/profiler/anonymous-functions-with-display-names.html b/LayoutTests/fast/profiler/anonymous-functions-with-display-names.html
deleted file mode 100644
index 667b847d1c7bd203c31d229f22ee8c1d53a3b245..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/profiler/anonymous-functions-with-display-names.html
+++ /dev/null
@@ -1,45 +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 anonymousFunctionGenerator(iterations)
-{
- var variableThatPointsToAnAnonymousFunction = function()
- {
- for (var i = 0; i < iterations; ++i) ;
- }
-
- variableThatPointsToAnAnonymousFunction.displayName = iterations + " iterations function";
-
- return variableThatPointsToAnAnonymousFunction;
-}
-
-function startTest()
-{
- console.profile("Anonymous functions with display names");
-
- anonymousFunctionGenerator(0)();
- anonymousFunctionGenerator(1)();
- anonymousFunctionGenerator(2)();
- anonymousFunctionGenerator(20)();
- anonymousFunctionGenerator(1000)();
-
- endTest();
-}
-</script>
-</head>
-
-<body onload="startTest()">
-This page's JavaScript calls anonymous functions with display names.
-<br>
-<br>
-To run this test manually, load it in the browser then load the WebInspector and look at
-the profile. You should see functions named "[x] iterations function", and no anonymous functions.
-<div id="output"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698