| OLD | NEW |
| 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/debugger-test.js"></script> | 4 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
| 5 <script src="../../../http/tests/inspector/workspace-test.js"></script> | 5 <script src="../../../http/tests/inspector/workspace-test.js"></script> |
| 6 | 6 |
| 7 <script> | 7 <script> |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 InspectorTest.createWorkspace(true); | 10 InspectorTest.createWorkspace(true); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 addUISourceCode(rootURL + "foo/bar/script.js?a=1", false); | 57 addUISourceCode(rootURL + "foo/bar/script.js?a=1", false); |
| 58 addUISourceCode(rootURL + "foo/baz/script.js", false); | 58 addUISourceCode(rootURL + "foo/baz/script.js", false); |
| 59 dumpNavigator(); | 59 dumpNavigator(); |
| 60 | 60 |
| 61 InspectorTest.addResult("Adding content scripts and some random resources:")
; | 61 InspectorTest.addResult("Adding content scripts and some random resources:")
; |
| 62 addUISourceCode(rootURL + "foo/bar/contentScript2.js?a=1", true); | 62 addUISourceCode(rootURL + "foo/bar/contentScript2.js?a=1", true); |
| 63 addUISourceCode(rootURL + "foo/bar/contentScript.js?a=2", true); | 63 addUISourceCode(rootURL + "foo/bar/contentScript.js?a=2", true); |
| 64 addUISourceCode(rootURL + "foo/bar/contentScript.js?a=1", true); | 64 addUISourceCode(rootURL + "foo/bar/contentScript.js?a=1", true); |
| 65 addUISourceCode("http://example.com/", false); | 65 addUISourceCode("http://example.com/", false); |
| 66 addUISourceCode("http://example.com/?a=b", false); | 66 addUISourceCode("http://example.com/?a=b", false); |
| 67 addUISourceCode("http://example.com/the%2fdir/foo?bar=100&baz=a%20%2fb", fal
se); |
| 68 addUISourceCode("http://example.com/the%2fdir/foo?bar=100%&baz=a%20%2fb", fa
lse); |
| 67 addUISourceCode("?a=b", false); | 69 addUISourceCode("?a=b", false); |
| 68 addUISourceCode("very_looooooooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooong_url", false); | 70 addUISourceCode("very_looooooooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooong_url", false); |
| 69 dumpNavigator(); | 71 dumpNavigator(); |
| 70 | 72 |
| 71 InspectorTest.addResult("Revealing first resource:"); | 73 InspectorTest.addResult("Revealing first resource:"); |
| 72 revealUISourceCode(uiSourceCodes[0]); | 74 revealUISourceCode(uiSourceCodes[0]); |
| 73 dumpNavigator(); | 75 dumpNavigator(); |
| 74 | 76 |
| 75 // Here we keep http://localhost:8080/LayoutTests/inspector/debugger2/ folde
r collapsed while adding resources into it. | 77 // Here we keep http://localhost:8080/LayoutTests/inspector/debugger2/ folde
r collapsed while adding resources into it. |
| 76 InspectorTest.addResult("Adding some resources to change the way debugger fo
lder looks like, first:"); | 78 InspectorTest.addResult("Adding some resources to change the way debugger fo
lder looks like, first:"); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 106 </script> | 108 </script> |
| 107 | 109 |
| 108 </head> | 110 </head> |
| 109 <body onload="runTest()"> | 111 <body onload="runTest()"> |
| 110 <p> | 112 <p> |
| 111 Tests scripts panel file selectors. | 113 Tests scripts panel file selectors. |
| 112 </p> | 114 </p> |
| 113 </body> | 115 </body> |
| 114 | 116 |
| 115 </html> | 117 </html> |
| OLD | NEW |