OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script> |
| 5 |
| 6 function test() |
| 7 { |
| 8 runtime.registerModule("documentation"); |
| 9 runtime.loadModule("documentation"); |
| 10 var testCases = [ |
| 11 "max", |
| 12 "insertBefore", |
| 13 "eval", |
| 14 "stringify", |
| 15 "isArray", |
| 16 "now", |
| 17 "fromCharCode", |
| 18 "keys", |
| 19 "notExist", |
| 20 ]; |
| 21 var urlFormer = new WebInspector.DocumentationURLProvider(); |
| 22 for (var i = 0; i < testCases.length; ++i) { |
| 23 InspectorTest.addResult("Property " + testCases[i] + ":"); |
| 24 InspectorTest.addResult(urlFormer.itemPath(testCases[i])); |
| 25 } |
| 26 InspectorTest.completeTest(); |
| 27 } |
| 28 |
| 29 </script> |
| 30 </head> |
| 31 <body onload="runTest()"> |
| 32 This test verifies URL created by WebInspector.DocumentationURLProvider |
| 33 </body> |
| 34 </html> |
OLD | NEW |