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

Side by Side Diff: LayoutTests/inspector/debugger/debugger-scripts-reload.html

Issue 15832007: DevTools: Add support for //# sourceURL (sourceMappingURL) comments and deprecate //@ ones (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 7 years, 6 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="../../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 5
6 <script> 6 <script>
7 7
8 function test() 8 function test()
9 { 9 {
10 InspectorTest.evaluateInPage("function foo() {} //@ sourceURL=dummyScript.js ", step1); 10 InspectorTest.evaluateInPage("function foo() {} //# sourceURL=dummyScript.js ", step1);
11 11
12 function step1() 12 function step1()
13 { 13 {
14 InspectorTest.startDebuggerTest(step2); 14 InspectorTest.startDebuggerTest(step2);
15 } 15 }
16 16
17 function step2() 17 function step2()
18 { 18 {
19 InspectorTest.queryScripts(function(script) { step3({ data: script }) }) ; 19 InspectorTest.queryScripts(function(script) { step3({ data: script }) }) ;
20 WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.E vents.ParsedScriptSource, step3); 20 WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.E vents.ParsedScriptSource, step3);
(...skipping 21 matching lines...) Expand all
42 42
43 } 43 }
44 </script> 44 </script>
45 </head> 45 </head>
46 <body onload="runTest()"> 46 <body onload="runTest()">
47 <p> 47 <p>
48 Tests that scripts list is cleared upon page reload. 48 Tests that scripts list is cleared upon page reload.
49 </p> 49 </p>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/debugger/debugger-script-preprocessor.html ('k') | LayoutTests/inspector/debugger/dynamic-scripts.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698