WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
193808
REGRESSION(?): Web Inspector: Can have multiple Timelines selected after edit mode
https://bugs.webkit.org/show_bug.cgi?id=193808
Summary
REGRESSION(?): Web Inspector: Can have multiple Timelines selected after edit...
Joseph Pecoraro
Reported
2019-01-24 19:17:35 PST
REGRESSION: Can have multiple Timelines selected after edit mode Steps to Reproduce: 1. Inspect this page 2. Show Timelines tab with multiple timelines 3. Select 1st timeline 4. Enter edit mode => No selection visible 5. Leave edit mode => Selection visible 6. Select 2nd timeline => Multiple timelines selected (unexpected)
Attachments
Patch
(3.64 KB, patch)
2019-01-27 19:24 PST
,
Matt Baker
no flags
Details
Formatted Diff
Diff
Patch
(3.40 KB, patch)
2019-01-28 11:16 PST
,
Matt Baker
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-01-24 19:17:59 PST
<
rdar://problem/47537734
>
Matt Baker
Comment 2
2019-01-27 19:24:57 PST
Created
attachment 360312
[details]
Patch
Devin Rousso
Comment 3
2019-01-28 10:58:56 PST
Comment on
attachment 360312
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=360312&action=review
r=me, but I think we should write tests for patches that "fix a bug where...", so I'd like to see a test for this if possible
> Source/WebInspectorUI/UserInterface/Views/TreeOutline.js:350 > + treeOutline._selectionController.didRemoveItems(removedIndexes);
I'd personally rather have the early-return happen inside `didRemoveItems`. Requiring the caller to know that you should only ever pass a non-null `WI.IndexSet` seems unnecessary, and is likely to be forgotten in the future. Also, should we also be early-returning if `!removedIndexes.size`?
Matt Baker
Comment 4
2019-01-28 11:16:15 PST
Created
attachment 360359
[details]
Patch
WebKit Commit Bot
Comment 5
2019-01-28 11:53:25 PST
Comment on
attachment 360359
[details]
Patch Clearing flags on attachment: 360359 Committed
r240594
: <
https://trac.webkit.org/changeset/240594
>
WebKit Commit Bot
Comment 6
2019-01-28 11:53:27 PST
All reviewed patches have been landed. Closing bug.
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