Skip to content

Conversation

@jdorweiler
Copy link
Contributor

@jdorweiler jdorweiler commented Dec 1, 2025

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

Description

  • Add shared messaging transport singleton so features can receive subscription messages from the extension background
  • Route messageType messages to the transport in extension-mv3.js entry-point
  • Enable breakageReporting and webInterferenceDetection features for Firefox
  • Fix getFeatureSetting usage

Testing Steps

Checklist

Please tick all that apply:

  • I have tested this change locally
  • I have tested this change locally in all supported browsers
  • This change will be visible to users
  • I have added automated tests that cover this change
  • I have ensured the change is gated by config
  • This change was covered by a ship review
  • This change was covered by a tech design
  • Any dependent config has been merged

Note

Adds a shared messaging transport and routes extension subscription responses to it, enables webInterferenceDetection and breakageReporting on Firefox, updates breakage reporting to use detector settings, and cleans up detector docs/config.

  • Messaging
    • Introduces shared singleton SendMessageMessagingTransport with getSharedMessagingTransport() and uses it in extensionConstructMessagingConfig().
    • Routes extension subscription responses (messageType) from injected/entry-points/extension-mv3.js to transport.onResponse() so all subscribed features receive them.
  • Features
    • Enables webInterferenceDetection and breakageReporting on firefox in injected/src/features.js.
    • breakage-reporting now reads detector settings from webInterferenceDetection (interferenceTypes) and runs botDetection/fraudDetection.
  • Docs/Cleanup
    • Updates injected/src/detectors/README.md to document config/architecture; removes obsolete injected/src/detectors/default-config.js.

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

@netlify
Copy link

netlify bot commented Dec 1, 2025

Deploy Preview for content-scope-scripts ready!

Name Link
🔨 Latest commit f5f5266
🔍 Latest deploy log https://app.netlify.com/projects/content-scope-scripts/deploys/693b6f9953d497000768c195
😎 Deploy Preview https://deploy-preview-2072--content-scope-scripts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

Temporary Branch Update

The temporary branch has been updated with the latest changes. Below are the details:

Please use the above install command to update to the latest version.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

[Beta] Generated file diff

Time updated: Fri, 12 Dec 2025 01:29:06 GMT

Android
    - android/adsjsContentScope.js
  • android/autofillImport.js
  • android/brokerProtection.js
  • android/contentScope.js

File has changed

Apple
    - apple/contentScope.js
  • apple/contentScopeIsolated.js

File has changed

Chrome-mv3
    - chrome-mv3/inject.js

File has changed

Firefox
    - firefox/inject.js

File has changed

Integration
    - integration/contentScope.js

File has changed

Windows
    - windows/contentScope.js

File has changed

@jdorweiler jdorweiler marked this pull request as ready for review December 2, 2025 17:14
@jdorweiler jdorweiler requested review from a team as code owners December 2, 2025 17:14
@jdorweiler jdorweiler requested review from THISISDINOSAUR and jonathanKingston and removed request for THISISDINOSAUR December 2, 2025 17:14
@jdorweiler jdorweiler requested a review from shakyShane December 9, 2025 16:24
@jonathanKingston jonathanKingston added this pull request to the merge queue Dec 12, 2025
Merged via the queue into main with commit 85874be Dec 12, 2025
18 checks passed
@jonathanKingston jonathanKingston deleted the jd/ext-detector branch December 12, 2025 01:43
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