Quash spurious warnings on minibuffer completion.
commit09b5231d73c5224e331de73b98c6a965c56337c1
authorDavid Kettler <kettler@internode.on.net>
Mon, 26 Sep 2011 09:06:03 +0000 (26 18:36 +0930)
committerJohn Foerch <jjfoerch@earthlink.net>
Mon, 26 Sep 2011 15:39:49 +0000 (26 11:39 -0400)
treed1f2a45d150588b1b0b2c5f06c028ed75a327fbc
parentc2ff332df7d24e233ec26401fa1840ada713a4de
Quash spurious warnings on minibuffer completion.

When using the completion system many warnings with the following text
would previously be displayed on the console.

  Console error: [JavaScript Warning: "reference to undefined property this.treeBoxObject.view" {file: "chrome://global/content/bindings/tree.xml" line: 0}]
    Category: chrome javascript

The problem appears to be due to underlying XULRunner code spuriously
requiring QueryInterface to be implemented.  This workaround provides
such an implementation.

See also: https://bugzilla.mozilla.org/show_bug.cgi?id=654998
Fixes: http://bugs.conkeror.org/issue364
modules/minibuffer-read.js