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

Unified Diff: third_party/WebKit/LayoutTests/inspector/profiler/profiler-test.js

Issue 2657893002: DevTools: temporarily revert Timeline->Performance rename. (Closed)
Patch Set: Introduce progress monitor Created 3 years, 11 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: third_party/WebKit/LayoutTests/inspector/profiler/profiler-test.js
diff --git a/third_party/WebKit/LayoutTests/inspector/profiler/profiler-test.js b/third_party/WebKit/LayoutTests/inspector/profiler/profiler-test.js
index 79e0808f508c5c1f897a4dfd85b330a557a1901b..4de21aa3205f64660c1e98a8229240b53d08da47 100644
--- a/third_party/WebKit/LayoutTests/inspector/profiler/profiler-test.js
+++ b/third_party/WebKit/LayoutTests/inspector/profiler/profiler-test.js
@@ -1,12 +1,12 @@
var initialize_ProfilerTest = function() {
-InspectorTest.preloadPanel("js_profiler");
+InspectorTest.preloadPanel("heap_profiler");
Bindings.TempFile = InspectorTest.TempFileMock;
InspectorTest.startProfilerTest = function(callback)
{
InspectorTest.addResult("Profiler was enabled.");
- InspectorTest.addSniffer(UI.panels.js_profiler, "_addProfileHeader", InspectorTest._profileHeaderAdded, true);
+ InspectorTest.addSniffer(UI.panels.heap_profiler, "_addProfileHeader", InspectorTest._profileHeaderAdded, true);
InspectorTest.addSniffer(Profiler.ProfileView.prototype, "refresh", InspectorTest._profileViewRefresh, true);
InspectorTest.safeWrap(callback)();
};
@@ -46,14 +46,14 @@ InspectorTest.showProfileWhenAdded = function(title)
InspectorTest._profileHeaderAdded = function(profile)
{
if (InspectorTest._showProfileWhenAdded === profile.title)
- UI.panels.js_profiler.showProfile(profile);
+ UI.panels.heap_profiler.showProfile(profile);
};
InspectorTest.waitUntilProfileViewIsShown = function(title, callback)
{
callback = InspectorTest.safeWrap(callback);
- var profilesPanel = UI.panels.js_profiler;
+ var profilesPanel = UI.panels.heap_profiler;
if (profilesPanel.visibleView && profilesPanel.visibleView.profile && profilesPanel.visibleView._profileHeader.title === title)
callback(profilesPanel.visibleView);
else

Powered by Google App Engine
This is Rietveld 408576698