diff options
author | bors-servo <release+servo@mozilla.com> | 2014-02-11 13:01:50 -0500 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2014-02-11 13:01:50 -0500 |
commit | 1662e7a02fb6527192d437a21addd644621c7d18 (patch) | |
tree | d8ba0c7dc7c5bc40d1c0a0f31f659c92ca304817 /src/components/script/dom/htmlheadelement.rs | |
parent | 7a86383eef8a400d9df82f8e99e749a1733ab492 (diff) | |
parent | b1b481f3f32f5fee4cafdc1b67bce4a1137f81aa (diff) | |
download | servo-1662e7a02fb6527192d437a21addd644621c7d18.tar.gz servo-1662e7a02fb6527192d437a21addd644621c7d18.zip |
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.
Diffstat (limited to 'src/components/script/dom/htmlheadelement.rs')
0 files changed, 0 insertions, 0 deletions