Warning: The Web Console logging API has been disabled

When I test add-on on Windows 10 and Firefox 94.0.2, on the debugging console window, I encounter two warnings:

warning 1:
The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page

warning 2:
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content.

I have no ideas of what caused the two warnings, thank you for your help!

These are likely warnings from a specific tab and not your extension. If you want to know if it is your extension, you could always try using something like web-ext run to run the extension in a clean profile.