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

Side by Side Diff: LayoutTests/fast/profiler/many-calls-in-the-same-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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="resources/profiler-test-JS-resources.js"></script>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 if (window.internals)
8 internals.setJavaScriptProfilingEnabled(true);
9
10 function startTest()
11 {
12 console.profile("Many Calls In The Same Scope");
13
14 insertNewText();
15 insertGivenText("This was a triumph.");
16 arrayOperatorFunction(7);
17 intermediaryFunction();
18 anonymousFunction();
19 end()
20 endT();
21 endT();
22
23 endTest();
24 }
25
26 function end()
27 {
28 var x = 0;
29 }
30
31 function endT()
32 {
33 var y = 1;
34 }
35
36 </script>
37 </head>
38
39 <body onload="startTest()">
40 This page's JavaScript has many function calls in the same scope.
41 <br>
42 <br>
43 To run this test manually, load it in the browser then load the WebInspector and look at
44 the profile. In the profile many functions should be the children of startTest.
45 Use the sorting capabilites to make sure the similarly named functions are sorte d
46 correctly.
47 <div id="output"></div>
48 </body>
49 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698