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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.html

Issue 2533073003: [DevTools] Remove workspace-test.js part1. (Closed)
Patch Set: Created 4 years 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
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698