content-script.js: Failed to get subsystem status for purpose Object { rejected: true, message: Error }

This is a wiki page. Be bold and improve it!

If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.

Table of Contents

Error

In the Firefox console, the message appears:

Failed to get subsystem status for purpose
Object { rejected: true, message: Error }
content-script.js:95:21

Failed to get subsystem status for purpose
Object { rejected: true, message: Error }

message: Error: Attempt to postMessage on disconnected port
​​
columnNumber: 14
​​
fileName: "moz-extension://0e923969-7c77-4f54-9f1b-6deafc5285cb/extension-utils.js"
​​
lineNumber: 66
​​
message: "Attempt to postMessage on disconnected port"
​​
stack: "sendPortMessageWithReply/<@moz-extension://0e923969-7c77-4f54-9f1b-6deafc5285cb/extension-utils.js:66:14\nsendPortMessageWithReply@moz-extension://0e923969-7c77-4f54-9f1b-6deafc5285cb/extension-utils.js:56:12\n@moz-extension://0e923969-7c77-4f54-9f1b-6deafc5285cb/extension.js:247:12\n@moz-extension://0e923969-7c77-4f54-9f1b-6deafc5285cb/extension-utils.js:124:57\n"
​​
<prototype>: Error.prototype { stack: "", … }

rejected: true

<prototype>: Object { … }
content-script.js:95:21

What is content-script.js? It is not part of my application nor of the website currently visited.
How to find the extension related to it?

How can I find out what plugin is 0e923969-7c77-4f54-9f1b-6deafc5285cb?

Source

We don't have a full solution to the problem but here are some clues.

Although finding the proper culprit was not easy nor intuitive, we tracked the file to the KDE browser/plasma integration plugin:
https://community.kde.org/Plasma/Browser_Integration
https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/
https://invent.kde.org/plasma/plasma-browser-integration/-/blob/master/e...

Firefox

The relevant plugin can be found under:
~/.mozilla/firefox/<session-id>/storage/default/
In our case, it is at:

~/.mozilla/firefox/johhwp4b.default/storage/default/moz-extension+++0e923969-7c77-4f54-9f1b-6deafc5285cb^userContextId=4294967295/idb/

But browsing the system reveals little clues:
$ tree ~/.mozilla/firefox/john.default/storage/default/moz-extension+++0e923969-7c77-4f54-9f1b-6deafc5285cb^userContextId=4295967295/
/home/overshoot/.mozilla/firefox/john.default/storage/default/moz-extension+++0e923969-7c77-4f54-9f1b-6deafc5285cb^userContextId=4295967295/
└── idb
    ├── 3647222921wleabcEoxlt-eengsairo.files
    └── 3647222921wleabcEoxlt-eengsairo.sqlite
3 directories, 1 file

Everything seems obfuscated...

Google chrome

https://chrome.google.com/webstore/detail/plasma-integration/cimiefiiaeg...
Version
1.8.0.1
Updated
24 January 2021

The .js file was found:

~/.config/google-chrome/Default/Extensions/cimiefiiaegbelhefglklhhakcgmhkai/1.8.0.1_13/content-script.js