diff options
| author | Stephen Blott | 2016-04-10 12:41:26 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-04-10 12:44:12 +0100 |
| commit | 6e12e005a4261711583571be23018481a4a23230 (patch) | |
| tree | f67eb49831c8947f29e7f4a885eb0299bd1b70a9 /tests | |
| parent | c5d0ed09b8ed5c0351e11f985ceeae244f0f0caa (diff) | |
| download | vimium-6e12e005a4261711583571be23018481a4a23230.tar.bz2 | |
Fix Vomnibar initialization issue.
On a slow loading page, as the page is loading, hit `o` repeatedly.
Eventually, Vimium hangs.
We seem to have had this problem for quite some time (e.g. it's in
1.54).
This fixes the problem by ensuring that the Vomnibar is initialized
before launching it.
Also fix the same issue for the help dialog.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/dom_tests/vomnibar_test.coffee | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/dom_tests/vomnibar_test.coffee b/tests/dom_tests/vomnibar_test.coffee index 0898e33a..c5974a4c 100644 --- a/tests/dom_tests/vomnibar_test.coffee +++ b/tests/dom_tests/vomnibar_test.coffee @@ -25,6 +25,8 @@ context "Keep selection within bounds", stub vomnibarFrame.UIComponentServer, "postMessage", (data) -> UIComponent.handleMessage {data} + stub Vomnibar.vomnibarUI, "uiComponentIsReady", true + tearDown -> Vomnibar.vomnibarUI.hide() |
