Skip to content

Conversation

@CrisBarreiro
Copy link
Contributor

@CrisBarreiro CrisBarreiro commented Oct 28, 2025

This reverts commit 957e2c7.

Asana Task/Github Issue: https://app.asana.com/1/137249556945/task/1211767917352308?focus=true

Description

Revert config changes to stop using new WebView APIs

Feature change process:

  • I have added a schema to validate this feature change.
  • I have tested this change locally in all supported browsers.
  • This code for the config change is ready to merge.
  • This feature was covered by a tech design.

Site breakage mitigation process:

Brief explanation

  • Reported URL:
  • Problems experienced:
  • Platforms affected:
    • iOS
    • Android
    • Windows
    • MacOS
    • Extensions
  • Tracker(s) being unblocked:
  • Feature being disabled/modified:
  • This change is a speculative mitigation to fix reported breakage.

Note

Reverts prior adsjs-related changes by removing the Android conditional, disabling useNewWebCompatApis, and dropping script-update flags in androidBrowserConfig.

  • Android config (overrides/android-override.json):
    • Client content features:
      • useNewWebCompatApis: set to disabled (removes min version and rollout).
      • Removes useWebMessageListener feature.
    • Breakage reporting:
      • Removes conditional change for injectName android (minSupportedVersion 52530000).
    • Browser config:
      • Removes updateScriptOnProtectionsChanged and stopLoadingBeforeUpdatingScript feature flags under androidBrowserConfig.features.
    • Keeps adsjs-specific conditional checks as disabled in affected features (no new adsjs enablement).

Written by Cursor Bugbot for commit 8ab6f35. This will update automatically on new commits. Configure here.

github-actions bot pushed a commit that referenced this pull request Oct 28, 2025
@github-actions
Copy link

👋 Don't forget to add an individual reviewer (in addition to those auto-added), as this will create a task for them in Asana.

👉 Please mark this as DRAFT unless there's an intention to merge this immediately.
👉 Click "Merge when ready" if you're happy for this to be automatically merged once reviewed. (If not available, ensure you've signed in to DuckDuckGo oauth.)
👉 Don't forget to add schema changes to validate if you're adding/changing a feature.

@github-actions
Copy link

github-actions bot commented Oct 28, 2025

Generated file outputs:

Time updated: Tue, 28 Oct 2025 18:04:44 GMT

legacy
27 files identical
  • trackers-unprotected-temporary.txt
  • v3/extension-brave-config.json
  • v3/extension-bravemv3-config.json
  • v3/extension-chrome-config.json
  • v3/extension-chromemv3-config.json
  • v3/extension-config.json
  • v3/extension-edg-config.json
  • v3/extension-edge-config.json
  • v3/extension-edgmv3-config.json
  • v3/extension-firefox-config.json
  • v3/extension-safarimv3-config.json
  • v3/ios-config.json
  • v3/macos-config.json
  • v3/windows-config.json
  • v4/extension-brave-config.json
  • v4/extension-bravemv3-config.json
  • v4/extension-chrome-config.json
  • v4/extension-chromemv3-config.json
  • v4/extension-config.json
  • v4/extension-edg-config.json
  • v4/extension-edge-config.json
  • v4/extension-edgmv3-config.json
  • v4/extension-firefox-config.json
  • v4/extension-safarimv3-config.json
  • v4/ios-config.json
  • v4/macos-config.json
  • v4/windows-config.json

⚠️ File is identical

2 files changed
  • v3/android-config.json
  • v4/android-config.json
--- v4/android-config.json (and 1 other files)
+++ v4/android-config.json
@@ -395,14 +395,8 @@
                             "localeCountry": "us",
                             "isPrivacyProEligible": true
                         }
                     ]
-                },
-                "updateScriptOnProtectionsChanged": {
-                    "state": "enabled"
-                },
-                "stopLoadingBeforeUpdatingScript": {
-                    "state": "disabled"
                 }
             }
         },
         "androidNewStateKillSwitch": {
@@ -90186,21 +90180,8 @@
                                 "path": "/additionalCheck",
                                 "value": "disabled"
                             }
                         ]
-                    },
-                    {
-                        "condition": {
-                            "injectName": "android",
-                            "minSupportedVersion": 52530000
-                        },
-                        "patchSettings": [
-                            {
-                                "op": "add",
-                                "path": "/additionalCheck",
-                                "value": "enabled"
-                            }
-                        ]
                     }
                 ]
             }
         },
@@ -102130,19 +102111,8 @@
         "clientContentFeatures": {
             "state": "enabled",
             "features": {
                 "useNewWebCompatApis": {
-                    "state": "enabled",
-                    "minSupportedVersion": 52530000,
-                    "rollout": {
-                        "steps": [
-                            {
-                                "percent": 50
-                            }
-                        ]
-                    }
-                },
-                "useWebMessageListener": {
                     "state": "disabled"
                 }
             },
             "exceptions": []
latest
v5/android-config.json
--- v5/android-config.json
+++ v5/android-config.json
@@ -395,14 +395,8 @@
                             "localeCountry": "us",
                             "isPrivacyProEligible": true
                         }
                     ]
-                },
-                "updateScriptOnProtectionsChanged": {
-                    "state": "enabled"
-                },
-                "stopLoadingBeforeUpdatingScript": {
-                    "state": "disabled"
                 }
             }
         },
         "androidNewStateKillSwitch": {
@@ -90186,21 +90180,8 @@
                                 "path": "/additionalCheck",
                                 "value": "disabled"
                             }
                         ]
-                    },
-                    {
-                        "condition": {
-                            "injectName": "android",
-                            "minSupportedVersion": 52530000
-                        },
-                        "patchSettings": [
-                            {
-                                "op": "add",
-                                "path": "/additionalCheck",
-                                "value": "enabled"
-                            }
-                        ]
                     }
                 ]
             }
         },
@@ -102130,19 +102111,8 @@
         "clientContentFeatures": {
             "state": "enabled",
             "features": {
                 "useNewWebCompatApis": {
-                    "state": "enabled",
-                    "minSupportedVersion": 52530000,
-                    "rollout": {
-                        "steps": [
-                            {
-                                "percent": 50
-                            }
-                        ]
-                    }
-                },
-                "useWebMessageListener": {
                     "state": "disabled"
                 }
             },
             "exceptions": []
13 files identical
  • v5/extension-brave-config.json
  • v5/extension-bravemv3-config.json
  • v5/extension-chrome-config.json
  • v5/extension-chromemv3-config.json
  • v5/extension-config.json
  • v5/extension-edg-config.json
  • v5/extension-edge-config.json
  • v5/extension-edgmv3-config.json
  • v5/extension-firefox-config.json
  • v5/extension-safarimv3-config.json
  • v5/ios-config.json
  • v5/macos-config.json
  • v5/windows-config.json

⚠️ File is identical

@github-actions
Copy link

github-actions bot commented Oct 28, 2025

JSON approval analysis:

Time updated: Tue, 28 Oct 2025 18:05:06 GMT

legacy

❌ Manual Review Required

  • v3/android-config.json (8 total changes)
    Disallowed paths that require review:
    • /features/clientContentFeatures/features/useWebMessageListener (remove)
    • /features/clientContentFeatures/features/useNewWebCompatApis/rollout (remove)
    • /features/clientContentFeatures/features/useNewWebCompatApis/minSupportedVersion (remove)
    • /features/clientContentFeatures/features/useNewWebCompatApis/state (replace)
    • /features/breakageReporting/settings/conditionalChanges/1 (replace)
    • /features/breakageReporting/settings/additionalCheck (replace)
    • /features/androidBrowserConfig/features/updateScriptOnProtectionsChanged (remove)
    • /features/androidBrowserConfig/features/stopLoadingBeforeUpdatingScript (remove)
  • v4/android-config.json (8 total changes)
    Disallowed paths that require review:
    • /features/clientContentFeatures/features/useWebMessageListener (remove)
    • /features/clientContentFeatures/features/useNewWebCompatApis/rollout (remove)
    • /features/clientContentFeatures/features/useNewWebCompatApis/minSupportedVersion (remove)
    • /features/clientContentFeatures/features/useNewWebCompatApis/state (replace)
    • /features/breakageReporting/settings/conditionalChanges/1 (replace)
    • /features/breakageReporting/settings/additionalCheck (replace)
    • /features/androidBrowserConfig/features/updateScriptOnProtectionsChanged (remove)
    • /features/androidBrowserConfig/features/stopLoadingBeforeUpdatingScript (remove)
latest

❌ Manual Review Required

  • v5/android-config.json (8 total changes)
    Disallowed paths that require review:
    • /features/clientContentFeatures/features/useWebMessageListener (remove)
    • /features/clientContentFeatures/features/useNewWebCompatApis/rollout (remove)
    • /features/clientContentFeatures/features/useNewWebCompatApis/minSupportedVersion (remove)
    • /features/clientContentFeatures/features/useNewWebCompatApis/state (replace)
    • /features/breakageReporting/settings/conditionalChanges/1 (replace)
    • /features/breakageReporting/settings/additionalCheck (replace)
    • /features/androidBrowserConfig/features/updateScriptOnProtectionsChanged (remove)
    • /features/androidBrowserConfig/features/stopLoadingBeforeUpdatingScript (remove)

🎯 OVERALL APPROVAL STATUS

❌ MANUAL REVIEW REQUIRED

Copy link
Contributor

@cmonfortep cmonfortep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@CrisBarreiro CrisBarreiro added this pull request to the merge queue Oct 29, 2025
Merged via the queue into main with commit 7889829 Oct 29, 2025
19 of 27 checks passed
@CrisBarreiro CrisBarreiro deleted the feature/cris/adsjs-config-tests/enable-adsjs-with-no-messages-revert branch October 29, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants