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