auto merge of #1666 : ozten/servo/issue-506-add-basic-console, r=Ms2ger

Here is an attempt to fix Issue#506.

I couldn't figure out how to do variadic arguments to `console.log`, but I did test calling `console.log('foo', 'bar', 'baz')` and it prints the first argument and doesn't error out, which is nice.

window.console is not a web standards. I did the popular functions, but not some of the newer ones documented [on MDN](https://developer.mozilla.org/en-US/docs/Web/API/console).

This PR will allow more pages to load properly, where developers have left in window.console calls.
This commit is contained in:
bors-servo 2014-02-11 13:01:50 -05:00
commit 1662e7a02f
7 changed files with 102 additions and 0 deletions

View file

@ -136,6 +136,9 @@ DOMInterfaces = {
'nativeType': 'ClientRectList',
}],
'Console': {
},
'CSS2Properties': {
'nativeType': 'nsDOMCSSDeclaration',
'prefable': True,