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

Unified Diff: LayoutTests/inspector/debugger/script-formatter-breakpoints.html

Issue 10005037: Merge 112841 - Web Inspector: breakpoints are not shown in sidebar pane after switching pretty-prin… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/debugger/script-formatter-breakpoints-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/debugger/script-formatter-breakpoints.html
===================================================================
--- LayoutTests/inspector/debugger/script-formatter-breakpoints.html (revision 113431)
+++ LayoutTests/inspector/debugger/script-formatter-breakpoints.html (working copy)
@@ -39,6 +39,7 @@
function pausedInF1(callFrames)
{
InspectorTest.assertEquals("f1", callFrames[0].functionName);
+ dumpBreakpointSidebarPane();
InspectorTest.resumeExecution(resumed);
}
@@ -62,6 +63,7 @@
function didNavigateBack()
{
InspectorTest.addResult("Navigated back to test page.");
+ dumpBreakpointSidebarPane();
InspectorTest.showScriptSource("script-formatter-breakpoints.html", didShowFormattedScriptSource);
}
@@ -77,11 +79,26 @@
function pausedInF2(callFrames)
{
InspectorTest.assertEquals("f2", callFrames[0].functionName);
+ dumpBreakpointSidebarPane();
panel._toggleFormatSource();
- InspectorTest.resumeExecution(next);
+ InspectorTest.resumeExecution(resumedF2);
}
+
+ function resumedF2()
+ {
+ dumpBreakpointSidebarPane();
+ next();
+ }
}
]);
+
+ function dumpBreakpointSidebarPane()
+ {
+ var paneElement = WebInspector.panels.scripts.sidebarPanes.jsBreakpoints.listElement
+ InspectorTest.addResult("");
+ InspectorTest.addResult("Dump breakpoint sidebar pane:");
+ InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(paneElement));
+ }
}
</script>
« no previous file with comments | « no previous file | LayoutTests/inspector/debugger/script-formatter-breakpoints-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698