| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-with-source-map-blackboxing.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-with-source-map-blackboxing.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-with-source-map-blackboxing.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..35eedc540ac13a37789011e2486bd3a6cc575160
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-with-source-map-blackboxing.html
|
| @@ -0,0 +1,39 @@
|
| +<html>
|
| +<head>
|
| +<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| +<script src="../../../http/tests/inspector/debugger-test.js"></script>
|
| +<script src="../debugger/resources/framework-with-sourcemap.js"></script>
|
| +<script>
|
| +function testFunction()
|
| +{
|
| + Framework.callFunction((a) => {debugger; ++a});
|
| +}
|
| +
|
| +function test()
|
| +{
|
| + var frameworkRegexString = "/foo\\.js$";
|
| + WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexString);
|
| +
|
| + InspectorTest.runDebuggerTestSuite([
|
| + function testBlackboxing(next)
|
| + {
|
| + InspectorTest.waitUntilPaused(step1);
|
| + InspectorTest.evaluateInPageWithTimeout("testFunction()");
|
| +
|
| + function step1(callFrames, reason, breakpointIds, asyncStackTrace)
|
| + {
|
| + InspectorTest.captureStackTrace(callFrames, asyncStackTrace);
|
| + InspectorTest.runAfterPendingDispatches(next);
|
| + }
|
| + },
|
| + ]);
|
| +}
|
| +</script>
|
| +</head>
|
| +
|
| +<body onload="runTest()">
|
| +<p>
|
| +Tests framework black-boxing with source maps.
|
| +</p>
|
| +</body>
|
| +</html>
|
|
|