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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/components/file-path-scoring.html

Issue 2584113002: DevTools: render progress while picking the go-to-file. (Closed)
Patch Set: rebaselined Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/components/file-path-scoring-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/sources-test.js"></script> 4 <script src="../../http/tests/inspector/sources-test.js"></script>
5 <script src="../resources/example-fileset-for-test.js"></script> 5 <script src="../resources/example-fileset-for-test.js"></script>
6 <script> 6 <script>
7 function test() 7 function test()
8 { 8 {
9 const TestQueries = [ 9 const TestQueries = [
10 ["textepl", "./Source/devtools/front_end/TextEditor.pl"], 10 ["textepl", "./Source/devtools/front_end/TextEditor.pl"],
11 ["defted", "./Source/devtools/front_end/DefaultTextEditor.pl"], 11 ["defted", "./Source/devtools/front_end/DefaultTextEditor.pl"],
12 ["CMTE", "./Source/devtools/front_end/CodeMirrorTextEditor.pl"], 12 ["CMTE", "./Source/devtools/front_end/CodeMirrorTextEditor.pl"],
13 ["frocmte", "./Source/devtools/front_end/CodeMirrorTextEditor.pl"], 13 ["frocmte", "./Source/devtools/front_end/CodeMirrorTextEditor.pl"],
14 ["cmtepl", "./Source/devtools/front_end/CodeMirrorTextEditor.pl"], 14 ["cmtepl", "./Source/devtools/front_end/CodeMirrorTextEditor.pl"],
15 ["setscr", "./Source/devtools/front_end/SettingsScreen.pl"], 15 ["setscr", "./Source/devtools/front_end/SettingsScreen.pl"],
16 ["cssnfv", "./Source/devtools/front_end/CSSNamedFlowView.pl"], 16 ["cssnfv", "./Source/devtools/front_end/CSSNamedFlowView.pl"],
17 ["jssf", "./Source/devtools/front_end/JavaScriptSourceFrame.pl"], 17 ["jssf", "./Source/devtools/front_end/JavaScriptSourceFrame.pl"],
18 ["sofrapl", "./Source/devtools/front_end/SourceFrame.pl"], 18 ["sofrapl", "./Source/devtools/front_end/SourceFrame.pl"],
19 ["inspeins", "./Source/core/inspector/InspectorInstrumentation.bpp"], 19 ["inspeins", "./Source/core/inspector/InspectorInstrumentation.z"],
20 ["froscr", "./Source/devtools/front_end/Script.pl"], 20 ["froscr", "./Source/devtools/front_end/Script.pl"],
21 ["adscon", "./Source/devtools/front_end/AdvancedSearchController.pl"] 21 ["adscon", "./Source/devtools/front_end/AdvancedSearchController.pl"]
22 ]; 22 ];
23 InspectorTest.evaluateInPage("blinkFilePaths()", step1); 23 InspectorTest.evaluateInPage("blinkFilePaths()", step1);
24 InspectorTest.addResult("Expected score must be equal to the actual score"); 24 InspectorTest.addResult("Expected score must be equal to the actual score");
25 25
26 function step1(filePaths) 26 function step1(filePaths)
27 { 27 {
28 var files = filePaths.value.split(":"); 28 var files = filePaths.value.split(":");
29 InspectorTest.addResult("Test set size: " + files.length); 29 InspectorTest.addResult("Test set size: " + files.length);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 result += "<"; 84 result += "<";
85 return result + " (score: " + score + ")"; 85 return result + " (score: " + score + ")";
86 } 86 }
87 }; 87 };
88 </script> 88 </script>
89 </head> 89 </head>
90 <body onload="runTest()"> 90 <body onload="runTest()">
91 <p>Test file path scoring function</p> 91 <p>Test file path scoring function</p>
92 </body> 92 </body>
93 </html> 93 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/components/file-path-scoring-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698