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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-sourcemap.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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="../../../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 <script src="../debugger/resources/framework-with-sourcemap.js"></script> 5 <script src="../debugger/resources/framework-with-sourcemap.js"></script>
6 <script> 6 <script>
7 7
8 function testFunction() 8 function testFunction()
9 { 9 {
10 debugger; 10 debugger;
11 return foo(callback); 11 return foo(callback);
12 } 12 }
13 13
14 function callback(i) 14 function callback(i)
15 { 15 {
16 return i; 16 return i;
17 } 17 }
18 18
19 function test() 19 function test()
20 { 20 {
21 InspectorTest.addSniffer(WebInspector.BlackboxManager.prototype, "_patternCh angeFinishedForTests", step1); 21 InspectorTest.addSniffer(Bindings.BlackboxManager.prototype, "_patternChange FinishedForTests", step1);
22 var frameworkRegexString = "/framework\\.js$"; 22 var frameworkRegexString = "/framework\\.js$";
23 WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexStri ng); 23 Common.settingForTest("skipStackFramesPattern").set(frameworkRegexString);
24 24
25 function step1() 25 function step1()
26 { 26 {
27 InspectorTest.startDebuggerTest(step2, true); 27 InspectorTest.startDebuggerTest(step2, true);
28 } 28 }
29 29
30 function step2() 30 function step2()
31 { 31 {
32 InspectorTest.runTestFunctionAndWaitUntilPaused(step3); 32 InspectorTest.runTestFunctionAndWaitUntilPaused(step3);
33 } 33 }
(...skipping 12 matching lines...) Expand all
46 { 46 {
47 InspectorTest.completeDebuggerTest(); 47 InspectorTest.completeDebuggerTest();
48 } 48 }
49 } 49 }
50 </script> 50 </script>
51 </head> 51 </head>
52 <body onload="runTest()"> 52 <body onload="runTest()">
53 <p>Tests framework blackboxing feature with sourcemaps.</p> 53 <p>Tests framework blackboxing feature with sourcemaps.</p>
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698