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

Side by Side Diff: LayoutTests/http/tests/inspector/compiler-source-mapping-debug.html

Issue 13845021: DevTools: Bring Sass support from behind the experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 7 years, 5 months 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 | Annotate | Revision Log
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="resources/compiled.js"></script> 5 <script src="resources/compiled.js"></script>
6 6
7 <script> 7 <script>
8 8
9 function clickButton() 9 function clickButton()
10 { 10 {
11 document.getElementById('test').click(); 11 document.getElementById('test').click();
12 } 12 }
13 13
14 function test() 14 function test()
15 { 15 {
16 InspectorTest.runDebuggerTestSuite([ 16 InspectorTest.runDebuggerTestSuite([
17 function testSetBreakpoint(next) 17 function testSetBreakpoint(next)
18 { 18 {
19 WebInspector.settings.sourceMapsEnabled.set(true); 19 WebInspector.settings.jsSourceMapsEnabled.get = function() { return true; };
20 InspectorTest.reloadPage(pageReloaded); 20 InspectorTest.reloadPage(pageReloaded);
21 21
22 function pageReloaded() 22 function pageReloaded()
23 { 23 {
24 InspectorTest.showScriptSource("source1.js", didShowSource); 24 InspectorTest.showScriptSource("source1.js", didShowSource);
25 } 25 }
26 26
27 function didShowSource(sourceFrame) 27 function didShowSource(sourceFrame)
28 { 28 {
29 InspectorTest.addResult("Script source was shown."); 29 InspectorTest.addResult("Script source was shown.");
(...skipping 12 matching lines...) Expand all
42 }; 42 };
43 43
44 </script> 44 </script>
45 45
46 </head> 46 </head>
47 47
48 <body onload="runTest()"> 48 <body onload="runTest()">
49 <p>Tests installing compiler source map in scripts panel.</p> 49 <p>Tests installing compiler source map in scripts panel.</p>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698