Bug 1084385 - Use exportFunction for emitToChrome. r=gabor
Bug 1084385 - Clone chrome arrays before passing them to emitSync. r=gabor
Bug 1081990 - Fix mozPay. r=gabor
Bug 1081990 - Fix up BrowserElement API to use function forwarders rather than direct chrome function references. r=gabor
Bug 1081990 - Fix up XBL tests to avoid dispatching a chrome event to content. r=gabor

When I wrote these, I didn't know that simply dispatching a content event
from chrome would make it trusted.

Whitespace changes in the next patch.
Bug 1081990 - Reindent. r=gabor
Bug 1081990 - Fix up test suite. r=gabor
Bug 1081990 - Give all non-COW filtering wrappers a null proto. r=gabor
Bug 1081990 - Generalize CheckPassToChrome machinery to operate on call/construct for all FilteringWrappers. r=gabor
Bug 1081990 - Turn off COWs for Functions. r=gabor
Bug 1081990 - Tests. r=gabor