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() |