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

Side by Side Diff: LayoutTests/inspector/map.html

Issue 218613013: DevTools: Decouple shortcuts from actions, introduce shortcut contexts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased patch Created 6 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
« no previous file with comments | « no previous file | Source/devtools/devtools.gypi » ('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 type="text/javascript"> 4 <script type="text/javascript">
5 5
6 var test = function() 6 var test = function()
7 { 7 {
8 InspectorTest.runTestSuite([ 8 InspectorTest.runTestSuite([
9 function testMap(next) 9 function testMap(next)
10 { 10 {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 map2.remove(key1); 67 map2.remove(key1);
68 dumpMaps(map1, map2, key1, key2); 68 dumpMaps(map1, map2, key1, key2);
69 next(); 69 next();
70 }, 70 },
71 71
72 function testSet(next) 72 function testSet(next)
73 { 73 {
74 function dumpSet(set, key1, key2) 74 function dumpSet(set, key1, key2)
75 { 75 {
76 InspectorTest.addResult(" key1 : " + set.hasItem(key1)); 76 InspectorTest.addResult(" key1 : " + set.contains(key1));
77 InspectorTest.addResult(" key2 : " + set.hasItem(key2)); 77 InspectorTest.addResult(" key2 : " + set.contains(key2));
78 InspectorTest.addResult(" size : " + set.size()); 78 InspectorTest.addResult(" size : " + set.size());
79 } 79 }
80 80
81 function dumpSets(set1, set2, key1, key2) 81 function dumpSets(set1, set2, key1, key2)
82 { 82 {
83 InspectorTest.addResult("Dumping sets:"); 83 InspectorTest.addResult("Dumping sets:");
84 InspectorTest.addResult(" First set:"); 84 InspectorTest.addResult(" First set:");
85 dumpSet(set1, key1, key2) 85 dumpSet(set1, key1, key2)
86 InspectorTest.addResult(" Second set:"); 86 InspectorTest.addResult(" Second set:");
87 dumpSet(set2, key1, key2) 87 dumpSet(set2, key1, key2)
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 ]); 180 ]);
181 } 181 }
182 182
183 </script> 183 </script>
184 </head> 184 </head>
185 <body onload="runTest()"> 185 <body onload="runTest()">
186 <p>Tests Map class.</p> 186 <p>Tests Map class.</p>
187 <a href="https://bugs.webkit.org/show_bug.cgi?id=74084">Bug 74084</a> 187 <a href="https://bugs.webkit.org/show_bug.cgi?id=74084">Bug 74084</a>
188 </body> 188 </body>
189 </html> 189 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/devtools.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698