Bug 1078378 - tests failing on test-content-worker

- Replace the array instance used by `emitSync` with one from the content's sandbox