Description[Devtools] Do not switch tabs by default when adding a tab.
If the user has not selected a default tab, TimelineDetailsView's
_lastUserSelectedTabId will be undefined which will cause appendTab
to select the last added tab by default. This patch changes this
behavior to not select the most recently added tab. This can be seen
in the paint profiler where the paint tab takes precedence over the
details tab. With this patch, the details tab is shown by default.
TEST=manual. By default the paint tab is not selected on the timeline.
BUG=410701
Patch Set 1 #
Total comments: 1
Messages
Total messages: 4 (2 generated)
|