diff --git a/testing/marionette/frame.js b/testing/marionette/frame.js index 2a3eede2eb75..dd0dc5c17115 100644 --- a/testing/marionette/frame.js +++ b/testing/marionette/frame.js @@ -51,8 +51,6 @@ frame.Manager = class { removeMessageManagerListeners(mm) { mm.removeWeakMessageListener("Marionette:switchedToFrame", this.driver); mm.removeWeakMessageListener("Marionette:getVisibleCookies", this.driver); - mm.removeWeakMessageListener( - "Marionette:getImportedScripts", this.driver.importedScripts); mm.removeWeakMessageListener("Marionette:GetLogLevel", this.driver); mm.removeWeakMessageListener("Marionette:listenersAttached", this.driver); mm.removeWeakMessageListener("Marionette:register", this.driver);