| OLD | NEW |
| (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> |
| OLD | NEW |