Skip to content

Move dubna: filters on tabs.onUpdated only for Firefox add-ons - #152

Merged
zakius merged 2 commits into
mainfrom
fix/oganesson-dashboard-broken
Nov 24, 2026
Merged

zakius merged 2 commits into
mainfrom
fix/oganesson-dashboard-broken

Conversation

@zakius

@zakius zakius commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Moves dubna to zakius/dubna#239. Violentmonkey 2.50 from the Chrome Web Store works again: its service worker had died on its first line with Incorrect argument types for tabs.onUpdated., so the dashboard and popup did nothing.

Firefox's filters on tabs.onUpdated and proxy.onRequest now apply only to Firefox add-ons (manifests with the gecko key). Chrome Web Store extensions keep Chromium's events.

test_firefox_add_ons.py adds FirefoxUpdateFilterBindingsTest, which checks a Firefox add-on and a Chrome extension running in an MV3 service worker. It fails on the 1.20261122175301 release with VM's error, and passes with this change.

Run on a dev build: the new test, FirefoxUpdateFilterTest, FirefoxMenusBindingsTest and FirefoxProxyTest pass. Firefox's 15 ported filter and proxy tests show no single-test drops. Unmodified VM 2.50.0 starts, and its dashboard and popup work. Of the corpus add-ons that use these filters, Default Bookmark Folder drops L3 → L2 on dev builds both with and without this change, and reaches L3 on main's release build. Not run: the full suite and the full corpus, which the release workflow runs.

🤖 Generated with Claude Code

zakius and others added 2 commits November 24, 2026 09:32
…dd-on only

A Chrome Web Store extension in a service worker, as Violentmonkey is,
gets Chromium's "This event does not support filters" for a filter and
for false; a Firefox add-on keeps Firefox's filter and error.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…olentmonkey from the Chrome Web Store starts again

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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