最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - In firefox, what is the difference between web console and browser console - Stack Overflow

programmeradmin2浏览0评论

What is the difference between web console and browser console in firefox 48? They look rather close. Why two consoles?

web console

-- best place to run javascript

browser console

-- receive error message. -- console.log output

What is the difference between web console and browser console in firefox 48? They look rather close. Why two consoles?

web console

-- best place to run javascript

browser console

-- receive error message. -- console.log output

Share Improve this question asked Aug 14, 2016 at 23:50 historystamphistorystamp 1,4884 gold badges14 silver badges24 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 10

According to Mozilla

The Browser Console is like the Web Console, but applied to the whole browser rather than a single content tab.

So it logs the same sorts of information as the Web Console - network requests, JavaScript, CSS, and security errors and warnings, and messages explicitly logged by JavaScript code. However, rather than logging this information for a single content tab, it logs information for all content tabs, for add-ons, and for the browser's own code.

The Web Console on the other hand:

Logs information associated with a web page: network requests, JavaScript, CSS, security errors and warnings as well as error, warning and informational messages explicitly logged by JavaScript code running in the page context

Enables you to interact with a web page by executing JavaScript expressions in the context of the page

Sources:

Browser Console

Web Console

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论