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 Commit: 81a36ca51b5cce34f5cada6f82fc17ab839e0c4f Parents: 6fcb573 Author: Jan Lehnardt <[email protected]> Authored: Thu Mar 14 20:13:02 2013 +0100 Committer: Jan Lehnardt <[email protected]> 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: {
