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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sha1.html

Issue 2839273003: [Devtools] New structure and colorize rows for network products (Closed)
Patch Set: Merge remote-tracking branch 'origin/master' into NEW_DEPENDENCY_PRODUCTS Created 3 years, 7 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <meta charset="utf8"> 3 <meta charset="utf8">
4 <script src="../http/tests/inspector/inspector-test.js"></script> 4 <script src="../http/tests/inspector/inspector-test.js"></script>
5 <script> 5 <script>
6 6
7 function initialize_ProductRegistry() { 7 function initialize_ProductRegistry() {
8 InspectorTest.preloadModule('product_registry'); 8 InspectorTest.preloadModule('product_registry_impl');
9 } 9 }
10 10
11 function test() 11 function test()
12 { 12 {
13 InspectorTest.addResult('foobar : ' + ProductRegistry.sha1('foobar')); 13 InspectorTest.addResult('foobar : ' + ProductRegistryImpl.sha1('foobar'));
14 InspectorTest.addResult('hello : ' + ProductRegistry.sha1('hello')); 14 InspectorTest.addResult('hello : ' + ProductRegistryImpl.sha1('hello'));
15 InspectorTest.addResult('abcdefghijklmnopqrstuvwxyz : ' + ProductRegistry.sh a1('abcdefghijklmnopqrstuvwxyz')); 15 InspectorTest.addResult('abcdefghijklmnopqrstuvwxyz : ' + ProductRegistryImp l.sha1('abcdefghijklmnopqrstuvwxyz'));
16 InspectorTest.addResult('ABCDEFGHIJKLMNOPQRSTUVWXYZ : ' + ProductRegistry.sh a1('ABCDEFGHIJKLMNOPQRSTUVWXYZ')); 16 InspectorTest.addResult('ABCDEFGHIJKLMNOPQRSTUVWXYZ : ' + ProductRegistryImp l.sha1('ABCDEFGHIJKLMNOPQRSTUVWXYZ'));
17 InspectorTest.addResult('a : ' + ProductRegistry.sha1('a')); 17 InspectorTest.addResult('a : ' + ProductRegistryImpl.sha1('a'));
18 InspectorTest.addResult('A : ' + ProductRegistry.sha1('A')); 18 InspectorTest.addResult('A : ' + ProductRegistryImpl.sha1('A'));
19 InspectorTest.addResult('A1 : ' + ProductRegistry.sha1('A1')); 19 InspectorTest.addResult('A1 : ' + ProductRegistryImpl.sha1('A1'));
20 InspectorTest.completeTest(); 20 InspectorTest.completeTest();
21 } 21 }
22 22
23 </script> 23 </script>
24 </head> 24 </head>
25 <body onload="runTest()"> 25 <body onload="runTest()">
26 Tests SHA-1 hashes. 26 Tests SHA-1 hashes.
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698