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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-with-source-map-blackboxing.html

Issue 1649553002: [DevTools] Support source map with blackboxing in call frame sidebar, console (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script src="../debugger/resources/framework-with-sourcemap.js"></script>
6 <script>
7 function testFunction()
8 {
9 Framework.callFunction((a) => {debugger; ++a});
10 }
11
12 function test()
13 {
14 var frameworkRegexString = "/foo\\.js$";
15 WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexStri ng);
16
17 InspectorTest.runDebuggerTestSuite([
18 function testBlackboxing(next)
19 {
20 InspectorTest.waitUntilPaused(step1);
21 InspectorTest.evaluateInPageWithTimeout("testFunction()");
22
23 function step1(callFrames, reason, breakpointIds, asyncStackTrace)
24 {
25 InspectorTest.captureStackTrace(callFrames, asyncStackTrace);
26 InspectorTest.runAfterPendingDispatches(next);
27 }
28 },
29 ]);
30 }
31 </script>
32 </head>
33
34 <body onload="runTest()">
35 <p>
36 Tests framework black-boxing with source maps.
37 </p>
38 </body>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698