Firefox uses the error console to present errors found on a web page.
To see it, press ctrl + shift + j .
Other browsers, such as Microsoft Internet Explorer, decided to warn about errors found by default, so you see them in a pop-up window.
As can be read on the MDN page:
The error console is a tool available in most Mozilla-based applications that is used to report errors in the chrome application and in opening web pages. It reports JavaScript errors and warnings, CSS errors, and arbitrary messages from the chrome code. In Firefox, the error console can be opened from the tool menu or Ctrl-Shift-J.
For immediate error reporting in Firefox , for those who want to use add-ons:
Console 2 has the ability to automatically receive focus when errors are detected.

The web developer has three icons: one for DocType , one for CSS and the other for JS errors, which lets you know when an error occurs.

source share