Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert changes to user agent after experiencing webcompat issues in Dev/Nightly #2583

Merged
merged 3 commits into from
Jun 4, 2019

Conversation

bsclifton
Copy link
Member

@bsclifton bsclifton commented Jun 3, 2019

Revert changes to user agent after experiencing webcompat issues in Dev/Nightly

Proposed solution:

  1. revert this code :) leave the header code in (for the time being) to ensure partner compatibility
  2. create a new branch and make the UA toggle-able (ex: "Use Brave user agent") in brave://settings (default to off)
  3. continue to flush out UA exceptions as part of Create an exclusion list for the Brave User Agent brave-browser#4641
  4. re-submit work as pull request

Fixes brave/brave-browser#4608
Unfixes brave/brave-browser#1052
(we can remove milestone from brave/brave-browser#4623 as revert won't break this)


Revert "Merge pull request #2515 from brave/fix_ua"
This reverts commit 1a135b6, reversing
changes made to 0160133.

Revert "Merge pull request #2442 from brave/override_ua"
This reverts commit f5a2264, reversing
changes made to 7f958f8.


Submitter Checklist:

Test Plan:

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

After-merge Checklist:

  • The associated issue milestone is set to the smallest version that the
    changes has landed on.
  • All relevant documentation has been updated.

@bsclifton bsclifton added this to the 0.68.x - Nightly milestone Jun 3, 2019
@bsclifton bsclifton requested review from bbondy, emerick and simonhong June 3, 2019 20:54
@bsclifton bsclifton self-assigned this Jun 3, 2019
@bsclifton bsclifton requested a review from bridiver June 3, 2019 20:55
@bsclifton
Copy link
Member Author

Working through a compile error related to Random usage in referral service...

@bsclifton
Copy link
Member Author

Done and pushed 👍 Ready for review 😄

base::TimeDelta::FromSeconds(kFetchReferralHeadersFrequency +
base::RandInt(0, 60 * 10)),
base::TimeDelta::FromSeconds(
brave_base::random::Geometric(kFetchReferralHeadersFrequency)),
Copy link
Member Author

Choose a reason for hiding this comment

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

cc: @riastradh-brave - updated per discussion on Slack

emerick
emerick previously approved these changes Jun 3, 2019
Copy link
Contributor

@emerick emerick left a comment

Choose a reason for hiding this comment

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

LGTM

@bsclifton bsclifton force-pushed the bsc-user-agent-update branch from 5318760 to fac599c Compare June 3, 2019 22:02
@emerick emerick self-requested a review June 3, 2019 22:33
emerick
emerick previously approved these changes Jun 3, 2019
Copy link
Contributor

@emerick emerick left a comment

Choose a reason for hiding this comment

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

LGTM

simonhong
simonhong previously approved these changes Jun 4, 2019
Copy link
Member

@simonhong simonhong left a comment

Choose a reason for hiding this comment

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

LGTM

simonhong
simonhong previously approved these changes Jun 4, 2019
Copy link
Member

@simonhong simonhong left a comment

Choose a reason for hiding this comment

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

LGTM. I reverted some documents that I changed from #2442.

bsclifton added 3 commits June 4, 2019 13:41
…ev/Nightly.

Proposed solution:
1. revert this code :) leave the header code in (for the time being) to ensure partner compatibility
2. create a new branch and make the UA toggle-able (ex: "Use Brave user agent") in brave://settings (default to off)
3. continue to flush out UA exceptions as part of brave/brave-browser#4641
4. re-submit work as pull request

Fixes brave/brave-browser#4608
Unfixes brave/brave-browser#1052
(we can remove milestone from brave/brave-browser#4623 as revert won't break this)

-----

Revert "Merge pull request #2515 from brave/fix_ua"
This reverts commit 1a135b6, reversing
changes made to 0160133.

Revert "Merge pull request #2442 from brave/override_ua"
This reverts commit f5a2264, reversing
changes made to 7f958f8.
Copy link
Contributor

@emerick emerick left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

WhatsApp Web not working on nightly (works on 0.66.x)
3 participants