Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

fix bad tab page preview for the first tab set #11407

Merged
merged 1 commit into from
Oct 10, 2017
Merged

fix bad tab page preview for the first tab set #11407

merged 1 commit into from
Oct 10, 2017

Conversation

cezaraugusto
Copy link
Contributor

fix bad tab page preview for the first tab set

fix #11269
Auditors: @luixxiul

This is in fact a port from the working version of 0.19.x:
https://github.com/brave/browser-laptop/blob/0.19.x/app/common/state/tabContentState.js#L90

given this broke in 0.20.x I'm setting the same milestone.

Test Plan:

npm run test -- --grep="tab pages tab page previews hovering over a tab page changes it"

fix #11269
Auditors: @luixxiul
Test Plan:
npm run test -- --grep="tab pages tab page previews hovering over a tab page changes it"
@cezaraugusto cezaraugusto added this to the 0.20.x (Developer Channel) milestone Oct 10, 2017
@cezaraugusto cezaraugusto self-assigned this Oct 10, 2017
Copy link
Contributor

@luixxiul luixxiul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find 😄 Since this fix is required for bbde7ac#diff-f5a0b45b8323a469e78cf98fb0c49b8fR467 of #10691, which landed on 0.20.x, I agree this fix should be landed on 0.20.x as well 👍

@luixxiul
Copy link
Contributor

The Travis result confirms it 💯
https://travis-ci.org/brave/browser-laptop/jobs/285896180#L3502

    tab page previews
      ✓ hovering over a tab page changes it (785ms)

@codecov-io
Copy link

codecov-io commented Oct 10, 2017

Codecov Report

Merging #11407 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master   #11407   +/-   ##
=======================================
  Coverage   52.53%   52.53%           
=======================================
  Files         267      267           
  Lines       24978    24978           
  Branches     3996     3996           
=======================================
  Hits        13122    13122           
  Misses      11856    11856
Flag Coverage Δ
#unittest 52.53% <100%> (ø) ⬆️
Impacted Files Coverage Δ
js/state/frameStateUtil.js 63.02% <100%> (ø) ⬆️

@luixxiul luixxiul merged commit 972a53f into master Oct 10, 2017
@luixxiul
Copy link
Contributor

@cezaraugusto would you please merge this to 0.20.x for me? thanks!

@bsclifton bsclifton deleted the zz--11269 branch October 10, 2017 07:56
bsclifton pushed a commit that referenced this pull request Oct 10, 2017
fix bad tab page preview for the first tab set
@bsclifton
Copy link
Member

master 972a53f
0.20.x 3bdae63

@luixxiul
Copy link
Contributor

@bsclifton thanks for doing that 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tab page (full of tabs) cannot be previewed
4 participants