Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6EF81EDBA for ; Fri, 15 Mar 2013 15:48:10 +0000 (UTC) Received: (qmail 69998 invoked by uid 500); 15 Mar 2013 15:48:10 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 69812 invoked by uid 500); 15 Mar 2013 15:48:07 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 69777 invoked by uid 99); 15 Mar 2013 15:48:06 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Mar 2013 15:48:06 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E903818AA8; Fri, 15 Mar 2013 15:48:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jan@apache.org To: commits@couchdb.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [1/2] git commit: fix `make check-js` Message-Id: <20130315154805.E903818AA8@tyr.zones.apache.org> Date: Fri, 15 Mar 2013 15:48:05 +0000 (UTC) fix `make check-js` Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0adddab4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0adddab4 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0adddab4 Branch: refs/heads/1.3.x Commit: 0adddab4a8fa8672e0299527c6f4284e7f6cd686 Parents: 341e8bf Author: Jan Lehnardt Authored: Fri Mar 15 16:47:22 2013 +0100 Committer: Jan Lehnardt Committed: Fri Mar 15 16:47:47 2013 +0100 ---------------------------------------------------------------------- share/www/script/test/attachment_ranges.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/0adddab4/share/www/script/test/attachment_ranges.js ---------------------------------------------------------------------- diff --git a/share/www/script/test/attachment_ranges.js b/share/www/script/test/attachment_ranges.js index 9b32681..ee1129a 100644 --- a/share/www/script/test/attachment_ranges.js +++ b/share/www/script/test/attachment_ranges.js @@ -23,7 +23,7 @@ couchTests.attachment_ranges = function(debug) { if (debug) debugger; - if(window.navigator.userAgent.match(/Chrome/)) { + if(window && window.navigator.userAgent.match(/Chrome/)) { // Chrome is broken. return; }