Use setTimeout instead of setImmediate in fixtures.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 2 Sep 2013 08:46:08 +0000 (16:46 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 2 Sep 2013 08:46:08 +0000 (16:46 +0800)
commitf17864372eff1136a7d930d3e69f74abbce1b1f6
treeec4d385f7f3b89d8832bb3d120c530efdc290d3c
parent610ac5b045e03bd666d054d7aca01b34a421c8fc
Use setTimeout instead of setImmediate in fixtures.

The setImmediate is implemented in node and may have unexpected affects.
spec/fixtures/api/beforeunload-false.html
spec/fixtures/api/close-beforeunload-false.html
spec/fixtures/api/close-beforeunload-string.html
spec/fixtures/api/close-beforeunload-true.html