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

Unified Diff: LayoutTests/inspector/jump-to-previous-editing-location.html

Issue 290393002: DevTools: more excessive dumping for jump-to-previous-position.html test (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/jump-to-previous-editing-location-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/jump-to-previous-editing-location.html
diff --git a/LayoutTests/inspector/jump-to-previous-editing-location.html b/LayoutTests/inspector/jump-to-previous-editing-location.html
index e041dc501c490b8123105217774b063f956ab940..3fc1a1eb382ef62c344e3d279799cd8897c8c260 100644
--- a/LayoutTests/inspector/jump-to-previous-editing-location.html
+++ b/LayoutTests/inspector/jump-to-previous-editing-location.html
@@ -13,6 +13,9 @@ function test()
var sourcesView = panel._sourcesView;
var historyManager = sourcesView._historyManager;
var editorContainer = sourcesView._editorContainer;
+ InspectorTest.addSniffer(historyManager._historyManager, "filterOut", function() {
+ InspectorTest.addResult("executed SimpleHistoryManager.filterOut; activeEntryIndex = " + historyManager._historyManager._activeEntryIndex);
+ }, true);
function rollback()
{
@@ -182,7 +185,7 @@ function test()
var simpleHistoryManager = historyManager._historyManager;
var entries = simpleHistoryManager._entries;
InspectorTest.addResult("=== SimpleHistoryManager state " + title + " ===");
- InspectorTest.addResult("entries count: " + entries.length);
+ InspectorTest.addResult("entries count: " + entries.length + " active entry index: " + simpleHistoryManager._activeEntryIndex);
for (var i = entries.length - 1; i >= 0; --i) {
var position = entries[i]._positionHandle.resolve();
var positionText = position ? "{line: " + position.lineNumber + ", column: " + position.columnNumber + "}" : position + "";
« no previous file with comments | « no previous file | LayoutTests/inspector/jump-to-previous-editing-location-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698