You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task/Issue URL:
https://app.asana.com/1/137249556945/project/72649045549333/task/1211578851788392?focus=true
### Description
* FF updating script on protections changed as part of native crashes
investigation after adding `addDocumentStartJavaScript`
### Steps to test this PR
_Pre-requisites_
- [x] Apply this
[patch](https://duckduckgo-my.sharepoint.com/:u:/p/cbarreiro/EfoKD1EMQPxFhWiH_LHI2wgB0RxCvVUtJBiCx7ofwCsTeQ?e=Lhx8IW)
- [x] Do a clean install of the app
- [x] Open Feature flags inventory
- [x] Set `updateScriptOnPageFinished` to false to reduce the amount of
logs
- [x] Filter logcat by `"Cris"`
_FF enabled_
- [x] Open Feature flags inventory
- [x] Set `updateScriptOnProtectionsChanged` to true
- [x] Load a page
- [x] Change protection status from context menu
- [x] Check there's a log for `addDocumentJavaScript` every time you
toggle protections
- [x] Open privacy dashboard and toggle privacy protections from there
- [x] Navigate back to the WebView
- [x] Check there's a log for `addDocumentJavaScript` every time you
toggle protections
_FF enabled_
- [x] Open Feature flags inventory
- [x] Set `updateScriptOnProtectionsChanged` to false
- [x] Load a page
- [x] Change protection status from context menu
- [x] Check there's no log for `addDocumentJavaScript` every time you
toggle protections
- [x] Open privacy dashboard and toggle privacy protections from there
- [x] Navigate back to the WebView
- [x] Check there's no log for `addDocumentJavaScript` every time you
toggle protections
### UI changes
n/a
0 commit comments