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

Unified Diff: LayoutTests/inspector/profiler/cpu-profiler-save-load.html

Issue 23609064: Make "three snapshot technique" work on heap snapshots loaded from files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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
Index: LayoutTests/inspector/profiler/cpu-profiler-save-load.html
diff --git a/LayoutTests/inspector/profiler/cpu-profiler-save-load.html b/LayoutTests/inspector/profiler/cpu-profiler-save-load.html
index 28f17899195a225c918e97a44b17c2a36db97d9e..c917d10568a1d355532d357fb2db355af80cf924 100644
--- a/LayoutTests/inspector/profiler/cpu-profiler-save-load.html
+++ b/LayoutTests/inspector/profiler/cpu-profiler-save-load.html
@@ -99,7 +99,8 @@ function test()
next();
}
var profilesPanel = WebInspector.panels.profiles;
- InspectorTest.waitUntilProfileViewIsShown(file.name, checkLoadedContent);
+ var profileName = file.name.substr(0, file.name.length - ".cpuprofile".length);
+ InspectorTest.waitUntilProfileViewIsShown(profileName, checkLoadedContent);
profilesPanel._loadFromFile(file);
var onTransferFinished = WebInspector.CPUProfileHeader.prototype.onTransferFinished;
WebInspector.CPUProfileHeader.prototype.onTransferFinished = function()

Powered by Google App Engine
This is Rietveld 408576698