diff options
| author | Stephen Blott | 2015-05-26 07:19:52 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-05-26 07:19:52 +0100 |
| commit | 6b49dd27cb20ef5f830b1107b39480201796885d (patch) | |
| tree | e455d1fc3c2c5ef0fb6ea289c48dc8b63a5d521e /tests/unit_tests/handler_stack_test.coffee | |
| parent | 8b57d179a1655dbce081b321445f34a4aad696f4 (diff) | |
| download | vimium-6b49dd27cb20ef5f830b1107b39480201796885d.tar.bz2 | |
Refactor to avoid potential race condition.
I haven't seen this happen, but...
It could be possible for the iframe's contents to load before this
callback is called (on nextTick), in which case the "load" callback
wouldn't be called. So we delay setting the iframe's source until
nextTick has elapsed.
Diffstat (limited to 'tests/unit_tests/handler_stack_test.coffee')
0 files changed, 0 insertions, 0 deletions
