WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
198951
Web Inspector: Network: detail view shouldn't stay open when the related entry is removed
https://bugs.webkit.org/show_bug.cgi?id=198951
Summary
Web Inspector: Network: detail view shouldn't stay open when the related entr...
Devin Rousso
Reported
2019-06-17 21:04:43 PDT
# STEPS TO REPRODUCE: 1. inspect any page 2. go to the Network tab 3. reload the inspected page 4. select any entry in the Network tab 5. reload the inspected page => the detail view stays open
Attachments
Patch
(3.04 KB, patch)
2019-06-17 21:19 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Patch
(3.14 KB, patch)
2019-06-18 12:01 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2019-06-17 21:19:44 PDT
Created
attachment 372320
[details]
Patch
Joseph Pecoraro
Comment 2
2019-06-18 11:52:25 PDT
Comment on
attachment 372320
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=372320&action=review
Good catch! r-me
> Source/WebInspectorUI/UserInterface/Views/Table.js:285 > - for (let rowIndex = this._visibleRowIndexStart; rowIndex < this._visibleRowIndexEnd; ++rowIndex) { > + let numberOfRows = this.numberOfRows; > + for (let rowIndex = this._visibleRowIndexStart; rowIndex < Math.min(this._visibleRowIndexEnd, numberOfRows); ++rowIndex) {
You should be able to move the `Math.min` calculation out of the loop so it is only performed once: let endIndex = Math.min(this._visibleRowIndexEnd, this.numberOfRows);
Devin Rousso
Comment 3
2019-06-18 12:01:10 PDT
Created
attachment 372358
[details]
Patch
WebKit Commit Bot
Comment 4
2019-06-18 12:50:12 PDT
Comment on
attachment 372358
[details]
Patch Clearing flags on attachment: 372358 Committed
r246560
: <
https://trac.webkit.org/changeset/246560
>
WebKit Commit Bot
Comment 5
2019-06-18 12:50:14 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6
2019-06-18 12:51:20 PDT
<
rdar://problem/51861653
>
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