-
Notifications
You must be signed in to change notification settings - Fork 2.3k
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Don't inherit permissions in private windows #24720
Comments
Test case 1Don't inherit in incognito less than permissive settings.
Test case 2Notifications should always block in incognito.
Test case 3Always-inheritable settings should work as usual.
|
Verification
|
Brave | 1.45.75 Chromium: 106.0.5249.65 (Official Build) beta (x86_64) |
---|---|
Revision | 3269dc3633cdd2ab94546fdbe54962e45b17a6e0-refs/branch-heads/5249@{#580} |
OS | macOS Version 11.7 (Build 20G817) |
Test 1: don't inherit less-permissive permissions - PASSED
Steps:
- loaded
https://permission.site
, request and Block Geolocation permission - loaded
https://permission.site
in a Private tab, request Geolocation permission - confirmed permission dialog is shown with
Allow
andBlock
buttons - clicked on
Block
brave://settings/content/location
shows two records for a normal and Private profiles
blocked (geo)location | requested (geo)location | brave://settings/content/location |
---|---|---|
Test 2: always block notifications in Private windows - PASSED
Steps:
- loaded
https://permission.site
, request andAllow
for thenotifications
permission - opened
https://permission.site
in a Private tab, requestnotifications
permission - confirmed permission is blocked
- confirmed
brave://settings/content/notifications
shows two records for a normal and Private profiles
notifications allowed | notifications blocked | brave://settings/content/notifications |
---|---|---|
Test 3: always-inheritable settings - PASSED
Steps:
- clicked on "Don't allow sites to show images" radio button on
brave://settings/content/images
- loaded
https://brave.com
- confirmed images weren't loaded
- visited
https://brave.com
in a Private tab - confirmed images weren't loaded
- clicked to enable
Sites can show images
in a Private tab - reloaded
- confirmed images are loaded and
brave://settings/content/images
contains an item for the Private-tab profile.
brave://settings/content/images |
normal window | Private window | toggled images on | brave://settings/content/images |
---|---|---|---|---|
Verification
Install 1.45.80 Test 1: don't inherit less-permissive permissions - Case 1: request and Steps:
Case 2: request and Steps:
Test 2: always block notifications in Private windows - Steps:
Test 3: always-inheritable settings - Steps:
Verification passed on
Test 1: don't inherit less-permissive permissions - Steps:
Test 2: always block notifications in Private windows - Steps:
Test 3: always-inheritable settings - Steps:
|
Verified on
Used Test Plan in #24720 (comment)
|
Change
INHERIT_IF_LESS_PERMISSIVE
to someNEVER_INHERIT
equivalent in private windows.The change makes browser work in a way so that incognito profile won't inherit less permissive content setting set in a normal profile.
Example:
The text was updated successfully, but these errors were encountered: