Bug 828182 - TrustedUIManager should close frame by chromeEventId

When calling close() now, the caller must provide as an arg the chromeEventId that was used in the corresponding open() call.