Skip to content

Conversation

@jdorweiler
Copy link
Contributor

@jdorweiler jdorweiler commented Dec 1, 2025

Asana Task/Github Issue:

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

Add shared messaging transport and route extension subscription responses; enable webInterferenceDetection/breakageReporting on Firefox; fix detector settings lookup in breakage reporting.

  • Messaging:
    • Introduce a shared singleton SendMessageMessagingTransport with getSharedMessagingTransport() and use it in extensionConstructMessagingConfig().
  • Entry point (injected/entry-points/extension-mv3.js):
    • Route messages with messageType to the shared transport via onResponse so subscriptions receive background responses.
  • Features enablement (injected/src/features.js):
    • Enable webInterferenceDetection and breakageReporting for firefox.
  • Breakage reporting (injected/src/features/breakage-reporting.js):
    • Fetch detector settings via getFeatureSetting('interferenceTypes', 'webInterferenceDetection') and run detectors when present.

Written by Cursor Bugbot for commit c8494c4. 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 c8494c4
🔍 Latest deploy log https://app.netlify.com/projects/content-scope-scripts/deploys/693306bdf3e91a00085d7037
😎 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

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

github-actions bot commented Dec 1, 2025

[Beta] Generated file diff

Time updated: Fri, 05 Dec 2025 16:23:16 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
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.

1 participant