From f17864372eff1136a7d930d3e69f74abbce1b1f6 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 2 Sep 2013 16:46:08 +0800 Subject: [PATCH] Use setTimeout instead of setImmediate in fixtures. The setImmediate is implemented in node and may have unexpected affects. --- spec/fixtures/api/beforeunload-false.html | 4 ++-- spec/fixtures/api/close-beforeunload-false.html | 4 ++-- spec/fixtures/api/close-beforeunload-string.html | 4 ++-- spec/fixtures/api/close-beforeunload-true.html | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/spec/fixtures/api/beforeunload-false.html b/spec/fixtures/api/beforeunload-false.html index 06a2ecf804e..b5a04781103 100644 --- a/spec/fixtures/api/beforeunload-false.html +++ b/spec/fixtures/api/beforeunload-false.html @@ -2,9 +2,9 @@ diff --git a/spec/fixtures/api/close-beforeunload-false.html b/spec/fixtures/api/close-beforeunload-false.html index d8e4f1f5817..a3c40287df1 100644 --- a/spec/fixtures/api/close-beforeunload-false.html +++ b/spec/fixtures/api/close-beforeunload-false.html @@ -2,9 +2,9 @@