-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
HTTPS By Default feature doesn't have functional feature flags #40634
Comments
The above requires |
Verification PASSED on Case: brave://flags#https-only-mode enabled (default mode)
While both Test interstitial
Test Upgrading
Case - brave://flags#https-only-mode disabled
Case - brave://flags#https-by-default disabled
Case - brave://flags#https-only-mode being disabled but user has Strict selected
|
Verification PASSED on
|
Example |
Example |
---|---|
While both brave://flags#https-by-default
& brave://flags#https-only-mode
are enabled, went through the STR/Cases outlined via #36408 (comment) as per the following:
Test interstitial
Example |
Example |
Example |
Example |
Example |
---|---|---|---|---|
Test upgrading
Example |
Example |
Example |
Example |
Example |
---|---|---|---|---|
Test Case #2
- brave://flags#https-only-mode
disabled
- disabled
brave://flags#https-only-mode
viabrave://flags
after installing1.68.145 Chromium: 127.0.6533.120
- restart the browser once the
brave://flag
has been changed - once disabled, ensured that
Upgrade Connections to HTTPS
is set as a boolean toggle (enabled/disabled) - visited http://http.badssl.com and ensured that a interstitial page re: HTTP upgrade is NOT being displayed
Example |
Example |
Example |
---|---|---|
Test Case #3
- brave://flags#https-by-default
disabled
- disabled
brave://flags#https-by-default
viabrave://flags
after installing1.68.145 Chromium: 127.0.6533.120
- restart the browser once the
brave://flag
has been changed - ensured that
Upgrade Connections to HTTPS
is set as a boolean toggle (enabled/disabled)brave://flags#https-only-mode
is also being disabled whenbrave://flags#https-by-default
has been disabled
- visited http://http.badssl.com and ensured that a interstitial page re: HTTP upgrade is NOT being displayed
- ensured that
http://brave.com
-->https://brave.com
- ensured that
http://google.com
-->https://google.com
- ensured that
http://facebook.com
-->https://m.facebook.com
- ensured that
http://reddit.com
-->https://reddit.com
Example |
Example |
Example |
---|---|---|
Test Case #4
- brave://flags#https-only-mode
being disabled but user has Strict
selected
- installed
1.68.145 Chromium: 127.0.6533.120
- set
Upgrade Connections to HTTPS
asStrict
viaSettings
- disabled
brave://flags#https-only-mode
viabrave://flags
and restarted the browser - ensured that the
Upgrade Connections to HTTPS
setting is now set as a boolean withoutStrict
mode - visited
http://http.badssl.com
and ensured that the interstitial page re: HTTP upgrade is NOT being displayed - enabled
brave://flags#https-only-mode
viabrave://flags
and restarted the browser - ensured that
Upgrade Connections to HTTPS
is now a drop down andStrict
is being selected (users previous choice) - visited
http://http.badssl.com
and ensured that the interstitial page is being used/displayed
Video of the above verification on iPad
--> https://youtu.be/OpyddBk0zs8
Description
We shipped HTTPS By Default in 1.68 (PRs: main feature, strict mode and interstitial), but the feature flags don't actually wrap around the functionality, which means we can't roll the feature out or back via Griffin. Additionally, we want a flag around the non-default Strict mode, since that proved to be tricky from a state point-of-view.
These are the flags we want:
These should be accessible via brave://flags.
Steps to reproduce
Actual result
Expected result
See issue description.
To check if first flag is functioning as expected, you should see a 3-way toggle for HTTPS Upgrades in Settings: Standard (default), Strict, and Disabled which should function as expected. See #36408 for QA steps. http://http.badssl.com/ is an example of a site that will get an interstitial in Strict mode but nothing will happen if not Strict mode.
To check if second flag is functioning, the HTTPS Upgrades setting should be a boolean. You shouldn't see a Strict mode interstitial when an HTTPS upgrade fails. Test site: http://http.badssl.com/ should not get an interstitial.
Reproduces how often
Easily reproduced
Brave version
1.68. This needs to be uplifted.
Device/iOS version
Any
Affected browser versions
Reproducibility
Miscellaneous information
No response
The text was updated successfully, but these errors were encountered: