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

Redo exception to cover Chrome's case #11647

Merged
merged 1 commit into from
Oct 24, 2017
Merged

Redo exception to cover Chrome's case #11647

merged 1 commit into from
Oct 24, 2017

Conversation

darkdh
Copy link
Member

@darkdh darkdh commented Oct 24, 2017

fix #11401 AGAIN

Auditors: @bbondy

Test Plan:

  1. Clean cookies on Chrome/Firefox and login in google account
  2. Import cookies from Chrome/Firefox to Brave
  3. Login google account on Brave
  4. Import cookies from Chrome/Firefox to Brave and refresh
  5. Logout google account on Brave
  6. There shouldn't be any cookie mismatch error pages displayed within these steps

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.

Test Plan:

Reviewer Checklist:

Tests

  • Adequate test coverage exists to prevent regressions
  • Tests should be independent and work correctly when run individually or as a suite ref
  • New files have MPL2 license header

fix #11401 AGAIN

Auditors: @bbondy

Test Plan:
1. Clean cookies on Chrome/Firefox and login in google account
2. Import cookies from Chrome/Firefox to Brave
3. Login google account on Brave
4. Import cookies from Chrome/Firefox to Brave and refresh
5. Logout google account on Brave
6. There shouldn't be any cookie mismatch error pages displayed within these steps
@darkdh darkdh self-assigned this Oct 24, 2017
@darkdh darkdh requested a review from bbondy October 24, 2017 03:30
@codecov-io
Copy link

codecov-io commented Oct 24, 2017

Codecov Report

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

@@           Coverage Diff           @@
##           master   #11647   +/-   ##
=======================================
  Coverage   52.33%   52.33%           
=======================================
  Files         269      269           
  Lines       25377    25377           
  Branches     4042     4042           
=======================================
  Hits        13281    13281           
  Misses      12096    12096
Flag Coverage Δ
#unittest 52.33% <100%> (ø) ⬆️
Impacted Files Coverage Δ
app/importer.js 36.97% <100%> (ø) ⬆️

@darkdh darkdh merged commit 86ba153 into master Oct 24, 2017
darkdh added a commit that referenced this pull request Oct 24, 2017
Redo exception to cover Chrome's case
darkdh added a commit that referenced this pull request Oct 24, 2017
Redo exception to cover Chrome's case
darkdh added a commit that referenced this pull request Oct 24, 2017
Redo exception to cover Chrome's case
@darkdh
Copy link
Member Author

darkdh commented Oct 24, 2017

0.19.x: 72ced96
0.20.x: 0e99da7
0.21.x: 6fe1fea

@bsclifton bsclifton deleted the issue-11401-2 branch November 2, 2017 06:14
darkdh added a commit that referenced this pull request Dec 4, 2017
fix #11401

Auditors: @bsclifton, @bbondy

Test Plan:
1. #11401 (comment)
2. #11647 (comment)
3. #11401 (comment)

4.
4.a Clear cookies on FF and Chrome, login to gmail account 1 and account 2
4.b Close FF and Chrome, Open Brave (clean profile)
4.c Import cookies only from FF and Chrome
4.d Navigate to mail.google.com --> you have to enter password for
account 1 and account 2 (but no 2FA)
4.e Import cookies from FF and Chrome again, refresh gmail page
(you will have to enter password again to login both accounts)
4.f Logout and you will see login page with both accounts loggout
(no cookie mismatch error)

5. unit test
bsclifton pushed a commit that referenced this pull request Feb 8, 2018
fix #11401

Auditors: @bsclifton, @bbondy

Test Plan:
1. #11401 (comment)
2. #11647 (comment)
3. #11401 (comment)

4.
4.a Clear cookies on FF and Chrome, login to gmail account 1 and account 2
4.b Close FF and Chrome, Open Brave (clean profile)
4.c Import cookies only from FF and Chrome
4.d Navigate to mail.google.com --> you have to enter password for
account 1 and account 2 (but no 2FA)
4.e Import cookies from FF and Chrome again, refresh gmail page
(you will have to enter password again to login both accounts)
4.f Logout and you will see login page with both accounts loggout
(no cookie mismatch error)

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

Successfully merging this pull request may close these issues.

.google.com cookie mismatch after import
4 participants