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

Side by Side Diff: LayoutTests/inspector/documentation-url-provider.html

Issue 447703002: DocumentationURLProvider class created (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@semen
Patch Set: Tests added; rebased on 444883003 issue Created 6 years, 4 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
(Empty)
1 <html>
2 <head>
3 <script src="../http/tests/inspector/inspector-test.js"></script>
4 <script>
5
6 function test()
7 {
8 WebInspector.moduleManager.registerModule("documentation");
9 WebInspector.moduleManager.loadModule("documentation");
10 var testCases = [
11 "max",
12 "insertBefore",
13 "eval",
14 "stringify",
15 "isArray",
16 "now",
17 "fromCharCode",
lushnikov 2014/08/06 17:27:51 These are all methods that exist. Let's add some t
semeny 2014/08/07 09:57:08 Done.
18 "keys"];
lushnikov 2014/08/06 17:27:51 "];" on a new line
semeny 2014/08/07 09:57:08 Done.
19 for (var i = 0; i < testCases.length; i++) {
lushnikov 2014/08/06 17:27:51 ++i
semeny 2014/08/07 09:57:08 Done.
20 var urlFormer = new WebInspector.DocumentationURLProvider();
lushnikov 2014/08/06 17:27:51 do we really need to recreate it for every for-loo
semeny 2014/08/07 09:57:08 Done.
21 InspectorTest.addResult("Property " + testCases[i] + ":");
22 InspectorTest.addResult(urlFormer.formItemPath(testCases[i]));
23 }
24 InspectorTest.completeTest();
25 }
26
27 </script>
28 </head>
29 <body onload="runTest()">
lushnikov 2014/08/06 17:27:51 We usually add a short test description in <body>
semeny 2014/08/07 09:57:08 Done.
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698