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

Side by Side Diff: LayoutTests/inspector/console/console-uncaught-exception-in-eval.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/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script> 5 <script>
6 6
7 function test() 7 function test()
8 { 8 {
9 InspectorTest.reloadPage(function() { 9 InspectorTest.reloadPage(function() {
10 InspectorTest.expandConsoleMessages(); 10 InspectorTest.expandConsoleMessages();
(...skipping 10 matching lines...) Expand all
21 } 21 }
22 22
23 function a() 23 function a()
24 { 24 {
25 b(); 25 b();
26 } 26 }
27 27
28 a(); 28 a();
29 } 29 }
30 30
31 eval("(" + evalSource + ")()//@ sourceURL=evalURL.js"); 31 eval("(" + evalSource + ")()//# sourceURL=evalURL.js");
32 32
33 </script> 33 </script>
34 </head> 34 </head>
35 35
36 <body onload="runTest()"> 36 <body onload="runTest()">
37 <p> 37 <p>
38 Tests that when uncaught exception in eval'ed script ending 38 Tests that when uncaught exception in eval'ed script ending
39 with //@ sourceURL=url is logged into console, its stack trace 39 with //# sourceURL=url is logged into console, its stack trace
40 will have the url as the script source. <a href="https://bugs.webkit.org/show_bu g.cgi?id=47252">Bug 47252.</a> 40 will have the url as the script source. <a href="https://bugs.webkit.org/show_bu g.cgi?id=47252">Bug 47252.</a>
41 </p> 41 </p>
42 42
43 </body> 43 </body>
44 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698