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

Unified Diff: Source/devtools/front_end/timeline/TimelineModel.js

Issue 1353653003: DevTools: cleanup timeline concise record details generation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed WS urls to be those of WS, not script Created 5 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: Source/devtools/front_end/timeline/TimelineModel.js
diff --git a/Source/devtools/front_end/timeline/TimelineModel.js b/Source/devtools/front_end/timeline/TimelineModel.js
index a12138a9db3d64e5ef9e1270d08659243ac7c2e4..d5607621f8ef94760d20b9c8947c8c29990d7a74 100644
--- a/Source/devtools/front_end/timeline/TimelineModel.js
+++ b/Source/devtools/front_end/timeline/TimelineModel.js
@@ -1060,6 +1060,11 @@ WebInspector.TimelineModel.prototype = {
if (event.initiator && event.initiator.url)
event.url = event.initiator.url;
switch (event.name) {
+ case recordTypes.ResourceSendRequest:
+ case recordTypes.WebSocketCreate:
+ event.url = event.args["data"]["url"];
+ break;
+
case recordTypes.ScheduleStyleRecalculation:
this._lastScheduleStyleRecalculation[event.args["data"]["frame"]] = event;
break;

Powered by Google App Engine
This is Rietveld 408576698