Index: LayoutTests/inspector/sources/debugger/frameworks-with-async-callstack.html |
diff --git a/LayoutTests/inspector/sources/debugger/async-callstack-and-framework-black-box.html b/LayoutTests/inspector/sources/debugger/frameworks-with-async-callstack.html |
similarity index 68% |
rename from LayoutTests/inspector/sources/debugger/async-callstack-and-framework-black-box.html |
rename to LayoutTests/inspector/sources/debugger/frameworks-with-async-callstack.html |
index 28c13bc0b68cbd24bea70fe1530806fff8662b3e..0b3c6ca9afdfcaa50c955426bcc6d944640fe664 100644 |
--- a/LayoutTests/inspector/sources/debugger/async-callstack-and-framework-black-box.html |
+++ b/LayoutTests/inspector/sources/debugger/frameworks-with-async-callstack.html |
@@ -54,23 +54,9 @@ function test() |
function didPause(callFrames, reason, breakpointIds, asyncStackTrace) |
{ |
- InspectorTest.captureStackTrace(callFrames, asyncStackTrace); |
- |
- InspectorTest.addResult("\nVisible call stack:"); |
- |
- var callStackPane = WebInspector.panels.sources.sidebarPanes.callstack; |
- var placards = callStackPane.placards; |
- var lastPlacard = null; |
- for (var i = 0, index = 0; i < placards.length; ++i) { |
- var placard = placards[i]; |
- if (placard.isHidden()) |
- continue; |
- if (lastPlacard && placard._asyncPlacard !== lastPlacard._asyncPlacard) |
- InspectorTest.addResult(" [" + placard._asyncPlacard.title + "]"); |
- InspectorTest.addResult(" " + (++index) + ") " + placard.title + " (" + placard.subtitle + ")"); |
- lastPlacard = placard; |
- } |
- |
+ InspectorTest.captureStackTrace(callFrames, asyncStackTrace, { "dropFrameworkCallFrames": false }); |
+ InspectorTest.addResult("\nPrinting visible call stack:"); |
+ InspectorTest.captureStackTrace(callFrames, asyncStackTrace, { "dropFrameworkCallFrames": true }); |
InspectorTest.completeDebuggerTest(); |
} |
} |