-
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
Adding a runtime switch for Smart Tracking Protection #3888
Conversation
Opening instead of #3026 - to ease the CI workflow |
4dcb157
to
1418233
Compare
package.json
Outdated
@@ -13,7 +13,7 @@ | |||
"upload": "node ./scripts/commands.js upload", | |||
"update_patches": "node ./scripts/commands.js update_patches", | |||
"apply_patches": "node ./scripts/sync.js --run_hooks", | |||
"start": "node ./scripts/commands.js start", | |||
"start": "node ./scripts/commands.js start --enable-smart-tracking-protection", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To-Do: Revert before merge. STP will be disabled by default
package.json
Outdated
@@ -42,7 +42,7 @@ | |||
}, | |||
"brave-core": { | |||
"dir": "src/brave", | |||
"branch": "master", | |||
"branch": "stp", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To-Do: Revert before merge.
lib/config.js
Outdated
@@ -84,6 +84,7 @@ Config.prototype.buildArgs = function () { | |||
is_debug: this.buildConfig !== 'Release', | |||
dcheck_always_on: this.buildConfig !== 'Release', | |||
brave_channel: this.channel, | |||
brave_stp_enabled: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To-Do: Revert before merge. STP will be disabled by default
f18f7c8
to
4e0388b
Compare
94b5256
to
ac521b8
Compare
ba6d006
to
4a64b04
Compare
STP can cause webompat issues, gating this feature behind off-by-default runtime flag till the feature is thoroughly tested for webcompat. The switches are available here: https://github.com/brave/brave-core/pull/403/files auditors: @bridiver, @bsclifton, @iefremov
Marking |
fix #3025
Description
STP can cause webcompat issues, so gating this feature behind off-by-default runtime flag till the feature is thoroughly tested.
More details about the feature/switches is available here:
brave/brave-core#403
Please reach out if you have any questions.
Submitter Checklist:
npm test brave_unit_tests && npm test brave_browser_tests
) ongit rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
The test plan for this change is covered in: brave/brave-core#403 (For Devs - Enable STP runtime and buildflags)
Reviewer Checklist: