| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../inspector-test.js"></script> | 3 <script src="../../inspector-test.js"></script> |
| 4 <script src="../../debugger-test.js"></script> | 4 <script src="../../debugger-test.js"></script> |
| 5 <script src="../../elements-test.js"></script> | 5 <script src="../../elements-test.js"></script> |
| 6 <script src="../../workspace-test.js"></script> | |
| 7 <script src="../../isolated-filesystem-test.js"></script> | 6 <script src="../../isolated-filesystem-test.js"></script> |
| 8 <script> | 7 <script> |
| 9 function loadStylesheet(line0, line1, line2) | 8 function loadStylesheet(line0, line1, line2) |
| 10 { | 9 { |
| 11 var styleText = "#inspected {\n color: red;\n}\n"; | 10 var styleText = "#inspected {\n color: red;\n}\n"; |
| 12 var styleElement = document.createElement("style"); | 11 var styleElement = document.createElement("style"); |
| 13 styleElement.type = "text/css"; | 12 styleElement.type = "text/css"; |
| 14 var sourceURL = "http://localhost:8000/inspector/elements/styles/foo.css"; | 13 var sourceURL = "http://localhost:8000/inspector/elements/styles/foo.css"; |
| 15 var stylesheetContent = styleText + "\n/*# sourceURL=" + sourceURL + " */"; | 14 var stylesheetContent = styleText + "\n/*# sourceURL=" + sourceURL + " */"; |
| 16 styleElement.textContent = stylesheetContent; | 15 styleElement.textContent = stylesheetContent; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 } | 91 } |
| 93 ]); | 92 ]); |
| 94 }; | 93 }; |
| 95 </script> | 94 </script> |
| 96 </head> | 95 </head> |
| 97 <body onload="runTest()"> | 96 <body onload="runTest()"> |
| 98 <div id="inspected"></div> | 97 <div id="inspected"></div> |
| 99 <p>Tests file system project mappings.</p> | 98 <p>Tests file system project mappings.</p> |
| 100 </body> | 99 </body> |
| 101 </html> | 100 </html> |
| OLD | NEW |