如果FF错误控制台“警告”如果页面没有被“破坏”,那么应该认真对待。 [英] Should FF Error Console "Warnings" be taken seriously if page is not "broken"?

查看:174
本文介绍了如果FF错误控制台“警告”如果页面没有被“破坏”,那么应该认真对待。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个错误控制台从FF生成的错误列表。我已经做了一些阅读这里这个工具是什么和多么重要/ priority这些错误是bug修复。 css在这些特定的页面上,以及在Safari,Chrome,IE 7/8/9 FF渲染。我去过几个网站(甚至是stackoverflow.com),似乎所有的网站都有一个长的列表'warnings'导致错误控制台。我引用了一个分享我的反应的人:

I'm got a list of errors that was generated from the Error Console in FF. I've done some reading here on exactly what this tool is and how important/priority these errors are as far as "bug fixes". The css is rendering fine in FF on these particular pages as well as in Safari, Chrome, IE 7/8/9. I've gone to several websites (even stackoverflow.com) and it appears that ALL websites have a Long list of 'warnings' resulting in the Error Console. I've quoted someone who shared my reaction:


关于ERROR CONSOLE的信息很好,但是信息本身就是没用的,除非是关于如何修复* 我的LONG LIST上的特定错误的信息,也许某人有一个回答* 。 〜Jullian

"Great info on the ERROR CONSOLE however information for the its own sake is useless unless there is information on how to repair* the specific errors on my LONG LIST. Maybe someone has an answer*." ~ Jullian

* 加粗。

我想知道如果这些页面不是破碎,我应该认真考虑这个列表,特别是因为长的警告列表是所有网站的共同。

I'm wondering how seriously I should consider this list if the pages are not "broken", especially since long "warning" lists are common among all websites. Anybody?

推荐答案

一般来说,如果警告严重到需要采取行动,那么它们就会是错误。

In general, if warnings are serious enough that action is required, they would be errors.

警告通常是浏览器认为可能是错误,但不确定的事情。由你决定是否应该修正警告,由你决定。

Warnings are usually things that the browser thinks might be a mistake but isn't sure. It's up to you to make a judgement call on whether or not the warnings should be fixed.

如果警告是JavaScript相关的,那么修复它们可能是个好主意。 CSS警告通常不太严重。 CSS有这么多浏览器特定的怪癖,有时,hack需要使事情工作,浏览器可以有一个很难知道什么应该被认为坏。

If the warnings are JavaScript related, it would probably be a good idea to fix them. CSS warnings are usually less serious. CSS has so many browser specific quirks and, sometimes, hacks required to get things working that the browser can have a hard time knowing what should be considered "bad". It's not uncommon for lots of CSS warnings to appear that can be ignored.

无论如何,你可能希望至少查看之前的警告。解雇他们。他们可能会揭露你没有想到的东西。

Regardless, you might want to at least look at the warnings before dismissing them. They might reveal something you didn't think of.

这篇关于如果FF错误控制台“警告”如果页面没有被“破坏”,那么应该认真对待。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆