Bug 911126 fix leaky content-events test
Merge pull request #1229 from jsantell/leaky-test

Fix Bug 911126 fix leaky content-events test, r=@mossop