You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Jan Lehnardt <ja...@apache.org> on 2013/03/14 20:34:14 UTC

Re: [1/2] git commit: Do not run attachment_ranges.js in Chrome as Chrome is broken there.

On Mar 14, 2013, at 20:28 , jan@apache.org wrote:

> Do not run attachment_ranges.js in Chrome as Chrome is broken there.
> 
> 
> Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
> Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/81a36ca5
> Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/81a36ca5
> Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/81a36ca5
> 
> Branch: refs/heads/1.3.x

SCNR committing this straight to 1.3.x.

Jan
--


> Commit: 81a36ca51b5cce34f5cada6f82fc17ab839e0c4f
> Parents: 6fcb573
> Author: Jan Lehnardt <ja...@apache.org>
> Authored: Thu Mar 14 20:13:02 2013 +0100
> Committer: Jan Lehnardt <ja...@apache.org>
> Committed: Thu Mar 14 20:13:23 2013 +0100
> 
> ----------------------------------------------------------------------
> share/www/script/test/attachment_ranges.js |    5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
> ----------------------------------------------------------------------
> 
> 
> http://git-wip-us.apache.org/repos/asf/couchdb/blob/81a36ca5/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 a4ea4d3..9b32681 100644
> --- a/share/www/script/test/attachment_ranges.js
> +++ b/share/www/script/test/attachment_ranges.js
> @@ -23,6 +23,11 @@ couchTests.attachment_ranges = function(debug) {
> 
>     if (debug) debugger;
> 
> +    if(window.navigator.userAgent.match(/Chrome/)) {
> +        // Chrome is broken.
> +        return;
> +    }
> +
>     var binAttDoc = {
>         _id: "bin_doc",
>         _attachments: {
>