Howdy.

> As Sam points out, this change may be fine, but he suggests to make it
> accessible only when a browser runs in a special "developer" mode.
> This can also be applied to the whole 'console' object.

It may be bad for web compatibility to hide the console object completely when 
the user does not have developer tools enabled. Sometimes web developers forget 
to take out their debugging code, and lack of the console object can cause an 
exception to be thrown.

Perhaps a better option would be to short-circuit all of the console object's 
APIs to be present but do nothing when the user does not have developer tools 
enabled.

Geoff
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to