diff --git a/testing/marionette/frame.js b/testing/marionette/frame.js index 8f46b04bfb80..ced7dcc86f68 100644 --- a/testing/marionette/frame.js +++ b/testing/marionette/frame.js @@ -80,14 +80,6 @@ frame.Manager = class { for (let i = 0; i < this.remoteFrames.length; i++) { let f = this.remoteFrames[i]; let fmm = f.messageManager.get(); - try { - fmm.sendAsyncMessage("aliveCheck", {}); - } catch (e) { - if (e.result == Cr.NS_ERROR_NOT_INITIALIZED) { - this.remoteFrames.splice(i--, 1); - continue; - } - } if (fmm == mm) { this.currentRemoteFrame = f;