-
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
Request Off-The-Record mode #28750
Comments
Verification
|
Brave | 1.53.74 Chromium: 114.0.5735.53 (Official Build) beta (x86_64) |
---|---|
Revision | c499d7ea22c8b2dba278465a5df7b86a8efa4e64-refs/branch-heads/5735@{#970} |
OS | macOS Version 11.7.7 (Build 20G1345) |
Steps:
- installed
1.53.74
- set
brave://flags/#brave-request-otr-tab
toEnabled
- visited a request-OTR enrolled site:
loveisrespect.org
- confirmed that the “would you like OTR mode” interstitial appears
- clicked
Proceed Off-The-Record
to go into OTR mode - confirmed that the requested page appears, and that there is an info bar at the top of the page describing how to leave OTR mode
- opened dev tools went into the console and ran this code:
window.localStorage.braveQATest = true
- closed the OTR’ed site
- confirmed that the OTR’ed site was not included in your browsing history
- revisited
loveisrespect.org
, this time declining OTR mode - opened the dev tools console and ran this in the console:
console.log(window.localStorage.braveQATest)
Confirmed that undefined
was returned
Step 2 |
Step 5 |
Step 6 |
Step 6.5 |
Step 7 |
Step 10 |
Step 11 |
---|---|---|---|---|---|---|
brave://history , step 9 |
brave://history , step 10+ |
---|---|
This will also eventually enabled via Griffin as per brave/brave-variations#640 & brave/brave-variations#642. Assuming we'll also eventually enable on |
Verification
Case 1: Proceed to OTR -
|
step 3 | step 5 | step 7 | step 8 | step 10 |
---|---|---|---|---|
Case 2: Decline OTR mode - PASSED
- Continue from Case 1
- closed the OTR’ed site
- no record of
OTR'ed site in
brave://history`
- visited https://navegandolibres.org/ in a new tab,
- clicked
Proceed Normally
to decline OTR mode - verified info bar at the top of the page is not available
- opened the dev tools console and ran this in the console:
console.log(window.localStorage.braveQATest)
Confirmed that undefined was returned
Confirmed brave://history shows the OTR’ed site
ex | ex | ex | ex | ex |
---|---|---|---|---|
Case 3: Turn Off from the infobar - PASSED
1.new profile
2.launch Brave
3. set brave://flags/#brave-request-otr-tab
to Enabled
4. visited a request-OTR enrolled site: https://navegandolibres.org/
5. clicked Proceed Off-The-Record
to go into OTR mode
6. clicked Turn off
in the infobar
7. opened brave://history
Confirmed brave://history
shows the OTR’ed site
step 4 | step 6 | step 7 |
---|---|---|
Verification
Case 1: Proceed to OTR -
|
step 3 | step 5 | step 7 | step 8 | step 10 |
---|---|---|---|---|
Case 2: Decline OTR mode - PASSED
- Continue from Case 1
- closed the OTR’ed site
- no record of
OTR'ed site in
brave://history`
- visited https://www.ceta.tech.cornell.edu/ in a new tab,
- clicked
Proceed Normally
to decline OTR mode - verified info bar at the top of the page is not available
- opened the dev tools console and ran this in the console:
console.log(window.localStorage.braveQATest)
Confirmed that undefined was returned
Confirmed brave://history shows the OTR’ed site
ex | ex | ex | ex |
---|---|---|---|
Case 3: Turn Off from the infobar - PASSED
1.new profile
2.launch Brave
3. set brave://flags/#brave-request-otr-tab
to Enabled
4. visited a request-OTR enrolled site: https://www.ceta.tech.cornell.edu/
5. clicked Proceed Off-The-Record
to go into OTR mode
6. clicked Turn off
in the infobar
7. verified infobar is dismissed
8. opened brave://history
Confirmed brave://history
shows the OTR’ed site
step 3 | step 4 | step 6 | step 7 | step 8 |
---|---|---|---|---|
Hi, everyone. I'm a bit worried about OTR tab. Many UI components in a browser window are assuming that every tabs and BrowserKeyedService is using same Profile(BrowserContext) with that of In the previous patch, it looks like we've done
I think opening a new incognito window from the interstitial page would be much safer. |
Opening a new incognito window doesn’t solve the problem we’re aiming to solve here, for reasons explained in the spec. However, @pilgrim-brave and @bridiver have a new approach for OTR-tabs that we think will more comprehensively address these concerns. Though one of them could explain the how and why better than me |
Thanks @pes10k for the explanation. I agree that OTR tab is worthy. |
Design spec: https://docs.google.com/document/d/1J1x-pNyT5CENzdb-RxzPxLxFLE4c_PRlz6T-usJUQR4
The text was updated successfully, but these errors were encountered: