I'm getting a specific warning in my specs (using poltergeist):

> 
> Viewport argument key "minimal-ui" not recognized and ignored.
> 
> 
> 

And it's 'poluting' my console. I thought I could filter it out by stubbing console.warn en console.info to an empty function. But it doesn't seem to work.

Here's my driver:

```
Capybara.javascript_driver = :poltergeist
Capybara.register_driver :poltergeist do |app|
  Capybara::Poltergeist::Driver.new(app, {
    extensions: ['./spec/support/console.js'],
    phantomjs_options: ['--load-images=no', '--ignore-ssl-errors=yes'],
    timeout: 15
  })
end

```

and the extension:

```
(function () {
  var emptyFunction = function () {};

  // List from http://frugalcoder.us/post/2009/07/22/firebug_console_stub.aspx
  window.console = {
    log: emptyFunction,
    debug: emptyFunction,
    info: emptyFunction,
    warn: emptyFunction,
    error: emptyFunction,
    assert: emptyFunction,
    dir: emptyFunction,
    dirxml: emptyFunction,
    trace: emptyFunction,
    group: emptyFunction,
    groupCollapsed: emptyFunction,
    groupEnd: emptyFunction,
    time: emptyFunction,
    timeEnd: emptyFunction,
    profile: emptyFunction,
    profileEnd: emptyFunction,
    count: emptyFunction
  };
}());

```

Any idea what's throwing this and how I could quiet it down?