Pier Angelo Vendrame pushed to branch tor-browser-149.0a1-16.0-2 at The Tor Project / Applications / Tor Browser
Commits:
-
b4debcd4
by Pier Angelo Vendrame at 2026-04-02T12:33:13+02:00
-
61e5d36f
by Beatriz Rizental at 2026-04-02T12:33:24+02:00
3 changed files:
- browser/components/DesktopActorRegistry.sys.mjs
- eslint.config.mjs
- toolkit/modules/ActorManagerParent.sys.mjs
Changes:
| ... | ... | @@ -822,6 +822,20 @@ let JSWINDOWACTORS = { |
| 822 | 822 | messageManagerGroups: ["browsers"],
|
| 823 | 823 | },
|
| 824 | 824 | |
| 825 | + TorConnect: {
|
|
| 826 | + parent: {
|
|
| 827 | + esModuleURI: "resource:///actors/TorConnectParent.sys.mjs",
|
|
| 828 | + },
|
|
| 829 | + child: {
|
|
| 830 | + esModuleURI: "resource:///actors/TorConnectChild.sys.mjs",
|
|
| 831 | + events: {
|
|
| 832 | + DOMWindowCreated: {},
|
|
| 833 | + },
|
|
| 834 | + },
|
|
| 835 | + |
|
| 836 | + matches: ["about:torconnect", "about:torconnect?*"],
|
|
| 837 | + },
|
|
| 838 | + |
|
| 825 | 839 | UITour: {
|
| 826 | 840 | parent: {
|
| 827 | 841 | esModuleURI: "moz-src:///browser/components/uitour/UITourParent.sys.mjs",
|
| ... | ... | @@ -434,7 +434,7 @@ let config = [ |
| 434 | 434 | ignores: ["toolkit/**/test/**", "toolkit/**/tests/**"],
|
| 435 | 435 | plugins: { mozilla },
|
| 436 | 436 | rules: {
|
| 437 | - "mozilla/no-browser-refs-in-toolkit": "warn",
|
|
| 437 | + "mozilla/no-browser-refs-in-toolkit": "error",
|
|
| 438 | 438 | },
|
| 439 | 439 | },
|
| 440 | 440 | {
|
| ... | ... | @@ -546,20 +546,6 @@ let JSWINDOWACTORS = { |
| 546 | 546 | allFrames: true,
|
| 547 | 547 | },
|
| 548 | 548 | |
| 549 | - TorConnect: {
|
|
| 550 | - parent: {
|
|
| 551 | - esModuleURI: "resource:///actors/TorConnectParent.sys.mjs",
|
|
| 552 | - },
|
|
| 553 | - child: {
|
|
| 554 | - esModuleURI: "resource:///actors/TorConnectChild.sys.mjs",
|
|
| 555 | - events: {
|
|
| 556 | - DOMWindowCreated: {},
|
|
| 557 | - },
|
|
| 558 | - },
|
|
| 559 | - |
|
| 560 | - matches: ["about:torconnect", "about:torconnect?*"],
|
|
| 561 | - },
|
|
| 562 | - |
|
| 563 | 549 | // This actor is available for all pages that one can
|
| 564 | 550 | // view the source of, however it won't be created until a
|
| 565 | 551 | // request to view the source is made via the message
|