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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-runtime-stats.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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/tracing/timeline-js/timeline-runtime-stats.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-runtime-stats.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-runtime-stats.html
index c5eed72876e6b07f98b056e65e4026c030df5ba9..c848ee6f269dd9cf122380d298529e341598c0e6 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-runtime-stats.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-runtime-stats.html
@@ -15,14 +15,14 @@ function test()
{
Runtime.experiments.enableForTest("timelineV8RuntimeCallStats");
Runtime.experiments.enableForTest("timelineShowAllEvents");
- WebInspector.settingForTest("showNativeFunctionsInJSProfile").set(true);
- var model = WebInspector.panels.timeline._model;
+ Common.settingForTest("showNativeFunctionsInJSProfile").set(true);
+ var model = UI.panels.timeline._model;
InspectorTest.evaluateWithTimeline("performActions()", finish);
function finish()
{
var frame = model.mainThreadEvents()
- .filter(e => e.name === WebInspector.TimelineModel.RecordType.JSFrame)
+ .filter(e => e.name === TimelineModel.TimelineModel.RecordType.JSFrame)
.map(e => e.args["data"]["callFrame"])
.find(frame => frame.functionName === "FunctionCallback" && frame.url === "native V8Runtime");
InspectorTest.assertTrue(!!frame, "FunctionCallback frame not found");

Powered by Google App Engine
This is Rietveld 408576698