WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
180996
Web Inspector: Network Table - Redesign the waterfall popover showing timing data
https://bugs.webkit.org/show_bug.cgi?id=180996
Summary
Web Inspector: Network Table - Redesign the waterfall popover showing timing ...
Joseph Pecoraro
Reported
2017-12-19 13:41:17 PST
Network Table - Redesign the waterfall popover showing timing data The current popover just shows a "big graph". Redesign the popover to be more about explanation.
Attachments
[IMAGE] Waterfall Popover - All Fields
(551.71 KB, image/png)
2017-12-19 13:53 PST
,
Joseph Pecoraro
no flags
Details
[IMAGE] Waterfall Popover - Some Fields
(551.21 KB, image/png)
2017-12-19 13:54 PST
,
Joseph Pecoraro
no flags
Details
[IMAGE] Timing Detail View - Most Fields
(386.83 KB, image/png)
2017-12-19 13:54 PST
,
Joseph Pecoraro
no flags
Details
[PATCH] Proposed Fix
(33.68 KB, patch)
2017-12-19 13:54 PST
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
[PATCH] Proposed Fix
(31.64 KB, patch)
2017-12-19 14:01 PST
,
Joseph Pecoraro
mattbaker
: review+
ews-watchlist
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews105 for mac-elcapitan-wk2
(3.07 MB, application/zip)
2017-12-19 15:52 PST
,
EWS Watchlist
no flags
Details
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Joseph Pecoraro
Comment 1
2017-12-19 13:41:44 PST
<
rdar://problem/34072542
>
Joseph Pecoraro
Comment 2
2017-12-19 13:53:59 PST
Created
attachment 329810
[details]
[IMAGE] Waterfall Popover - All Fields
Joseph Pecoraro
Comment 3
2017-12-19 13:54:10 PST
Created
attachment 329811
[details]
[IMAGE] Waterfall Popover - Some Fields
Joseph Pecoraro
Comment 4
2017-12-19 13:54:32 PST
Created
attachment 329812
[details]
[IMAGE] Timing Detail View - Most Fields
Joseph Pecoraro
Comment 5
2017-12-19 13:54:48 PST
Created
attachment 329813
[details]
[PATCH] Proposed Fix
Joseph Pecoraro
Comment 6
2017-12-19 13:56:01 PST
Comment on
attachment 329813
[details]
[PATCH] Proposed Fix Oops, need to rebase.
Joseph Pecoraro
Comment 7
2017-12-19 14:01:40 PST
Created
attachment 329817
[details]
[PATCH] Proposed Fix
EWS Watchlist
Comment 8
2017-12-19 15:52:17 PST
Comment hidden (obsolete)
Comment on
attachment 329817
[details]
[PATCH] Proposed Fix
Attachment 329817
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/5760511
New failing tests: webrtc/video-replace-muted-track.html
EWS Watchlist
Comment 9
2017-12-19 15:52:19 PST
Comment hidden (obsolete)
Created
attachment 329845
[details]
Archive of layout-test-results from ews105 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Joseph Pecoraro
Comment 10
2017-12-19 16:32:42 PST
Comment on
attachment 329845
[details]
Archive of layout-test-results from ews105 for mac-elcapitan-wk2 Failure appears to be unrelated to the patch.
Matt Baker
Comment 11
2017-12-19 16:46:03 PST
Comment on
attachment 329817
[details]
[PATCH] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=329817&action=review
r=me, with a couple nits/comments.
> Source/WebInspectorUI/UserInterface/Views/ResourceTimingBreakdownView.css:32 > + color: gray;
Style: every use of `gray` could be replaced with var(--text-color-gray-medium), but I'll leave it up to you. We should probably just update the variable's value to be gray instead of hsl(0, 0%, 52%).
> Source/WebInspectorUI/UserInterface/Views/ResourceTimingBreakdownView.css:41 > + padding-left: 5px;
Use -webkit-padding-start for this to be RTL ready.
> Source/WebInspectorUI/UserInterface/Views/ResourceTimingBreakdownView.js:33 > + console.assert(!fixedWidth || fixedWidth >= 100, "fixedWidth must be at least wide enough for strings");
Nit: assert description should end in a period.
> Source/WebInspectorUI/UserInterface/Views/ResourceTimingBreakdownView.js:56 > + if (additionalClassName)
I was about to suggest row.classList.add("header", additionalClassName), but learned that `null` and `undefined` get converted to "null" and "undefined" and added as classes!
> Source/WebInspectorUI/UserInterface/Views/ResourceTimingContentView.js:97 > + breakdownView.updateLayout();
The breakdownView isn't being added to the view hierarchy. This is okay, so long as it never needs to layout again (which seems to be the case, as it implements View.initialLayout but not View.layout). The call to updateLayout does the trick just fine here (a scheduled layout would never run), but thought it was worth mentioning. Earlier ResourceTimingBreakdownView is used in as popover, which isn't a part of the View hierarchy currently, so updateLayout is required. That said, eventually we should make Popover a view that is a child of the root (document.body).
Joseph Pecoraro
Comment 12
2017-12-19 16:57:14 PST
<
https://trac.webkit.org/r226158
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug