diff --git a/browser/devtools/layoutview/test/browser_layoutview.js b/browser/devtools/layoutview/test/browser_layoutview.js index 157b83bcac7..aee4402daed 100644 --- a/browser/devtools/layoutview/test/browser_layoutview.js +++ b/browser/devtools/layoutview/test/browser_layoutview.js @@ -82,8 +82,6 @@ function test() { function viewReady(e) { if (e.data != "layoutview-ready") return; - window.removeEventListener("message", viewReady, true); - info("Layout view ready"); view = InspectorUI._sidebar._layoutview;