diff --git a/tests/dom_tests/dom_test_setup.js b/tests/dom_tests/dom_test_setup.js index d7dbd3498..55bb44996 100644 --- a/tests/dom_tests/dom_test_setup.js +++ b/tests/dom_tests/dom_test_setup.js @@ -1,7 +1,6 @@ window.vimiumDomTestsAreRunning = true // Install frontend event handlers. -HUD.init() Frame.registerFrameId({chromeFrameId: 0}); getSelection = () => @@ -9,3 +8,5 @@ getSelection = () => // Shoulda.js doesn't support async code, so we try not to use any. Utils.nextTick = (func) => func() + +document.addEventListener("DOMContentLoaded", () => HUD.init());