Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6EBD39D9B for ; Wed, 18 Apr 2012 21:49:54 +0000 (UTC) Received: (qmail 35428 invoked by uid 500); 18 Apr 2012 21:49:53 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 35367 invoked by uid 500); 18 Apr 2012 21:49:53 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 34802 invoked by uid 99); 18 Apr 2012 21:49:53 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 21:49:53 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id D13CED73C; Wed, 18 Apr 2012 21:49:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: filmaj@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [26/37] spec commit: on wp7 sessionStorage does not exist until just before device ready Message-Id: <20120418214952.D13CED73C@tyr.zones.apache.org> Date: Wed, 18 Apr 2012 21:49:52 +0000 (UTC) on wp7 sessionStorage does not exist until just before device ready Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/commit/a5176662 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/tree/a5176662 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/diff/a5176662 Branch: refs/heads/master Commit: a5176662b7e3a547df4b9d16468ec58008ffe0da Parents: 545f923 Author: Jesse MacFadyen Authored: Thu Apr 5 16:32:19 2012 -0700 Committer: Fil Maj Committed: Mon Apr 16 16:05:58 2012 -0700 ---------------------------------------------------------------------- autotest/test-runner.js | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/a5176662/autotest/test-runner.js ---------------------------------------------------------------------- diff --git a/autotest/test-runner.js b/autotest/test-runner.js index 49a5671..d64bb45 100644 --- a/autotest/test-runner.js +++ b/autotest/test-runner.js @@ -1,4 +1,5 @@ <<<<<<< HEAD +<<<<<<< HEAD // Prevent QUnit from running when the DOM load event fires QUnit.config.autostart = false; if (window.sessionStorage != null) { @@ -7,6 +8,16 @@ if (window.sessionStorage != null) { ======= sessionStorage.clear(); >>>>>>> updated test-runner and changed title of battery tests +======= +sessionStorage.clear(); +======= +// Prevent QUnit from running when the DOM load event fires +QUnit.config.autostart = false; +if (window.sessionStorage != null) { + window.sessionStorage.clear(); +} +>>>>>>> on wp7 sessionStorage does not exist until just before device ready +>>>>>>> on wp7 sessionStorage does not exist until just before device ready // Timeout is 2 seconds to allow physical devices enough // time to query the response. This is important for some