Hello everyone I am studying the firefox source code and how the extension works with the Developer tools console.
I have some questions that I haven't been able to solv… (read more)
Hello everyone I am studying the firefox source code and how the extension works with the Developer tools console.
I have some questions that I haven't been able to solve for a whole week. Which function and where is responsible for processing Logs messages from the extension in Console?
For example i have:
```
const titleToMarkdown = async () => {
console.log("hello world");
let tabs = await browser.tabs.query({
active: true,
currentWindow: true,
});
console.log({ tabs });
};
browser.browserAction.onClicked.addListener(titleToMarkdown);
```
Which function in the code is responsible for displaying console.log in Console Developer Tools?
I would be glad if someone would send me a link to this function in searchfox.org