| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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); | 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); | 68 addUISourceCode("http://example.com/the%2fdir/foo?bar=100%25&baz=a%20%2fb",
false); |
| 69 addUISourceCode("http://example.com/path%20with%20spaces/white%20space.html"
, false); |
| 69 addUISourceCode("?a=b", false); | 70 addUISourceCode("?a=b", false); |
| 70 addUISourceCode("very_looooooooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooong_url", false); | 71 addUISourceCode("very_looooooooooooooooooooooooooooooooooooooooooooooooooooo
oooooooooooooooooooooooooooooooooooooooong_url", false); |
| 71 dumpNavigator(); | 72 dumpNavigator(); |
| 72 | 73 |
| 73 InspectorTest.addResult("Revealing first resource:"); | 74 InspectorTest.addResult("Revealing first resource:"); |
| 74 revealUISourceCode(uiSourceCodes[0]); | 75 revealUISourceCode(uiSourceCodes[0]); |
| 75 dumpNavigator(); | 76 dumpNavigator(); |
| 76 | 77 |
| 77 // Here we keep http://localhost:8080/LayoutTests/inspector/debugger2/ folde
r collapsed while adding resources into it. | 78 // Here we keep http://localhost:8080/LayoutTests/inspector/debugger2/ folde
r collapsed while adding resources into it. |
| 78 InspectorTest.addResult("Adding some resources to change the way debugger fo
lder looks like, first:"); | 79 InspectorTest.addResult("Adding some resources to change the way debugger fo
lder looks like, first:"); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 108 </script> | 109 </script> |
| 109 | 110 |
| 110 </head> | 111 </head> |
| 111 <body onload="runTest()"> | 112 <body onload="runTest()"> |
| 112 <p> | 113 <p> |
| 113 Tests scripts panel file selectors. | 114 Tests scripts panel file selectors. |
| 114 </p> | 115 </p> |
| 115 </body> | 116 </body> |
| 116 | 117 |
| 117 </html> | 118 </html> |
| OLD | NEW |